@hinkal/common 0.0.111 → 0.0.112

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 (261) hide show
  1. package/index-DXElTGy9.mjs +254449 -0
  2. package/index.js +455 -642
  3. package/package.json +1 -1
  4. package/{webworker/snarkjsWorker/snarkjsWorkerLogic.js → snarkjsWorkerLogic-CVna_BW9.mjs} +1 -1
  5. package/utxoWorkerLogic-B1Hh-bq4.mjs +64 -0
  6. package/{webworker/workerProxy.js → workerProxy-BDj498Ht.mjs} +1 -1
  7. package/zkProofWorkerLogic-D9rxuuiK.mjs +60 -0
  8. package/API/API.js +0 -58
  9. package/API/HinkalPointsCalls.js +0 -38
  10. package/API/callBeefyGraphAPI.js +0 -37
  11. package/API/callCurveAPI.js +0 -156
  12. package/API/callMonitor.js +0 -30
  13. package/API/callOdosAPI.js +0 -44
  14. package/API/callOneInchAPI.js +0 -37
  15. package/API/callRelayer.js +0 -32
  16. package/API/checkRisk.js +0 -30
  17. package/API/dataServerCalls.js +0 -32
  18. package/API/fetchCommitmentsCache.js +0 -31
  19. package/API/fetchNullifiers.js +0 -30
  20. package/API/getAxelarGasEstimate.js +0 -37
  21. package/API/getCoingeckoPrice.js +0 -27
  22. package/API/getConnextReceiveFee.js +0 -30
  23. package/API/getGasEstimates.js +0 -38
  24. package/API/getRelayerURL.js +0 -32
  25. package/API/getServerURL.js +0 -67
  26. package/API/getTokenPrice.js +0 -41
  27. package/API/kycCalls.js +0 -32
  28. package/API/passwordCalls.js +0 -36
  29. package/API/referralProgramCalls.js +0 -58
  30. package/API/relayCalls.js +0 -30
  31. package/API/restoreSnapshots.js +0 -32
  32. package/API/rewardsPointsCalls.js +0 -40
  33. package/API/userVerifyTransactions.js +0 -45
  34. package/constants/assets.constants.js +0 -16
  35. package/constants/axelar.constants.js +0 -55
  36. package/constants/backend.constants.js +0 -18
  37. package/constants/beefy.registry.js +0 -24
  38. package/constants/chains.constants.js +0 -204
  39. package/constants/coingecko.constants.js +0 -53
  40. package/constants/contracts.constants.js +0 -276
  41. package/constants/crvCvx.registry.js +0 -636
  42. package/constants/crvDynamic.registry.js +0 -24
  43. package/constants/deploy-data/deploy-data-arbMainnet.json.js +0 -7415
  44. package/constants/deploy-data/deploy-data-avalanche.json.js +0 -7411
  45. package/constants/deploy-data/deploy-data-axelar1.json.js +0 -4329
  46. package/constants/deploy-data/deploy-data-axelar2.json.js +0 -4329
  47. package/constants/deploy-data/deploy-data-base.json.js +0 -8425
  48. package/constants/deploy-data/deploy-data-blast.json.js +0 -9600
  49. package/constants/deploy-data/deploy-data-bnbMainnet.json.js +0 -6877
  50. package/constants/deploy-data/deploy-data-ethMainnet.json.js +0 -11427
  51. package/constants/deploy-data/deploy-data-localhost.json.js +0 -13283
  52. package/constants/deploy-data/deploy-data-optimism.json.js +0 -7417
  53. package/constants/deploy-data/deploy-data-polygon.json.js +0 -7439
  54. package/constants/fees.constants.js +0 -57
  55. package/constants/kyc.constants.js +0 -118
  56. package/constants/lido.constants.js +0 -13
  57. package/constants/pendle.registry.js +0 -253
  58. package/constants/protocol.constants.js +0 -26
  59. package/constants/reorg-depths.constants.js +0 -15
  60. package/constants/rewards.constants.js +0 -27
  61. package/constants/server.constants.js +0 -157
  62. package/constants/token-data/ERC20Registry.js +0 -85
  63. package/constants/token-data/arbMainnetRegistry.json.js +0 -946
  64. package/constants/token-data/arbMainnetRegistryFixed.json.js +0 -856
  65. package/constants/token-data/avalancheRegistry.json.js +0 -591
  66. package/constants/token-data/avalancheRegistryFixed.json.js +0 -591
  67. package/constants/token-data/baseRegistry.json.js +0 -490
  68. package/constants/token-data/baseRegistryFixed.json.js +0 -463
  69. package/constants/token-data/blastRegistry.json.js +0 -137
  70. package/constants/token-data/blastRegistryFixed.json.js +0 -137
  71. package/constants/token-data/bnbMainnetRegistry.json.js +0 -973
  72. package/constants/token-data/bnbMainnetRegistryFixed.json.js +0 -973
  73. package/constants/token-data/coingeckoRegistry.json.js +0 -115623
  74. package/constants/token-data/ethMainnetRegistry.json.js +0 -2700
  75. package/constants/token-data/ethMainnetRegistryFixed.json.js +0 -2251
  76. package/constants/token-data/index.js +0 -6
  77. package/constants/token-data/localhostRegistry.json.js +0 -2768
  78. package/constants/token-data/optimismRegistry.json.js +0 -1455
  79. package/constants/token-data/optimismRegistryFixed.json.js +0 -1392
  80. package/constants/token-data/polygonRegistry.json.js +0 -1327
  81. package/constants/token-data/polygonRegistryFixed.json.js +0 -1255
  82. package/constants/token-data/popularTokens.constants.js +0 -14
  83. package/constants/token-data/tokenPricing.consts.js +0 -8
  84. package/constants/vite.constants.js +0 -29
  85. package/crypto/babyJub.js +0 -15
  86. package/crypto/poseidon.js +0 -26
  87. package/crypto/preProcessing.js +0 -9
  88. package/data-structures/Hinkal/Hinkal.js +0 -299
  89. package/data-structures/Hinkal/hinkalActionBeefy.js +0 -101
  90. package/data-structures/Hinkal/hinkalActionConvex.js +0 -83
  91. package/data-structures/Hinkal/hinkalActionCurve.js +0 -112
  92. package/data-structures/Hinkal/hinkalActionLidoEth.js +0 -91
  93. package/data-structures/Hinkal/hinkalActionPendle.js +0 -140
  94. package/data-structures/Hinkal/hinkalActionPendleLP.js +0 -96
  95. package/data-structures/Hinkal/hinkalActionStake.js +0 -138
  96. package/data-structures/Hinkal/hinkalActionVolatile.js +0 -112
  97. package/data-structures/Hinkal/hinkalDeposit.js +0 -95
  98. package/data-structures/Hinkal/hinkalGetZkMeProvider.js +0 -47
  99. package/data-structures/Hinkal/hinkalPrivateWallet.js +0 -66
  100. package/data-structures/Hinkal/hinkalSwap.js +0 -98
  101. package/data-structures/Hinkal/hinkalTransfer.js +0 -5
  102. package/data-structures/Hinkal/hinkalWithdraw.js +0 -91
  103. package/data-structures/Hinkal/resetMerkleTrees.js +0 -49
  104. package/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.js +0 -83
  105. package/data-structures/ValueCache/ValueCache.js +0 -25
  106. package/data-structures/crypto-keys/decodeUTXO.js +0 -40
  107. package/data-structures/crypto-keys/encryptDecryptUtxo.js +0 -41
  108. package/data-structures/crypto-keys/keyUtils.js +0 -10
  109. package/data-structures/crypto-keys/keys.js +0 -90
  110. package/data-structures/custom-token-registry/CustomTokenRegistry.js +0 -33
  111. package/data-structures/event-service/AbstractAccessTokenSnapshotService.js +0 -131
  112. package/data-structures/event-service/AbstractCommitmentsSnapshotService.js +0 -132
  113. package/data-structures/event-service/AbstractEventService.js +0 -118
  114. package/data-structures/event-service/AbstractNullifierSnapshotService.js +0 -59
  115. package/data-structures/event-service/AbstractSnapshotService.js +0 -35
  116. package/data-structures/merkle-tree/MerkleTree.js +0 -177
  117. package/data-structures/merkle-tree/MerkleTreeIncompleteError.js +0 -8
  118. package/data-structures/snapshot/ClientAccessTokenSnapshotService.js +0 -48
  119. package/data-structures/snapshot/ClientCommitmentsSnapshotService.js +0 -47
  120. package/data-structures/snapshot/ClientNullifierSnapshotService.js +0 -44
  121. package/data-structures/token-price-fetcher/TokenChecker.js +0 -29
  122. package/data-structures/token-price-fetcher/TokenPriceFetcher.js +0 -218
  123. package/data-structures/transactions-manager/TransactionsManager.js +0 -194
  124. package/data-structures/transactions-manager/history/getBeefyData.js +0 -68
  125. package/data-structures/transactions-manager/history/getConvexData.js +0 -57
  126. package/data-structures/transactions-manager/history/getCurveData.js +0 -97
  127. package/data-structures/transactions-manager/history/getDepositData.js +0 -36
  128. package/data-structures/transactions-manager/history/getLidoData.js +0 -44
  129. package/data-structures/transactions-manager/history/getPendleData.js +0 -59
  130. package/data-structures/transactions-manager/history/getSwapData.js +0 -43
  131. package/data-structures/transactions-manager/history/getTxDetails.js +0 -74
  132. package/data-structures/transactions-manager/history/getVolatileData.js +0 -75
  133. package/data-structures/transactions-manager/history/history.types.js +0 -62
  134. package/data-structures/transactions-manager/history/history.utils.js +0 -8
  135. package/data-structures/utxo/Utxo.js +0 -134
  136. package/data-structures/volatile-helper/VolatileHelper.js +0 -181
  137. package/error-handling/customErrors/ErrorWithAmount.js +0 -9
  138. package/error-handling/customErrors/FeeOverTransactionValueError.js +0 -9
  139. package/error-handling/customErrors/customErrors.helpers.js +0 -21
  140. package/error-handling/error-codes.constants.js +0 -184
  141. package/error-handling/get-error.message.js +0 -53
  142. package/error-handling/handleErrorRestore.js +0 -35
  143. package/error-handling/logError.js +0 -7
  144. package/error-handling/types.js +0 -4
  145. package/externalABIs/BUSD.js +0 -519
  146. package/externalABIs/BabPassport.json.js +0 -24
  147. package/externalABIs/BeefyRouterAbi.json.js +0 -1022
  148. package/externalABIs/BeefyStrategyAbi.json.js +0 -1423
  149. package/externalABIs/BeefyVaultAbi.json.js +0 -570
  150. package/externalABIs/BeefyZapAbi.json.js +0 -208
  151. package/externalABIs/BeefyZapOneInchAbi.json.js +0 -340
  152. package/externalABIs/ConvexBoosterAbi.json.js +0 -674
  153. package/externalABIs/ConvexBoosterAbiMainnet.json.js +0 -1002
  154. package/externalABIs/ConvexRewardPoolAbi.json.js +0 -883
  155. package/externalABIs/CurveReadingWrapperAbi.json.js +0 -1422
  156. package/externalABIs/CurveWrappedMainPool.json.js +0 -1136
  157. package/externalABIs/CurveZap.json.js +0 -262
  158. package/externalABIs/CvxCrvUtilities.json.js +0 -264
  159. package/externalABIs/DAI.js +0 -334
  160. package/externalABIs/ERC20.json.js +0 -291
  161. package/externalABIs/GalxePassport.json.js +0 -41
  162. package/externalABIs/IQuoterV2.json.js +0 -205
  163. package/externalABIs/ISwapRouter.json.js +0 -568
  164. package/externalABIs/IUniswapV3Factory.json.js +0 -201
  165. package/externalABIs/IUniswapV3Pool.json.js +0 -999
  166. package/externalABIs/LidoStEthAbi.json.js +0 -1603
  167. package/externalABIs/LidoStMaticAbi.json.js +0 -1764
  168. package/externalABIs/LidoStakeManagerAbi.json.js +0 -2082
  169. package/externalABIs/LidoWithdrawalQueueERC721Abi.json.js +0 -2030
  170. package/externalABIs/LidoWstEthAbi.json.js +0 -480
  171. package/externalABIs/OptimismGasPriceOracle.json.js +0 -206
  172. package/externalABIs/PendleRouterAbi.json.js +0 -173
  173. package/externalABIs/PoLidoNftAbi.json.js +0 -701
  174. package/externalABIs/SanctionsList.js +0 -89
  175. package/externalABIs/USDC.js +0 -721
  176. package/externalABIs/USDR.js +0 -346
  177. package/externalABIs/USDR3CRV.js +0 -542
  178. package/externalABIs/USDT.js +0 -393
  179. package/externalABIs/UniswapV2PoolAbi.json.js +0 -80
  180. package/externalABIs/WETH.js +0 -156
  181. package/externalABIs/amToken.js +0 -350
  182. package/externalABIs/transactionsProver.json.js +0 -39
  183. package/functions/kyc/authentoHelper.js +0 -42
  184. package/functions/kyc/passportHelper.js +0 -39
  185. package/functions/kyc/zkMeHelper.js +0 -56
  186. package/functions/pre-transaction/getFlatFees.js +0 -203
  187. package/functions/pre-transaction/interaction-to-action.js +0 -57
  188. package/functions/pre-transaction/outputUtxoProcessing.js +0 -45
  189. package/functions/pre-transaction/process-gas-estimates.js +0 -57
  190. package/functions/pre-transaction/processAmountChanges.js +0 -229
  191. package/functions/private-wallet/emporium.helpers.js +0 -19
  192. package/functions/private-wallet/opProducer.js +0 -24
  193. package/functions/protocols/convex.protocols.js +0 -41
  194. package/functions/protocols/curve.protocols.js +0 -45
  195. package/functions/protocols/pendle.helpers.js +0 -108
  196. package/functions/snarkjs/common.snarkjs.js +0 -96
  197. package/functions/snarkjs/constant.js +0 -211
  198. package/functions/snarkjs/constructEmporiumProof.js +0 -105
  199. package/functions/snarkjs/constructGeneralZkProof.js +0 -129
  200. package/functions/snarkjs/generateCircomData.js +0 -60
  201. package/functions/snarkjs/generateZkProof.js +0 -18
  202. package/functions/snarkjs/getZKFiles.js +0 -30
  203. package/functions/staking/index.js +0 -40
  204. package/functions/utils/amounts.utils.js +0 -70
  205. package/functions/utils/axelar.utils.js +0 -38
  206. package/functions/utils/cacheFunctions.js +0 -67
  207. package/functions/utils/caseInsensitive.utils.js +0 -6
  208. package/functions/utils/convertIntegrationProviderToExternalActionId.js +0 -16
  209. package/functions/utils/create-provider.js +0 -5
  210. package/functions/utils/enum.utils.js +0 -14
  211. package/functions/utils/erc20tokenFunctions.js +0 -20
  212. package/functions/utils/evmNetworkFunctions.js +0 -29
  213. package/functions/utils/external-action.utils.js +0 -61
  214. package/functions/utils/getDataFromTransaction.js +0 -105
  215. package/functions/utils/memoize.utils.js +0 -14
  216. package/functions/utils/nickname.utils.js +0 -7
  217. package/functions/utils/process.utils.js +0 -4
  218. package/functions/utils/reloadPage.js +0 -4
  219. package/functions/utils/requireEnv.js +0 -7
  220. package/functions/utils/resolve-sync.utils.js +0 -22
  221. package/functions/utils/serialize.utils.js +0 -4
  222. package/functions/utils/string.utils.js +0 -14
  223. package/functions/utils/time.utils.js +0 -8
  224. package/functions/utils/userAgent.js +0 -15
  225. package/functions/utils/volatile-patcher.utils.js +0 -40
  226. package/functions/web3/etherFunctions.js +0 -41
  227. package/functions/web3/events/balanceChangedHandler.js +0 -10
  228. package/functions/web3/events/getInputUtxoAndBalance.js +0 -72
  229. package/functions/web3/events/getShieldedBalance.js +0 -107
  230. package/functions/web3/events/web3RetrieveEvents.js +0 -9
  231. package/functions/web3/functionCalls/accessTokenCalls.js +0 -48
  232. package/functions/web3/functionCalls/approveToken.js +0 -153
  233. package/functions/web3/functionCalls/estimateGasRelayer.js +0 -18
  234. package/functions/web3/functionCalls/transactCallDirect.js +0 -60
  235. package/functions/web3/functionCalls/transactCallRelayer.js +0 -42
  236. package/functions/web3/odosAPI.js +0 -65
  237. package/functions/web3/oneInchAPI.js +0 -61
  238. package/functions/web3/runContractFunction.js +0 -95
  239. package/functions/web3/uniswapAPI.js +0 -97
  240. package/types/beefy.types.js +0 -21
  241. package/types/circom-data.types.js +0 -22
  242. package/types/curve.types.js +0 -25
  243. package/types/ethereum-network.types.js +0 -4
  244. package/types/external-action.types.js +0 -4
  245. package/types/hinkal.stake.types.js +0 -4
  246. package/types/hinkal.types.js +0 -15
  247. package/types/kyc.types.js +0 -13
  248. package/types/pendle.types.js +0 -15
  249. package/types/rewards.types.js +0 -27
  250. package/types/slippage.types.js +0 -15
  251. package/types/time.types.js +0 -58
  252. package/types/token.types.js +0 -4
  253. package/types/transactions.types.js +0 -36
  254. package/webworker/performTaskWithWorker.js +0 -62
  255. package/webworker/snarkjsWorker/snarkjsWorker.types.js +0 -4
  256. package/webworker/utxoWorker/utxoWorker.types.js +0 -4
  257. package/webworker/utxoWorker/utxoWorkerLogic.js +0 -70
  258. package/webworker/worker.registry.js +0 -4
  259. package/webworker/workerFactory.js +0 -42
  260. package/webworker/zkProofWorker/zkProofWorker.types.js +0 -4
  261. package/webworker/zkProofWorker/zkProofWorkerLogic.js +0 -66
