import { DATA_SERVER_CONFIG as e } from "../constants/server.constants.mjs";
import { DATA_SERVER_URL as t } from "./getServerURL.mjs";
import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
import "../data-structures/http/index.mjs";
//#region libs/shared/common/src/API/referralsCalls.ts
var r = async ({ ethereumAddress: r }) => n.get(`${t}${e.getCurrentUserReferral}`, { params: { ethereumAddress: r } }), i = async ({ referralCode: r, ethereumAddress: i }) => n.post(`${t}${e.submitReferralCode}`, {
	referralCode: r,
	ethereumAddress: i
}), a = async (r) => n.get(`${t}${e.getCurrentUserAppliedReferralCode}`, { params: { ethereumAddress: r } });
//#endregion
export { a as getCurrentUserAppliedReferralCode, r as getCurrentUserReferral, i as submitReferralCode };
