const e=require(`../constants/server.constants.cjs`),t=require(`./getServerURL.cjs`),n=require(`../data-structures/http/HttpClient.cjs`);require(`../data-structures/http/index.cjs`);var r=async({ethereumAddress:r})=>n.httpClient.get(`${t.DATA_SERVER_URL}${e.DATA_SERVER_CONFIG.getCurrentUserReferral}`,{params:{ethereumAddress:r}}),i=async({referralCode:r,ethereumAddress:i})=>n.httpClient.post(`${t.DATA_SERVER_URL}${e.DATA_SERVER_CONFIG.submitReferralCode}`,{referralCode:r,ethereumAddress:i}),a=async r=>n.httpClient.get(`${t.DATA_SERVER_URL}${e.DATA_SERVER_CONFIG.getCurrentUserAppliedReferralCode}`,{params:{ethereumAddress:r}});exports.getCurrentUserAppliedReferralCode=a,exports.getCurrentUserReferral=r,exports.submitReferralCode=i;