@@ -1,57 +0,0 @@
1
- import "./chains.constants.js";
2
- import "../types/circom-data.types.js";
3
- import { slippageLevels as A } from "../types/slippage.types.js";
4
- import "../types/transactions.types.js";
5
- import "../types/curve.types.js";
6
- import { isDevelopment as m } from "./vite.constants.js";
7
- import "./contracts.constants.js";
8
- import "./kyc.constants.js";
9
- import "./coingecko.constants.js";
10
- import "./axelar.constants.js";
11
- import "./rewards.constants.js";
12
- import "./reorg-depths.constants.js";
13
- import "ethers";
14
- import "circomlibjs";
15
- import { absBigInt as s } from "../functions/utils/amounts.utils.js";
16
- import "../data-structures/crypto-keys/keys.js";
17
- import "axios";
18
- import "../data-structures/crypto-keys/encryptDecryptUtxo.js";
19
- import "../functions/web3/events/getShieldedBalance.js";
20
- import "../webworker/workerFactory.js";
21
- import "../functions/utils/external-action.utils.js";
22
- import "../data-structures/custom-token-registry/CustomTokenRegistry.js";
23
- import "../functions/utils/convertIntegrationProviderToExternalActionId.js";
24
- import "../functions/utils/userAgent.js";
25
- import "../data-structures/volatile-helper/VolatileHelper.js";
26
- import "libsodium-wrappers";
27
- const c = 8n, u = 3n, a = (t) => t ? c : u, i = (t, o = !1) => {
28
- const e = s(t);
29
- return a(o) * e / 10000n;
30
- }, g = (t, o) => {
31
- const e = s(t), n = A[o];
32
- return BigInt(Math.round(n * 100)) * e / 10000n;
33
- }, f = (t, o = !1) => {
34
- const e = s(t), n = i(e, o);
35
- return e - n;
36
- }, q = (t, o = !1) => s(t) * 10000n / (10000n - a(o)), F = (t, o, e = !1) => {
37
- const n = s(t), r = s(o), p = f(n, e) - r;
38
- return console.log("flatFee", { flatFeesAbs: r, afterFlatFee: p, totalFee: o + i(n, e) }), p;
39
- }, b = (t, o) => {
40
- const e = s(t), n = g(e, o);
41
- return e - n;
42
- }, z = (t, o, e, n = !1) => {
43
- const r = s(t), p = s(o), l = b(r, e);
44
- return F(l, p, n);
45
- };
46
- export {
47
- u as HINKAL_EXTERNAL_ACTION_FEE,
48
- c as HINKAL_UNIVERSAL_FEE,
49
- F as getAmountAfterRelayAndFlatFees,
50
- z as getAmountAfterRelayAndFlatFeesAndSlippage,
51
- f as getAmountAfterRelayFee,
52
- b as getAmountAfterSlippage,
53
- q as getAmountWithoutFee,
54
- a as getHinkalFeeRateInBeeps,
55
- i as getRelayFee,
56
- g as getSlippageFee
57
- };
@@ -1,118 +0,0 @@
1
- import { zkMeKycHandler as r } from "../functions/kyc/zkMeHelper.js";
2
- import { authentoKycHandler as s } from "../functions/kyc/authentoHelper.js";
3
- import { chainIds as o } from "./chains.constants.js";
4
- const u = "https://onboard.aiprise.com", l = "https://onboard-sandbox.aiprise.com";
5
- var i = /* @__PURE__ */ ((e) => (e[e.AiPriseKyc = 0] = "AiPriseKyc", e[e.AiPriseKyb = 1] = "AiPriseKyb", e[e.BABPassport = 2] = "BABPassport", e[e.GalxePassport = 3] = "GalxePassport", e[e.ZkMePassport = 4] = "ZkMePassport", e[e.CoinbasePassport = 5] = "CoinbasePassport", e[e.AuthentoPassport = 6] = "AuthentoPassport", e[e.AuthentoPassportKyb = 7] = "AuthentoPassportKyb", e))(i || {});
6
- const n = {
7
- 0: {
8
- id: 0,
9
- shortName: "AiPriseKyc",
10
- fullName: " AiPrice Kyc",
11
- apiURL: "",
12
- onboardURL: "",
13
- supportedChainIds: [],
14
- supportsAllChains: !0
15
- },
16
- 1: {
17
- id: 1,
18
- shortName: "AiPriseKyb",
19
- fullName: " AiPrice Kyb",
20
- apiURL: "",
21
- onboardURL: "",
22
- supportedChainIds: [],
23
- supportsAllChains: !0
24
- },
25
- 2: {
26
- id: 2,
27
- shortName: "Bab",
28
- fullName: "Bab Token",
29
- apiURL: "BabPassport",
30
- onboardURL: "https://www.binance.com/en/BABT",
31
- supportedChainIds: [o.bnbMainnet]
32
- },
33
- 3: {
34
- id: 3,
35
- shortName: "Galxe",
36
- fullName: "Galxe Passport",
37
- apiURL: "GalxePassport",
38
- onboardURL: "https://galxe.com/passport",
39
- supportedChainIds: [o.bnbMainnet]
40
- },
41
- // [Passports.QuadrataPassport]: {
42
- // id: Passports.QuadrataPassport,
43
- // shortName: 'Quadrata',
44
- // fullName: 'Quadrata Passport',
45
- // apiURL: 'QuadrataPassport',
46
- // onboardURL: 'https://quadrata.com/onboard',
47
- // supportedChainIds: [
48
- // chainIds.ethMainnet,
49
- // chainIds.arbMainnet,
50
- // chainIds.optimism,
51
- // chainIds.polygon,
52
- // chainIds.avalanche,
53
- // ],
54
- // },
55
- 4: {
56
- id: 4,
57
- shortName: "zkMe",
58
- fullName: "zkMe Passport",
59
- apiURL: "ZkMePassport",
60
- onboardURL: "https://widget.zk.me/",
61
- customHandleKYC: (e, a, t) => r(e, a, t),
62
- supportedChainIds: [o.polygon],
63
- params: {
64
- merchId: "M2023090671844574053042402155408",
65
- zkChainId: o.polygon
66
- }
67
- },
68
- 5: {
69
- id: 5,
70
- shortName: "coinbase",
71
- fullName: "coinbase Passport",
72
- apiURL: "coinbasePassport",
73
- onboardURL: "https://www.coinbase.com/onchain-verify",
74
- supportedChainIds: [],
75
- supportsAllChains: !0
76
- },
77
- 6: {
78
- id: 6,
79
- shortName: "Authento",
80
- fullName: "Authento Passport",
81
- apiURL: "AuthentoPassport",
82
- onboardURL: "https://app.authento.io/",
83
- customHandleKYC: (e, a, t) => s(e, a, t),
84
- supportedChainIds: [],
85
- supportsAllChains: !0
86
- },
87
- 7: {
88
- id: 7,
89
- shortName: "Authento",
90
- fullName: "Authento Passport",
91
- apiURL: "AuthentoPassport",
92
- onboardURL: "https://app.authento.io/",
93
- customHandleKYC: (e, a, t) => s(e, a, t),
94
- supportedChainIds: [],
95
- supportsAllChains: !0
96
- }
97
- }, c = Object.values(n).filter((e, a) => e.onboardURL?.length > 0 && Object.values(n).indexOf(e) === a).map((e) => e.onboardURL), m = "dbda56e5-31f5-4a37-a895-d4adca6c53fd", b = "96050d8d-23c9-4908-b285-2e6dec4c020b", A = {
98
- verifyMessageText: "Sign this message to prove your ownership of this address and proceed with the identity verification process.",
99
- domainName: "Hinkal",
100
- type: {
101
- Message: [
102
- { name: "content", type: "string" },
103
- { name: "for", type: "string" },
104
- { name: "timestamp", type: "string" },
105
- { name: "nonce", type: "string" }
106
- ]
107
- }
108
- };
109
- export {
110
- b as AIPRISE_KYB_TEMPLATE_ID_PROD,
111
- m as AIPRISE_KYC_TEMPLATE_ID_PROD,
112
- A as AUTHENTO,
113
- i as Passports,
114
- n as SupportedPassports,
115
- u as aipriseBaseOnboardingProductionUrl,
116
- l as aipriseBaseOnboardingSandboxUrl,
117
- c as supportedPassportLinks
118
- };
@@ -1,13 +0,0 @@
1
- const t = "0x889edC2eDab5f40e902b864aD4d7AdE8E412F9B1", d = "0x5e3Ef299fDDf15eAa0432E6e66473ace8c13D908", e = "0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0", s = "0xae7ab96520de3a18e5e111b5eaab095312d7fe84", a = "0x60a91E2B7A1568f0848f3D43353C453730082E46", o = "0x9ee91f9f426fa633d227f7a9b000e28b9dfd8599", c = "ETH", f = "MATIC", b = "wstETH", n = "stMATIC";
2
- export {
3
- c as ethSymbol,
4
- s as lidoStEthContractAddress,
5
- o as lidoStMaticAddress,
6
- d as lidoStakeManagerAddress,
7
- t as lidoWithdrawalQueueERC721Address,
8
- e as lidoWstEthContractAddress,
9
- f as maticSymbol,
10
- a as poLidoNftAddress,
11
- n as stMaticSymbol,
12
- b as wstEthSymbol
13
- };
@@ -1,253 +0,0 @@
1
- import { caseInsensitiveEqual as r } from "../functions/utils/caseInsensitive.utils.js";
2
- import { chainIds as c, getNonLocalhostChainId as C } from "./chains.constants.js";
3
- const s = [
4
- {
5
- name: "Pendle-WEETH-JUNE2024",
6
- // ether.fi eEth Pool
7
- SY: "0xAC0047886a985071476a1186bE89222659970d65",
8
- YT: "0xfb35Fd0095dD1096b1Ca49AD44d8C5812A201677",
9
- PT: "0xc69Ad9baB1dEE23F4605a82b3354F8E40d1E5966",
10
- market: "0xF32e58F92e60f4b0A37A69b95d642A471365EAe8",
11
- expiry: 1719446400,
12
- decimals: 18,
13
- version: 1,
14
- rewardTokens: []
15
- },
16
- {
17
- name: "Pendle-RSETH-KELP-JUNE2024",
18
- // Kelp Dao
19
- SY: "0x730A5E2AcEbccAA5e9095723B3CB862739DA793c",
20
- YT: "0x0ED3A1D45DfdCf85BCc6C7BAFDC0170A357B974C",
21
- PT: "0xB05cABCd99cf9a73b19805edefC5f67CA5d1895E",
22
- market: "0x4f43c77872Db6BA177c270986CD30c3381AF37Ee",
23
- expiry: 1719446400,
24
- decimals: 18,
25
- version: 1,
26
- rewardTokens: []
27
- },
28
- {
29
- name: "Pendle-PUFETH-JUNE2024",
30
- // Puffer
31
- SY: "0x253008ba4aE2f3E6488DC998a5321D4EB1a0c905",
32
- YT: "0x391B570e81e354a85a496952b66ADc831715f54f",
33
- PT: "0xC58aa33Ce619c7f7Ac4929DF357D0Ef762edbD23",
34
- market: "0x17BE998a578fD97687b24E83954FEc86Dc20c979",
35
- expiry: 1719446400,
36
- decimals: 18,
37
- version: 1,
38
- rewardTokens: []
39
- },
40
- {
41
- name: "Pendle-ZIRCUIT-EZETH-JUNE2024",
42
- // Zircuit ezEth (Renzo)
43
- SY: "0x7a493be5c2ce014cd049bf178a1ac0db1b434744",
44
- YT: "0x98601E27d41ccff643da9d981dc708cf9eF1F150",
45
- PT: "0xDDFD5e912C1949B4bDb12579002c44B7A83F9E88",
46
- market: "0xd7E0809998693fD87E81D51dE1619fd0EE658031",
47
- expiry: 1719446400,
48
- decimals: 18,
49
- version: 1,
50
- rewardTokens: []
51
- },
52
- {
53
- name: "Pendle-ZIRCUIT-EETH-JUN2024",
54
- // Zircuit eEth (ether.fi)
55
- SY: "0xD7DF7E085214743530afF339aFC420c7c720BFa7",
56
- YT: "0x7C2D26182adeEf96976035986cF56474feC03bDa",
57
- PT: "0x4AE5411F3863CdB640309e84CEDf4B08B8b33FfF",
58
- market: "0xe26D7f9409581f606242300fbFE63f56789F2169",
59
- expiry: 1719446400,
60
- decimals: 18,
61
- version: 1,
62
- rewardTokens: []
63
- },
64
- {
65
- name: "Pendle-ZIRCUIT-RSETH-JUN2024",
66
- // Zircuit Kelp Dao
67
- SY: "0x34349c5569e7b846c3558961552d2202760a9789",
68
- YT: "0x029aad400f6092dc735a65be95102efcc2fe64bf",
69
- PT: "0x094be6bd31d7b860f7d2c1f280fd09f0463d7e67",
70
- market: "0x445d25a1c31445fb29e65d12da8e0eea38174176",
71
- expiry: 1719446400,
72
- decimals: 18,
73
- version: 1,
74
- rewardTokens: []
75
- },
76
- {
77
- name: "Pendle-SUSDE-MAINNET-SEP2024",
78
- SY: "0x4139cDC6345aFFbaC0692b43bed4D059Df3e6d65",
79
- YT: "0xdc02b77a3986da62C7A78FED73949C9767850809",
80
- PT: "0x6c9f097e044506712B58EAC670c9a5fd4BCceF13",
81
- market: "0xd1D7D99764f8a52Aff007b7831cc02748b2013b5",
82
- expiry: 1727308800,
83
- decimals: 18,
84
- version: 1,
85
- rewardTokens: []
86
- },
87
- {
88
- name: "Pendle-WEETH-DEC2024",
89
- SY: "0xAC0047886a985071476a1186bE89222659970d65",
90
- YT: "0x129e6B5DBC0Ecc12F9e486C5BC9cDF1a6A80bc6A",
91
- PT: "0x6ee2b5E19ECBa773a352E5B21415Dc419A700d1d",
92
- market: "0x7d372819240D14fB477f17b964f95F33BeB4c704",
93
- expiry: 1735171200,
94
- decimals: 18,
95
- version: 1,
96
- rewardTokens: []
97
- },
98
- {
99
- name: "Pendle-EZETH-DEC2024",
100
- SY: "0x22E12A50e3ca49FB183074235cB1db84Fe4C716D",
101
- YT: "0x7749F5Ed1e356EDc63D469c2fcaC9adEB56d1C2b",
102
- PT: "0xf7906F274c174A52d444175729E3fa98f9bde285",
103
- market: "0xD8F12bCDE578c653014F27379a6114F67F0e445f",
104
- expiry: 1735171200,
105
- decimals: 18,
106
- version: 1,
107
- rewardTokens: []
108
- },
109
- {
110
- name: "Pendle-PUFETH-MAINNET-SEP2024",
111
- SY: "0x253008ba4aE2f3E6488DC998a5321D4EB1a0c905",
112
- YT: "0x1a65eB80a2ac3ea6E41D456DdD6E9cC5728BEf7C",
113
- PT: "0xd4e75971eAF78a8d93D96df530f1FFf5f9F53288",
114
- market: "0xA54FC268101c8b97DE19eF3141d34751a11996B2",
115
- expiry: 1727308800,
116
- decimals: 18,
117
- version: 1,
118
- rewardTokens: []
119
- },
120
- {
121
- name: "Pendle-WEETH-MAINNET-SEP2024",
122
- SY: "0xAC0047886a985071476a1186bE89222659970d65",
123
- YT: "0xA54Df645A042D24121a737dAA89a57EbF8E0b71c",
124
- PT: "0x1c085195437738d73d75DC64bC5A3E098b7f93b1",
125
- market: "0xC8eDd52D0502Aa8b4D5C77361D4B3D300e8fC81c",
126
- expiry: 1727308800,
127
- decimals: 18,
128
- version: 1,
129
- rewardTokens: []
130
- },
131
- {
132
- name: "Pendle-STETH-25DEC2025",
133
- SY: "0xcbC72d92b2dc8187414F6734718563898740C0BC",
134
- YT: "0xf3aBC972A0f537c1119C990d422463b93227Cd83",
135
- PT: "0xf99985822fb361117FCf3768D34a6353E6022F5F",
136
- market: "0xC374f7eC85F8C7DE3207a10bB1978bA104bdA3B2",
137
- expiry: 1766620800,
138
- decimals: 18,
139
- version: 1,
140
- rewardTokens: []
141
- },
142
- {
143
- name: "Pendle-ZIRCUIT-WEETH-MAINNET-AUG2024",
144
- SY: "0xD7DF7E085214743530afF339aFC420c7c720BFa7",
145
- YT: "0x323DA63d354c9d79DF927fd21CE5B97aDD3a50d9",
146
- PT: "0x7131eD1994BA1A2a5392FE4D99e579f49F5eD48F",
147
- market: "0x6c269DFc142259c52773430b3c78503CC994a93E",
148
- expiry: 1724284800,
149
- version: 1,
150
- decimals: 18,
151
- rewardTokens: []
152
- }
153
- ], D = [
154
- {
155
- name: "Pendle-ANKRBNB-26JUN2025.",
156
- SY: "0x58732F1C1243A0D5876a601FB8D1Ee508B21580D",
157
- YT: "0x269f3E230C90C0a29140106D4cFB5860aF6F6827",
158
- PT: "0x04eb6B56ff53f457c8E857ca8D4fbC8d9a531c0C",
159
- market: "0xEDa1D0e1681D59dea451702963d6287b844Cb94C",
160
- expiry: 1750896e3,
161
- decimals: 18,
162
- version: 2,
163
- rewardTokens: []
164
- },
165
- {
166
- name: "Pendle-WBETH-DEC2024",
167
- SY: "0x96F77F24b3d17166FcaF3a9E3B8330fF38B966F9",
168
- YT: "0x429c77E193Ff7e6c6c3B2e1f00877B91792e87ee",
169
- PT: "0x70c1138B54ba212776d3A9d29b6160C54C31cd5d",
170
- market: "0x080f52A881ba96EEE2268682733C857c560e5dd4",
171
- expiry: 1735171200,
172
- decimals: 18,
173
- version: 2,
174
- rewardTokens: []
175
- }
176
- ], x = [
177
- {
178
- name: "Pendle-RETH-OPTIMISM-JUNE2024",
179
- SY: "0x9D6d509C0354ACA187aAC6beA7d063D3Ef68e2A0",
180
- YT: "0xE8F0cf61598E0d7D20f99b978BdeFF4D4222FeB8",
181
- PT: "0xAA92Ea52612fA5ee5aba5510682485c19750CB82",
182
- market: "0x0C485Feb9E6fee816652Ea8f3beD2A8f59296E40",
183
- expiry: 1719446400,
184
- decimals: 18,
185
- version: 2,
186
- rewardTokens: []
187
- },
188
- {
189
- name: "Pendle-WSTETH-OPTIMISM-SEP2024",
190
- SY: "0x96A528f4414aC3CcD21342996c93f2EcdEc24286",
191
- YT: "0x1DFe41cc7F7860BA7f1076ca6d0fedD707c87A00",
192
- PT: "0xF4225F061E5E01aA59DE5E615729A9180301EB07",
193
- market: "0x24fB77c8C776C75F869BC65e6856AF56f57d919F",
194
- expiry: 1727308800,
195
- decimals: 18,
196
- version: 2,
197
- rewardTokens: []
198
- }
199
- ], F = [
200
- {
201
- name: "Pendle-AAVE-USDC-JUNE2024",
202
- SY: "0x50288c30c37FA1Ec6167a31E575EA8632645dE20",
203
- YT: "0xA1c32EF8d3c4c30cB596bAb8647e11daF0FA5C94",
204
- PT: "0xb72b988CAF33f3d8A6d816974fE8cAA199E5E86c",
205
- market: "0x8621c587059357d6C669f72dA3Bfe1398fc0D0B5",
206
- expiry: 1719446400,
207
- decimals: 6,
208
- version: 1,
209
- rewardTokens: []
210
- },
211
- {
212
- name: "Pendle-HLP-JUN2024.",
213
- SY: "0xF18011766Cf11D905e93ed5626838d44c7FA14B7",
214
- YT: "0x9D090Ef4Aafd0ACB821113a7689d5794e50bD047",
215
- PT: "0xC595c9c28D78bb347C8177dFbB820484e2D99A66",
216
- market: "0x0F249f735647992572eEa231fc24b35F7B6b34e1",
217
- expiry: 1719446400,
218
- decimals: 18,
219
- version: 2,
220
- rewardTokens: []
221
- }
222
- ], n = (e) => {
223
- switch (e) {
224
- case c.ethMainnet:
225
- return s;
226
- case c.bnbMainnet:
227
- return D;
228
- case c.optimism:
229
- return x;
230
- case c.arbMainnet:
231
- return F;
232
- default:
233
- return [];
234
- }
235
- }, b = (e) => {
236
- const a = C(e);
237
- return n(a).map((d) => d.YT.toLowerCase());
238
- }, T = (e, a) => b(e).some((E) => r(E, a)), o = (e, a) => {
239
- const d = n(e).find((f) => r(f.YT, a))?.SY;
240
- if (!d)
241
- throw Error(`Sy Address for ${a} not found`);
242
- return d;
243
- };
244
- export {
245
- F as arbPendleRegistry,
246
- D as bnbPendleRegistry,
247
- s as ethPendleRegistry,
248
- o as findSyAddress,
249
- n as getPendleRegistryWithChainId,
250
- b as getYtTokensWithChainId,
251
- T as isYtToken,
252
- x as optimismPendleRegistry
253
- };
@@ -1,26 +0,0 @@
1
- const e = `0x${"00".repeat(20)}`, n = "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee", r = "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE", s = "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee", t = "Hinkal Stake KeyPair Generator", c = "0xa33e4e1672ffdc9a08d0d8b50c79a7dee400bb5493d054076ff01733d7646b32", a = 60 * 60 * 1e3, o = 21888242871839275222246405745257275088548364400416034343698204186575808495617n, d = o / 2n, i = { current: e }, E = "curve-dao-token", b = "lp-3pool-curve", l = "convex-finance", u = {
2
- 137: "polygon",
3
- 42161: "arbitrum",
4
- 1: "ethereum",
5
- 43114: "avax",
6
- 56: "bsc",
7
- 10: "optimism",
8
- 8453: "base"
9
- // there is no blast
10
- };
11
- export {
12
- o as CIRCOM_P,
13
- d as CIRCOM_P_HALF,
14
- u as beefyChainIds,
15
- E as crvSymbol,
16
- i as curveWithdrawGasTokenAddress,
17
- r as curveZeroAddress,
18
- l as cvxSymbol,
19
- s as ethVolatileAddress,
20
- n as oneInchZeroAddress,
21
- c as ownerPublicKey,
22
- a as permitSignatureValidFor,
23
- t as signaturePhrase,
24
- b as threePoolSymbol,
25
- e as zeroAddress
26
- };
@@ -1,15 +0,0 @@
1
- import { chainIds as a } from "./chains.constants.js";
2
- const o = {
3
- [a.ethMainnet]: 3,
4
- [a.bnbMainnet]: 10,
5
- [a.polygon]: 32,
6
- [a.avalanche]: 1,
7
- [a.arbMainnet]: 1,
8
- [a.optimism]: 1,
9
- [a.base]: 1,
10
- [a.blast]: 1,
11
- [a.localhost]: 1
12
- };
13
- export {
14
- o as blockReorgDepth
15
- };
@@ -1,27 +0,0 @@
1
- import "../types/circom-data.types.js";
2
- import "../types/transactions.types.js";
3
- import { RafflePrizeType as t } from "../types/rewards.types.js";
4
- import "../types/curve.types.js";
5
- const i = ["USDC"], a = "https://hinkal-team.gitbook.io/hinkal/users/rebates/referral-program", n = "https://hinkal-team.gitbook.io/hinkal/users/rewards/points", l = "https://hinkal-team.gitbook.io/hinkal/users/rebates/lp-program", p = 3, k = 9, m = {
6
- 10: 2,
7
- // if in the top 10
8
- 50: 1.6,
9
- // if in top 50 but not in top 10
10
- 100: 1.2
11
- // and so on
12
- }, E = 7, c = 1e3, S = {
13
- [t.Silver]: 1e4,
14
- [t.Gold]: 2e4
15
- };
16
- export {
17
- c as ACCESS_TOKEN_MINTING_POINTS,
18
- E as CERTIFICATION_DISABLE_WEEK,
19
- i as REWARD_RECEIVABLE_TOKEN_SYMBOLS,
20
- S as RafflePrizePoints,
21
- m as boostAmounts,
22
- l as lpLink,
23
- p as lpProgramStartWeek,
24
- n as pointsLink,
25
- k as raffleProgramStartWeek,
26
- a as referralLink
27
- };
@@ -1,157 +0,0 @@
1
- const s = (e, n) => `${e}${n !== void 0 ? `?week=${n}` : ""}`, l = {
2
- ROUTES: {
3
- checkKycStatus: "/check-kyc-status",
4
- getUserSignature: "/signature-request",
5
- startUserVerification: "/start-aiprise-verification",
6
- zkMeAccessToken: "/zkMeAccessToken",
7
- getCommitmentsSnapshot: "/snapshots/commitments",
8
- getAccessTokenSnapshot: "/snapshots/access-tokens",
9
- callOdosAPI: "/OdosSwapData",
10
- callOneInchAPI: "/OneInchSwapData",
11
- getOdosPriceForToken: (e) => `/getOdosPriceForToken/${e}`,
12
- getNullifiers: "/snapshots/nullifiers",
13
- axelarGasEstimate: (e, n, i, o) => `/axelarGasEstimate/${e}/${n}/${i}/${o}`,
14
- userHasAccessToken: (e) => `/user-has-access-token/${e}`,
15
- afterKycCall: "/after-kyc-callback",
16
- restoreSnapshots: "/snapshots/restore",
17
- beefyGraphAPI: "/BeefyGraphData",
18
- monitor: "/monitor",
19
- checkRisk: (e) => `/check-risk/${e}`,
20
- userVerifyTransactions: "/user-verify-transactions",
21
- verificationStartDate: (e) => `/verification-start-date/${e}`,
22
- userGetTransactions: (e, n) => `/user-get-transactions/${e}/${n}`,
23
- getActiveCode: (e) => `/get-active-code/${e}`,
24
- updateActiveCode: "/update-active-code",
25
- getWeeklyReferralCodes: (e, n) => `/get-weekly-referral-codes/${e}/${n}`,
26
- getReferralCodes: (e) => s(`/get-referral-codes/${e}`),
27
- getRewardsHistory: (e) => `/get-rewards-history/${e}`,
28
- addReferralCode: "/update-referral-code",
29
- getLpProgram: (e) => s(`/getLpProgram/${e}`),
30
- points: (e, n) => `/points/${e}/${n}`,
31
- leaderboard: (e) => `/leaderboard/${e}`,
32
- setRewardsReceivingData: "/set-user-rewards-receiving-data",
33
- getRewardsReceivingData: (e) => `/get-user-rewards-receiving-data/${e}`,
34
- seasonLeaderboard: (e) => `/season-leaderboard/${e}`,
35
- getUserAnonymityStakingPoints: (e) => `/hinkal-points/${e}`,
36
- getLimitedAnonymityStakingPoints: (e) => `/hinkal-points/limited/${e}`,
37
- getUserAnonymityStakingReferralPoints: (e) => `/hinkal-referral-codes-info/${e}`,
38
- userHasPassword: (e) => `/user-has-password/${e}`,
39
- userRegisterPassword: "/user-register-password",
40
- getNickname: (e) => `/get-nickname/${e}`,
41
- addNickname: "/update-nickname",
42
- getLidoDefiData: "lido/defi",
43
- getLidoStats: "lido/stats",
44
- getLidoEthStats: "lido/eth-stats",
45
- getLidoDiscount: "lido/discount",
46
- getLidoRequestTime: "lido/request-time",
47
- getLidoMaticReward: "lido/matic-rewards",
48
- pendleAddLiquiditySingleToken: "pendle/addLiquiditySingleToken",
49
- pendleAddLiquiditySingleSy: "pendle/addLiquiditySingleSy",
50
- pendleAddLiquiditySinglePt: "pendle/addLiquiditySinglePt",
51
- pendleAddLiquidityDualTokenAndPt: "pendle/addLiquidityDualTokenAndPt",
52
- pendleAddLiquidityDualSyAndPt: "pendle/addLiquidityDualSyAndPt",
53
- pendleAddLiquiditySingleTokenKeepYt: "pendle/addLiquiditySingleTokenKeepYt",
54
- pendleRemoveLiquiditySingleToken: "pendle/removeLiquiditySingleToken",
55
- pendleRemoveLiquiditySingleSy: "pendle/removeLiquiditySingleSy",
56
- pendleRemoveLiquiditySinglePt: "pendle/removeLiquiditySinglePt",
57
- pendleRemoveLiquidityDualTokenAndPt: "pendle/removeLiquidityDualTokenAndPt",
58
- pendleRemoveLiquidityDualSyAndPt: "pendle/removeLiquidityDualSyAndPt",
59
- pendleMintPyFromToken: "pendle/mintPyFromToken",
60
- pendlRedeemPyToToken: "pendle/redeemPyToToken",
61
- removeLiquidityDualTokenAndPt: "pendle/removeLiquidityDualTokenAndPt",
62
- removeLiquiditySinglePt: "pendle/removeLiquiditySinglePt",
63
- pendleSwapExactTokenForYT: "pendle/swapExactTokenForYt",
64
- pendleSwapExactTokenForPt: "pendle/swapExactTokenForPt",
65
- pendleSwapExactPtForToken: "pendle/swapExactPtForToken",
66
- pendleSwapExactPtForYt: "pendle/swapExactPtForYt",
67
- pendleSwapExactYtForToken: "pendle/swapExactYtForToken",
68
- pendleSwapExactYtForPt: "pendle/swapExactYtForPt",
69
- pendleSyTokenInOut: "pendle/syTokenInOut",
70
- connextReceiveFee: (e, n) => `/connextEstimateReceive/${e}/${n}`
71
- }
72
- }, d = {
73
- getGasEstimate: (e, n, i, o, r) => `/gas-estimation/${e}/${o}/${n}/${i}/${r}`,
74
- getTokenPrice: "/get-token-price",
75
- getTokenPriceEth: (e) => `/get-token-price-in-eth/${e}`,
76
- getTokenPrices: "/get-token-prices",
77
- TRANSACT: "/general-transact",
78
- getIdleRelay: "/get-idle-relay"
79
- }, p = {
80
- getUserPoints: (e) => `/user-points/${e}`
81
- }, 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 = {
82
- polygon: "https://polygon.server.hinkal.pro",
83
- arbMainnet: "https://arbMainnet.server.hinkal.pro",
84
- ethMainnet: "https://ethMainnet.server.hinkal.pro",
85
- bnbMainnet: "https://bnbMainnet.server.hinkal.pro",
86
- avalanche: "https://avalanche.server.hinkal.pro",
87
- optimism: "https://optimism.server.hinkal.pro",
88
- base: "https://base.server.hinkal.pro",
89
- blast: "https://blast.server.hinkal.pro",
90
- localhost: "http://localhost:7072"
91
- }, y = {
92
- polygon: `${t}:7072`,
93
- arbMainnet: `${t}:7070`,
94
- ethMainnet: `${t}:7080`,
95
- bnbMainnet: `${t}:7076`,
96
- avalanche: `${t}:7078`,
97
- optimism: `${t}:7082`,
98
- base: `${t}:7084`,
99
- blast: `${t}:7086`,
100
- localhost: "http://localhost:7072"
101
- }, u = {
102
- polygon: `${a}:7072`,
103
- arbMainnet: `${a}:7070`,
104
- ethMainnet: `${a}:7080`,
105
- bnbMainnet: `${a}:7076`,
106
- avalanche: `${a}:7078`,
107
- optimism: `${a}:7082`,
108
- base: `${a}:7084`,
109
- blast: `${a}:7086`,
110
- localhost: "http://localhost:7072"
111
- }, $ = {
112
- polygon: "https://polygon.relayer.hinkal.pro",
113
- arbMainnet: "https://arbMainnet.relayer.hinkal.pro",
114
- ethMainnet: "https://ethMainnet.relayer.hinkal.pro",
115
- bnbMainnet: "https://bnbMainnet.relayer.hinkal.pro",
116
- avalanche: "https://avalanche.relayer.hinkal.pro",
117
- optimism: "https://optimism.relayer.hinkal.pro",
118
- base: "https://base.relayer.hinkal.pro",
119
- blast: "https://blast.relayer.hinkal.pro",
120
- localhost: "http://localhost:7073"
121
- }, m = {
122
- polygon: `${t}:7073`,
123
- arbMainnet: `${t}:7071`,
124
- ethMainnet: `${t}:7081`,
125
- bnbMainnet: `${t}:7077`,
126
- avalanche: `${t}:7079`,
127
- optimism: `${t}:7083`,
128
- base: `${t}:7085`,
129
- blast: `${t}:7087`,
130
- localhost: "http://localhost:7073"
131
- }, S = {
132
- polygon: `${a}:7073`,
133
- arbMainnet: `${a}:7071`,
134
- ethMainnet: `${a}:7081`,
135
- bnbMainnet: `${a}:7077`,
136
- avalanche: `${a}:7079`,
137
- optimism: `${a}:7083`,
138
- base: `${a}:7085`,
139
- blast: `${a}:7087`,
140
- localhost: "http://localhost:7073"
141
- };
142
- export {
143
- l as API_CONFIG,
144
- p as DATA_SERVER_CONFIG,
145
- k as DATA_SERVER_PORT,
146
- h as DATA_SERVER_URL_LOCAL,
147
- c as DATA_SERVER_URL_PRODUCTION,
148
- S as PLAYGROUND_RELAYER_URLS,
149
- u as PLAYGROUND_SERVER_URLS,
150
- a as PLAYGROUND_URL,
151
- d as RELAYER_CONFIG,
152
- $ as RELAYER_URLS,
153
- g as SERVER_URLS,
154
- m as STAGING_RELAYER_URLS,
155
- y as STAGING_SERVER_URLS,
156
- t as STAGING_URL
157
- };