@hinkal/common 0.2.2 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/API/API.cjs +1 -1
- package/API/API.d.ts +2 -2
- package/API/API.mjs +22 -22
- package/API/duneAPI.cjs +1 -1
- package/API/duneAPI.mjs +3 -2
- package/API/userVerifyTransactions.cjs +1 -1
- package/API/userVerifyTransactions.d.ts +6 -7
- package/API/userVerifyTransactions.mjs +13 -14
- package/README.md +32 -22
- package/constants/chains.constants.cjs +1 -1
- package/constants/chains.constants.mjs +2 -2
- package/constants/contracts.constants.cjs +1 -1
- package/constants/contracts.constants.mjs +138 -134
- package/constants/deploy-data/deploy-data-arbMainnet.json.cjs +1 -1
- package/constants/deploy-data/deploy-data-arbMainnet.json.mjs +846 -11
- package/constants/deploy-data/deploy-data-avalanche.json.cjs +1 -1
- package/constants/deploy-data/deploy-data-avalanche.json.mjs +848 -13
- package/constants/deploy-data/deploy-data-base.json.cjs +1 -1
- package/constants/deploy-data/deploy-data-base.json.mjs +852 -17
- package/constants/deploy-data/deploy-data-bnbMainnet.json.cjs +1 -1
- package/constants/deploy-data/deploy-data-bnbMainnet.json.mjs +855 -20
- package/constants/deploy-data/deploy-data-ethMainnet.json.cjs +1 -1
- package/constants/deploy-data/deploy-data-ethMainnet.json.mjs +850 -15
- package/constants/deploy-data/deploy-data-localhost.json.cjs +1 -1
- package/constants/deploy-data/deploy-data-localhost.json.mjs +935 -100
- package/constants/deploy-data/deploy-data-optimism.json.cjs +1 -1
- package/constants/deploy-data/deploy-data-optimism.json.mjs +844 -9
- package/constants/deploy-data/deploy-data-polygon.json.cjs +1 -1
- package/constants/deploy-data/deploy-data-polygon.json.mjs +844 -9
- package/constants/kyc.constants.cjs +1 -1
- package/constants/kyc.constants.mjs +30 -18
- package/constants/server.constants.cjs +1 -1
- package/constants/server.constants.d.ts +3 -2
- package/constants/server.constants.mjs +7 -6
- package/constants/token-data/ERC20Registry.cjs +1 -1
- package/constants/token-data/ERC20Registry.mjs +48 -48
- package/constants/token-data/arbMainnetRegistry.json.cjs +1 -1
- package/constants/token-data/arbMainnetRegistry.json.mjs +4 -1
- package/constants/token-data/arbMainnetRegistryFixed.json.cjs +1 -1
- package/constants/token-data/arbMainnetRegistryFixed.json.mjs +4 -1
- package/constants/token-data/avalancheRegistry.json.cjs +1 -1
- package/constants/token-data/avalancheRegistry.json.mjs +4 -1
- package/constants/token-data/avalancheRegistryFixed.json.cjs +1 -1
- package/constants/token-data/avalancheRegistryFixed.json.mjs +4 -1
- package/constants/token-data/baseRegistry.json.cjs +1 -1
- package/constants/token-data/baseRegistry.json.mjs +4 -1
- package/constants/token-data/baseRegistryFixed.json.cjs +1 -1
- package/constants/token-data/baseRegistryFixed.json.mjs +4 -1
- package/constants/token-data/bnbMainnetRegistry.json.cjs +1 -1
- package/constants/token-data/bnbMainnetRegistry.json.mjs +12 -9
- package/constants/token-data/bnbMainnetRegistryFixed.json.cjs +1 -1
- package/constants/token-data/bnbMainnetRegistryFixed.json.mjs +12 -9
- package/constants/token-data/ethMainnetRegistry.json.cjs +1 -1
- package/constants/token-data/ethMainnetRegistry.json.mjs +15 -12
- package/constants/token-data/ethMainnetRegistryFixed.json.cjs +1 -1
- package/constants/token-data/ethMainnetRegistryFixed.json.mjs +15 -12
- package/constants/token-data/index.cjs +1 -0
- package/constants/token-data/index.d.ts +972 -15
- package/constants/token-data/index.mjs +34 -0
- package/constants/token-data/localhostRegistry.json.cjs +1 -1
- package/constants/token-data/localhostRegistry.json.mjs +15 -12
- package/constants/token-data/optimismRegistry.json.cjs +1 -1
- package/constants/token-data/optimismRegistry.json.mjs +4 -1
- package/constants/token-data/optimismRegistryFixed.json.cjs +1 -1
- package/constants/token-data/optimismRegistryFixed.json.mjs +4 -1
- package/constants/token-data/polygonRegistry.json.cjs +1 -1
- package/constants/token-data/polygonRegistry.json.mjs +4 -1
- package/constants/token-data/polygonRegistryFixed.json.cjs +1 -1
- package/constants/token-data/polygonRegistryFixed.json.mjs +4 -1
- package/data-structures/Hinkal/Hinkal.cjs +1 -1
- package/data-structures/Hinkal/Hinkal.d.ts +2 -0
- package/data-structures/Hinkal/Hinkal.mjs +38 -32
- package/data-structures/Hinkal/IHinkal.d.ts +2 -0
- package/data-structures/Hinkal/hinkalActionBeefy.cjs +1 -1
- package/data-structures/Hinkal/hinkalActionBeefy.mjs +21 -20
- package/data-structures/Hinkal/hinkalActionConvex.cjs +1 -1
- package/data-structures/Hinkal/hinkalActionConvex.mjs +13 -12
- package/data-structures/Hinkal/hinkalActionCurve.cjs +1 -1
- package/data-structures/Hinkal/hinkalActionCurve.mjs +15 -14
- package/data-structures/Hinkal/hinkalActionLidoEth.cjs +1 -1
- package/data-structures/Hinkal/hinkalActionLidoEth.mjs +17 -16
- package/data-structures/Hinkal/hinkalActionPendle.cjs +1 -1
- package/data-structures/Hinkal/hinkalActionPendle.d.ts +1 -1
- package/data-structures/Hinkal/hinkalActionPendle.mjs +24 -23
- package/data-structures/Hinkal/hinkalActionPendleLP.cjs +1 -1
- package/data-structures/Hinkal/hinkalActionPendleLP.mjs +21 -20
- package/data-structures/Hinkal/hinkalActionStake.cjs +1 -1
- package/data-structures/Hinkal/hinkalActionStake.d.ts +1 -1
- package/data-structures/Hinkal/hinkalActionStake.mjs +6 -5
- package/data-structures/Hinkal/hinkalActionVolatile.cjs +1 -1
- package/data-structures/Hinkal/hinkalActionVolatile.d.ts +1 -1
- package/data-structures/Hinkal/hinkalActionVolatile.mjs +9 -8
- package/data-structures/Hinkal/hinkalDeposit.cjs +1 -1
- package/data-structures/Hinkal/hinkalDeposit.d.ts +2 -2
- package/data-structures/Hinkal/hinkalDeposit.mjs +93 -54
- package/data-structures/Hinkal/hinkalGetZkMeProvider.cjs +1 -1
- package/data-structures/Hinkal/hinkalGetZkMeProvider.mjs +3 -2
- package/data-structures/Hinkal/hinkalPrivateWallet.cjs +1 -1
- package/data-structures/Hinkal/hinkalPrivateWallet.mjs +5 -4
- package/data-structures/Hinkal/hinkalSwap.cjs +1 -1
- package/data-structures/Hinkal/hinkalSwap.mjs +23 -22
- package/data-structures/Hinkal/hinkalWithdraw.cjs +1 -1
- package/data-structures/Hinkal/hinkalWithdraw.d.ts +1 -1
- package/data-structures/Hinkal/hinkalWithdraw.mjs +13 -12
- package/data-structures/merkle-tree/MerkleTree.cjs +1 -1
- package/data-structures/merkle-tree/MerkleTree.d.ts +2 -0
- package/data-structures/merkle-tree/MerkleTree.mjs +38 -25
- package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.cjs +1 -0
- package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.d.ts +3 -0
- package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.mjs +9 -0
- package/data-structures/merkle-tree/index.d.ts +1 -0
- package/data-structures/transactions-manager/TransactionsManager.cjs +1 -1
- package/data-structures/transactions-manager/TransactionsManager.d.ts +6 -5
- package/data-structures/transactions-manager/TransactionsManager.mjs +118 -111
- package/error-handling/error-codes.constants.cjs +1 -1
- package/error-handling/error-codes.constants.d.ts +4 -0
- package/error-handling/error-codes.constants.mjs +6 -2
- package/externalABIs/BabPassport.json.cjs +1 -1
- package/externalABIs/BabPassport.json.mjs +8 -3
- package/externalABIs/BeefyRouterAbi.json.cjs +1 -1
- package/externalABIs/BeefyRouterAbi.json.mjs +5 -2
- package/externalABIs/BeefyStrategyAbi.json.cjs +1 -1
- package/externalABIs/BeefyStrategyAbi.json.mjs +5 -2
- package/externalABIs/BeefyVaultAbi.json.cjs +1 -1
- package/externalABIs/BeefyVaultAbi.json.mjs +5 -2
- package/externalABIs/BeefyZapAbi.json.cjs +1 -1
- package/externalABIs/BeefyZapAbi.json.mjs +5 -2
- package/externalABIs/BeefyZapOneInchAbi.json.cjs +1 -1
- package/externalABIs/BeefyZapOneInchAbi.json.mjs +5 -2
- package/externalABIs/ConvexBoosterAbi.json.cjs +1 -1
- package/externalABIs/ConvexBoosterAbi.json.mjs +5 -2
- package/externalABIs/ConvexBoosterAbiMainnet.json.cjs +1 -1
- package/externalABIs/ConvexBoosterAbiMainnet.json.mjs +5 -2
- package/externalABIs/ConvexRewardPoolAbi.json.cjs +1 -1
- package/externalABIs/ConvexRewardPoolAbi.json.mjs +5 -2
- package/externalABIs/CurveReadingWrapperAbi.json.cjs +1 -1
- package/externalABIs/CurveReadingWrapperAbi.json.mjs +5 -2
- package/externalABIs/CurveWrappedMainPool.json.cjs +1 -1
- package/externalABIs/CurveWrappedMainPool.json.mjs +5 -2
- package/externalABIs/CurveZap.json.cjs +1 -1
- package/externalABIs/CurveZap.json.mjs +5 -2
- package/externalABIs/CvxCrvUtilities.json.cjs +1 -1
- package/externalABIs/CvxCrvUtilities.json.mjs +5 -2
- package/externalABIs/ERC20.json.cjs +1 -1
- package/externalABIs/ERC20.json.mjs +20 -3
- package/externalABIs/GalxePassport.json.cjs +1 -1
- package/externalABIs/GalxePassport.json.mjs +8 -3
- package/externalABIs/IQuoterV2.json.cjs +1 -1
- package/externalABIs/IQuoterV2.json.mjs +20 -3
- package/externalABIs/ISwapRouter.json.cjs +1 -1
- package/externalABIs/ISwapRouter.json.mjs +5 -2
- package/externalABIs/IUniswapV3Factory.json.cjs +1 -1
- package/externalABIs/IUniswapV3Factory.json.mjs +20 -3
- package/externalABIs/IUniswapV3Pool.json.cjs +1 -1
- package/externalABIs/IUniswapV3Pool.json.mjs +20 -3
- package/externalABIs/PendleRouterAbi.json.cjs +1 -1
- package/externalABIs/PendleRouterAbi.json.mjs +5 -2
- package/externalABIs/UniswapV2PoolAbi.json.cjs +1 -1
- package/externalABIs/UniswapV2PoolAbi.json.mjs +16 -3
- package/externalABIs/index.cjs +1 -0
- package/externalABIs/index.d.ts +307 -11
- package/externalABIs/index.mjs +23 -0
- package/externalABIs/transactionsProver.json.cjs +1 -1
- package/externalABIs/transactionsProver.json.mjs +20 -3
- package/functions/kyc/zkMeHelper.cjs +1 -1
- package/functions/kyc/zkMeHelper.d.ts +0 -1
- package/functions/kyc/zkMeHelper.mjs +8 -11
- package/functions/pre-transaction/process-gas-estimates.cjs +1 -1
- package/functions/pre-transaction/process-gas-estimates.mjs +3 -2
- package/functions/private-wallet/opProducer.cjs +1 -1
- package/functions/private-wallet/opProducer.mjs +9 -10
- package/functions/protocols/convex.protocols.cjs +1 -1
- package/functions/protocols/convex.protocols.mjs +3 -2
- package/functions/protocols/pendle.helpers.cjs +1 -1
- package/functions/protocols/pendle.helpers.mjs +14 -13
- package/functions/snarkjs/constant.cjs +1 -1
- package/functions/snarkjs/constant.d.ts +1 -0
- package/functions/snarkjs/constant.mjs +6 -5
- package/functions/snarkjs/constructEmporiumProof.cjs +1 -1
- package/functions/snarkjs/constructEmporiumProof.d.ts +1 -1
- package/functions/snarkjs/constructEmporiumProof.mjs +31 -31
- package/functions/snarkjs/constructGeneralZkProof.cjs +1 -1
- package/functions/snarkjs/constructGeneralZkProof.d.ts +1 -1
- package/functions/snarkjs/constructGeneralZkProof.mjs +76 -75
- package/functions/snarkjs/generateZkProof.cjs +1 -1
- package/functions/snarkjs/generateZkProof.d.ts +1 -1
- package/functions/snarkjs/generateZkProof.mjs +4 -15
- package/functions/snarkjs/generateZkProofEnclave.cjs +1 -0
- package/functions/snarkjs/generateZkProofEnclave.d.ts +5 -0
- package/functions/snarkjs/generateZkProofEnclave.mjs +33 -0
- package/functions/snarkjs/generateZkProofSelf.cjs +1 -0
- package/functions/snarkjs/generateZkProofSelf.d.ts +5 -0
- package/functions/snarkjs/generateZkProofSelf.mjs +17 -0
- package/functions/utils/axelar.utils.cjs +1 -1
- package/functions/utils/axelar.utils.mjs +3 -2
- package/functions/utils/cacheDevice.utils.cjs +1 -1
- package/functions/utils/cacheDevice.utils.mjs +9 -8
- package/functions/utils/erc20tokenFunctions.cjs +1 -1
- package/functions/utils/erc20tokenFunctions.mjs +8 -7
- package/functions/utils/evmNetworkFunctions.cjs +1 -1
- package/functions/utils/evmNetworkFunctions.mjs +4 -3
- package/functions/utils/userAgent.cjs +1 -1
- package/functions/utils/userAgent.mjs +8 -8
- package/functions/web3/functionCalls/accessTokenCalls.cjs +1 -1
- package/functions/web3/functionCalls/accessTokenCalls.mjs +8 -8
- package/functions/web3/functionCalls/transactCallDirect.cjs +1 -1
- package/functions/web3/functionCalls/transactCallDirect.d.ts +1 -1
- package/functions/web3/functionCalls/transactCallDirect.mjs +43 -29
- package/functions/web3/functionCalls/transactCallRelayer.cjs +1 -1
- package/functions/web3/functionCalls/transactCallRelayer.mjs +10 -8
- package/functions/web3/getContractMetadata.cjs +1 -0
- package/functions/web3/getContractMetadata.d.ts +5 -0
- package/functions/web3/getContractMetadata.mjs +30 -0
- package/functions/web3/odosAPI.cjs +1 -1
- package/functions/web3/odosAPI.d.ts +1 -2
- package/functions/web3/odosAPI.mjs +19 -18
- package/functions/web3/oneInchAPI.cjs +1 -1
- package/functions/web3/oneInchAPI.d.ts +1 -2
- package/functions/web3/oneInchAPI.mjs +17 -15
- package/functions/web3/uniswapAPI.cjs +1 -1
- package/functions/web3/uniswapAPI.d.ts +4 -4
- package/functions/web3/uniswapAPI.mjs +54 -43
- package/index.cjs +1 -1
- package/index.mjs +617 -638
- package/package.json +4 -3
- 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 -1
- package/providers/WagmiProviderAdapter.mjs +52 -66
- package/providers/exportProviers.d.ts +1 -1
- package/providers/prepareEthersHinkal.cjs +1 -1
- package/providers/prepareEthersHinkal.mjs +4 -2
- package/providers/prepareWagmiHinkal.cjs +1 -1
- package/providers/prepareWagmiHinkal.mjs +4 -2
- package/types/ethereum-network.types.cjs +1 -1
- package/types/ethereum-network.types.d.ts +62 -59
- package/types/ethereum-network.types.mjs +1 -1
- package/types/hinkal.types.d.ts +4 -0
- package/types/kyc.types.cjs +1 -1
- package/types/kyc.types.d.ts +1 -1
- package/types/kyc.types.mjs +1 -1
- package/types/remote-proof.types.d.ts +15 -0
- package/types/rewards.types.d.ts +5 -0
- package/types/time.types.cjs +1 -1
- package/types/time.types.mjs +1 -1
- package/webworker/zkProofWorker/zkProofWorkerLauncher.cjs +1 -1
- package/webworker/zkProofWorker/zkProofWorkerLauncher.mjs +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = "
|
|
1
|
+
const e = "0xE13CB35C7b8AaA592126f2e2D4303CD285138635", t = [
|
|
2
2
|
{
|
|
3
3
|
inputs: [
|
|
4
4
|
{
|
|
@@ -1745,7 +1745,7 @@ const e = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", t = [
|
|
|
1745
1745
|
stateMutability: "payable",
|
|
1746
1746
|
type: "receive"
|
|
1747
1747
|
}
|
|
1748
|
-
], n = "
|
|
1748
|
+
], n = "0xf7263E7Fe5625eEAde04a4F2F9d594F990EA18F7", a = [
|
|
1749
1749
|
{
|
|
1750
1750
|
inputs: [
|
|
1751
1751
|
{
|
|
@@ -2674,7 +2674,7 @@ const e = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", t = [
|
|
|
2674
2674
|
stateMutability: "nonpayable",
|
|
2675
2675
|
type: "function"
|
|
2676
2676
|
}
|
|
2677
|
-
], i = "
|
|
2677
|
+
], i = "0x2404F64A2462EA25AE95f77AD4006c5C1E54cD2f", s = [
|
|
2678
2678
|
{
|
|
2679
2679
|
inputs: [
|
|
2680
2680
|
{
|
|
@@ -3714,7 +3714,838 @@ const e = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", t = [
|
|
|
3714
3714
|
stateMutability: "nonpayable",
|
|
3715
3715
|
type: "function"
|
|
3716
3716
|
}
|
|
3717
|
-
], p = "
|
|
3717
|
+
], p = "0xe59FF2F5eC7D109221ffaAbE183A64A63FA4F8c8", r = [
|
|
3718
|
+
{
|
|
3719
|
+
inputs: [
|
|
3720
|
+
{
|
|
3721
|
+
internalType: "address",
|
|
3722
|
+
name: "_accessToken",
|
|
3723
|
+
type: "address"
|
|
3724
|
+
},
|
|
3725
|
+
{
|
|
3726
|
+
internalType: "address",
|
|
3727
|
+
name: "_hinkal",
|
|
3728
|
+
type: "address"
|
|
3729
|
+
}
|
|
3730
|
+
],
|
|
3731
|
+
stateMutability: "nonpayable",
|
|
3732
|
+
type: "constructor"
|
|
3733
|
+
},
|
|
3734
|
+
{
|
|
3735
|
+
anonymous: !1,
|
|
3736
|
+
inputs: [
|
|
3737
|
+
{
|
|
3738
|
+
indexed: !0,
|
|
3739
|
+
internalType: "address",
|
|
3740
|
+
name: "previousOwner",
|
|
3741
|
+
type: "address"
|
|
3742
|
+
},
|
|
3743
|
+
{
|
|
3744
|
+
indexed: !0,
|
|
3745
|
+
internalType: "address",
|
|
3746
|
+
name: "newOwner",
|
|
3747
|
+
type: "address"
|
|
3748
|
+
}
|
|
3749
|
+
],
|
|
3750
|
+
name: "OwnershipTransferStarted",
|
|
3751
|
+
type: "event"
|
|
3752
|
+
},
|
|
3753
|
+
{
|
|
3754
|
+
anonymous: !1,
|
|
3755
|
+
inputs: [
|
|
3756
|
+
{
|
|
3757
|
+
indexed: !0,
|
|
3758
|
+
internalType: "address",
|
|
3759
|
+
name: "previousOwner",
|
|
3760
|
+
type: "address"
|
|
3761
|
+
},
|
|
3762
|
+
{
|
|
3763
|
+
indexed: !0,
|
|
3764
|
+
internalType: "address",
|
|
3765
|
+
name: "newOwner",
|
|
3766
|
+
type: "address"
|
|
3767
|
+
}
|
|
3768
|
+
],
|
|
3769
|
+
name: "OwnershipTransferred",
|
|
3770
|
+
type: "event"
|
|
3771
|
+
},
|
|
3772
|
+
{
|
|
3773
|
+
inputs: [],
|
|
3774
|
+
name: "acceptOwnership",
|
|
3775
|
+
outputs: [],
|
|
3776
|
+
stateMutability: "nonpayable",
|
|
3777
|
+
type: "function"
|
|
3778
|
+
},
|
|
3779
|
+
{
|
|
3780
|
+
inputs: [],
|
|
3781
|
+
name: "accessToken",
|
|
3782
|
+
outputs: [
|
|
3783
|
+
{
|
|
3784
|
+
internalType: "contract IExtendedCrossChainAccessToken",
|
|
3785
|
+
name: "",
|
|
3786
|
+
type: "address"
|
|
3787
|
+
}
|
|
3788
|
+
],
|
|
3789
|
+
stateMutability: "view",
|
|
3790
|
+
type: "function"
|
|
3791
|
+
},
|
|
3792
|
+
{
|
|
3793
|
+
inputs: [],
|
|
3794
|
+
name: "accessTokenAcceptOwnership",
|
|
3795
|
+
outputs: [],
|
|
3796
|
+
stateMutability: "nonpayable",
|
|
3797
|
+
type: "function"
|
|
3798
|
+
},
|
|
3799
|
+
{
|
|
3800
|
+
inputs: [
|
|
3801
|
+
{
|
|
3802
|
+
internalType: "address",
|
|
3803
|
+
name: "newOwner",
|
|
3804
|
+
type: "address"
|
|
3805
|
+
}
|
|
3806
|
+
],
|
|
3807
|
+
name: "accessTokenTransferOwnership",
|
|
3808
|
+
outputs: [],
|
|
3809
|
+
stateMutability: "nonpayable",
|
|
3810
|
+
type: "function"
|
|
3811
|
+
},
|
|
3812
|
+
{
|
|
3813
|
+
inputs: [
|
|
3814
|
+
{
|
|
3815
|
+
components: [
|
|
3816
|
+
{
|
|
3817
|
+
internalType: "uint8",
|
|
3818
|
+
name: "v",
|
|
3819
|
+
type: "uint8"
|
|
3820
|
+
},
|
|
3821
|
+
{
|
|
3822
|
+
internalType: "bytes32",
|
|
3823
|
+
name: "r",
|
|
3824
|
+
type: "bytes32"
|
|
3825
|
+
},
|
|
3826
|
+
{
|
|
3827
|
+
internalType: "bytes32",
|
|
3828
|
+
name: "s",
|
|
3829
|
+
type: "bytes32"
|
|
3830
|
+
},
|
|
3831
|
+
{
|
|
3832
|
+
internalType: "uint256",
|
|
3833
|
+
name: "accessKey",
|
|
3834
|
+
type: "uint256"
|
|
3835
|
+
},
|
|
3836
|
+
{
|
|
3837
|
+
internalType: "uint256",
|
|
3838
|
+
name: "nonce",
|
|
3839
|
+
type: "uint256"
|
|
3840
|
+
}
|
|
3841
|
+
],
|
|
3842
|
+
internalType: "struct SignatureData",
|
|
3843
|
+
name: "signatureData",
|
|
3844
|
+
type: "tuple"
|
|
3845
|
+
}
|
|
3846
|
+
],
|
|
3847
|
+
name: "addToken",
|
|
3848
|
+
outputs: [],
|
|
3849
|
+
stateMutability: "payable",
|
|
3850
|
+
type: "function"
|
|
3851
|
+
},
|
|
3852
|
+
{
|
|
3853
|
+
inputs: [
|
|
3854
|
+
{
|
|
3855
|
+
components: [
|
|
3856
|
+
{
|
|
3857
|
+
internalType: "uint8",
|
|
3858
|
+
name: "v",
|
|
3859
|
+
type: "uint8"
|
|
3860
|
+
},
|
|
3861
|
+
{
|
|
3862
|
+
internalType: "bytes32",
|
|
3863
|
+
name: "r",
|
|
3864
|
+
type: "bytes32"
|
|
3865
|
+
},
|
|
3866
|
+
{
|
|
3867
|
+
internalType: "bytes32",
|
|
3868
|
+
name: "s",
|
|
3869
|
+
type: "bytes32"
|
|
3870
|
+
},
|
|
3871
|
+
{
|
|
3872
|
+
internalType: "uint256",
|
|
3873
|
+
name: "accessKey",
|
|
3874
|
+
type: "uint256"
|
|
3875
|
+
},
|
|
3876
|
+
{
|
|
3877
|
+
internalType: "uint256",
|
|
3878
|
+
name: "nonce",
|
|
3879
|
+
type: "uint256"
|
|
3880
|
+
}
|
|
3881
|
+
],
|
|
3882
|
+
internalType: "struct SignatureData",
|
|
3883
|
+
name: "signatureData",
|
|
3884
|
+
type: "tuple"
|
|
3885
|
+
},
|
|
3886
|
+
{
|
|
3887
|
+
internalType: "uint256[2]",
|
|
3888
|
+
name: "a",
|
|
3889
|
+
type: "uint256[2]"
|
|
3890
|
+
},
|
|
3891
|
+
{
|
|
3892
|
+
internalType: "uint256[2][2]",
|
|
3893
|
+
name: "b",
|
|
3894
|
+
type: "uint256[2][2]"
|
|
3895
|
+
},
|
|
3896
|
+
{
|
|
3897
|
+
internalType: "uint256[2]",
|
|
3898
|
+
name: "c",
|
|
3899
|
+
type: "uint256[2]"
|
|
3900
|
+
},
|
|
3901
|
+
{
|
|
3902
|
+
components: [
|
|
3903
|
+
{
|
|
3904
|
+
internalType: "uint16",
|
|
3905
|
+
name: "tokenNumber",
|
|
3906
|
+
type: "uint16"
|
|
3907
|
+
},
|
|
3908
|
+
{
|
|
3909
|
+
internalType: "uint16",
|
|
3910
|
+
name: "nullifierAmount",
|
|
3911
|
+
type: "uint16"
|
|
3912
|
+
},
|
|
3913
|
+
{
|
|
3914
|
+
internalType: "uint16",
|
|
3915
|
+
name: "outputAmount",
|
|
3916
|
+
type: "uint16"
|
|
3917
|
+
}
|
|
3918
|
+
],
|
|
3919
|
+
internalType: "struct Dimensions",
|
|
3920
|
+
name: "dimensions",
|
|
3921
|
+
type: "tuple"
|
|
3922
|
+
},
|
|
3923
|
+
{
|
|
3924
|
+
components: [
|
|
3925
|
+
{
|
|
3926
|
+
internalType: "uint256",
|
|
3927
|
+
name: "rootHashHinkal",
|
|
3928
|
+
type: "uint256"
|
|
3929
|
+
},
|
|
3930
|
+
{
|
|
3931
|
+
internalType: "address[]",
|
|
3932
|
+
name: "erc20TokenAddresses",
|
|
3933
|
+
type: "address[]"
|
|
3934
|
+
},
|
|
3935
|
+
{
|
|
3936
|
+
internalType: "uint256[]",
|
|
3937
|
+
name: "tokenIds",
|
|
3938
|
+
type: "uint256[]"
|
|
3939
|
+
},
|
|
3940
|
+
{
|
|
3941
|
+
internalType: "int256[]",
|
|
3942
|
+
name: "amountChanges",
|
|
3943
|
+
type: "int256[]"
|
|
3944
|
+
},
|
|
3945
|
+
{
|
|
3946
|
+
internalType: "uint256[][]",
|
|
3947
|
+
name: "inputNullifiers",
|
|
3948
|
+
type: "uint256[][]"
|
|
3949
|
+
},
|
|
3950
|
+
{
|
|
3951
|
+
internalType: "uint256[][]",
|
|
3952
|
+
name: "outCommitments",
|
|
3953
|
+
type: "uint256[][]"
|
|
3954
|
+
},
|
|
3955
|
+
{
|
|
3956
|
+
internalType: "bytes[][]",
|
|
3957
|
+
name: "encryptedOutputs",
|
|
3958
|
+
type: "bytes[][]"
|
|
3959
|
+
},
|
|
3960
|
+
{
|
|
3961
|
+
internalType: "uint256[]",
|
|
3962
|
+
name: "flatFees",
|
|
3963
|
+
type: "uint256[]"
|
|
3964
|
+
},
|
|
3965
|
+
{
|
|
3966
|
+
internalType: "uint256",
|
|
3967
|
+
name: "timeStamp",
|
|
3968
|
+
type: "uint256"
|
|
3969
|
+
},
|
|
3970
|
+
{
|
|
3971
|
+
components: [
|
|
3972
|
+
{
|
|
3973
|
+
internalType: "uint256",
|
|
3974
|
+
name: "extraRandomization",
|
|
3975
|
+
type: "uint256"
|
|
3976
|
+
},
|
|
3977
|
+
{
|
|
3978
|
+
internalType: "uint256",
|
|
3979
|
+
name: "stealthAddress",
|
|
3980
|
+
type: "uint256"
|
|
3981
|
+
},
|
|
3982
|
+
{
|
|
3983
|
+
internalType: "uint256",
|
|
3984
|
+
name: "H0",
|
|
3985
|
+
type: "uint256"
|
|
3986
|
+
},
|
|
3987
|
+
{
|
|
3988
|
+
internalType: "uint256",
|
|
3989
|
+
name: "H1",
|
|
3990
|
+
type: "uint256"
|
|
3991
|
+
}
|
|
3992
|
+
],
|
|
3993
|
+
internalType: "struct StealthAddressStructure",
|
|
3994
|
+
name: "stealthAddressStructure",
|
|
3995
|
+
type: "tuple"
|
|
3996
|
+
},
|
|
3997
|
+
{
|
|
3998
|
+
internalType: "uint256",
|
|
3999
|
+
name: "rootHashAccessToken",
|
|
4000
|
+
type: "uint256"
|
|
4001
|
+
},
|
|
4002
|
+
{
|
|
4003
|
+
internalType: "uint256",
|
|
4004
|
+
name: "calldataHash",
|
|
4005
|
+
type: "uint256"
|
|
4006
|
+
},
|
|
4007
|
+
{
|
|
4008
|
+
internalType: "uint16",
|
|
4009
|
+
name: "publicSignalCount",
|
|
4010
|
+
type: "uint16"
|
|
4011
|
+
},
|
|
4012
|
+
{
|
|
4013
|
+
internalType: "address",
|
|
4014
|
+
name: "relay",
|
|
4015
|
+
type: "address"
|
|
4016
|
+
},
|
|
4017
|
+
{
|
|
4018
|
+
internalType: "address",
|
|
4019
|
+
name: "externalAddress",
|
|
4020
|
+
type: "address"
|
|
4021
|
+
},
|
|
4022
|
+
{
|
|
4023
|
+
internalType: "uint256",
|
|
4024
|
+
name: "externalActionId",
|
|
4025
|
+
type: "uint256"
|
|
4026
|
+
},
|
|
4027
|
+
{
|
|
4028
|
+
internalType: "bytes",
|
|
4029
|
+
name: "externalActionMetadata",
|
|
4030
|
+
type: "bytes"
|
|
4031
|
+
},
|
|
4032
|
+
{
|
|
4033
|
+
components: [
|
|
4034
|
+
{
|
|
4035
|
+
internalType: "address",
|
|
4036
|
+
name: "preHookContract",
|
|
4037
|
+
type: "address"
|
|
4038
|
+
},
|
|
4039
|
+
{
|
|
4040
|
+
internalType: "address",
|
|
4041
|
+
name: "hookContract",
|
|
4042
|
+
type: "address"
|
|
4043
|
+
},
|
|
4044
|
+
{
|
|
4045
|
+
internalType: "bytes",
|
|
4046
|
+
name: "preHookMetadata",
|
|
4047
|
+
type: "bytes"
|
|
4048
|
+
},
|
|
4049
|
+
{
|
|
4050
|
+
internalType: "bytes",
|
|
4051
|
+
name: "postHookMetadata",
|
|
4052
|
+
type: "bytes"
|
|
4053
|
+
}
|
|
4054
|
+
],
|
|
4055
|
+
internalType: "struct HookData",
|
|
4056
|
+
name: "hookData",
|
|
4057
|
+
type: "tuple"
|
|
4058
|
+
}
|
|
4059
|
+
],
|
|
4060
|
+
internalType: "struct CircomData",
|
|
4061
|
+
name: "circomData",
|
|
4062
|
+
type: "tuple"
|
|
4063
|
+
}
|
|
4064
|
+
],
|
|
4065
|
+
name: "addTokenAndTransact",
|
|
4066
|
+
outputs: [],
|
|
4067
|
+
stateMutability: "payable",
|
|
4068
|
+
type: "function"
|
|
4069
|
+
},
|
|
4070
|
+
{
|
|
4071
|
+
inputs: [
|
|
4072
|
+
{
|
|
4073
|
+
components: [
|
|
4074
|
+
{
|
|
4075
|
+
internalType: "uint8",
|
|
4076
|
+
name: "v",
|
|
4077
|
+
type: "uint8"
|
|
4078
|
+
},
|
|
4079
|
+
{
|
|
4080
|
+
internalType: "bytes32",
|
|
4081
|
+
name: "r",
|
|
4082
|
+
type: "bytes32"
|
|
4083
|
+
},
|
|
4084
|
+
{
|
|
4085
|
+
internalType: "bytes32",
|
|
4086
|
+
name: "s",
|
|
4087
|
+
type: "bytes32"
|
|
4088
|
+
},
|
|
4089
|
+
{
|
|
4090
|
+
internalType: "uint256",
|
|
4091
|
+
name: "accessKey",
|
|
4092
|
+
type: "uint256"
|
|
4093
|
+
},
|
|
4094
|
+
{
|
|
4095
|
+
internalType: "uint256",
|
|
4096
|
+
name: "nonce",
|
|
4097
|
+
type: "uint256"
|
|
4098
|
+
}
|
|
4099
|
+
],
|
|
4100
|
+
internalType: "struct SignatureData",
|
|
4101
|
+
name: "signatureData",
|
|
4102
|
+
type: "tuple"
|
|
4103
|
+
},
|
|
4104
|
+
{
|
|
4105
|
+
components: [
|
|
4106
|
+
{
|
|
4107
|
+
components: [
|
|
4108
|
+
{
|
|
4109
|
+
internalType: "string",
|
|
4110
|
+
name: "destinationChain",
|
|
4111
|
+
type: "string"
|
|
4112
|
+
},
|
|
4113
|
+
{
|
|
4114
|
+
internalType: "string",
|
|
4115
|
+
name: "destinationAddress",
|
|
4116
|
+
type: "string"
|
|
4117
|
+
},
|
|
4118
|
+
{
|
|
4119
|
+
internalType: "uint256",
|
|
4120
|
+
name: "messageFee",
|
|
4121
|
+
type: "uint256"
|
|
4122
|
+
}
|
|
4123
|
+
],
|
|
4124
|
+
internalType: "struct AxelarChainInfo[]",
|
|
4125
|
+
name: "chains",
|
|
4126
|
+
type: "tuple[]"
|
|
4127
|
+
},
|
|
4128
|
+
{
|
|
4129
|
+
internalType: "uint256",
|
|
4130
|
+
name: "totalMessageFees",
|
|
4131
|
+
type: "uint256"
|
|
4132
|
+
}
|
|
4133
|
+
],
|
|
4134
|
+
internalType: "struct AxelarCapsule",
|
|
4135
|
+
name: "capsule",
|
|
4136
|
+
type: "tuple"
|
|
4137
|
+
}
|
|
4138
|
+
],
|
|
4139
|
+
name: "addTokenCrossChain",
|
|
4140
|
+
outputs: [],
|
|
4141
|
+
stateMutability: "payable",
|
|
4142
|
+
type: "function"
|
|
4143
|
+
},
|
|
4144
|
+
{
|
|
4145
|
+
inputs: [
|
|
4146
|
+
{
|
|
4147
|
+
components: [
|
|
4148
|
+
{
|
|
4149
|
+
internalType: "uint256",
|
|
4150
|
+
name: "accessToken",
|
|
4151
|
+
type: "uint256"
|
|
4152
|
+
},
|
|
4153
|
+
{
|
|
4154
|
+
internalType: "address",
|
|
4155
|
+
name: "ethAddress",
|
|
4156
|
+
type: "address"
|
|
4157
|
+
}
|
|
4158
|
+
],
|
|
4159
|
+
internalType: "struct AccessTokenWithAddress[]",
|
|
4160
|
+
name: "accessObjects",
|
|
4161
|
+
type: "tuple[]"
|
|
4162
|
+
}
|
|
4163
|
+
],
|
|
4164
|
+
name: "approveTokens",
|
|
4165
|
+
outputs: [],
|
|
4166
|
+
stateMutability: "nonpayable",
|
|
4167
|
+
type: "function"
|
|
4168
|
+
},
|
|
4169
|
+
{
|
|
4170
|
+
inputs: [
|
|
4171
|
+
{
|
|
4172
|
+
internalType: "uint256",
|
|
4173
|
+
name: "accessKey",
|
|
4174
|
+
type: "uint256"
|
|
4175
|
+
},
|
|
4176
|
+
{
|
|
4177
|
+
internalType: "uint256",
|
|
4178
|
+
name: "index",
|
|
4179
|
+
type: "uint256"
|
|
4180
|
+
}
|
|
4181
|
+
],
|
|
4182
|
+
name: "blacklistAccessKey",
|
|
4183
|
+
outputs: [],
|
|
4184
|
+
stateMutability: "nonpayable",
|
|
4185
|
+
type: "function"
|
|
4186
|
+
},
|
|
4187
|
+
{
|
|
4188
|
+
inputs: [
|
|
4189
|
+
{
|
|
4190
|
+
internalType: "address",
|
|
4191
|
+
name: "_address",
|
|
4192
|
+
type: "address"
|
|
4193
|
+
}
|
|
4194
|
+
],
|
|
4195
|
+
name: "blacklistAddress",
|
|
4196
|
+
outputs: [],
|
|
4197
|
+
stateMutability: "nonpayable",
|
|
4198
|
+
type: "function"
|
|
4199
|
+
},
|
|
4200
|
+
{
|
|
4201
|
+
inputs: [
|
|
4202
|
+
{
|
|
4203
|
+
internalType: "uint256",
|
|
4204
|
+
name: "rootHashAccessToken",
|
|
4205
|
+
type: "uint256"
|
|
4206
|
+
},
|
|
4207
|
+
{
|
|
4208
|
+
internalType: "address",
|
|
4209
|
+
name: "sender",
|
|
4210
|
+
type: "address"
|
|
4211
|
+
}
|
|
4212
|
+
],
|
|
4213
|
+
name: "checkForRootHash",
|
|
4214
|
+
outputs: [
|
|
4215
|
+
{
|
|
4216
|
+
internalType: "bool",
|
|
4217
|
+
name: "",
|
|
4218
|
+
type: "bool"
|
|
4219
|
+
}
|
|
4220
|
+
],
|
|
4221
|
+
stateMutability: "view",
|
|
4222
|
+
type: "function"
|
|
4223
|
+
},
|
|
4224
|
+
{
|
|
4225
|
+
inputs: [
|
|
4226
|
+
{
|
|
4227
|
+
internalType: "uint256",
|
|
4228
|
+
name: "leaf",
|
|
4229
|
+
type: "uint256"
|
|
4230
|
+
}
|
|
4231
|
+
],
|
|
4232
|
+
name: "getAccessTokenRootHash",
|
|
4233
|
+
outputs: [
|
|
4234
|
+
{
|
|
4235
|
+
internalType: "uint256",
|
|
4236
|
+
name: "newRoot",
|
|
4237
|
+
type: "uint256"
|
|
4238
|
+
}
|
|
4239
|
+
],
|
|
4240
|
+
stateMutability: "view",
|
|
4241
|
+
type: "function"
|
|
4242
|
+
},
|
|
4243
|
+
{
|
|
4244
|
+
inputs: [
|
|
4245
|
+
{
|
|
4246
|
+
internalType: "uint256",
|
|
4247
|
+
name: "accessKey",
|
|
4248
|
+
type: "uint256"
|
|
4249
|
+
}
|
|
4250
|
+
],
|
|
4251
|
+
name: "hasToken",
|
|
4252
|
+
outputs: [
|
|
4253
|
+
{
|
|
4254
|
+
internalType: "bool",
|
|
4255
|
+
name: "",
|
|
4256
|
+
type: "bool"
|
|
4257
|
+
}
|
|
4258
|
+
],
|
|
4259
|
+
stateMutability: "view",
|
|
4260
|
+
type: "function"
|
|
4261
|
+
},
|
|
4262
|
+
{
|
|
4263
|
+
inputs: [],
|
|
4264
|
+
name: "hinkal",
|
|
4265
|
+
outputs: [
|
|
4266
|
+
{
|
|
4267
|
+
internalType: "address",
|
|
4268
|
+
name: "",
|
|
4269
|
+
type: "address"
|
|
4270
|
+
}
|
|
4271
|
+
],
|
|
4272
|
+
stateMutability: "view",
|
|
4273
|
+
type: "function"
|
|
4274
|
+
},
|
|
4275
|
+
{
|
|
4276
|
+
inputs: [],
|
|
4277
|
+
name: "levels",
|
|
4278
|
+
outputs: [
|
|
4279
|
+
{
|
|
4280
|
+
internalType: "uint128",
|
|
4281
|
+
name: "",
|
|
4282
|
+
type: "uint128"
|
|
4283
|
+
}
|
|
4284
|
+
],
|
|
4285
|
+
stateMutability: "view",
|
|
4286
|
+
type: "function"
|
|
4287
|
+
},
|
|
4288
|
+
{
|
|
4289
|
+
inputs: [
|
|
4290
|
+
{
|
|
4291
|
+
components: [
|
|
4292
|
+
{
|
|
4293
|
+
components: [
|
|
4294
|
+
{
|
|
4295
|
+
internalType: "string",
|
|
4296
|
+
name: "destinationChain",
|
|
4297
|
+
type: "string"
|
|
4298
|
+
},
|
|
4299
|
+
{
|
|
4300
|
+
internalType: "string",
|
|
4301
|
+
name: "destinationAddress",
|
|
4302
|
+
type: "string"
|
|
4303
|
+
},
|
|
4304
|
+
{
|
|
4305
|
+
internalType: "uint256",
|
|
4306
|
+
name: "messageFee",
|
|
4307
|
+
type: "uint256"
|
|
4308
|
+
}
|
|
4309
|
+
],
|
|
4310
|
+
internalType: "struct AxelarChainInfo[]",
|
|
4311
|
+
name: "chains",
|
|
4312
|
+
type: "tuple[]"
|
|
4313
|
+
},
|
|
4314
|
+
{
|
|
4315
|
+
internalType: "uint256",
|
|
4316
|
+
name: "totalMessageFees",
|
|
4317
|
+
type: "uint256"
|
|
4318
|
+
}
|
|
4319
|
+
],
|
|
4320
|
+
internalType: "struct AxelarCapsule",
|
|
4321
|
+
name: "capsule",
|
|
4322
|
+
type: "tuple"
|
|
4323
|
+
},
|
|
4324
|
+
{
|
|
4325
|
+
internalType: "uint256",
|
|
4326
|
+
name: "accessKey",
|
|
4327
|
+
type: "uint256"
|
|
4328
|
+
}
|
|
4329
|
+
],
|
|
4330
|
+
name: "migrateAccessToken",
|
|
4331
|
+
outputs: [],
|
|
4332
|
+
stateMutability: "payable",
|
|
4333
|
+
type: "function"
|
|
4334
|
+
},
|
|
4335
|
+
{
|
|
4336
|
+
inputs: [],
|
|
4337
|
+
name: "minIndex",
|
|
4338
|
+
outputs: [
|
|
4339
|
+
{
|
|
4340
|
+
internalType: "uint256",
|
|
4341
|
+
name: "",
|
|
4342
|
+
type: "uint256"
|
|
4343
|
+
}
|
|
4344
|
+
],
|
|
4345
|
+
stateMutability: "view",
|
|
4346
|
+
type: "function"
|
|
4347
|
+
},
|
|
4348
|
+
{
|
|
4349
|
+
inputs: [
|
|
4350
|
+
{
|
|
4351
|
+
internalType: "address",
|
|
4352
|
+
name: "",
|
|
4353
|
+
type: "address"
|
|
4354
|
+
},
|
|
4355
|
+
{
|
|
4356
|
+
internalType: "address",
|
|
4357
|
+
name: "",
|
|
4358
|
+
type: "address"
|
|
4359
|
+
},
|
|
4360
|
+
{
|
|
4361
|
+
internalType: "uint256",
|
|
4362
|
+
name: "",
|
|
4363
|
+
type: "uint256"
|
|
4364
|
+
},
|
|
4365
|
+
{
|
|
4366
|
+
internalType: "bytes",
|
|
4367
|
+
name: "",
|
|
4368
|
+
type: "bytes"
|
|
4369
|
+
}
|
|
4370
|
+
],
|
|
4371
|
+
name: "onERC721Received",
|
|
4372
|
+
outputs: [
|
|
4373
|
+
{
|
|
4374
|
+
internalType: "bytes4",
|
|
4375
|
+
name: "",
|
|
4376
|
+
type: "bytes4"
|
|
4377
|
+
}
|
|
4378
|
+
],
|
|
4379
|
+
stateMutability: "pure",
|
|
4380
|
+
type: "function"
|
|
4381
|
+
},
|
|
4382
|
+
{
|
|
4383
|
+
inputs: [],
|
|
4384
|
+
name: "owner",
|
|
4385
|
+
outputs: [
|
|
4386
|
+
{
|
|
4387
|
+
internalType: "address",
|
|
4388
|
+
name: "",
|
|
4389
|
+
type: "address"
|
|
4390
|
+
}
|
|
4391
|
+
],
|
|
4392
|
+
stateMutability: "view",
|
|
4393
|
+
type: "function"
|
|
4394
|
+
},
|
|
4395
|
+
{
|
|
4396
|
+
inputs: [],
|
|
4397
|
+
name: "pendingOwner",
|
|
4398
|
+
outputs: [
|
|
4399
|
+
{
|
|
4400
|
+
internalType: "address",
|
|
4401
|
+
name: "",
|
|
4402
|
+
type: "address"
|
|
4403
|
+
}
|
|
4404
|
+
],
|
|
4405
|
+
stateMutability: "view",
|
|
4406
|
+
type: "function"
|
|
4407
|
+
},
|
|
4408
|
+
{
|
|
4409
|
+
inputs: [
|
|
4410
|
+
{
|
|
4411
|
+
internalType: "address",
|
|
4412
|
+
name: "sender",
|
|
4413
|
+
type: "address"
|
|
4414
|
+
}
|
|
4415
|
+
],
|
|
4416
|
+
name: "registerCheck",
|
|
4417
|
+
outputs: [],
|
|
4418
|
+
stateMutability: "view",
|
|
4419
|
+
type: "function"
|
|
4420
|
+
},
|
|
4421
|
+
{
|
|
4422
|
+
inputs: [
|
|
4423
|
+
{
|
|
4424
|
+
internalType: "address",
|
|
4425
|
+
name: "_address",
|
|
4426
|
+
type: "address"
|
|
4427
|
+
}
|
|
4428
|
+
],
|
|
4429
|
+
name: "removeAddressFromBlacklist",
|
|
4430
|
+
outputs: [],
|
|
4431
|
+
stateMutability: "nonpayable",
|
|
4432
|
+
type: "function"
|
|
4433
|
+
},
|
|
4434
|
+
{
|
|
4435
|
+
inputs: [],
|
|
4436
|
+
name: "renounceOwnership",
|
|
4437
|
+
outputs: [],
|
|
4438
|
+
stateMutability: "view",
|
|
4439
|
+
type: "function"
|
|
4440
|
+
},
|
|
4441
|
+
{
|
|
4442
|
+
inputs: [
|
|
4443
|
+
{
|
|
4444
|
+
internalType: "address",
|
|
4445
|
+
name: "_accessToken",
|
|
4446
|
+
type: "address"
|
|
4447
|
+
}
|
|
4448
|
+
],
|
|
4449
|
+
name: "setAccessToken",
|
|
4450
|
+
outputs: [],
|
|
4451
|
+
stateMutability: "nonpayable",
|
|
4452
|
+
type: "function"
|
|
4453
|
+
},
|
|
4454
|
+
{
|
|
4455
|
+
inputs: [
|
|
4456
|
+
{
|
|
4457
|
+
internalType: "address",
|
|
4458
|
+
name: "_gasService",
|
|
4459
|
+
type: "address"
|
|
4460
|
+
}
|
|
4461
|
+
],
|
|
4462
|
+
name: "setAxelarGasService",
|
|
4463
|
+
outputs: [],
|
|
4464
|
+
stateMutability: "nonpayable",
|
|
4465
|
+
type: "function"
|
|
4466
|
+
},
|
|
4467
|
+
{
|
|
4468
|
+
inputs: [
|
|
4469
|
+
{
|
|
4470
|
+
components: [
|
|
4471
|
+
{
|
|
4472
|
+
internalType: "string",
|
|
4473
|
+
name: "sourceChain",
|
|
4474
|
+
type: "string"
|
|
4475
|
+
},
|
|
4476
|
+
{
|
|
4477
|
+
internalType: "address",
|
|
4478
|
+
name: "sourceAddress",
|
|
4479
|
+
type: "address"
|
|
4480
|
+
}
|
|
4481
|
+
],
|
|
4482
|
+
internalType: "struct ICrossChainAccessToken.CrossChainAccessTokenRegistryUpdate[]",
|
|
4483
|
+
name: "updates",
|
|
4484
|
+
type: "tuple[]"
|
|
4485
|
+
}
|
|
4486
|
+
],
|
|
4487
|
+
name: "setCrossChainAccessTokenRegistry",
|
|
4488
|
+
outputs: [],
|
|
4489
|
+
stateMutability: "nonpayable",
|
|
4490
|
+
type: "function"
|
|
4491
|
+
},
|
|
4492
|
+
{
|
|
4493
|
+
inputs: [
|
|
4494
|
+
{
|
|
4495
|
+
internalType: "uint256",
|
|
4496
|
+
name: "_mintingFee",
|
|
4497
|
+
type: "uint256"
|
|
4498
|
+
}
|
|
4499
|
+
],
|
|
4500
|
+
name: "setMintingFee",
|
|
4501
|
+
outputs: [],
|
|
4502
|
+
stateMutability: "nonpayable",
|
|
4503
|
+
type: "function"
|
|
4504
|
+
},
|
|
4505
|
+
{
|
|
4506
|
+
inputs: [
|
|
4507
|
+
{
|
|
4508
|
+
internalType: "address",
|
|
4509
|
+
name: "newOwner",
|
|
4510
|
+
type: "address"
|
|
4511
|
+
}
|
|
4512
|
+
],
|
|
4513
|
+
name: "transferOwnership",
|
|
4514
|
+
outputs: [],
|
|
4515
|
+
stateMutability: "nonpayable",
|
|
4516
|
+
type: "function"
|
|
4517
|
+
},
|
|
4518
|
+
{
|
|
4519
|
+
inputs: [
|
|
4520
|
+
{
|
|
4521
|
+
internalType: "uint256",
|
|
4522
|
+
name: "",
|
|
4523
|
+
type: "uint256"
|
|
4524
|
+
}
|
|
4525
|
+
],
|
|
4526
|
+
name: "usedNonces",
|
|
4527
|
+
outputs: [
|
|
4528
|
+
{
|
|
4529
|
+
internalType: "bool",
|
|
4530
|
+
name: "",
|
|
4531
|
+
type: "bool"
|
|
4532
|
+
}
|
|
4533
|
+
],
|
|
4534
|
+
stateMutability: "view",
|
|
4535
|
+
type: "function"
|
|
4536
|
+
},
|
|
4537
|
+
{
|
|
4538
|
+
inputs: [],
|
|
4539
|
+
name: "withdraw",
|
|
4540
|
+
outputs: [],
|
|
4541
|
+
stateMutability: "payable",
|
|
4542
|
+
type: "function"
|
|
4543
|
+
},
|
|
4544
|
+
{
|
|
4545
|
+
stateMutability: "payable",
|
|
4546
|
+
type: "receive"
|
|
4547
|
+
}
|
|
4548
|
+
], y = "0x965e9591014b8FFEb9fE855463C3c350aC877A05", u = "0x3A465AE353369FBF95A3eE70519f4e8c5F47EfCE", d = "0xc4eEb832251a1823b5CB70DBc13e6ABf7fF6b5e2", l = "0xB937A3F956d63Eb578AB4De6904e46F4A8038D44", o = "0x5B21A6099bFd2b4503F5a57FFa6056d12ad1F09F", m = "0x43EAA89004F5cE4CDeA980B15FCF0103F44011E8", T = [
|
|
3718
4549
|
{
|
|
3719
4550
|
inputs: [
|
|
3720
4551
|
{
|
|
@@ -4095,7 +4926,7 @@ const e = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", t = [
|
|
|
4095
4926
|
stateMutability: "payable",
|
|
4096
4927
|
type: "receive"
|
|
4097
4928
|
}
|
|
4098
|
-
],
|
|
4929
|
+
], c = "0x28e3B63F197cc479cad5ad80Ba557412910ED808", b = [
|
|
4099
4930
|
{
|
|
4100
4931
|
inputs: [
|
|
4101
4932
|
{
|
|
@@ -4476,7 +5307,7 @@ const e = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", t = [
|
|
|
4476
5307
|
stateMutability: "payable",
|
|
4477
5308
|
type: "receive"
|
|
4478
5309
|
}
|
|
4479
|
-
],
|
|
5310
|
+
], f = "0x041Ee45aFBf1151E92DC733CE963226665DE52dE", A = [
|
|
4480
5311
|
{
|
|
4481
5312
|
inputs: [
|
|
4482
5313
|
{
|
|
@@ -4899,7 +5730,7 @@ const e = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", t = [
|
|
|
4899
5730
|
stateMutability: "payable",
|
|
4900
5731
|
type: "receive"
|
|
4901
5732
|
}
|
|
4902
|
-
],
|
|
5733
|
+
], w = [
|
|
4903
5734
|
{
|
|
4904
5735
|
inputs: [
|
|
4905
5736
|
{
|
|
@@ -5340,7 +6171,7 @@ const e = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", t = [
|
|
|
5340
6171
|
stateMutability: "nonpayable",
|
|
5341
6172
|
type: "function"
|
|
5342
6173
|
}
|
|
5343
|
-
],
|
|
6174
|
+
], M = "0x06CB2B86bAaB196CCC04DFdf8eBdFA7F72719807", v = [
|
|
5344
6175
|
{
|
|
5345
6176
|
inputs: [
|
|
5346
6177
|
{
|
|
@@ -5745,7 +6576,7 @@ const e = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", t = [
|
|
|
5745
6576
|
stateMutability: "payable",
|
|
5746
6577
|
type: "receive"
|
|
5747
6578
|
}
|
|
5748
|
-
],
|
|
6579
|
+
], k = [
|
|
5749
6580
|
{
|
|
5750
6581
|
inputs: [
|
|
5751
6582
|
{
|
|
@@ -6325,7 +7156,7 @@ const e = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", t = [
|
|
|
6325
7156
|
stateMutability: "nonpayable",
|
|
6326
7157
|
type: "function"
|
|
6327
7158
|
}
|
|
6328
|
-
],
|
|
7159
|
+
], h = [
|
|
6329
7160
|
{
|
|
6330
7161
|
inputs: [
|
|
6331
7162
|
{
|
|
@@ -6727,7 +7558,7 @@ const e = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", t = [
|
|
|
6727
7558
|
stateMutability: "payable",
|
|
6728
7559
|
type: "receive"
|
|
6729
7560
|
}
|
|
6730
|
-
],
|
|
7561
|
+
], x = [
|
|
6731
7562
|
{
|
|
6732
7563
|
inputs: [
|
|
6733
7564
|
{
|
|
@@ -7123,7 +7954,7 @@ const e = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", t = [
|
|
|
7123
7954
|
stateMutability: "view",
|
|
7124
7955
|
type: "function"
|
|
7125
7956
|
}
|
|
7126
|
-
],
|
|
7957
|
+
], g = [
|
|
7127
7958
|
{
|
|
7128
7959
|
inputs: [
|
|
7129
7960
|
{
|
|
@@ -7643,7 +8474,7 @@ const e = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", t = [
|
|
|
7643
8474
|
stateMutability: "nonpayable",
|
|
7644
8475
|
type: "function"
|
|
7645
8476
|
}
|
|
7646
|
-
],
|
|
8477
|
+
], H = "0xd7412653700DD686306923d3f294bc080c887d35", O = "0xF42DbA601EF3db176e2F4534830bDA3E08163B47", C = [
|
|
7647
8478
|
{
|
|
7648
8479
|
inputs: [
|
|
7649
8480
|
{
|
|
@@ -8105,7 +8936,7 @@ const e = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", t = [
|
|
|
8105
8936
|
stateMutability: "payable",
|
|
8106
8937
|
type: "receive"
|
|
8107
8938
|
}
|
|
8108
|
-
],
|
|
8939
|
+
], S = "0x0F8c726cF0Fed77ecC1e29383a3626778077D368", I = [
|
|
8109
8940
|
{
|
|
8110
8941
|
inputs: [
|
|
8111
8942
|
{
|
|
@@ -8580,7 +9411,7 @@ const e = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", t = [
|
|
|
8580
9411
|
stateMutability: "payable",
|
|
8581
9412
|
type: "receive"
|
|
8582
9413
|
}
|
|
8583
|
-
],
|
|
9414
|
+
], R = "0xB8ffeA6e14eb89B2Be483Bfa7578EB8f3957790c", E = [
|
|
8584
9415
|
{
|
|
8585
9416
|
inputs: [
|
|
8586
9417
|
{
|
|
@@ -9218,7 +10049,7 @@ const e = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", t = [
|
|
|
9218
10049
|
stateMutability: "view",
|
|
9219
10050
|
type: "function"
|
|
9220
10051
|
}
|
|
9221
|
-
],
|
|
10052
|
+
], D = [
|
|
9222
10053
|
{
|
|
9223
10054
|
inputs: [
|
|
9224
10055
|
{
|
|
@@ -9804,7 +10635,7 @@ const e = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", t = [
|
|
|
9804
10635
|
stateMutability: "nonpayable",
|
|
9805
10636
|
type: "function"
|
|
9806
10637
|
}
|
|
9807
|
-
],
|
|
10638
|
+
], _ = "0xc368Be2787E23D7b9C99802B9562E6ae1fE62f01", B = [
|
|
9808
10639
|
{
|
|
9809
10640
|
inputs: [
|
|
9810
10641
|
{
|
|
@@ -10116,7 +10947,7 @@ const e = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", t = [
|
|
|
10116
10947
|
stateMutability: "payable",
|
|
10117
10948
|
type: "receive"
|
|
10118
10949
|
}
|
|
10119
|
-
],
|
|
10950
|
+
], F = "0xAb98D8AC0BFD0A8cf0A922012F5D82a7Bc8F92D4", P = [
|
|
10120
10951
|
{
|
|
10121
10952
|
inputs: [
|
|
10122
10953
|
{
|
|
@@ -10749,7 +11580,7 @@ const e = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", t = [
|
|
|
10749
11580
|
stateMutability: "payable",
|
|
10750
11581
|
type: "receive"
|
|
10751
11582
|
}
|
|
10752
|
-
],
|
|
11583
|
+
], V = "0xCa1EA03182B922F5E938459aA3a6d8dA62004AEB", N = [
|
|
10753
11584
|
{
|
|
10754
11585
|
inputs: [
|
|
10755
11586
|
{
|
|
@@ -11014,7 +11845,7 @@ const e = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", t = [
|
|
|
11014
11845
|
stateMutability: "view",
|
|
11015
11846
|
type: "function"
|
|
11016
11847
|
}
|
|
11017
|
-
],
|
|
11848
|
+
], W = "0x5c358f53a088ff3eEa1CB56F1fe870BAc392d02f", L = [
|
|
11018
11849
|
{
|
|
11019
11850
|
inputs: [
|
|
11020
11851
|
{
|
|
@@ -12284,7 +13115,7 @@ const e = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", t = [
|
|
|
12284
13115
|
stateMutability: "payable",
|
|
12285
13116
|
type: "receive"
|
|
12286
13117
|
}
|
|
12287
|
-
],
|
|
13118
|
+
], z = [
|
|
12288
13119
|
{
|
|
12289
13120
|
inputs: [
|
|
12290
13121
|
{
|
|
@@ -13150,7 +13981,7 @@ const e = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", t = [
|
|
|
13150
13981
|
stateMutability: "nonpayable",
|
|
13151
13982
|
type: "function"
|
|
13152
13983
|
}
|
|
13153
|
-
],
|
|
13984
|
+
], K = "0x5Ea8c7Db069b9E81fc8E6EC43544F7fE826aB9B3", U = [
|
|
13154
13985
|
{
|
|
13155
13986
|
inputs: [
|
|
13156
13987
|
{
|
|
@@ -13188,96 +14019,100 @@ const e = "0xAA8f973E3948f86f4fe932a96084F9A054323f4f", t = [
|
|
|
13188
14019
|
stateMutability: "view",
|
|
13189
14020
|
type: "function"
|
|
13190
14021
|
}
|
|
13191
|
-
],
|
|
14022
|
+
], X = "0xa9498AAdC99d6c7C7B5A49638DA945d29a36d713", G = {
|
|
13192
14023
|
hinkalAddress: e,
|
|
13193
14024
|
hinkalABI: t,
|
|
13194
14025
|
hinkalHelperAddress: n,
|
|
13195
14026
|
hinkalHelperABI: a,
|
|
13196
14027
|
crossChainAccessTokenAddress: i,
|
|
13197
14028
|
crossChainAccessTokenABI: s,
|
|
13198
|
-
|
|
13199
|
-
|
|
13200
|
-
|
|
13201
|
-
|
|
13202
|
-
|
|
13203
|
-
|
|
13204
|
-
|
|
13205
|
-
|
|
13206
|
-
|
|
13207
|
-
|
|
13208
|
-
|
|
13209
|
-
|
|
13210
|
-
|
|
13211
|
-
|
|
13212
|
-
|
|
13213
|
-
|
|
13214
|
-
|
|
13215
|
-
|
|
13216
|
-
|
|
13217
|
-
|
|
13218
|
-
|
|
13219
|
-
|
|
13220
|
-
|
|
13221
|
-
|
|
13222
|
-
|
|
13223
|
-
|
|
13224
|
-
|
|
13225
|
-
|
|
13226
|
-
|
|
13227
|
-
|
|
13228
|
-
|
|
13229
|
-
|
|
13230
|
-
|
|
13231
|
-
|
|
13232
|
-
|
|
13233
|
-
|
|
13234
|
-
|
|
13235
|
-
|
|
14029
|
+
crossChainAccessTokenManagerAddress: p,
|
|
14030
|
+
crossChainAccessTokenManagerABI: r,
|
|
14031
|
+
uniswapExternalActionAddress: y,
|
|
14032
|
+
odosExternalActionInstanceAddress: u,
|
|
14033
|
+
oneInchExternalActionInstanceAddress: d,
|
|
14034
|
+
beefyExternalActionInstanceAddress: l,
|
|
14035
|
+
beefyStakeExternalActionInstanceAddress: o,
|
|
14036
|
+
curveExternalActionInstanceAddress: m,
|
|
14037
|
+
curveExternalActionABI: T,
|
|
14038
|
+
curveExternalActionDynamicInstanceAddress: c,
|
|
14039
|
+
curveExternalActionDynamicABI: b,
|
|
14040
|
+
curveStakeExternalActionInstanceAddress: f,
|
|
14041
|
+
curveStakeExternalActionABI: A,
|
|
14042
|
+
wrappedStakedCurveLpABI: w,
|
|
14043
|
+
convexExternalActionInstanceAddress: M,
|
|
14044
|
+
convexExternalActionABI: v,
|
|
14045
|
+
wrappedStakedConvexLpABI: k,
|
|
14046
|
+
BeefyExternalActionABI: h,
|
|
14047
|
+
BeefyStakeExternalActionABI: x,
|
|
14048
|
+
WrappedStakedBeefyLpABI: g,
|
|
14049
|
+
lidoExternalActionEthAddress: H,
|
|
14050
|
+
lidoExternalActionMaticAddress: O,
|
|
14051
|
+
pendleExternalActionABI: C,
|
|
14052
|
+
pendleExternalActionInstanceAddress: S,
|
|
14053
|
+
pendleLPExternalActionABI: I,
|
|
14054
|
+
pendleLPExternalActionInstanceAddress: R,
|
|
14055
|
+
WstYtTokenABI: E,
|
|
14056
|
+
WstPendleLPABI: D,
|
|
14057
|
+
volatileVaultInstanceAddress: _,
|
|
14058
|
+
VolatileVaultABI: B,
|
|
14059
|
+
volatileTokenActionInstanceAddress: F,
|
|
14060
|
+
VolatileTokenActionABI: P,
|
|
14061
|
+
hinkalWrapperAddress: V,
|
|
14062
|
+
HinkalWrapperABI: N,
|
|
14063
|
+
hinkalStakeExternalActionAddress: W,
|
|
14064
|
+
HinkalStakeExternalActionABI: L,
|
|
14065
|
+
HTokenABI: z,
|
|
14066
|
+
hETHOracleAddress: K,
|
|
14067
|
+
HTokenOracleABI: U,
|
|
14068
|
+
emporiumAddress: X
|
|
13236
14069
|
};
|
|
13237
14070
|
export {
|
|
13238
|
-
|
|
13239
|
-
|
|
13240
|
-
|
|
13241
|
-
|
|
13242
|
-
|
|
13243
|
-
|
|
13244
|
-
|
|
13245
|
-
|
|
13246
|
-
|
|
13247
|
-
|
|
13248
|
-
|
|
13249
|
-
|
|
13250
|
-
|
|
13251
|
-
|
|
13252
|
-
|
|
14071
|
+
h as BeefyExternalActionABI,
|
|
14072
|
+
x as BeefyStakeExternalActionABI,
|
|
14073
|
+
z as HTokenABI,
|
|
14074
|
+
U as HTokenOracleABI,
|
|
14075
|
+
L as HinkalStakeExternalActionABI,
|
|
14076
|
+
N as HinkalWrapperABI,
|
|
14077
|
+
P as VolatileTokenActionABI,
|
|
14078
|
+
B as VolatileVaultABI,
|
|
14079
|
+
g as WrappedStakedBeefyLpABI,
|
|
14080
|
+
D as WstPendleLPABI,
|
|
14081
|
+
E as WstYtTokenABI,
|
|
14082
|
+
l as beefyExternalActionInstanceAddress,
|
|
14083
|
+
o as beefyStakeExternalActionInstanceAddress,
|
|
14084
|
+
v as convexExternalActionABI,
|
|
14085
|
+
M as convexExternalActionInstanceAddress,
|
|
13253
14086
|
s as crossChainAccessTokenABI,
|
|
13254
14087
|
i as crossChainAccessTokenAddress,
|
|
13255
|
-
|
|
13256
|
-
|
|
13257
|
-
|
|
13258
|
-
|
|
13259
|
-
|
|
13260
|
-
|
|
13261
|
-
|
|
13262
|
-
|
|
13263
|
-
|
|
14088
|
+
r as crossChainAccessTokenManagerABI,
|
|
14089
|
+
p as crossChainAccessTokenManagerAddress,
|
|
14090
|
+
T as curveExternalActionABI,
|
|
14091
|
+
b as curveExternalActionDynamicABI,
|
|
14092
|
+
c as curveExternalActionDynamicInstanceAddress,
|
|
14093
|
+
m as curveExternalActionInstanceAddress,
|
|
14094
|
+
A as curveStakeExternalActionABI,
|
|
14095
|
+
f as curveStakeExternalActionInstanceAddress,
|
|
14096
|
+
G as default,
|
|
14097
|
+
X as emporiumAddress,
|
|
14098
|
+
K as hETHOracleAddress,
|
|
13264
14099
|
t as hinkalABI,
|
|
13265
14100
|
e as hinkalAddress,
|
|
13266
14101
|
a as hinkalHelperABI,
|
|
13267
14102
|
n as hinkalHelperAddress,
|
|
13268
|
-
|
|
13269
|
-
|
|
13270
|
-
|
|
13271
|
-
|
|
13272
|
-
|
|
13273
|
-
|
|
13274
|
-
|
|
13275
|
-
|
|
13276
|
-
|
|
13277
|
-
|
|
13278
|
-
|
|
13279
|
-
|
|
13280
|
-
|
|
13281
|
-
|
|
13282
|
-
|
|
14103
|
+
W as hinkalStakeExternalActionAddress,
|
|
14104
|
+
V as hinkalWrapperAddress,
|
|
14105
|
+
H as lidoExternalActionEthAddress,
|
|
14106
|
+
O as lidoExternalActionMaticAddress,
|
|
14107
|
+
u as odosExternalActionInstanceAddress,
|
|
14108
|
+
d as oneInchExternalActionInstanceAddress,
|
|
14109
|
+
C as pendleExternalActionABI,
|
|
14110
|
+
S as pendleExternalActionInstanceAddress,
|
|
14111
|
+
I as pendleLPExternalActionABI,
|
|
14112
|
+
R as pendleLPExternalActionInstanceAddress,
|
|
14113
|
+
y as uniswapExternalActionAddress,
|
|
14114
|
+
F as volatileTokenActionInstanceAddress,
|
|
14115
|
+
_ as volatileVaultInstanceAddress,
|
|
14116
|
+
k as wrappedStakedConvexLpABI,
|
|
14117
|
+
w as wrappedStakedCurveLpABI
|
|
13283
14118
|
};
|