@hinkal/common 0.2.3 → 0.2.4
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.
- package/API/API.cjs +1 -1
- package/API/API.d.ts +2 -2
- package/API/API.mjs +22 -22
- package/API/duneAPI.cjs +1 -1
- package/API/duneAPI.mjs +3 -2
- package/API/userVerifyTransactions.cjs +1 -1
- package/API/userVerifyTransactions.d.ts +6 -7
- package/API/userVerifyTransactions.mjs +13 -14
- package/constants/chains.constants.cjs +1 -1
- package/constants/chains.constants.mjs +2 -2
- package/constants/contracts.constants.cjs +1 -1
- package/constants/contracts.constants.mjs +138 -134
- package/constants/deploy-data/deploy-data-arbMainnet.json.cjs +1 -1
- package/constants/deploy-data/deploy-data-arbMainnet.json.mjs +846 -11
- package/constants/deploy-data/deploy-data-avalanche.json.cjs +1 -1
- package/constants/deploy-data/deploy-data-avalanche.json.mjs +848 -13
- package/constants/deploy-data/deploy-data-base.json.cjs +1 -1
- package/constants/deploy-data/deploy-data-base.json.mjs +852 -17
- package/constants/deploy-data/deploy-data-bnbMainnet.json.cjs +1 -1
- package/constants/deploy-data/deploy-data-bnbMainnet.json.mjs +855 -20
- package/constants/deploy-data/deploy-data-ethMainnet.json.cjs +1 -1
- package/constants/deploy-data/deploy-data-ethMainnet.json.mjs +850 -15
- package/constants/deploy-data/deploy-data-localhost.json.cjs +1 -1
- package/constants/deploy-data/deploy-data-localhost.json.mjs +935 -100
- package/constants/deploy-data/deploy-data-optimism.json.cjs +1 -1
- package/constants/deploy-data/deploy-data-optimism.json.mjs +844 -9
- package/constants/deploy-data/deploy-data-polygon.json.cjs +1 -1
- package/constants/deploy-data/deploy-data-polygon.json.mjs +844 -9
- package/constants/kyc.constants.cjs +1 -1
- package/constants/kyc.constants.mjs +30 -18
- package/constants/server.constants.cjs +1 -1
- package/constants/server.constants.d.ts +3 -2
- package/constants/server.constants.mjs +7 -6
- package/constants/token-data/ERC20Registry.cjs +1 -1
- package/constants/token-data/ERC20Registry.mjs +48 -48
- package/constants/token-data/arbMainnetRegistry.json.cjs +1 -1
- package/constants/token-data/arbMainnetRegistry.json.mjs +4 -1
- package/constants/token-data/arbMainnetRegistryFixed.json.cjs +1 -1
- package/constants/token-data/arbMainnetRegistryFixed.json.mjs +4 -1
- package/constants/token-data/avalancheRegistry.json.cjs +1 -1
- package/constants/token-data/avalancheRegistry.json.mjs +4 -1
- package/constants/token-data/avalancheRegistryFixed.json.cjs +1 -1
- package/constants/token-data/avalancheRegistryFixed.json.mjs +4 -1
- package/constants/token-data/baseRegistry.json.cjs +1 -1
- package/constants/token-data/baseRegistry.json.mjs +4 -1
- package/constants/token-data/baseRegistryFixed.json.cjs +1 -1
- package/constants/token-data/baseRegistryFixed.json.mjs +4 -1
- package/constants/token-data/bnbMainnetRegistry.json.cjs +1 -1
- package/constants/token-data/bnbMainnetRegistry.json.mjs +12 -9
- package/constants/token-data/bnbMainnetRegistryFixed.json.cjs +1 -1
- package/constants/token-data/bnbMainnetRegistryFixed.json.mjs +12 -9
- package/constants/token-data/ethMainnetRegistry.json.cjs +1 -1
- package/constants/token-data/ethMainnetRegistry.json.mjs +15 -12
- package/constants/token-data/ethMainnetRegistryFixed.json.cjs +1 -1
- package/constants/token-data/ethMainnetRegistryFixed.json.mjs +15 -12
- package/constants/token-data/index.cjs +1 -0
- package/constants/token-data/index.d.ts +972 -15
- package/constants/token-data/index.mjs +34 -0
- package/constants/token-data/localhostRegistry.json.cjs +1 -1
- package/constants/token-data/localhostRegistry.json.mjs +15 -12
- package/constants/token-data/optimismRegistry.json.cjs +1 -1
- package/constants/token-data/optimismRegistry.json.mjs +4 -1
- package/constants/token-data/optimismRegistryFixed.json.cjs +1 -1
- package/constants/token-data/optimismRegistryFixed.json.mjs +4 -1
- package/constants/token-data/polygonRegistry.json.cjs +1 -1
- package/constants/token-data/polygonRegistry.json.mjs +4 -1
- package/constants/token-data/polygonRegistryFixed.json.cjs +1 -1
- package/constants/token-data/polygonRegistryFixed.json.mjs +4 -1
- package/data-structures/Hinkal/Hinkal.cjs +1 -1
- package/data-structures/Hinkal/Hinkal.d.ts +2 -0
- package/data-structures/Hinkal/Hinkal.mjs +38 -32
- package/data-structures/Hinkal/IHinkal.d.ts +2 -0
- package/data-structures/Hinkal/hinkalActionBeefy.cjs +1 -1
- package/data-structures/Hinkal/hinkalActionBeefy.mjs +21 -20
- package/data-structures/Hinkal/hinkalActionConvex.cjs +1 -1
- package/data-structures/Hinkal/hinkalActionConvex.mjs +13 -12
- package/data-structures/Hinkal/hinkalActionCurve.cjs +1 -1
- package/data-structures/Hinkal/hinkalActionCurve.mjs +15 -14
- package/data-structures/Hinkal/hinkalActionLidoEth.cjs +1 -1
- package/data-structures/Hinkal/hinkalActionLidoEth.mjs +17 -16
- package/data-structures/Hinkal/hinkalActionPendle.cjs +1 -1
- package/data-structures/Hinkal/hinkalActionPendle.d.ts +1 -1
- package/data-structures/Hinkal/hinkalActionPendle.mjs +24 -23
- package/data-structures/Hinkal/hinkalActionPendleLP.cjs +1 -1
- package/data-structures/Hinkal/hinkalActionPendleLP.mjs +21 -20
- package/data-structures/Hinkal/hinkalActionStake.cjs +1 -1
- package/data-structures/Hinkal/hinkalActionStake.d.ts +1 -1
- package/data-structures/Hinkal/hinkalActionStake.mjs +6 -5
- package/data-structures/Hinkal/hinkalActionVolatile.cjs +1 -1
- package/data-structures/Hinkal/hinkalActionVolatile.d.ts +1 -1
- package/data-structures/Hinkal/hinkalActionVolatile.mjs +9 -8
- package/data-structures/Hinkal/hinkalDeposit.cjs +1 -1
- package/data-structures/Hinkal/hinkalDeposit.d.ts +2 -2
- package/data-structures/Hinkal/hinkalDeposit.mjs +93 -54
- package/data-structures/Hinkal/hinkalGetZkMeProvider.cjs +1 -1
- package/data-structures/Hinkal/hinkalGetZkMeProvider.mjs +3 -2
- package/data-structures/Hinkal/hinkalPrivateWallet.cjs +1 -1
- package/data-structures/Hinkal/hinkalPrivateWallet.mjs +5 -4
- package/data-structures/Hinkal/hinkalSwap.cjs +1 -1
- package/data-structures/Hinkal/hinkalSwap.mjs +23 -22
- package/data-structures/Hinkal/hinkalWithdraw.cjs +1 -1
- package/data-structures/Hinkal/hinkalWithdraw.d.ts +1 -1
- package/data-structures/Hinkal/hinkalWithdraw.mjs +13 -12
- package/data-structures/merkle-tree/MerkleTree.cjs +1 -1
- package/data-structures/merkle-tree/MerkleTree.d.ts +2 -0
- package/data-structures/merkle-tree/MerkleTree.mjs +38 -25
- package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.cjs +1 -0
- package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.d.ts +3 -0
- package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.mjs +9 -0
- package/data-structures/merkle-tree/index.d.ts +1 -0
- package/data-structures/transactions-manager/TransactionsManager.cjs +1 -1
- package/data-structures/transactions-manager/TransactionsManager.d.ts +6 -5
- package/data-structures/transactions-manager/TransactionsManager.mjs +118 -111
- package/error-handling/error-codes.constants.cjs +1 -1
- package/error-handling/error-codes.constants.d.ts +4 -0
- package/error-handling/error-codes.constants.mjs +6 -2
- package/externalABIs/BabPassport.json.cjs +1 -1
- package/externalABIs/BabPassport.json.mjs +8 -3
- package/externalABIs/BeefyRouterAbi.json.cjs +1 -1
- package/externalABIs/BeefyRouterAbi.json.mjs +5 -2
- package/externalABIs/BeefyStrategyAbi.json.cjs +1 -1
- package/externalABIs/BeefyStrategyAbi.json.mjs +5 -2
- package/externalABIs/BeefyVaultAbi.json.cjs +1 -1
- package/externalABIs/BeefyVaultAbi.json.mjs +5 -2
- package/externalABIs/BeefyZapAbi.json.cjs +1 -1
- package/externalABIs/BeefyZapAbi.json.mjs +5 -2
- package/externalABIs/BeefyZapOneInchAbi.json.cjs +1 -1
- package/externalABIs/BeefyZapOneInchAbi.json.mjs +5 -2
- package/externalABIs/ConvexBoosterAbi.json.cjs +1 -1
- package/externalABIs/ConvexBoosterAbi.json.mjs +5 -2
- package/externalABIs/ConvexBoosterAbiMainnet.json.cjs +1 -1
- package/externalABIs/ConvexBoosterAbiMainnet.json.mjs +5 -2
- package/externalABIs/ConvexRewardPoolAbi.json.cjs +1 -1
- package/externalABIs/ConvexRewardPoolAbi.json.mjs +5 -2
- package/externalABIs/CurveReadingWrapperAbi.json.cjs +1 -1
- package/externalABIs/CurveReadingWrapperAbi.json.mjs +5 -2
- package/externalABIs/CurveWrappedMainPool.json.cjs +1 -1
- package/externalABIs/CurveWrappedMainPool.json.mjs +5 -2
- package/externalABIs/CurveZap.json.cjs +1 -1
- package/externalABIs/CurveZap.json.mjs +5 -2
- package/externalABIs/CvxCrvUtilities.json.cjs +1 -1
- package/externalABIs/CvxCrvUtilities.json.mjs +5 -2
- package/externalABIs/ERC20.json.cjs +1 -1
- package/externalABIs/ERC20.json.mjs +20 -3
- package/externalABIs/GalxePassport.json.cjs +1 -1
- package/externalABIs/GalxePassport.json.mjs +8 -3
- package/externalABIs/IQuoterV2.json.cjs +1 -1
- package/externalABIs/IQuoterV2.json.mjs +20 -3
- package/externalABIs/ISwapRouter.json.cjs +1 -1
- package/externalABIs/ISwapRouter.json.mjs +5 -2
- package/externalABIs/IUniswapV3Factory.json.cjs +1 -1
- package/externalABIs/IUniswapV3Factory.json.mjs +20 -3
- package/externalABIs/IUniswapV3Pool.json.cjs +1 -1
- package/externalABIs/IUniswapV3Pool.json.mjs +20 -3
- package/externalABIs/PendleRouterAbi.json.cjs +1 -1
- package/externalABIs/PendleRouterAbi.json.mjs +5 -2
- package/externalABIs/UniswapV2PoolAbi.json.cjs +1 -1
- package/externalABIs/UniswapV2PoolAbi.json.mjs +16 -3
- package/externalABIs/index.cjs +1 -0
- package/externalABIs/index.d.ts +307 -11
- package/externalABIs/index.mjs +23 -0
- package/externalABIs/transactionsProver.json.cjs +1 -1
- package/externalABIs/transactionsProver.json.mjs +20 -3
- package/functions/kyc/zkMeHelper.cjs +1 -1
- package/functions/kyc/zkMeHelper.d.ts +0 -1
- package/functions/kyc/zkMeHelper.mjs +8 -11
- package/functions/pre-transaction/process-gas-estimates.cjs +1 -1
- package/functions/pre-transaction/process-gas-estimates.mjs +3 -2
- package/functions/private-wallet/opProducer.cjs +1 -1
- package/functions/private-wallet/opProducer.mjs +9 -10
- package/functions/protocols/convex.protocols.cjs +1 -1
- package/functions/protocols/convex.protocols.mjs +3 -2
- package/functions/protocols/pendle.helpers.cjs +1 -1
- package/functions/protocols/pendle.helpers.mjs +14 -13
- package/functions/snarkjs/constant.cjs +1 -1
- package/functions/snarkjs/constant.d.ts +1 -0
- package/functions/snarkjs/constant.mjs +6 -5
- package/functions/snarkjs/constructEmporiumProof.cjs +1 -1
- package/functions/snarkjs/constructEmporiumProof.d.ts +1 -1
- package/functions/snarkjs/constructEmporiumProof.mjs +31 -31
- package/functions/snarkjs/constructGeneralZkProof.cjs +1 -1
- package/functions/snarkjs/constructGeneralZkProof.d.ts +1 -1
- package/functions/snarkjs/constructGeneralZkProof.mjs +76 -75
- package/functions/snarkjs/generateZkProof.cjs +1 -1
- package/functions/snarkjs/generateZkProof.d.ts +1 -1
- package/functions/snarkjs/generateZkProof.mjs +4 -15
- package/functions/snarkjs/generateZkProofEnclave.cjs +1 -0
- package/functions/snarkjs/generateZkProofEnclave.d.ts +5 -0
- package/functions/snarkjs/generateZkProofEnclave.mjs +33 -0
- package/functions/snarkjs/generateZkProofSelf.cjs +1 -0
- package/functions/snarkjs/generateZkProofSelf.d.ts +5 -0
- package/functions/snarkjs/generateZkProofSelf.mjs +17 -0
- package/functions/utils/axelar.utils.cjs +1 -1
- package/functions/utils/axelar.utils.mjs +3 -2
- package/functions/utils/cacheDevice.utils.cjs +1 -1
- package/functions/utils/cacheDevice.utils.mjs +9 -8
- package/functions/utils/erc20tokenFunctions.cjs +1 -1
- package/functions/utils/erc20tokenFunctions.mjs +8 -7
- package/functions/utils/evmNetworkFunctions.cjs +1 -1
- package/functions/utils/evmNetworkFunctions.mjs +4 -3
- package/functions/utils/userAgent.cjs +1 -1
- package/functions/utils/userAgent.mjs +8 -8
- package/functions/web3/functionCalls/accessTokenCalls.cjs +1 -1
- package/functions/web3/functionCalls/accessTokenCalls.mjs +8 -8
- package/functions/web3/functionCalls/transactCallDirect.cjs +1 -1
- package/functions/web3/functionCalls/transactCallDirect.d.ts +1 -1
- package/functions/web3/functionCalls/transactCallDirect.mjs +43 -29
- package/functions/web3/functionCalls/transactCallRelayer.cjs +1 -1
- package/functions/web3/functionCalls/transactCallRelayer.mjs +10 -8
- package/functions/web3/getContractMetadata.cjs +1 -0
- package/functions/web3/getContractMetadata.d.ts +5 -0
- package/functions/web3/getContractMetadata.mjs +30 -0
- package/functions/web3/odosAPI.cjs +1 -1
- package/functions/web3/odosAPI.d.ts +1 -2
- package/functions/web3/odosAPI.mjs +19 -18
- package/functions/web3/oneInchAPI.cjs +1 -1
- package/functions/web3/oneInchAPI.d.ts +1 -2
- package/functions/web3/oneInchAPI.mjs +17 -15
- package/functions/web3/uniswapAPI.cjs +1 -1
- package/functions/web3/uniswapAPI.d.ts +4 -4
- package/functions/web3/uniswapAPI.mjs +54 -43
- package/index.cjs +1 -1
- package/index.mjs +617 -638
- package/package.json +3 -2
- package/providers/EthersProviderAdapter.cjs +1 -1
- package/providers/EthersProviderAdapter.d.ts +1 -0
- package/providers/EthersProviderAdapter.mjs +26 -37
- package/providers/WagmiProviderAdapter.cjs +1 -1
- package/providers/WagmiProviderAdapter.d.ts +1 -0
- package/providers/WagmiProviderAdapter.mjs +45 -56
- package/providers/prepareEthersHinkal.cjs +1 -1
- package/providers/prepareEthersHinkal.mjs +4 -2
- package/providers/prepareWagmiHinkal.cjs +1 -1
- package/providers/prepareWagmiHinkal.mjs +4 -2
- package/types/ethereum-network.types.cjs +1 -1
- package/types/ethereum-network.types.d.ts +62 -59
- package/types/ethereum-network.types.mjs +1 -1
- package/types/hinkal.types.d.ts +4 -0
- package/types/kyc.types.cjs +1 -1
- package/types/kyc.types.d.ts +1 -1
- package/types/kyc.types.mjs +1 -1
- package/types/remote-proof.types.d.ts +15 -0
- package/types/rewards.types.d.ts +5 -0
- package/types/time.types.cjs +1 -1
- package/types/time.types.mjs +1 -1
- package/webworker/zkProofWorker/zkProofWorkerLauncher.cjs +1 -1
- package/webworker/zkProofWorker/zkProofWorkerLauncher.mjs +1 -1
package/index.mjs
CHANGED
|
@@ -1,656 +1,635 @@
|
|
|
1
|
-
import { getDataServerURL as
|
|
2
|
-
import { getCoingeckoPrice as i, getCoingeckoPrice2 as
|
|
3
|
-
import { callOneInchAPI as
|
|
4
|
-
import { getBeefyHistoricalChartData as
|
|
1
|
+
import { getDataServerURL as t, getServerURL as o } from "./API/getServerURL.mjs";
|
|
2
|
+
import { getCoingeckoPrice as i, getCoingeckoPrice2 as n, getCoingeckoPrices as s, getCoingeckoTokenList as p } from "./API/getCoingeckoPrice.mjs";
|
|
3
|
+
import { callOneInchAPI as m } from "./API/callOneInchAPI.mjs";
|
|
4
|
+
import { getBeefyHistoricalChartData as d } from "./API/callBeefyGraphAPI.mjs";
|
|
5
5
|
import { callRelayerTransactAPI as x } from "./API/callRelayer.mjs";
|
|
6
6
|
import { getAxelarGasEstimate as A } from "./API/getAxelarGasEstimate.mjs";
|
|
7
7
|
import { getGasEstimates as y } from "./API/getGasEstimates.mjs";
|
|
8
|
-
import { getTokenPrice as
|
|
9
|
-
import { checkRisk as
|
|
8
|
+
import { getTokenPrice as P, getTokenPriceEth as R, getTokenPrices as S } from "./API/getTokenPrice.mjs";
|
|
9
|
+
import { checkRisk as k } from "./API/checkRisk.mjs";
|
|
10
10
|
import { getIdleRelay as E } from "./API/relayCalls.mjs";
|
|
11
11
|
import { API as b } from "./API/API.mjs";
|
|
12
|
-
import { getCurvePools as v, getCurvePoolsforPriceFetching as L, getExtendedPoolInfo as
|
|
13
|
-
import { getRelayerURL as
|
|
14
|
-
import { getPublicWalletBalance as
|
|
12
|
+
import { getCurvePools as v, getCurvePoolsforPriceFetching as L, getExtendedPoolInfo as _, lpTokens as F, lpTokensToBasePool as M } from "./API/callCurveAPI.mjs";
|
|
13
|
+
import { getRelayerURL as B } from "./API/getRelayerURL.mjs";
|
|
14
|
+
import { getPublicWalletBalance as O } from "./API/duneAPI.mjs";
|
|
15
15
|
import { IMAGE_PATHS as V } from "./constants/assets.constants.mjs";
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import { networkRegistry as
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
import {
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import {
|
|
126
|
-
import {
|
|
127
|
-
import {
|
|
128
|
-
import {
|
|
129
|
-
import {
|
|
130
|
-
import {
|
|
131
|
-
import {
|
|
132
|
-
import {
|
|
133
|
-
import {
|
|
134
|
-
import {
|
|
135
|
-
import {
|
|
136
|
-
import {
|
|
137
|
-
import {
|
|
138
|
-
import {
|
|
139
|
-
import {
|
|
140
|
-
import {
|
|
141
|
-
import {
|
|
142
|
-
import {
|
|
143
|
-
import {
|
|
144
|
-
import {
|
|
145
|
-
import {
|
|
146
|
-
import {
|
|
147
|
-
import {
|
|
148
|
-
import {
|
|
149
|
-
import {
|
|
150
|
-
import {
|
|
151
|
-
import {
|
|
152
|
-
import {
|
|
153
|
-
import {
|
|
154
|
-
import {
|
|
155
|
-
import {
|
|
156
|
-
import {
|
|
157
|
-
import {
|
|
158
|
-
import {
|
|
159
|
-
import {
|
|
160
|
-
import {
|
|
161
|
-
import {
|
|
162
|
-
import {
|
|
163
|
-
import {
|
|
164
|
-
import {
|
|
165
|
-
import {
|
|
166
|
-
import {
|
|
167
|
-
import {
|
|
168
|
-
import {
|
|
169
|
-
import { generateZkProof as $p } from "./functions/snarkjs/generateZkProof.mjs";
|
|
170
|
-
import { getCRV as rm } from "./functions/protocols/curve.protocols.mjs";
|
|
171
|
-
import { getCVX as tm } from "./functions/protocols/convex.protocols.mjs";
|
|
172
|
-
import { determinePendleSwapType as im, determinePendleSwapTypeApiRoute as sm, erc20TokenFromPendleAsset as nm, getAssetTypeFromPendleMarket as pm, getTokenIndexForPendleFlatFee as mm } from "./functions/protocols/pendle.helpers.mjs";
|
|
173
|
-
import { calculateStakeNullifier as fm, createStakeCommitment as cm, decryptStake as dm, encodeHStakeMetadata as xm, encryptStake as gm } from "./functions/staking/index.mjs";
|
|
174
|
-
import { emporiumOp as um, encodeEmporiumMetadata as ym } from "./functions/private-wallet/emporium.helpers.mjs";
|
|
175
|
-
import { OpType as Tm, produceOp as Pm } from "./functions/private-wallet/opProducer.mjs";
|
|
176
|
-
import { dataBeefyApiConfig as Sm, isBeefyDeposit as Cm } from "./types/beefy.types.mjs";
|
|
177
|
-
import { defaultHookData as Em, defaultHookDataArray as hm, defaultStealthAddressStructure as bm, emptyStealthAddressStructure as Dm } from "./types/circom-data.types.mjs";
|
|
178
|
-
import { ContractType as Lm } from "./types/ethereum-network.types.mjs";
|
|
179
|
-
import { ExternalActionId as _m } from "./types/external-action.types.mjs";
|
|
180
|
-
import { BeefyAction as Mm, ConvexAction as Um, CurveAction as Bm, EventType as Nm, HinkalStakeAction as Om, INTERACTION as Vm, IntegrationProvider as Wm, LidoAction as Hm, LidoVariant as Gm, PendleAction as Km, PendleLPAction as Ym, StakeProvider as zm, VolatileAction as Zm } from "./types/hinkal.types.mjs";
|
|
181
|
-
import { KycVerificationResult as Qm, KycVerificationStatus as jm, Passports as Xm, VERIFICATION_TYPE as Jm, VerificationTypes as $m } from "./types/kyc.types.mjs";
|
|
182
|
-
import { ApprovalType as rl } from "./types/token.types.mjs";
|
|
183
|
-
import { SlippageType as tl, slippageLevels as al } from "./types/slippage.types.mjs";
|
|
184
|
-
import { emptyDecodedTx as sl } from "./types/transactions.types.mjs";
|
|
185
|
-
import { MONTHS as pl, dayInMilliseconds as ml, divideMonthOnIntervals as ll, getCurrentWeek as fl, getDateFromWeek as cl, getNextDay as dl, getWeekTimestamps as xl, hasCertificationPeriodExpired as gl, hourInMilliseconds as Al, isWeekCurrent as ul, minuteInMilliseconds as yl, parseWeek as Rl, secondInMilliseconds as Tl, toDateString as Pl, weekInMilliseconds as kl } from "./types/time.types.mjs";
|
|
186
|
-
import { BonusType as Cl, CertifyType as Il, LP_TIER as El, PaymentStatus as hl, PointType as bl, RafflePrizeType as Dl, RewardPage as vl, RewardsHistoryDistribution as Ll, RewardsHistoryEligibility as wl, RewardsHistorySnapshots as _l, RewardsHistoryStatuses as Fl, RewardsPageTabs as Ml, TIER_LEVEL as Ul, Timeline as Bl, emptyUserPointsBreakdown as Nl, emptyUserPointsResponse as Ol } from "./types/rewards.types.mjs";
|
|
187
|
-
import { PendleAssetType as Wl, PendleChains as Hl, PendleDashboardTabs as Gl, PendleEarnTabs as Kl, PendleMarketTransactionTypes as Yl, PendlePoolManualTabs as zl, PendlePoolTabs as Zl, PendlePoolZapTabs as ql, PendleSwapType as Ql, PendleTabs as jl, PendleTradeGeneralTabs as Xl, PendleTradeTabs as Jl } from "./types/pendle.types.mjs";
|
|
188
|
-
import { StatType as ef, UpperTabPossibleValues as rf, curveNetworkNames as of, curvePools as tf } from "./types/curve.types.mjs";
|
|
189
|
-
import { HinkalStakeMode as sf } from "./types/hinkal.stake.types.mjs";
|
|
190
|
-
import { AdminActionType as pf, AdminDetailedActionType as mf } from "./types/admin.types.mjs";
|
|
16
|
+
import { arbMainnetRegistry as H, arbMainnetRegistryFixed as G, avalancheRegistry as K, avalancheRegistryFixed as Y, baseRegistry as z, baseRegistryFixed as Z, bnbMainnetRegistry as q, bnbMainnetRegistryFixed as Q, ethMainnetRegistry as j, ethMainnetRegistryFixed as X, localhostRegistry as J, optimismRegistry as $, optimismRegistryFixed as ee, polygonRegistry as re, polygonRegistryFixed as te } from "./constants/token-data/index.mjs";
|
|
17
|
+
import { default as ae } from "./constants/deploy-data/deploy-data-bnbMainnet.json.mjs";
|
|
18
|
+
import { default as ne } from "./constants/deploy-data/deploy-data-arbMainnet.json.mjs";
|
|
19
|
+
import { default as pe } from "./constants/deploy-data/deploy-data-ethMainnet.json.mjs";
|
|
20
|
+
import { default as me } from "./constants/deploy-data/deploy-data-optimism.json.mjs";
|
|
21
|
+
import { default as de } from "./constants/deploy-data/deploy-data-polygon.json.mjs";
|
|
22
|
+
import { default as xe } from "./constants/deploy-data/deploy-data-avalanche.json.mjs";
|
|
23
|
+
import { default as Ae } from "./constants/deploy-data/deploy-data-base.json.mjs";
|
|
24
|
+
import { default as ye } from "./constants/deploy-data/deploy-data-localhost.json.mjs";
|
|
25
|
+
import { default as Pe } from "./constants/deploy-data/deploy-data-axelar1.json.mjs";
|
|
26
|
+
import { default as Se } from "./constants/deploy-data/deploy-data-axelar2.json.mjs";
|
|
27
|
+
import { EthereumNetworkType as ke, chainIds as Ie, chainIdsByType as Ee, crossChainAccessTokenNetworks as he, getNonLocalhostChainId as be, isLocalNetwork as De, isOptimismBedrockLike as ve, isOptimismEcotoneLike as Le, isOptimismLike as _e, localhostNetwork as Fe, networkRegistry as Me } from "./constants/chains.constants.mjs";
|
|
28
|
+
import { HINKAL_EXTERNAL_ACTION_FEE as Be, HINKAL_UNIVERSAL_FEE as Ne, getAmountAfterRelayAndFlatFees as Oe, getAmountAfterRelayAndFlatFeesAndSlippage as we, getAmountAfterRelayFee as Ve, getAmountAfterSlippage as We, getAmountWithoutFee as He, getHinkalFeeRateInBeeps as Ge, getRelayFee as Ke, getSlippageFee as Ye } from "./constants/fees.constants.mjs";
|
|
29
|
+
import { contractMetadataMapping as Ze, getHinkalParameters as qe, uniswapV2PoolData as Qe, uniswapV3FactoryData as je, uniswapV3PoolData as Xe, uniswapV3QuoterData as Je } from "./constants/contracts.constants.mjs";
|
|
30
|
+
import { AIPRISE_KYB_TEMPLATE_ID_PROD as er, AIPRISE_KYC_TEMPLATE_ID_PROD as rr, RECLAIM_MESSAGE_TO_SIGN as tr, ReclaimPassports as or, StandardPassports as ar, SupportedPassports as ir, aipriseBaseOnboardingProductionUrl as nr, aipriseBaseOnboardingSandboxUrl as sr, supportedPassportLinks as pr } from "./constants/kyc.constants.mjs";
|
|
31
|
+
import { API_CONFIG as mr, DATA_SERVER_CONFIG as cr, DATA_SERVER_PORT as dr, DATA_SERVER_URL_LOCAL as fr, DATA_SERVER_URL_PRODUCTION as xr, PLAYGROUND_RELAYER_URLS as gr, PLAYGROUND_SERVER_URLS as Ar, PLAYGROUND_URL as ur, RELAYER_CONFIG as yr, RELAYER_URLS as Tr, SERVER_URLS as Pr, STAGING_RELAYER_URLS as Rr, STAGING_SERVER_URLS as Sr, STAGING_URL as Cr } from "./constants/server.constants.mjs";
|
|
32
|
+
import { DEPLOYMENT_MODE as Ir, deploymentMode as Er, isDevelopment as hr, isNode as br, isNotClientProduction as Dr, isNotProduction as vr, isPlayground as Lr, isStaging as _r, isWebpack as Fr } from "./constants/vite.constants.mjs";
|
|
33
|
+
import { CIRCOM_P as Ur, CIRCOM_P_HALF as Br, beefyChainIds as Nr, crvSymbol as Or, curveWithdrawGasTokenAddress as wr, curveZeroAddress as Vr, cvxSymbol as Wr, ethVolatileAddress as Hr, oneInchZeroAddress as Gr, ownerPublicKey as Kr, permitSignatureValidFor as Yr, signaturePhrase as zr, threePoolSymbol as Zr, zeroAddress as qr } from "./constants/protocol.constants.mjs";
|
|
34
|
+
import { COINGECKO_API_KEY as jr, CoinGeckoChainLabels as Xr, coingeckoPriceUrl as Jr, coingeckoPriceUrl2 as $r, coingeckoTokenListUrl as et, getCoingeckoIdForNativeTokens as rt, getCoingeckoPlatform as tt, proCoingeckoUrl as ot, proHeader as at } from "./constants/coingecko.constants.mjs";
|
|
35
|
+
import { AxelarRegistry as nt } from "./constants/axelar.constants.mjs";
|
|
36
|
+
import { NETWORKS as pt, getGasStationUrl as lt } from "./constants/backend.constants.mjs";
|
|
37
|
+
import { arbMainnetCrvCvxRegistry as ct, avalancheCrvCvxRegistry as dt, baseCrvCvxRegistry as ft, ethCrvCvxRegistry as xt, getCrvCvxWithChainId as gt, optimismCrvCvxRegistry as At, polygonCrvCvxRegistry as ut } from "./constants/crvCvx.registry.mjs";
|
|
38
|
+
import { getCalcTokenAmountWithDynamicArray as Tt } from "./constants/crvDynamic.registry.mjs";
|
|
39
|
+
import { ethSymbol as Rt, lidoStEthContractAddress as St, lidoStMaticAddress as Ct, lidoStakeManagerAddress as kt, lidoWithdrawalQueueERC721Address as It, lidoWstEthContractAddress as Et, maticSymbol as ht, poLidoNftAddress as bt, stMaticSymbol as Dt, wstEthSymbol as vt } from "./constants/lido.constants.mjs";
|
|
40
|
+
import { ACCESS_TOKEN_MINTING_POINTS as _t, CERTIFICATION_DISABLE_WEEK as Ft, REWARD_RECEIVABLE_TOKEN_SYMBOLS as Mt, RafflePrizePoints as Ut, boostAmounts as Bt, lpLink as Nt, lpProgramStartWeek as Ot, pointsLink as wt, raffleProgramStartWeek as Vt, referralLink as Wt } from "./constants/rewards.constants.mjs";
|
|
41
|
+
import { blockReorgDepth as Gt } from "./constants/reorg-depths.constants.mjs";
|
|
42
|
+
import { ethBeefyRegistry as Yt, getBeefyRegistryWithChainId as zt } from "./constants/beefy.registry.mjs";
|
|
43
|
+
import { arbPendleRegistry as qt, bnbPendleRegistry as Qt, ethPendleRegistry as jt, findSyAddress as Xt, getPendleRegistryWithChainId as Jt, getYtTokensWithChainId as $t, isYtToken as eo, optimismPendleRegistry as ro } from "./constants/pendle.registry.mjs";
|
|
44
|
+
import { poseidonFunction as oo, poseidonHash as ao, poseidonHolder as io } from "./crypto/poseidon.mjs";
|
|
45
|
+
import { babyJubInstance as so, jubHolder as po } from "./crypto/babyJub.mjs";
|
|
46
|
+
import { preProcessing as mo } from "./crypto/preProcessing.mjs";
|
|
47
|
+
import { ValueCache as fo } from "./data-structures/ValueCache/ValueCache.mjs";
|
|
48
|
+
import { abiDecodeUtxo as go, checkUtxoSignature as Ao, decodeUtxo as uo, decodeUtxoConstructorArgs as yo } from "./data-structures/crypto-keys/decodeUTXO.mjs";
|
|
49
|
+
import { decryptUtxo as Po, decryptUtxoConstructorArgs as Ro, encryptUtxo as So } from "./data-structures/crypto-keys/encryptDecryptUtxo.mjs";
|
|
50
|
+
import { EncryptionKeyPairDefaultValue as ko, UserKeys as Io } from "./data-structures/crypto-keys/keys.mjs";
|
|
51
|
+
import { getCircomSign as ho, isCircomNegative as bo } from "./data-structures/crypto-keys/keyUtils.mjs";
|
|
52
|
+
import { Hinkal as vo } from "./data-structures/Hinkal/Hinkal.mjs";
|
|
53
|
+
import { hinkalActionBeefy as _o } from "./data-structures/Hinkal/hinkalActionBeefy.mjs";
|
|
54
|
+
import { hinkalActionConvex as Mo } from "./data-structures/Hinkal/hinkalActionConvex.mjs";
|
|
55
|
+
import { hinkalActionCurve as Bo } from "./data-structures/Hinkal/hinkalActionCurve.mjs";
|
|
56
|
+
import { hinkalActionPendle as Oo } from "./data-structures/Hinkal/hinkalActionPendle.mjs";
|
|
57
|
+
import { hinkalDeposit as Vo, hinkalDepositForOther as Wo } from "./data-structures/Hinkal/hinkalDeposit.mjs";
|
|
58
|
+
import { hinkalSwap as Go } from "./data-structures/Hinkal/hinkalSwap.mjs";
|
|
59
|
+
import { hinkalTransfer as Yo } from "./data-structures/Hinkal/hinkalTransfer.mjs";
|
|
60
|
+
import { hinkalWithdraw as Zo } from "./data-structures/Hinkal/hinkalWithdraw.mjs";
|
|
61
|
+
import { hinkalPrivateWallet as Qo } from "./data-structures/Hinkal/hinkalPrivateWallet.mjs";
|
|
62
|
+
import { resetMerkleTrees as Xo } from "./data-structures/Hinkal/resetMerkleTrees.mjs";
|
|
63
|
+
import { MerkleTree as $o } from "./data-structures/merkle-tree/MerkleTree.mjs";
|
|
64
|
+
import { getPatchedAccessTokenMerkleTree as ra } from "./data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.mjs";
|
|
65
|
+
import { MerkleTreeIncompleteError as oa } from "./data-structures/merkle-tree/MerkleTreeIncompleteError.mjs";
|
|
66
|
+
import { AbstractAccessTokenSnapshotService as ia } from "./data-structures/event-service/AbstractAccessTokenSnapshotService.mjs";
|
|
67
|
+
import { AbstractCommitmentsSnapshotService as sa } from "./data-structures/event-service/AbstractCommitmentsSnapshotService.mjs";
|
|
68
|
+
import { AbstractNullifierSnapshotService as la } from "./data-structures/event-service/AbstractNullifierSnapshotService.mjs";
|
|
69
|
+
import { AbstractSnapshotService as ca } from "./data-structures/event-service/AbstractSnapshotService.mjs";
|
|
70
|
+
import { AbstractEventService as fa } from "./data-structures/event-service/AbstractEventService.mjs";
|
|
71
|
+
import { Utxo as ga } from "./data-structures/utxo/Utxo.mjs";
|
|
72
|
+
import { customTokenRegistry as ua } from "./data-structures/custom-token-registry/CustomTokenRegistry.mjs";
|
|
73
|
+
import { TokenChecker as Ta } from "./data-structures/token-price-fetcher/TokenChecker.mjs";
|
|
74
|
+
import { TransactionsManager as Ra } from "./data-structures/transactions-manager/TransactionsManager.mjs";
|
|
75
|
+
import { TransactionType as Ca, externalActionToTransactionType as ka } from "./data-structures/transactions-manager/history/history.types.mjs";
|
|
76
|
+
import { VolatileHelper as Ea } from "./data-structures/volatile-helper/VolatileHelper.mjs";
|
|
77
|
+
import { MultiThreadedUtxoUtils as ba } from "./data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.mjs";
|
|
78
|
+
import { FileCacheDevice as va } from "./data-structures/cacheDevices/FileCacheDevice.mjs";
|
|
79
|
+
import { LocalStorageCacheDevice as _a } from "./data-structures/cacheDevices/LocalStorageCacheDevice.mjs";
|
|
80
|
+
import { FeeOverTransactionValueError as Ma } from "./error-handling/customErrors/FeeOverTransactionValueError.mjs";
|
|
81
|
+
import { getGenericFeeOverTransactionValueErrorMessage as Ba, rethrowKnownGasErrorIfPossible as Na } from "./error-handling/customErrors/customErrors.helpers.mjs";
|
|
82
|
+
import { UserFriendlyErrorCodes as wa, transactionErrorCodes as Va } from "./error-handling/error-codes.constants.mjs";
|
|
83
|
+
import { extractMessage as Ha, getErrorMessage as Ga } from "./error-handling/get-error.message.mjs";
|
|
84
|
+
import { checkErrorForSnapshotRestore as Ya } from "./error-handling/handleErrorRestore.mjs";
|
|
85
|
+
import { logError as Za } from "./error-handling/logError.mjs";
|
|
86
|
+
import { ErrorCategory as Qa } from "./error-handling/types.mjs";
|
|
87
|
+
import { BabABI as Xa, BeefyVaultABI as Ja, CurveReadingWrapperABI as $a, CurveWrappedMainPoolABI as ei, ERC20ABI as ri, GalxeABI as ti, ISwapRouterABI as oi, factoryABI as ai, quoterV2ABI as ii, transactionProverABI as ni } from "./externalABIs/index.mjs";
|
|
88
|
+
import { checkHinkalAccessToken as pi, mintAccessToken as li, mintTokenCrossChain as mi } from "./functions/web3/functionCalls/accessTokenCalls.mjs";
|
|
89
|
+
import { openPassportWindow as di } from "./functions/kyc/passportHelper.mjs";
|
|
90
|
+
import { openDefaultPassportWindow as xi } from "./functions/kyc/openDefaultPassportWindow.mjs";
|
|
91
|
+
import { absBigInt as Ai, beepsToPercentage as ui, bigintApplySugar as yi, bigintMax as Ti, calculateAmountUsingBeeps as Pi, calculateSum as Ri, fixDecimalsAmount as Si, getValueFirstNDigit as Ci, minBigInt as ki, toBigInt as Ii, toBigIntOrUndefined as Ei, toCommaSeparatedNumberString as hi, toInt as bi, toNumberOrUndefined as Di, trimLeadingZeros as vi, truncateTo18DecimalPlaces as Li } from "./functions/utils/amounts.utils.mjs";
|
|
92
|
+
import { getFilePath as Fi, getHinkalCache as Mi, loadTxsCache as Ui, resetCache as Bi, saveTxsCache as Ni, setHinkalCache as Oi } from "./functions/utils/cacheFunctions.mjs";
|
|
93
|
+
import { createProvider as Vi } from "./functions/utils/create-provider.mjs";
|
|
94
|
+
import { decodeMetadata as Hi, getActionFromMetadata as Gi, getExternalActionIdFromNumber as Ki, getExternalActionIdHash as Yi, getExternalMetadataHash as zi } from "./functions/utils/external-action.utils.mjs";
|
|
95
|
+
import { getERC20Token as qi, getERC20TokenBySymbol as Qi, getHToken as ji } from "./functions/utils/erc20tokenFunctions.mjs";
|
|
96
|
+
import { requireEnv as Ji } from "./functions/utils/requireEnv.mjs";
|
|
97
|
+
import { getSequence as en, promisify as rn, resolveSync as tn } from "./functions/utils/resolve-sync.utils.mjs";
|
|
98
|
+
import { convertIntegrationProviderToExternalActionId as an } from "./functions/utils/convertIntegrationProviderToExternalActionId.mjs";
|
|
99
|
+
import { getInteractionFromAction as sn } from "./functions/pre-transaction/interaction-to-action.mjs";
|
|
100
|
+
import { outputUtxoProcessing as ln } from "./functions/pre-transaction/outputUtxoProcessing.mjs";
|
|
101
|
+
import { processGasEstimates as cn } from "./functions/pre-transaction/process-gas-estimates.mjs";
|
|
102
|
+
import { processAmountChanges as fn } from "./functions/pre-transaction/processAmountChanges.mjs";
|
|
103
|
+
import { getFlatFees as gn } from "./functions/pre-transaction/getFlatFees.mjs";
|
|
104
|
+
import { getNetworkObject as un, getNetworkType as yn } from "./functions/utils/evmNetworkFunctions.mjs";
|
|
105
|
+
import { getAxelarMigrationInfo as Pn } from "./functions/utils/axelar.utils.mjs";
|
|
106
|
+
import { browserSupported as Sn, walletSupported as Cn } from "./functions/utils/userAgent.mjs";
|
|
107
|
+
import { decodeTxInput as In, decodeTxLogs as En, deserializeDecodedTxs as hn, serializeDecodedTxs as bn } from "./functions/utils/getDataFromTransaction.mjs";
|
|
108
|
+
import { reloadPage as vn } from "./functions/utils/reloadPage.mjs";
|
|
109
|
+
import { capitalizeFirstLetter as _n, isNullOrEmpty as Fn, toTitleCase as Mn } from "./functions/utils/string.utils.mjs";
|
|
110
|
+
import { isNicknameValid as Bn } from "./functions/utils/nickname.utils.mjs";
|
|
111
|
+
import { caseInsensitiveEqual as On, lowerCaseIncludes as wn, lowerCaseStartsWith as Vn } from "./functions/utils/caseInsensitive.utils.mjs";
|
|
112
|
+
import { waitLittle as Hn } from "./functions/utils/time.utils.mjs";
|
|
113
|
+
import { patchRegistry as Kn } from "./functions/utils/volatile-patcher.utils.mjs";
|
|
114
|
+
import { createCacheDevice as zn } from "./functions/utils/cacheDevice.utils.mjs";
|
|
115
|
+
import { debounce as qn, wait as Qn } from "./functions/utils/process.utils.mjs";
|
|
116
|
+
import { calculateDollarValue as Xn, ethToWei as Jn, getAmountInToken as $n, getAmountInWei as es, getAmountInWeiOrZero as rs, getAmountWithPrecision as ts, getAmountWithPrecisionOrZero as os, randomBigInt as as, toBigIntWithDecimals as is } from "./functions/web3/etherFunctions.mjs";
|
|
117
|
+
import { getInputUtxoAndBalance as ss, getInputUtxosFromEncryptedOutputs as ps } from "./functions/web3/events/getInputUtxoAndBalance.mjs";
|
|
118
|
+
import { addPaddingToUtxos as ms, getShieldedBalance as cs } from "./functions/web3/events/getShieldedBalance.mjs";
|
|
119
|
+
import { getDepositEvents as fs, retrieveEvents as xs } from "./functions/web3/events/web3RetrieveEvents.mjs";
|
|
120
|
+
import { balanceChangedHandler as As } from "./functions/web3/events/balanceChangedHandler.mjs";
|
|
121
|
+
import { getUniswapFee as ys, getUniswapPrice as Ts, getUniswapPriceHelper as Ps, searchPoolAndFee as Rs } from "./functions/web3/uniswapAPI.mjs";
|
|
122
|
+
import { getOdosPrice as Cs } from "./functions/web3/odosAPI.mjs";
|
|
123
|
+
import { getOneInchPrice as Is } from "./functions/web3/oneInchAPI.mjs";
|
|
124
|
+
import { runContractFunction as hs } from "./functions/web3/runContractFunction.mjs";
|
|
125
|
+
import { constructZkProof as Ds } from "./functions/snarkjs/constructGeneralZkProof.mjs";
|
|
126
|
+
import { constructEmporiumProof as Ls } from "./functions/snarkjs/constructEmporiumProof.mjs";
|
|
127
|
+
import { buildInNullifiers as Fs, buildOutCommitments as Ms, calcAccessTokenSiblingsAndSides as Us, calcAmountChanges as Bs, calcCommitmentsSiblingAndSides as Ns, calcEncryptedOutputs as Os, calcPublicSignalCount as ws, calcStealthAddressStructure as Vs, createCallDataHash as Ws, deserializeCircomData as Hs, serializeCircomData as Gs } from "./functions/snarkjs/common.snarkjs.mjs";
|
|
128
|
+
import { generateZkProof as Ys } from "./functions/snarkjs/generateZkProof.mjs";
|
|
129
|
+
import { getCRV as Zs } from "./functions/protocols/curve.protocols.mjs";
|
|
130
|
+
import { getCVX as Qs } from "./functions/protocols/convex.protocols.mjs";
|
|
131
|
+
import { determinePendleSwapType as Xs, determinePendleSwapTypeApiRoute as Js, erc20TokenFromPendleAsset as $s, getAssetTypeFromPendleMarket as ep, getTokenIndexForPendleFlatFee as rp } from "./functions/protocols/pendle.helpers.mjs";
|
|
132
|
+
import { calculateStakeNullifier as op, createStakeCommitment as ap, decryptStake as ip, encodeHStakeMetadata as np, encryptStake as sp } from "./functions/staking/index.mjs";
|
|
133
|
+
import { emporiumOp as lp, encodeEmporiumMetadata as mp } from "./functions/private-wallet/emporium.helpers.mjs";
|
|
134
|
+
import { OpType as dp, produceOp as fp } from "./functions/private-wallet/opProducer.mjs";
|
|
135
|
+
import { dataBeefyApiConfig as gp, isBeefyDeposit as Ap } from "./types/beefy.types.mjs";
|
|
136
|
+
import { defaultHookData as yp, defaultHookDataArray as Tp, defaultStealthAddressStructure as Pp, emptyStealthAddressStructure as Rp } from "./types/circom-data.types.mjs";
|
|
137
|
+
import { ContractType as Cp } from "./types/ethereum-network.types.mjs";
|
|
138
|
+
import { ExternalActionId as Ip } from "./types/external-action.types.mjs";
|
|
139
|
+
import { BeefyAction as hp, ConvexAction as bp, CurveAction as Dp, EventType as vp, HinkalStakeAction as Lp, INTERACTION as _p, IntegrationProvider as Fp, LidoAction as Mp, LidoVariant as Up, PendleAction as Bp, PendleLPAction as Np, StakeProvider as Op, VolatileAction as wp } from "./types/hinkal.types.mjs";
|
|
140
|
+
import { KycVerificationResult as Wp, KycVerificationStatus as Hp, Passports as Gp, VERIFICATION_TYPE as Kp, VerificationTypes as Yp } from "./types/kyc.types.mjs";
|
|
141
|
+
import { ApprovalType as Zp } from "./types/token.types.mjs";
|
|
142
|
+
import { SlippageType as Qp, slippageLevels as jp } from "./types/slippage.types.mjs";
|
|
143
|
+
import { emptyDecodedTx as Jp } from "./types/transactions.types.mjs";
|
|
144
|
+
import { MONTHS as el, dayInMilliseconds as rl, divideMonthOnIntervals as tl, getCurrentWeek as ol, getDateFromWeek as al, getNextDay as il, getWeekTimestamps as nl, hasCertificationPeriodExpired as sl, hourInMilliseconds as pl, isWeekCurrent as ll, minuteInMilliseconds as ml, parseWeek as cl, secondInMilliseconds as dl, toDateString as fl, weekInMilliseconds as xl } from "./types/time.types.mjs";
|
|
145
|
+
import { BonusType as Al, CertifyType as ul, LP_TIER as yl, PaymentStatus as Tl, PointType as Pl, RafflePrizeType as Rl, RewardPage as Sl, RewardsHistoryDistribution as Cl, RewardsHistoryEligibility as kl, RewardsHistorySnapshots as Il, RewardsHistoryStatuses as El, RewardsPageTabs as hl, TIER_LEVEL as bl, Timeline as Dl, emptyUserPointsBreakdown as vl, emptyUserPointsResponse as Ll } from "./types/rewards.types.mjs";
|
|
146
|
+
import { PendleAssetType as Fl, PendleChains as Ml, PendleDashboardTabs as Ul, PendleEarnTabs as Bl, PendleMarketTransactionTypes as Nl, PendlePoolManualTabs as Ol, PendlePoolTabs as wl, PendlePoolZapTabs as Vl, PendleSwapType as Wl, PendleTabs as Hl, PendleTradeGeneralTabs as Gl, PendleTradeTabs as Kl } from "./types/pendle.types.mjs";
|
|
147
|
+
import { StatType as zl, UpperTabPossibleValues as Zl, curveNetworkNames as ql, curvePools as Ql } from "./types/curve.types.mjs";
|
|
148
|
+
import { HinkalStakeMode as Xl } from "./types/hinkal.stake.types.mjs";
|
|
149
|
+
import { AdminActionType as $l, AdminDetailedActionType as em } from "./types/admin.types.mjs";
|
|
150
|
+
import { getERC20Registry as tm, getFixedRegistry as om } from "./constants/token-data/ERC20Registry.mjs";
|
|
151
|
+
import { urlForBeefyVaultTokens as im, urlForBeefyVaultTotalInUSD as nm, urlForRegularTokenPricesInBeefy as sm } from "./constants/token-data/tokenPricing.consts.mjs";
|
|
152
|
+
import { PopularTokenSymbols as lm } from "./constants/token-data/popularTokens.constants.mjs";
|
|
153
|
+
import { abi as cm } from "./externalABIs/amToken.mjs";
|
|
154
|
+
import { abi as fm } from "./externalABIs/USDC.mjs";
|
|
155
|
+
import { abi as gm } from "./externalABIs/DAI.mjs";
|
|
156
|
+
import { abi as um } from "./externalABIs/USDR.mjs";
|
|
157
|
+
import { abi as Tm } from "./externalABIs/USDR3CRV.mjs";
|
|
158
|
+
import { abi as Rm } from "./externalABIs/USDT.mjs";
|
|
159
|
+
import { abi as Cm } from "./externalABIs/WETH.mjs";
|
|
160
|
+
import { abi as Im } from "./externalABIs/BUSD.mjs";
|
|
161
|
+
import { abi as hm } from "./externalABIs/SanctionsList.mjs";
|
|
162
|
+
import { default as Dm } from "./externalABIs/LidoStEthAbi.json.mjs";
|
|
163
|
+
import { default as Lm } from "./externalABIs/LidoStMaticAbi.json.mjs";
|
|
164
|
+
import { default as Fm } from "./externalABIs/LidoWithdrawalQueueERC721Abi.json.mjs";
|
|
165
|
+
import { default as Um } from "./externalABIs/LidoWstEthAbi.json.mjs";
|
|
166
|
+
import { default as Nm } from "./externalABIs/PoLidoNftAbi.json.mjs";
|
|
167
|
+
import { default as wm } from "./externalABIs/LidoStakeManagerAbi.json.mjs";
|
|
168
|
+
import { default as Wm } from "./externalABIs/OptimismGasPriceOracle.json.mjs";
|
|
191
169
|
export {
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
170
|
+
_t as ACCESS_TOKEN_MINTING_POINTS,
|
|
171
|
+
er as AIPRISE_KYB_TEMPLATE_ID_PROD,
|
|
172
|
+
rr as AIPRISE_KYC_TEMPLATE_ID_PROD,
|
|
195
173
|
b as API,
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
174
|
+
mr as API_CONFIG,
|
|
175
|
+
ia as AbstractAccessTokenSnapshotService,
|
|
176
|
+
sa as AbstractCommitmentsSnapshotService,
|
|
177
|
+
fa as AbstractEventService,
|
|
178
|
+
la as AbstractNullifierSnapshotService,
|
|
179
|
+
ca as AbstractSnapshotService,
|
|
180
|
+
$l as AdminActionType,
|
|
181
|
+
em as AdminDetailedActionType,
|
|
182
|
+
cm as AmTokenABI,
|
|
183
|
+
Zp as ApprovalType,
|
|
184
|
+
nt as AxelarRegistry,
|
|
185
|
+
Im as BUSDABI,
|
|
186
|
+
Xa as BabABI,
|
|
187
|
+
hp as BeefyAction,
|
|
188
|
+
Ja as BeefyVaultABI,
|
|
189
|
+
Al as BonusType,
|
|
190
|
+
Ft as CERTIFICATION_DISABLE_WEEK,
|
|
191
|
+
Ur as CIRCOM_P,
|
|
192
|
+
Br as CIRCOM_P_HALF,
|
|
193
|
+
jr as COINGECKO_API_KEY,
|
|
194
|
+
ul as CertifyType,
|
|
195
|
+
Xr as CoinGeckoChainLabels,
|
|
196
|
+
Cp as ContractType,
|
|
197
|
+
bp as ConvexAction,
|
|
198
|
+
Dp as CurveAction,
|
|
199
|
+
$a as CurveReadingWrapperABI,
|
|
200
|
+
ei as CurveWrappedMainPoolABI,
|
|
201
|
+
cr as DATA_SERVER_CONFIG,
|
|
202
|
+
dr as DATA_SERVER_PORT,
|
|
203
|
+
fr as DATA_SERVER_URL_LOCAL,
|
|
204
|
+
xr as DATA_SERVER_URL_PRODUCTION,
|
|
205
|
+
Ir as DEPLOYMENT_MODE,
|
|
206
|
+
ri as ERC20ABI,
|
|
207
|
+
ko as EncryptionKeyPairDefaultValue,
|
|
208
|
+
Qa as ErrorCategory,
|
|
209
|
+
ke as EthereumNetworkType,
|
|
210
|
+
vp as EventType,
|
|
211
|
+
Ip as ExternalActionId,
|
|
212
|
+
Ma as FeeOverTransactionValueError,
|
|
213
|
+
va as FileCacheDevice,
|
|
214
|
+
ti as GalxeABI,
|
|
215
|
+
Be as HINKAL_EXTERNAL_ACTION_FEE,
|
|
216
|
+
Ne as HINKAL_UNIVERSAL_FEE,
|
|
217
|
+
vo as Hinkal,
|
|
218
|
+
Lp as HinkalStakeAction,
|
|
219
|
+
Xl as HinkalStakeMode,
|
|
242
220
|
V as IMAGE_PATHS,
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
221
|
+
_p as INTERACTION,
|
|
222
|
+
oi as ISwapRouterABI,
|
|
223
|
+
Fp as IntegrationProvider,
|
|
224
|
+
Wp as KycVerificationResult,
|
|
225
|
+
Hp as KycVerificationStatus,
|
|
226
|
+
yl as LP_TIER,
|
|
227
|
+
Mp as LidoAction,
|
|
228
|
+
Up as LidoVariant,
|
|
229
|
+
_a as LocalStorageCacheDevice,
|
|
230
|
+
el as MONTHS,
|
|
231
|
+
$o as MerkleTree,
|
|
232
|
+
oa as MerkleTreeIncompleteError,
|
|
233
|
+
ba as MultiThreadedUtxoUtils,
|
|
234
|
+
pt as NETWORKS,
|
|
235
|
+
dp as OpType,
|
|
236
|
+
gr as PLAYGROUND_RELAYER_URLS,
|
|
237
|
+
Ar as PLAYGROUND_SERVER_URLS,
|
|
238
|
+
ur as PLAYGROUND_URL,
|
|
239
|
+
Gp as Passports,
|
|
240
|
+
Tl as PaymentStatus,
|
|
241
|
+
Bp as PendleAction,
|
|
242
|
+
Fl as PendleAssetType,
|
|
243
|
+
Ml as PendleChains,
|
|
244
|
+
Ul as PendleDashboardTabs,
|
|
245
|
+
Bl as PendleEarnTabs,
|
|
246
|
+
Np as PendleLPAction,
|
|
247
|
+
Nl as PendleMarketTransactionTypes,
|
|
248
|
+
Ol as PendlePoolManualTabs,
|
|
249
|
+
wl as PendlePoolTabs,
|
|
250
|
+
Vl as PendlePoolZapTabs,
|
|
251
|
+
Wl as PendleSwapType,
|
|
252
|
+
Hl as PendleTabs,
|
|
253
|
+
Gl as PendleTradeGeneralTabs,
|
|
254
|
+
Kl as PendleTradeTabs,
|
|
255
|
+
Pl as PointType,
|
|
256
|
+
lm as PopularTokenSymbols,
|
|
257
|
+
tr as RECLAIM_MESSAGE_TO_SIGN,
|
|
258
|
+
yr as RELAYER_CONFIG,
|
|
259
|
+
Tr as RELAYER_URLS,
|
|
260
|
+
Mt as REWARD_RECEIVABLE_TOKEN_SYMBOLS,
|
|
261
|
+
Ut as RafflePrizePoints,
|
|
262
|
+
Rl as RafflePrizeType,
|
|
263
|
+
or as ReclaimPassports,
|
|
264
|
+
Sl as RewardPage,
|
|
265
|
+
Cl as RewardsHistoryDistribution,
|
|
266
|
+
kl as RewardsHistoryEligibility,
|
|
267
|
+
Il as RewardsHistorySnapshots,
|
|
268
|
+
El as RewardsHistoryStatuses,
|
|
269
|
+
hl as RewardsPageTabs,
|
|
270
|
+
Pr as SERVER_URLS,
|
|
271
|
+
Rr as STAGING_RELAYER_URLS,
|
|
272
|
+
Sr as STAGING_SERVER_URLS,
|
|
273
|
+
Cr as STAGING_URL,
|
|
274
|
+
Qp as SlippageType,
|
|
275
|
+
Op as StakeProvider,
|
|
276
|
+
ar as StandardPassports,
|
|
277
|
+
zl as StatType,
|
|
278
|
+
ir as SupportedPassports,
|
|
279
|
+
bl as TIER_LEVEL,
|
|
280
|
+
Dl as Timeline,
|
|
281
|
+
Ta as TokenChecker,
|
|
282
|
+
Ca as TransactionType,
|
|
283
|
+
Ra as TransactionsManager,
|
|
284
|
+
fm as USDCABI,
|
|
285
|
+
Tm as USDR3CRVABI,
|
|
286
|
+
um as USDRABI,
|
|
287
|
+
Rm as USDTABI,
|
|
288
|
+
Zl as UpperTabPossibleValues,
|
|
289
|
+
wa as UserFriendlyErrorCodes,
|
|
290
|
+
Io as UserKeys,
|
|
291
|
+
ga as Utxo,
|
|
292
|
+
Kp as VERIFICATION_TYPE,
|
|
293
|
+
fo as ValueCache,
|
|
294
|
+
Yp as VerificationTypes,
|
|
295
|
+
wp as VolatileAction,
|
|
296
|
+
Ea as VolatileHelper,
|
|
297
|
+
Cm as WETHABI,
|
|
298
|
+
go as abiDecodeUtxo,
|
|
299
|
+
Ai as absBigInt,
|
|
300
|
+
ms as addPaddingToUtxos,
|
|
301
|
+
nr as aipriseBaseOnboardingProductionUrl,
|
|
302
|
+
sr as aipriseBaseOnboardingSandboxUrl,
|
|
303
|
+
ct as arbMainnetCrvCvxRegistry,
|
|
304
|
+
ne as arbMainnetData,
|
|
305
|
+
H as arbMainnetRegistry,
|
|
306
|
+
G as arbMainnetRegistryFixed,
|
|
307
|
+
qt as arbPendleRegistry,
|
|
308
|
+
dt as avalancheCrvCvxRegistry,
|
|
309
|
+
xe as avalancheData,
|
|
310
|
+
K as avalancheRegistry,
|
|
311
|
+
Y as avalancheRegistryFixed,
|
|
312
|
+
Pe as axelar1Data,
|
|
313
|
+
Se as axelar2Data,
|
|
314
|
+
so as babyJubInstance,
|
|
315
|
+
As as balanceChangedHandler,
|
|
316
|
+
ft as baseCrvCvxRegistry,
|
|
317
|
+
Ae as baseData,
|
|
318
|
+
z as baseRegistry,
|
|
319
|
+
Z as baseRegistryFixed,
|
|
320
|
+
Nr as beefyChainIds,
|
|
321
|
+
ui as beepsToPercentage,
|
|
322
|
+
yi as bigintApplySugar,
|
|
323
|
+
Ti as bigintMax,
|
|
324
|
+
Gt as blockReorgDepth,
|
|
325
|
+
ae as bnbMainnetData,
|
|
326
|
+
q as bnbMainnetRegistry,
|
|
327
|
+
Q as bnbMainnetRegistryFixed,
|
|
328
|
+
Qt as bnbPendleRegistry,
|
|
329
|
+
Bt as boostAmounts,
|
|
330
|
+
Sn as browserSupported,
|
|
331
|
+
Fs as buildInNullifiers,
|
|
332
|
+
Ms as buildOutCommitments,
|
|
333
|
+
Us as calcAccessTokenSiblingsAndSides,
|
|
334
|
+
Bs as calcAmountChanges,
|
|
335
|
+
Ns as calcCommitmentsSiblingAndSides,
|
|
336
|
+
Os as calcEncryptedOutputs,
|
|
337
|
+
ws as calcPublicSignalCount,
|
|
338
|
+
Vs as calcStealthAddressStructure,
|
|
339
|
+
Pi as calculateAmountUsingBeeps,
|
|
340
|
+
Xn as calculateDollarValue,
|
|
341
|
+
op as calculateStakeNullifier,
|
|
342
|
+
Ri as calculateSum,
|
|
343
|
+
m as callOneInchAPI,
|
|
366
344
|
x as callRelayerTransactAPI,
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
345
|
+
_n as capitalizeFirstLetter,
|
|
346
|
+
On as caseInsensitiveEqual,
|
|
347
|
+
Ie as chainIds,
|
|
348
|
+
Ee as chainIdsByType,
|
|
349
|
+
Ya as checkErrorForSnapshotRestore,
|
|
350
|
+
pi as checkHinkalAccessToken,
|
|
351
|
+
k as checkRisk,
|
|
352
|
+
Ao as checkUtxoSignature,
|
|
353
|
+
Jr as coingeckoPriceUrl,
|
|
354
|
+
$r as coingeckoPriceUrl2,
|
|
355
|
+
et as coingeckoTokenListUrl,
|
|
356
|
+
Ls as constructEmporiumProof,
|
|
357
|
+
Ds as constructZkProof,
|
|
358
|
+
Ze as contractMetadataMapping,
|
|
359
|
+
an as convertIntegrationProviderToExternalActionId,
|
|
360
|
+
zn as createCacheDevice,
|
|
361
|
+
Ws as createCallDataHash,
|
|
362
|
+
Vi as createProvider,
|
|
363
|
+
ap as createStakeCommitment,
|
|
364
|
+
he as crossChainAccessTokenNetworks,
|
|
365
|
+
Or as crvSymbol,
|
|
366
|
+
ql as curveNetworkNames,
|
|
367
|
+
Ql as curvePools,
|
|
368
|
+
wr as curveWithdrawGasTokenAddress,
|
|
369
|
+
Vr as curveZeroAddress,
|
|
370
|
+
ua as customTokenRegistry,
|
|
371
|
+
Wr as cvxSymbol,
|
|
372
|
+
gm as daiABI,
|
|
373
|
+
gp as dataBeefyApiConfig,
|
|
374
|
+
rl as dayInMilliseconds,
|
|
375
|
+
qn as debounce,
|
|
376
|
+
Hi as decodeMetadata,
|
|
377
|
+
In as decodeTxInput,
|
|
378
|
+
En as decodeTxLogs,
|
|
379
|
+
uo as decodeUtxo,
|
|
380
|
+
yo as decodeUtxoConstructorArgs,
|
|
381
|
+
ip as decryptStake,
|
|
382
|
+
Po as decryptUtxo,
|
|
383
|
+
Ro as decryptUtxoConstructorArgs,
|
|
384
|
+
yp as defaultHookData,
|
|
385
|
+
Tp as defaultHookDataArray,
|
|
386
|
+
Pp as defaultStealthAddressStructure,
|
|
387
|
+
Er as deploymentMode,
|
|
388
|
+
Hs as deserializeCircomData,
|
|
389
|
+
hn as deserializeDecodedTxs,
|
|
390
|
+
Xs as determinePendleSwapType,
|
|
391
|
+
Js as determinePendleSwapTypeApiRoute,
|
|
392
|
+
tl as divideMonthOnIntervals,
|
|
393
|
+
lp as emporiumOp,
|
|
394
|
+
Jp as emptyDecodedTx,
|
|
395
|
+
Rp as emptyStealthAddressStructure,
|
|
396
|
+
vl as emptyUserPointsBreakdown,
|
|
397
|
+
Ll as emptyUserPointsResponse,
|
|
398
|
+
mp as encodeEmporiumMetadata,
|
|
399
|
+
np as encodeHStakeMetadata,
|
|
400
|
+
sp as encryptStake,
|
|
401
|
+
So as encryptUtxo,
|
|
402
|
+
$s as erc20TokenFromPendleAsset,
|
|
403
|
+
Yt as ethBeefyRegistry,
|
|
404
|
+
xt as ethCrvCvxRegistry,
|
|
405
|
+
pe as ethMainnetData,
|
|
406
|
+
j as ethMainnetRegistry,
|
|
407
|
+
X as ethMainnetRegistryFixed,
|
|
408
|
+
jt as ethPendleRegistry,
|
|
409
|
+
Rt as ethSymbol,
|
|
410
|
+
Jn as ethToWei,
|
|
411
|
+
Hr as ethVolatileAddress,
|
|
412
|
+
ka as externalActionToTransactionType,
|
|
413
|
+
Ha as extractMessage,
|
|
414
|
+
ai as factoryABI,
|
|
415
|
+
Xt as findSyAddress,
|
|
416
|
+
Si as fixDecimalsAmount,
|
|
417
|
+
Ys as generateZkProof,
|
|
418
|
+
Gi as getActionFromMetadata,
|
|
419
|
+
Oe as getAmountAfterRelayAndFlatFees,
|
|
420
|
+
we as getAmountAfterRelayAndFlatFeesAndSlippage,
|
|
421
|
+
Ve as getAmountAfterRelayFee,
|
|
422
|
+
We as getAmountAfterSlippage,
|
|
423
|
+
$n as getAmountInToken,
|
|
424
|
+
es as getAmountInWei,
|
|
425
|
+
rs as getAmountInWeiOrZero,
|
|
426
|
+
ts as getAmountWithPrecision,
|
|
427
|
+
os as getAmountWithPrecisionOrZero,
|
|
428
|
+
He as getAmountWithoutFee,
|
|
429
|
+
ep as getAssetTypeFromPendleMarket,
|
|
452
430
|
A as getAxelarGasEstimate,
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
431
|
+
Pn as getAxelarMigrationInfo,
|
|
432
|
+
d as getBeefyHistoricalChartData,
|
|
433
|
+
zt as getBeefyRegistryWithChainId,
|
|
434
|
+
Zs as getCRV,
|
|
435
|
+
Qs as getCVX,
|
|
436
|
+
Tt as getCalcTokenAmountWithDynamicArray,
|
|
437
|
+
ho as getCircomSign,
|
|
438
|
+
rt as getCoingeckoIdForNativeTokens,
|
|
439
|
+
tt as getCoingeckoPlatform,
|
|
462
440
|
i as getCoingeckoPrice,
|
|
463
|
-
|
|
464
|
-
|
|
441
|
+
n as getCoingeckoPrice2,
|
|
442
|
+
s as getCoingeckoPrices,
|
|
465
443
|
p as getCoingeckoTokenList,
|
|
466
|
-
|
|
467
|
-
|
|
444
|
+
gt as getCrvCvxWithChainId,
|
|
445
|
+
ol as getCurrentWeek,
|
|
468
446
|
v as getCurvePools,
|
|
469
447
|
L as getCurvePoolsforPriceFetching,
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
448
|
+
t as getDataServerURL,
|
|
449
|
+
al as getDateFromWeek,
|
|
450
|
+
fs as getDepositEvents,
|
|
451
|
+
tm as getERC20Registry,
|
|
452
|
+
qi as getERC20Token,
|
|
453
|
+
Qi as getERC20TokenBySymbol,
|
|
454
|
+
Ga as getErrorMessage,
|
|
455
|
+
_ as getExtendedPoolInfo,
|
|
456
|
+
Ki as getExternalActionIdFromNumber,
|
|
457
|
+
Yi as getExternalActionIdHash,
|
|
458
|
+
zi as getExternalMetadataHash,
|
|
459
|
+
Fi as getFilePath,
|
|
460
|
+
om as getFixedRegistry,
|
|
461
|
+
gn as getFlatFees,
|
|
484
462
|
y as getGasEstimates,
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
463
|
+
lt as getGasStationUrl,
|
|
464
|
+
Ba as getGenericFeeOverTransactionValueErrorMessage,
|
|
465
|
+
ji as getHToken,
|
|
466
|
+
Mi as getHinkalCache,
|
|
467
|
+
Ge as getHinkalFeeRateInBeeps,
|
|
468
|
+
qe as getHinkalParameters,
|
|
491
469
|
E as getIdleRelay,
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
P as
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
F as
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
470
|
+
ss as getInputUtxoAndBalance,
|
|
471
|
+
ps as getInputUtxosFromEncryptedOutputs,
|
|
472
|
+
sn as getInteractionFromAction,
|
|
473
|
+
un as getNetworkObject,
|
|
474
|
+
yn as getNetworkType,
|
|
475
|
+
il as getNextDay,
|
|
476
|
+
be as getNonLocalhostChainId,
|
|
477
|
+
Cs as getOdosPrice,
|
|
478
|
+
Is as getOneInchPrice,
|
|
479
|
+
ra as getPatchedAccessTokenMerkleTree,
|
|
480
|
+
Jt as getPendleRegistryWithChainId,
|
|
481
|
+
O as getPublicWalletBalance,
|
|
482
|
+
Ke as getRelayFee,
|
|
483
|
+
B as getRelayerURL,
|
|
484
|
+
en as getSequence,
|
|
485
|
+
o as getServerURL,
|
|
486
|
+
cs as getShieldedBalance,
|
|
487
|
+
Ye as getSlippageFee,
|
|
488
|
+
rp as getTokenIndexForPendleFlatFee,
|
|
489
|
+
P as getTokenPrice,
|
|
490
|
+
R as getTokenPriceEth,
|
|
491
|
+
S as getTokenPrices,
|
|
492
|
+
ys as getUniswapFee,
|
|
493
|
+
Ts as getUniswapPrice,
|
|
494
|
+
Ps as getUniswapPriceHelper,
|
|
495
|
+
Ci as getValueFirstNDigit,
|
|
496
|
+
nl as getWeekTimestamps,
|
|
497
|
+
$t as getYtTokensWithChainId,
|
|
498
|
+
sl as hasCertificationPeriodExpired,
|
|
499
|
+
_o as hinkalActionBeefy,
|
|
500
|
+
Mo as hinkalActionConvex,
|
|
501
|
+
Bo as hinkalActionCurve,
|
|
502
|
+
Oo as hinkalActionPendle,
|
|
503
|
+
Vo as hinkalDeposit,
|
|
504
|
+
Wo as hinkalDepositForOther,
|
|
505
|
+
Qo as hinkalPrivateWallet,
|
|
506
|
+
Go as hinkalSwap,
|
|
507
|
+
Yo as hinkalTransfer,
|
|
508
|
+
Zo as hinkalWithdraw,
|
|
509
|
+
pl as hourInMilliseconds,
|
|
510
|
+
Ap as isBeefyDeposit,
|
|
511
|
+
bo as isCircomNegative,
|
|
512
|
+
hr as isDevelopment,
|
|
513
|
+
De as isLocalNetwork,
|
|
514
|
+
Bn as isNicknameValid,
|
|
515
|
+
br as isNode,
|
|
516
|
+
Dr as isNotClientProduction,
|
|
517
|
+
vr as isNotProduction,
|
|
518
|
+
Fn as isNullOrEmpty,
|
|
519
|
+
ve as isOptimismBedrockLike,
|
|
520
|
+
Le as isOptimismEcotoneLike,
|
|
521
|
+
_e as isOptimismLike,
|
|
522
|
+
Lr as isPlayground,
|
|
523
|
+
_r as isStaging,
|
|
524
|
+
Fr as isWebpack,
|
|
525
|
+
ll as isWeekCurrent,
|
|
526
|
+
eo as isYtToken,
|
|
527
|
+
po as jubHolder,
|
|
528
|
+
Dm as lidoStEthAbi,
|
|
529
|
+
St as lidoStEthContractAddress,
|
|
530
|
+
Lm as lidoStMaticAbi,
|
|
531
|
+
Ct as lidoStMaticAddress,
|
|
532
|
+
wm as lidoStakeManagerAbi,
|
|
533
|
+
kt as lidoStakeManagerAddress,
|
|
534
|
+
Fm as lidoWithdrawalQueueERC721Abi,
|
|
535
|
+
It as lidoWithdrawalQueueERC721Address,
|
|
536
|
+
Um as lidoWstEthAbi,
|
|
537
|
+
Et as lidoWstEthContractAddress,
|
|
538
|
+
Ui as loadTxsCache,
|
|
539
|
+
ye as localhostData,
|
|
540
|
+
Fe as localhostNetwork,
|
|
541
|
+
J as localhostRegistry,
|
|
542
|
+
Za as logError,
|
|
543
|
+
wn as lowerCaseIncludes,
|
|
544
|
+
Vn as lowerCaseStartsWith,
|
|
545
|
+
Nt as lpLink,
|
|
546
|
+
Ot as lpProgramStartWeek,
|
|
547
|
+
F as lpTokens,
|
|
548
|
+
M as lpTokensToBasePool,
|
|
549
|
+
ht as maticSymbol,
|
|
550
|
+
ki as minBigInt,
|
|
551
|
+
li as mintAccessToken,
|
|
552
|
+
mi as mintTokenCrossChain,
|
|
553
|
+
ml as minuteInMilliseconds,
|
|
554
|
+
Me as networkRegistry,
|
|
555
|
+
Gr as oneInchZeroAddress,
|
|
556
|
+
xi as openDefaultPassportWindow,
|
|
557
|
+
di as openPassportWindow,
|
|
558
|
+
At as optimismCrvCvxRegistry,
|
|
559
|
+
me as optimismData,
|
|
560
|
+
Wm as optimismGasPriceOracleAbi,
|
|
561
|
+
ro as optimismPendleRegistry,
|
|
562
|
+
$ as optimismRegistry,
|
|
563
|
+
ee as optimismRegistryFixed,
|
|
564
|
+
ln as outputUtxoProcessing,
|
|
565
|
+
Kr as ownerPublicKey,
|
|
566
|
+
cl as parseWeek,
|
|
567
|
+
Kn as patchRegistry,
|
|
568
|
+
Yr as permitSignatureValidFor,
|
|
569
|
+
Nm as poLidoNftAbi,
|
|
570
|
+
bt as poLidoNftAddress,
|
|
571
|
+
wt as pointsLink,
|
|
572
|
+
ut as polygonCrvCvxRegistry,
|
|
573
|
+
de as polygonData,
|
|
574
|
+
re as polygonRegistry,
|
|
575
|
+
te as polygonRegistryFixed,
|
|
576
|
+
oo as poseidonFunction,
|
|
577
|
+
ao as poseidonHash,
|
|
578
|
+
io as poseidonHolder,
|
|
579
|
+
mo as preProcessing,
|
|
580
|
+
ot as proCoingeckoUrl,
|
|
581
|
+
at as proHeader,
|
|
582
|
+
fn as processAmountChanges,
|
|
583
|
+
cn as processGasEstimates,
|
|
584
|
+
fp as produceOp,
|
|
585
|
+
rn as promisify,
|
|
586
|
+
ii as quoterV2ABI,
|
|
587
|
+
Vt as raffleProgramStartWeek,
|
|
588
|
+
as as randomBigInt,
|
|
589
|
+
Wt as referralLink,
|
|
590
|
+
vn as reloadPage,
|
|
591
|
+
Ji as requireEnv,
|
|
592
|
+
Bi as resetCache,
|
|
593
|
+
Xo as resetMerkleTrees,
|
|
594
|
+
tn as resolveSync,
|
|
595
|
+
Na as rethrowKnownGasErrorIfPossible,
|
|
596
|
+
xs as retrieveEvents,
|
|
597
|
+
hs as runContractFunction,
|
|
598
|
+
hm as sanctionsListABI,
|
|
599
|
+
Ni as saveTxsCache,
|
|
600
|
+
Rs as searchPoolAndFee,
|
|
601
|
+
dl as secondInMilliseconds,
|
|
602
|
+
Gs as serializeCircomData,
|
|
603
|
+
bn as serializeDecodedTxs,
|
|
604
|
+
Oi as setHinkalCache,
|
|
605
|
+
zr as signaturePhrase,
|
|
606
|
+
jp as slippageLevels,
|
|
607
|
+
Dt as stMaticSymbol,
|
|
608
|
+
pr as supportedPassportLinks,
|
|
609
|
+
Zr as threePoolSymbol,
|
|
610
|
+
Ii as toBigInt,
|
|
611
|
+
Ei as toBigIntOrUndefined,
|
|
612
|
+
is as toBigIntWithDecimals,
|
|
613
|
+
hi as toCommaSeparatedNumberString,
|
|
614
|
+
fl as toDateString,
|
|
615
|
+
bi as toInt,
|
|
616
|
+
Di as toNumberOrUndefined,
|
|
617
|
+
Mn as toTitleCase,
|
|
618
|
+
Va as transactionErrorCodes,
|
|
619
|
+
ni as transactionProverABI,
|
|
620
|
+
vi as trimLeadingZeros,
|
|
621
|
+
Li as truncateTo18DecimalPlaces,
|
|
622
|
+
Qe as uniswapV2PoolData,
|
|
623
|
+
je as uniswapV3FactoryData,
|
|
624
|
+
Xe as uniswapV3PoolData,
|
|
625
|
+
Je as uniswapV3QuoterData,
|
|
626
|
+
im as urlForBeefyVaultTokens,
|
|
627
|
+
nm as urlForBeefyVaultTotalInUSD,
|
|
628
|
+
sm as urlForRegularTokenPricesInBeefy,
|
|
629
|
+
Qn as wait,
|
|
630
|
+
Hn as waitLittle,
|
|
631
|
+
Cn as walletSupported,
|
|
632
|
+
xl as weekInMilliseconds,
|
|
633
|
+
vt as wstEthSymbol,
|
|
634
|
+
qr as zeroAddress
|
|
656
635
|
};
|