@hinkal/common 0.1.29 → 0.1.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/constants/deploy-data/deploy-data-localhost.json.cjs +1 -1
  2. package/constants/deploy-data/deploy-data-localhost.json.mjs +4 -4
  3. package/constants/server.constants.cjs +1 -1
  4. package/constants/server.constants.mjs +30 -30
  5. package/constants/token-data/localhostRegistry.json.cjs +1 -1
  6. package/constants/token-data/localhostRegistry.json.mjs +44 -18
  7. package/crypto/babyJub.cjs +1 -1
  8. package/crypto/babyJub.d.ts +1 -1
  9. package/crypto/babyJub.mjs +4 -2
  10. package/crypto/poseidon.cjs +1 -1
  11. package/crypto/poseidon.d.ts +1 -1
  12. package/crypto/poseidon.mjs +15 -13
  13. package/crypto/preProcessing.cjs +1 -1
  14. package/crypto/preProcessing.mjs +6 -11
  15. package/data-structures/Hinkal/Hinkal.cjs +1 -1
  16. package/data-structures/Hinkal/Hinkal.mjs +3 -2
  17. package/data-structures/Hinkal/hinkalPrivateWallet.cjs +1 -1
  18. package/data-structures/Hinkal/hinkalPrivateWallet.mjs +3 -2
  19. package/data-structures/event-service/AbstractAccessTokenSnapshotService.cjs +1 -1
  20. package/data-structures/event-service/AbstractAccessTokenSnapshotService.mjs +3 -2
  21. package/data-structures/event-service/AbstractCommitmentsSnapshotService.cjs +1 -1
  22. package/data-structures/event-service/AbstractCommitmentsSnapshotService.mjs +11 -10
  23. package/data-structures/snapshot/ClientAccessTokenSnapshotService.cjs +1 -1
  24. package/data-structures/snapshot/ClientAccessTokenSnapshotService.mjs +3 -2
  25. package/data-structures/snapshot/ClientCommitmentsSnapshotService.cjs +1 -1
  26. package/data-structures/snapshot/ClientCommitmentsSnapshotService.mjs +3 -2
  27. package/data-structures/snapshot/ClientNullifierSnapshotService.cjs +1 -1
  28. package/data-structures/snapshot/ClientNullifierSnapshotService.mjs +3 -2
  29. package/data-structures/transactions-manager/TransactionsManager.cjs +1 -1
  30. package/data-structures/transactions-manager/TransactionsManager.mjs +3 -2
  31. package/functions/pre-transaction/outputUtxoProcessing.cjs +1 -1
  32. package/functions/pre-transaction/outputUtxoProcessing.mjs +3 -2
  33. package/functions/pre-transaction/processAmountChanges.cjs +1 -1
  34. package/functions/pre-transaction/processAmountChanges.mjs +8 -7
  35. package/functions/protocols/pendle.helpers.cjs +1 -1
  36. package/functions/protocols/pendle.helpers.mjs +11 -10
  37. package/functions/staking/index.cjs +1 -1
  38. package/functions/staking/index.mjs +14 -13
  39. package/functions/web3/functionCalls/transactCallRelayer.cjs +1 -1
  40. package/functions/web3/functionCalls/transactCallRelayer.mjs +7 -6
  41. package/functions/web3/odosAPI.cjs +1 -1
  42. package/functions/web3/odosAPI.mjs +6 -5
  43. package/functions/web3/oneInchAPI.cjs +1 -1
  44. package/functions/web3/oneInchAPI.mjs +7 -6
  45. package/functions/web3/runContractFunction.cjs +1 -1
  46. package/functions/web3/runContractFunction.mjs +7 -6
  47. package/functions/web3/uniswapAPI.cjs +1 -1
  48. package/functions/web3/uniswapAPI.mjs +3 -2
  49. package/package.json +1 -1
  50. package/providers/prepareEthersHinkal.cjs +1 -1
  51. package/providers/prepareEthersHinkal.mjs +3 -2
  52. package/providers/prepareWagmiv1Hinkal.cjs +1 -1
  53. package/providers/prepareWagmiv1Hinkal.mjs +3 -2
  54. package/webworker/snarkjsWorker/snarkjsWorkerLauncher.cjs +1 -1
  55. package/webworker/snarkjsWorker/snarkjsWorkerLauncher.mjs +1 -1
  56. package/webworker/utxoWorker/utxoWorkerLauncher.cjs +1 -1
  57. package/webworker/utxoWorker/utxoWorkerLauncher.mjs +1 -1
  58. package/webworker/zkProofWorker/zkProofWorkerLauncher.cjs +1 -1
  59. package/webworker/zkProofWorker/zkProofWorkerLauncher.mjs +1 -1
