const e=require(`../constants/server.constants.cjs`),t=require(`./getServerURL.cjs`),n=require(`../data-structures/http/HttpClient.cjs`);require(`../data-structures/http/index.cjs`);const r=require(`../functions/utils/addresses.cjs`);var i=async({ethereumAddress:i})=>{let a=r.hashEthereumAddress(i);return n.httpClient.get(`${t.RELAYER_URL}${e.RELAYER_CONFIG.getPrivateTransactionsRatio(a)}`)},a=async({ethereumAddress:i,privacyScore:a})=>{let o=r.hashEthereumAddress(i);return n.httpClient.post(`${t.RELAYER_URL}${e.RELAYER_CONFIG.savePrivacyScoreAndGetPrivacyRank}`,{hashedOwner:o,privacyScore:a})};exports.getPrivateTransactionRatio=i,exports.savePrivacyScoreAndGetPrivacyRank=a;