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