@@ -5340,7 +5340,7 @@ const e = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", t = [
5340
5340
  stateMutability: "nonpayable",
5341
5341
  type: "function"
5342
5342
  }
5343
- ], A = "0x4E0DD661376f80400c22213331c102A4A9Fc778C", w = [
5343
+ ], A = "0xb206e26D8E62bd0D451291cea0a2fa751b6B3a5e", w = [
5344
5344
  {
5345
5345
  inputs: [
5346
5346
  {
@@ -7643,7 +7643,7 @@ const e = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", t = [
7643
7643
  stateMutability: "nonpayable",
7644
7644
  type: "function"
7645
7645
  }
7646
- ], x = "0xA2Ac0F0D17095De7027A3840725EFaf630546767", H = "0xeF1C0799006944aAd5497065EEc037598103A817", g = [
7646
+ ], x = "0xa0c818777969A3B7b362cB9149121e2dD5563400", H = "0x435831FeEe7Fb7704724A0989654d1762bFd7682", g = [
7647
7647
  {
7648
7648
  inputs: [
7649
7649
  {
@@ -11014,7 +11014,7 @@ const e = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", t = [
11014
11014
  stateMutability: "view",
11015
11015
  type: "function"
11016
11016
  }
11017
- ], V = "0xd84bbC94c87915D3ea6a92A371Cf466A420b58F1", N = [
11017
+ ], V = "0x45C786D2d6D3Edf445759A4C99d33A57E8EdB597", N = [
11018
11018
  {
11019
11019
  inputs: [
11020
11020
  {
@@ -13150,7 +13150,7 @@ const e = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", t = [
13150
13150
  stateMutability: "nonpayable",
13151
13151
  type: "function"
13152
13152
  }
13153
- ], L = "0xef586e422837fA97F346b98De90E4Cdb18bd7Cc6", z = [
13153
+ ], L = "0x65af0868878aF2fdADd2854A2F52bdA5353E92eF", z = [
13154
13154
  {
13155
13155
  inputs: [
13156
13156
  {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=(e,n)=>`${e}`,l={ROUTES:{checkKycStatus:"/check-kyc-status",getUserSignature:"/signature-request",startUserVerification:"/start-aiprise-verification",zkMeAccessToken:"/zkMeAccessToken",getCommitmentsSnapshot:"/snapshots/commitments",getAccessTokenSnapshot:"/snapshots/access-tokens",callOdosAPI:"/OdosSwapData",callOneInchAPI:"/OneInchSwapData",getOdosPriceForToken:e=>`/getOdosPriceForToken/${e}`,getNullifiers:"/snapshots/nullifiers",axelarGasEstimate:(e,n,i,o)=>`/axelarGasEstimate/${e}/${n}/${i}/${o}`,userHasAccessToken:e=>`/user-has-access-token/${e}`,afterKycCall:"/after-kyc-callback",restoreSnapshots:"/snapshots/restore",beefyGraphAPI:"/BeefyGraphData",monitor:"/monitor",checkRisk:e=>`/check-risk/${e}`,userVerifyTransactions:"/user-verify-transactions",verificationStartDate:e=>`/verification-start-date/${e}`,userGetTransactions:(e,n)=>`/user-get-transactions/${e}/${n}`,getActiveCode:e=>`/get-active-code/${e}`,updateActiveCode:"/update-active-code",getWeeklyReferralCodes:(e,n)=>`/get-weekly-referral-codes/${e}/${n}`,getReferralCodes:e=>s(`/get-referral-codes/${e}`),getRewardsHistory:e=>`/get-rewards-history/${e}`,addReferralCode:"/update-referral-code",getLpProgram:e=>s(`/getLpProgram/${e}`),points:(e,n)=>`/points/${e}/${n}`,leaderboard:e=>`/leaderboard/${e}`,setRewardsReceivingData:"/set-user-rewards-receiving-data",getRewardsReceivingData:e=>`/get-user-rewards-receiving-data/${e}`,seasonLeaderboard:e=>`/season-leaderboard/${e}`,getUserAnonymityStakingPoints:e=>`/hinkal-points/${e}`,getLimitedAnonymityStakingPoints:e=>`/hinkal-points/limited/${e}`,getUserAnonymityStakingReferralPoints:e=>`/hinkal-referral-codes-info/${e}`,userHasPassword:e=>`/user-has-password/${e}`,userRegisterPassword:"/user-register-password",getNickname:e=>`/get-nickname/${e}`,addNickname:"/update-nickname",getLidoDefiData:"lido/defi",getLidoStats:"lido/stats",getLidoEthStats:"lido/eth-stats",getLidoDiscount:"lido/discount",getLidoRequestTime:"lido/request-time",getLidoMaticReward:"lido/matic-rewards",pendleAddLiquiditySingleToken:"pendle/addLiquiditySingleToken",pendleAddLiquiditySingleSy:"pendle/addLiquiditySingleSy",pendleAddLiquiditySinglePt:"pendle/addLiquiditySinglePt",pendleAddLiquidityDualTokenAndPt:"pendle/addLiquidityDualTokenAndPt",pendleAddLiquidityDualSyAndPt:"pendle/addLiquidityDualSyAndPt",pendleAddLiquiditySingleTokenKeepYt:"pendle/addLiquiditySingleTokenKeepYt",pendleRemoveLiquiditySingleToken:"pendle/removeLiquiditySingleToken",pendleRemoveLiquiditySingleSy:"pendle/removeLiquiditySingleSy",pendleRemoveLiquiditySinglePt:"pendle/removeLiquiditySinglePt",pendleRemoveLiquidityDualTokenAndPt:"pendle/removeLiquidityDualTokenAndPt",pendleRemoveLiquidityDualSyAndPt:"pendle/removeLiquidityDualSyAndPt",pendleMintPyFromToken:"pendle/mintPyFromToken",pendlRedeemPyToToken:"pendle/redeemPyToToken",removeLiquidityDualTokenAndPt:"pendle/removeLiquidityDualTokenAndPt",removeLiquiditySinglePt:"pendle/removeLiquiditySinglePt",pendleSwapExactTokenForYT:"pendle/swapExactTokenForYt",pendleSwapExactTokenForPt:"pendle/swapExactTokenForPt",pendleSwapExactPtForToken:"pendle/swapExactPtForToken",pendleSwapExactPtForYt:"pendle/swapExactPtForYt",pendleSwapExactYtForToken:"pendle/swapExactYtForToken",pendleSwapExactYtForPt:"pendle/swapExactYtForPt",pendleSyTokenInOut:"pendle/syTokenInOut",connextReceiveFee:(e,n)=>`/connextEstimateReceive/${e}/${n}`,stakedYield:"/staked-yield",getPublicWalletInformation:e=>`/get-public-wallet-data/${e}`}},d={getGasEstimate:(e,n,i,o,r)=>`/gas-estimation/${e}/${o}/${n}/${i}/${r}`,getTokenPrice:"/get-token-price",getTokenPriceEth:e=>`/get-token-price-in-eth/${e}`,getTokenPrices:"/get-token-prices",TRANSACT:"/general-transact",getIdleRelay:"/get-idle-relay"},p={getUserPoints:e=>`/user-points/${e}`},t="http://ec2-54-241-116-187.us-west-1.compute.amazonaws.com",a="http://ec2-18-144-10-166.us-west-1.compute.amazonaws.com",c="https://ethMainnet-data-server.hinkal.pro",R="http://localhost",h=7090,g={polygon:"https://polygon.server.hinkal.pro",arbMainnet:"https://arbMainnet.server.hinkal.pro",ethMainnet:"https://ethMainnet.server.hinkal.pro",bnbMainnet:"https://bnbMainnet.server.hinkal.pro",avalanche:"https://avalanche.server.hinkal.pro",optimism:"https://optimism.server.hinkal.pro",base:"https://base.server.hinkal.pro",localhost:"http://localhost:7072"},k={polygon:`${t}:7072`,arbMainnet:`${t}:7070`,ethMainnet:`${t}:7080`,bnbMainnet:`${t}:7076`,avalanche:`${t}:7078`,optimism:`${t}:7082`,base:`${t}:7084`,localhost:"http://localhost:7072"},S={polygon:`${a}:7072`,arbMainnet:`${a}:7070`,ethMainnet:`${a}:7080`,bnbMainnet:`${a}:7076`,avalanche:`${a}:7078`,optimism:`${a}:7082`,base:`${a}:7084`,localhost:"http://localhost:7072"},y={polygon:"https://polygon.relayer.hinkal.pro",arbMainnet:"https://arbMainnet.relayer.hinkal.pro",ethMainnet:"https://ethMainnet.relayer.hinkal.pro",bnbMainnet:"https://bnbMainnet.relayer.hinkal.pro",avalanche:"https://avalanche.relayer.hinkal.pro",optimism:"https://optimism.relayer.hinkal.pro",base:"https://base.relayer.hinkal.pro",localhost:"http://localhost:7073"},u={polygon:`${t}:7073`,arbMainnet:`${t}:7071`,ethMainnet:`${t}:7081`,bnbMainnet:`${t}:7077`,avalanche:`${t}:7079`,optimism:`${t}:7083`,base:`${t}:7085`,localhost:"http://localhost:7073"},L={polygon:`${a}:7073`,arbMainnet:`${a}:7071`,ethMainnet:`${a}:7081`,bnbMainnet:`${a}:7077`,avalanche:`${a}:7079`,optimism:`${a}:7083`,base:`${a}:7085`,localhost:"http://localhost:7073"};exports.API_CONFIG=l;exports.DATA_SERVER_CONFIG=p;exports.DATA_SERVER_PORT=h;exports.DATA_SERVER_URL_LOCAL=R;exports.DATA_SERVER_URL_PRODUCTION=c;exports.PLAYGROUND_RELAYER_URLS=L;exports.PLAYGROUND_SERVER_URLS=S;exports.PLAYGROUND_URL=a;exports.RELAYER_CONFIG=d;exports.RELAYER_URLS=y;exports.SERVER_URLS=g;exports.STAGING_RELAYER_URLS=u;exports.STAGING_SERVER_URLS=k;exports.STAGING_URL=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=(e,n)=>`${e}${n!==void 0?`?week=${n}`:""}`,l={ROUTES:{checkKycStatus:"/check-kyc-status",getUserSignature:"/signature-request",startUserVerification:"/start-aiprise-verification",zkMeAccessToken:"/zkMeAccessToken",getCommitmentsSnapshot:"/snapshots/commitments",getAccessTokenSnapshot:"/snapshots/access-tokens",callOdosAPI:"/OdosSwapData",callOneInchAPI:"/OneInchSwapData",getOdosPriceForToken:e=>`/getOdosPriceForToken/${e}`,getNullifiers:"/snapshots/nullifiers",axelarGasEstimate:(e,n,i,o)=>`/axelarGasEstimate/${e}/${n}/${i}/${o}`,userHasAccessToken:e=>`/user-has-access-token/${e}`,afterKycCall:"/after-kyc-callback",restoreSnapshots:"/snapshots/restore",beefyGraphAPI:"/BeefyGraphData",monitor:"/monitor",checkRisk:e=>`/check-risk/${e}`,userVerifyTransactions:"/user-verify-transactions",verificationStartDate:e=>`/verification-start-date/${e}`,userGetTransactions:(e,n)=>`/user-get-transactions/${e}/${n}`,getActiveCode:e=>`/get-active-code/${e}`,updateActiveCode:"/update-active-code",getWeeklyReferralCodes:(e,n)=>`/get-weekly-referral-codes/${e}/${n}`,getReferralCodes:e=>s(`/get-referral-codes/${e}`),getRewardsHistory:e=>`/get-rewards-history/${e}`,addReferralCode:"/update-referral-code",getLpProgram:e=>s(`/getLpProgram/${e}`),points:(e,n)=>`/points/${e}/${n}`,leaderboard:e=>`/leaderboard/${e}`,setRewardsReceivingData:"/set-user-rewards-receiving-data",getRewardsReceivingData:e=>`/get-user-rewards-receiving-data/${e}`,seasonLeaderboard:e=>`/season-leaderboard/${e}`,getUserAnonymityStakingPoints:e=>`/hinkal-points/${e}`,getLimitedAnonymityStakingPoints:e=>`/hinkal-points/limited/${e}`,getUserAnonymityStakingReferralPoints:e=>`/hinkal-referral-codes-info/${e}`,userHasPassword:e=>`/user-has-password/${e}`,userRegisterPassword:"/user-register-password",getNickname:e=>`/get-nickname/${e}`,addNickname:"/update-nickname",getLidoDefiData:"lido/defi",getLidoStats:"lido/stats",getLidoEthStats:"lido/eth-stats",getLidoDiscount:"lido/discount",getLidoRequestTime:"lido/request-time",getLidoMaticReward:"lido/matic-rewards",pendleAddLiquiditySingleToken:"pendle/addLiquiditySingleToken",pendleAddLiquiditySingleSy:"pendle/addLiquiditySingleSy",pendleAddLiquiditySinglePt:"pendle/addLiquiditySinglePt",pendleAddLiquidityDualTokenAndPt:"pendle/addLiquidityDualTokenAndPt",pendleAddLiquidityDualSyAndPt:"pendle/addLiquidityDualSyAndPt",pendleAddLiquiditySingleTokenKeepYt:"pendle/addLiquiditySingleTokenKeepYt",pendleRemoveLiquiditySingleToken:"pendle/removeLiquiditySingleToken",pendleRemoveLiquiditySingleSy:"pendle/removeLiquiditySingleSy",pendleRemoveLiquiditySinglePt:"pendle/removeLiquiditySinglePt",pendleRemoveLiquidityDualTokenAndPt:"pendle/removeLiquidityDualTokenAndPt",pendleRemoveLiquidityDualSyAndPt:"pendle/removeLiquidityDualSyAndPt",pendleMintPyFromToken:"pendle/mintPyFromToken",pendlRedeemPyToToken:"pendle/redeemPyToToken",removeLiquidityDualTokenAndPt:"pendle/removeLiquidityDualTokenAndPt",removeLiquiditySinglePt:"pendle/removeLiquiditySinglePt",pendleSwapExactTokenForYT:"pendle/swapExactTokenForYt",pendleSwapExactTokenForPt:"pendle/swapExactTokenForPt",pendleSwapExactPtForToken:"pendle/swapExactPtForToken",pendleSwapExactPtForYt:"pendle/swapExactPtForYt",pendleSwapExactYtForToken:"pendle/swapExactYtForToken",pendleSwapExactYtForPt:"pendle/swapExactYtForPt",pendleSyTokenInOut:"pendle/syTokenInOut",connextReceiveFee:(e,n)=>`/connextEstimateReceive/${e}/${n}`,stakedYield:"/staked-yield",getPublicWalletInformation:e=>`/get-public-wallet-data/${e}`}},d={getGasEstimate:(e,n,i,o,r)=>`/gas-estimation/${e}/${o}/${n}/${i}/${r}`,getTokenPrice:"/get-token-price",getTokenPriceEth:e=>`/get-token-price-in-eth/${e}`,getTokenPrices:"/get-token-prices",TRANSACT:"/general-transact",getIdleRelay:"/get-idle-relay"},p={getUserPoints:e=>`/user-points/${e}`},t="http://ec2-54-241-116-187.us-west-1.compute.amazonaws.com",a="http://ec2-18-144-10-166.us-west-1.compute.amazonaws.com",c="https://ethMainnet-data-server.hinkal.pro",R="http://localhost",h=7090,g={polygon:"https://polygon.server.hinkal.pro",arbMainnet:"https://arbMainnet.server.hinkal.pro",ethMainnet:"https://ethMainnet.server.hinkal.pro",bnbMainnet:"https://bnbMainnet.server.hinkal.pro",avalanche:"https://avalanche.server.hinkal.pro",optimism:"https://optimism.server.hinkal.pro",base:"https://base.server.hinkal.pro",localhost:"http://localhost:7072"},k={polygon:`${t}:7072`,arbMainnet:`${t}:7070`,ethMainnet:`${t}:7080`,bnbMainnet:`${t}:7076`,avalanche:`${t}:7078`,optimism:`${t}:7082`,base:`${t}:7084`,localhost:"http://localhost:7072"},S={polygon:`${a}:7072`,arbMainnet:`${a}:7070`,ethMainnet:`${a}:7080`,bnbMainnet:`${a}:7076`,avalanche:`${a}:7078`,optimism:`${a}:7082`,base:`${a}:7084`,localhost:"http://localhost:7072"},y={polygon:"https://polygon.relayer.hinkal.pro",arbMainnet:"https://arbMainnet.relayer.hinkal.pro",ethMainnet:"https://ethMainnet.relayer.hinkal.pro",bnbMainnet:"https://bnbMainnet.relayer.hinkal.pro",avalanche:"https://avalanche.relayer.hinkal.pro",optimism:"https://optimism.relayer.hinkal.pro",base:"https://base.relayer.hinkal.pro",localhost:"http://localhost:7073"},u={polygon:`${t}:7073`,arbMainnet:`${t}:7071`,ethMainnet:`${t}:7081`,bnbMainnet:`${t}:7077`,avalanche:`${t}:7079`,optimism:`${t}:7083`,base:`${t}:7085`,localhost:"http://localhost:7073"},L={polygon:`${a}:7073`,arbMainnet:`${a}:7071`,ethMainnet:`${a}:7081`,bnbMainnet:`${a}:7077`,avalanche:`${a}:7079`,optimism:`${a}:7083`,base:`${a}:7085`,localhost:"http://localhost:7073"};exports.API_CONFIG=l;exports.DATA_SERVER_CONFIG=p;exports.DATA_SERVER_PORT=h;exports.DATA_SERVER_URL_LOCAL=R;exports.DATA_SERVER_URL_PRODUCTION=c;exports.PLAYGROUND_RELAYER_URLS=L;exports.PLAYGROUND_SERVER_URLS=S;exports.PLAYGROUND_URL=a;exports.RELAYER_CONFIG=d;exports.RELAYER_URLS=y;exports.SERVER_URLS=g;exports.STAGING_RELAYER_URLS=u;exports.STAGING_SERVER_URLS=k;exports.STAGING_URL=t;
@@ -1,4 +1,4 @@
1
- const s = (e, n) => `${e}`, l = {
1
+ const s = (e, t) => `${e}${t !== void 0 ? `?week=${t}` : ""}`, l = {
2
2
  ROUTES: {
3
3
  checkKycStatus: "/check-kyc-status",
4
4
  getUserSignature: "/signature-request",
@@ -10,7 +10,7 @@ const s = (e, n) => `${e}`, l = {
10
10
  callOneInchAPI: "/OneInchSwapData",
11
11
  getOdosPriceForToken: (e) => `/getOdosPriceForToken/${e}`,
12
12
  getNullifiers: "/snapshots/nullifiers",
13
- axelarGasEstimate: (e, n, i, o) => `/axelarGasEstimate/${e}/${n}/${i}/${o}`,
13
+ axelarGasEstimate: (e, t, i, o) => `/axelarGasEstimate/${e}/${t}/${i}/${o}`,
14
14
  userHasAccessToken: (e) => `/user-has-access-token/${e}`,
15
15
  afterKycCall: "/after-kyc-callback",
16
16
  restoreSnapshots: "/snapshots/restore",
@@ -19,15 +19,15 @@ const s = (e, n) => `${e}`, l = {
19
19
  checkRisk: (e) => `/check-risk/${e}`,
20
20
  userVerifyTransactions: "/user-verify-transactions",
21
21
  verificationStartDate: (e) => `/verification-start-date/${e}`,
22
- userGetTransactions: (e, n) => `/user-get-transactions/${e}/${n}`,
22
+ userGetTransactions: (e, t) => `/user-get-transactions/${e}/${t}`,
23
23
  getActiveCode: (e) => `/get-active-code/${e}`,
24
24
  updateActiveCode: "/update-active-code",
25
- getWeeklyReferralCodes: (e, n) => `/get-weekly-referral-codes/${e}/${n}`,
25
+ getWeeklyReferralCodes: (e, t) => `/get-weekly-referral-codes/${e}/${t}`,
26
26
  getReferralCodes: (e) => s(`/get-referral-codes/${e}`),
27
27
  getRewardsHistory: (e) => `/get-rewards-history/${e}`,
28
28
  addReferralCode: "/update-referral-code",
29
29
  getLpProgram: (e) => s(`/getLpProgram/${e}`),
30
- points: (e, n) => `/points/${e}/${n}`,
30
+ points: (e, t) => `/points/${e}/${t}`,
31
31
  leaderboard: (e) => `/leaderboard/${e}`,
32
32
  setRewardsReceivingData: "/set-user-rewards-receiving-data",
33
33
  getRewardsReceivingData: (e) => `/get-user-rewards-receiving-data/${e}`,
@@ -67,12 +67,12 @@ const s = (e, n) => `${e}`, l = {
67
67
  pendleSwapExactYtForToken: "pendle/swapExactYtForToken",
68
68
  pendleSwapExactYtForPt: "pendle/swapExactYtForPt",
69
69
  pendleSyTokenInOut: "pendle/syTokenInOut",
70
- connextReceiveFee: (e, n) => `/connextEstimateReceive/${e}/${n}`,
70
+ connextReceiveFee: (e, t) => `/connextEstimateReceive/${e}/${t}`,
71
71
  stakedYield: "/staked-yield",
72
72
  getPublicWalletInformation: (e) => `/get-public-wallet-data/${e}`
73
73
  }
74
74
  }, d = {
75
- getGasEstimate: (e, n, i, o, r) => `/gas-estimation/${e}/${o}/${n}/${i}/${r}`,
75
+ getGasEstimate: (e, t, i, o, r) => `/gas-estimation/${e}/${o}/${t}/${i}/${r}`,
76
76
  getTokenPrice: "/get-token-price",
77
77
  getTokenPriceEth: (e) => `/get-token-price-in-eth/${e}`,
78
78
  getTokenPrices: "/get-token-prices",
@@ -80,7 +80,7 @@ const s = (e, n) => `${e}`, l = {
80
80
  getIdleRelay: "/get-idle-relay"
81
81
  }, p = {
82
82
  getUserPoints: (e) => `/user-points/${e}`
83
- }, t = "http://ec2-54-241-116-187.us-west-1.compute.amazonaws.com", a = "http://ec2-18-144-10-166.us-west-1.compute.amazonaws.com", c = "https://ethMainnet-data-server.hinkal.pro", h = "http://localhost", k = 7090, g = {
83
+ }, a = "http://ec2-54-241-116-187.us-west-1.compute.amazonaws.com", n = "http://ec2-18-144-10-166.us-west-1.compute.amazonaws.com", c = "https://ethMainnet-data-server.hinkal.pro", h = "http://localhost", g = 7090, k = {
84
84
  polygon: "https://polygon.server.hinkal.pro",
85
85
  arbMainnet: "https://arbMainnet.server.hinkal.pro",
86
86
  ethMainnet: "https://ethMainnet.server.hinkal.pro",
@@ -90,15 +90,6 @@ const s = (e, n) => `${e}`, l = {
90
90
  base: "https://base.server.hinkal.pro",
91
91
  localhost: "http://localhost:7072"
92
92
  }, y = {
93
- polygon: `${t}:7072`,
94
- arbMainnet: `${t}:7070`,
95
- ethMainnet: `${t}:7080`,
96
- bnbMainnet: `${t}:7076`,
97
- avalanche: `${t}:7078`,
98
- optimism: `${t}:7082`,
99
- base: `${t}:7084`,
100
- localhost: "http://localhost:7072"
101
- }, u = {
102
93
  polygon: `${a}:7072`,
103
94
  arbMainnet: `${a}:7070`,
104
95
  ethMainnet: `${a}:7080`,
@@ -107,6 +98,15 @@ const s = (e, n) => `${e}`, l = {
107
98
  optimism: `${a}:7082`,
108
99
  base: `${a}:7084`,
109
100
  localhost: "http://localhost:7072"
101
+ }, u = {
102
+ polygon: `${n}:7072`,
103
+ arbMainnet: `${n}:7070`,
104
+ ethMainnet: `${n}:7080`,
105
+ bnbMainnet: `${n}:7076`,
106
+ avalanche: `${n}:7078`,
107
+ optimism: `${n}:7082`,
108
+ base: `${n}:7084`,
109
+ localhost: "http://localhost:7072"
110
110
  }, m = {
111
111
  polygon: "https://polygon.relayer.hinkal.pro",
112
112
  arbMainnet: "https://arbMainnet.relayer.hinkal.pro",
@@ -117,15 +117,6 @@ const s = (e, n) => `${e}`, l = {
117
117
  base: "https://base.relayer.hinkal.pro",
118
118
  localhost: "http://localhost:7073"
119
119
  }, $ = {
120
- polygon: `${t}:7073`,
121
- arbMainnet: `${t}:7071`,
122
- ethMainnet: `${t}:7081`,
123
- bnbMainnet: `${t}:7077`,
124
- avalanche: `${t}:7079`,
125
- optimism: `${t}:7083`,
126
- base: `${t}:7085`,
127
- localhost: "http://localhost:7073"
128
- }, S = {
129
120
  polygon: `${a}:7073`,
130
121
  arbMainnet: `${a}:7071`,
131
122
  ethMainnet: `${a}:7081`,
@@ -134,20 +125,29 @@ const s = (e, n) => `${e}`, l = {
134
125
  optimism: `${a}:7083`,
135
126
  base: `${a}:7085`,
136
127
  localhost: "http://localhost:7073"
128
+ }, S = {
129
+ polygon: `${n}:7073`,
130
+ arbMainnet: `${n}:7071`,
131
+ ethMainnet: `${n}:7081`,
132
+ bnbMainnet: `${n}:7077`,
133
+ avalanche: `${n}:7079`,
134
+ optimism: `${n}:7083`,
135
+ base: `${n}:7085`,
136
+ localhost: "http://localhost:7073"
137
137
  };
138
138
  export {
139
139
  l as API_CONFIG,
140
140
  p as DATA_SERVER_CONFIG,
141
- k as DATA_SERVER_PORT,
141
+ g as DATA_SERVER_PORT,
142
142
  h as DATA_SERVER_URL_LOCAL,
143
143
  c as DATA_SERVER_URL_PRODUCTION,
144
144
  S as PLAYGROUND_RELAYER_URLS,
145
145
  u as PLAYGROUND_SERVER_URLS,
146
- a as PLAYGROUND_URL,
146
+ n as PLAYGROUND_URL,
147
147
  d as RELAYER_CONFIG,
148
148
  m as RELAYER_URLS,
149
- g as SERVER_URLS,
149
+ k as SERVER_URLS,
150
150
  $ as STAGING_RELAYER_URLS,
151
151
  y as STAGING_SERVER_URLS,
152
- t as STAGING_URL
152
+ a as STAGING_URL
153
153
  };