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";
import { getSignatureHeader as r } from "../functions/utils/get-signature-header.mjs";
//#region libs/shared/common/src/API/accessCodeCalls.ts
var i = async ({ accessCode: i, ethereumAddress: a, signature: o, proxyAddress: s }) => n.post(`${t}${e.submitAccessCode}`, {
	accessCode: i,
	ethereumAddress: a,
	proxyAddress: s
}, r(o)), a = async (r) => n.get(`${t}${e.getAccessCodeBenefits}/${r}`);
//#endregion
export { a as getAccessCodeBenefits, i as submitAccessCode };
