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