@augustdigital/sdk 4.0.8-alpha → 4.0.8-beta
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/README.md +169 -11
- package/lib/abis/AddressResolver.d.ts +28 -0
- package/lib/abis/AddressResolver.js +23 -0
- package/lib/abis/AddressResolver.js.map +1 -0
- package/lib/abis/ChainlinkV3.d.ts +87 -0
- package/lib/abis/ChainlinkV3.js +117 -0
- package/lib/abis/ChainlinkV3.js.map +1 -0
- package/lib/abis/ERC20.d.ts +168 -0
- package/lib/abis/ERC20.js +226 -0
- package/lib/abis/ERC20.js.map +1 -0
- package/lib/abis/ERC20_Bytes32.d.ts +135 -0
- package/lib/abis/ERC20_Bytes32.js +192 -0
- package/lib/abis/ERC20_Bytes32.js.map +1 -0
- package/lib/abis/ERC4626.d.ts +363 -0
- package/lib/abis/ERC4626.js +506 -0
- package/lib/abis/ERC4626.js.map +1 -0
- package/lib/abis/ERC721.d.ts +230 -0
- package/lib/abis/ERC721.js +320 -0
- package/lib/abis/ERC721.js.map +1 -0
- package/lib/abis/FeeOracle.d.ts +120 -0
- package/lib/abis/FeeOracle.js +161 -0
- package/lib/abis/FeeOracle.js.map +1 -0
- package/lib/abis/LendingPool.d.ts +1393 -0
- package/lib/abis/LendingPool.js +1806 -0
- package/lib/abis/LendingPool.js.map +1 -0
- package/lib/abis/LendingPoolV2.d.ts +55 -0
- package/lib/abis/LendingPoolV2.js +1832 -0
- package/lib/abis/LendingPoolV2.js.map +1 -0
- package/lib/abis/LendingPoolV3.d.ts +35 -0
- package/lib/abis/LendingPoolV3.js +1160 -0
- package/lib/abis/LendingPoolV3.js.map +1 -0
- package/lib/abis/Loan.d.ts +837 -0
- package/lib/abis/Loan.js +1080 -0
- package/lib/abis/Loan.js.map +1 -0
- package/lib/abis/Multicall3.d.ts +30 -0
- package/lib/abis/Multicall3.js +94 -0
- package/lib/abis/Multicall3.js.map +1 -0
- package/lib/abis/PoolAdapter.d.ts +76 -0
- package/lib/abis/PoolAdapter.js +412 -0
- package/lib/abis/PoolAdapter.js.map +1 -0
- package/lib/abis/RewardDistributor.d.ts +46 -0
- package/lib/abis/RewardDistributor.js +352 -0
- package/lib/abis/RewardDistributor.js.map +1 -0
- package/lib/abis/SmartAccount.d.ts +16 -0
- package/lib/abis/SmartAccount.js +16 -0
- package/lib/abis/SmartAccount.js.map +1 -0
- package/lib/abis/TextResolver.d.ts +16 -0
- package/lib/abis/TextResolver.js +16 -0
- package/lib/abis/TextResolver.js.map +1 -0
- package/lib/abis/TokenizedVaultV2.d.ts +1354 -0
- package/lib/abis/TokenizedVaultV2.js +1028 -0
- package/lib/abis/TokenizedVaultV2.js.map +1 -0
- package/lib/abis/TokenizedVaultV2Receipt.d.ts +1568 -0
- package/lib/abis/TokenizedVaultV2Receipt.js +1061 -0
- package/lib/abis/TokenizedVaultV2Receipt.js.map +1 -0
- package/lib/abis/TokenizedVaultV2WhitelistedAssets.d.ts +274 -0
- package/lib/abis/TokenizedVaultV2WhitelistedAssets.js +167 -0
- package/lib/abis/TokenizedVaultV2WhitelistedAssets.js.map +1 -0
- package/lib/abis/UniversalResolverResolve.d.ts +69 -0
- package/lib/abis/UniversalResolverResolve.js +35 -0
- package/lib/abis/UniversalResolverResolve.js.map +1 -0
- package/lib/abis/UniversalSignatureValidator.d.ts +17 -0
- package/lib/abis/UniversalSignatureValidator.js +27 -0
- package/lib/abis/UniversalSignatureValidator.js.map +1 -0
- package/lib/abis/WrapperAdapter.d.ts +60 -0
- package/lib/abis/WrapperAdapter.js +150 -0
- package/lib/abis/WrapperAdapter.js.map +1 -0
- package/lib/abis/index.d.ts +22 -0
- package/lib/abis/index.js +39 -0
- package/lib/abis/index.js.map +1 -0
- package/lib/adapters/evm/getters.d.ts +4 -0
- package/lib/adapters/evm/getters.js +152 -0
- package/lib/adapters/evm/getters.js.map +1 -0
- package/lib/adapters/evm/index.d.ts +19 -0
- package/lib/adapters/evm/index.js +54 -0
- package/lib/adapters/evm/index.js.map +1 -0
- package/lib/adapters/evm/utils.d.ts +2 -0
- package/lib/adapters/evm/utils.js +43 -0
- package/lib/adapters/evm/utils.js.map +1 -0
- package/lib/adapters/solana/constants.d.ts +25 -0
- package/lib/adapters/solana/constants.js +32 -0
- package/lib/adapters/solana/constants.js.map +1 -0
- package/lib/adapters/solana/getters.d.ts +3 -0
- package/lib/adapters/solana/getters.js +133 -0
- package/lib/adapters/solana/getters.js.map +1 -0
- package/lib/adapters/solana/idl/vault-idl.d.ts +338 -0
- package/lib/adapters/solana/idl/vault-idl.js +1075 -0
- package/lib/adapters/solana/idl/vault-idl.js.map +1 -0
- package/lib/adapters/solana/index.d.ts +160 -0
- package/lib/adapters/solana/index.js +174 -0
- package/lib/adapters/solana/index.js.map +1 -0
- package/lib/adapters/solana/types.d.ts +58 -0
- package/lib/adapters/solana/types.js +3 -0
- package/lib/adapters/solana/types.js.map +1 -0
- package/lib/adapters/solana/utils.d.ts +116 -0
- package/lib/adapters/solana/utils.js +429 -0
- package/lib/adapters/solana/utils.js.map +1 -0
- package/lib/adapters/solana/vault.actions.d.ts +18 -0
- package/lib/adapters/solana/vault.actions.js +235 -0
- package/lib/adapters/solana/vault.actions.js.map +1 -0
- package/lib/adapters/sui/index.d.ts +0 -0
- package/lib/adapters/sui/index.js +1 -0
- package/lib/adapters/sui/index.js.map +1 -0
- package/lib/core/auth/index.d.ts +1 -0
- package/lib/core/auth/index.js +18 -0
- package/lib/core/auth/index.js.map +1 -0
- package/lib/{verify.js → core/auth/verify.js} +3 -2
- package/lib/core/auth/verify.js.map +1 -0
- package/lib/core/base.class.d.ts +33 -0
- package/lib/core/base.class.js +66 -0
- package/lib/core/base.class.js.map +1 -0
- package/lib/core/constants.core.d.ts +59 -0
- package/lib/core/constants.core.js +63 -0
- package/lib/core/constants.core.js.map +1 -0
- package/lib/core/constants.d.ts +88 -0
- package/lib/core/constants.js +148 -0
- package/lib/core/constants.js.map +1 -0
- package/lib/core/constants.vaults.d.ts +19 -0
- package/lib/core/constants.vaults.js +130 -0
- package/lib/core/constants.vaults.js.map +1 -0
- package/lib/core/constants.web3.d.ts +30 -0
- package/lib/core/constants.web3.js +89 -0
- package/lib/core/constants.web3.js.map +1 -0
- package/lib/core/core.helpers.d.ts +23 -0
- package/lib/core/core.helpers.js +210 -0
- package/lib/core/core.helpers.js.map +1 -0
- package/lib/core/fetcher.d.ts +22 -0
- package/lib/core/fetcher.js +372 -0
- package/lib/core/fetcher.js.map +1 -0
- package/lib/core/helpers.core.d.ts +23 -0
- package/lib/core/helpers.core.js +210 -0
- package/lib/core/helpers.core.js.map +1 -0
- package/lib/core/helpers.vaults.d.ts +15 -0
- package/lib/core/helpers.vaults.js +120 -0
- package/lib/core/helpers.vaults.js.map +1 -0
- package/lib/core/helpers.web3.d.ts +29 -0
- package/lib/core/helpers.web3.js +365 -0
- package/lib/core/helpers.web3.js.map +1 -0
- package/lib/core/index.d.ts +10 -0
- package/lib/core/index.js +27 -0
- package/lib/core/index.js.map +1 -0
- package/lib/core/logger/index.d.ts +21 -0
- package/lib/core/logger/index.js +80 -0
- package/lib/core/logger/index.js.map +1 -0
- package/lib/core/logger/slack.d.ts +12 -0
- package/lib/core/logger/slack.js +49 -0
- package/lib/core/logger/slack.js.map +1 -0
- package/lib/core/read.actions.d.ts +3 -0
- package/lib/core/read.actions.js +39 -0
- package/lib/core/read.actions.js.map +1 -0
- package/lib/core/vault.utils.d.ts +4 -0
- package/lib/core/vault.utils.js +35 -0
- package/lib/core/vault.utils.js.map +1 -0
- package/lib/core/web3.helpers.d.ts +29 -0
- package/lib/core/web3.helpers.js +365 -0
- package/lib/core/web3.helpers.js.map +1 -0
- package/lib/core/write.actions.d.ts +9 -0
- package/lib/core/write.actions.js +51 -0
- package/lib/core/write.actions.js.map +1 -0
- package/lib/index.d.ts +6 -6
- package/lib/index.js +14 -7
- package/lib/index.js.map +1 -1
- package/lib/main.d.ts +88 -14
- package/lib/main.js +54 -17
- package/lib/main.js.map +1 -1
- package/lib/modules/vaults/constants.d.ts +63 -0
- package/lib/modules/vaults/constants.js +186 -0
- package/lib/modules/vaults/constants.js.map +1 -0
- package/lib/modules/vaults/fetcher.d.ts +101 -0
- package/lib/modules/vaults/fetcher.js +257 -0
- package/lib/modules/vaults/fetcher.js.map +1 -0
- package/lib/modules/vaults/getters.d.ts +67 -0
- package/lib/modules/vaults/getters.js +932 -0
- package/lib/modules/vaults/getters.js.map +1 -0
- package/lib/modules/vaults/index.d.ts +3 -0
- package/lib/modules/vaults/index.js +20 -0
- package/lib/modules/vaults/index.js.map +1 -0
- package/lib/modules/vaults/main.d.ts +98 -0
- package/lib/modules/vaults/main.js +519 -0
- package/lib/modules/vaults/main.js.map +1 -0
- package/lib/modules/vaults/read.actions.d.ts +3 -0
- package/lib/modules/vaults/read.actions.js +39 -0
- package/lib/modules/vaults/read.actions.js.map +1 -0
- package/lib/modules/vaults/utils.d.ts +12 -0
- package/lib/modules/vaults/utils.js +170 -0
- package/lib/modules/vaults/utils.js.map +1 -0
- package/lib/modules/vaults/vault.actions.d.ts +10 -0
- package/lib/modules/vaults/vault.actions.js +95 -0
- package/lib/modules/vaults/vault.actions.js.map +1 -0
- package/lib/modules/vaults/write.actions.d.ts +17 -0
- package/lib/modules/vaults/write.actions.js +143 -0
- package/lib/modules/vaults/write.actions.js.map +1 -0
- package/lib/services/coingecko/fetcher.d.ts +1 -0
- package/lib/services/coingecko/fetcher.js +36 -0
- package/lib/services/coingecko/fetcher.js.map +1 -0
- package/lib/services/coingecko/index.d.ts +2 -0
- package/lib/services/coingecko/index.js +19 -0
- package/lib/services/coingecko/index.js.map +1 -0
- package/lib/services/coingecko/utils.d.ts +1 -0
- package/lib/services/coingecko/utils.js +24 -0
- package/lib/services/coingecko/utils.js.map +1 -0
- package/lib/services/debank/fetcher.d.ts +2 -0
- package/lib/services/debank/fetcher.js +16 -0
- package/lib/services/debank/fetcher.js.map +1 -0
- package/lib/services/debank/index.d.ts +2 -0
- package/lib/services/debank/index.js +19 -0
- package/lib/services/debank/index.js.map +1 -0
- package/lib/services/debank/utils.d.ts +32 -0
- package/lib/services/debank/utils.js +229 -0
- package/lib/services/debank/utils.js.map +1 -0
- package/lib/services/subgraph/fetcher.d.ts +2 -0
- package/lib/services/subgraph/fetcher.js +59 -0
- package/lib/services/subgraph/fetcher.js.map +1 -0
- package/lib/services/subgraph/index.d.ts +2 -0
- package/lib/services/subgraph/index.js +19 -0
- package/lib/services/subgraph/index.js.map +1 -0
- package/lib/services/subgraph/vaults.d.ts +10 -0
- package/lib/services/subgraph/vaults.js +471 -0
- package/lib/services/subgraph/vaults.js.map +1 -0
- package/lib/types/index.d.ts +8 -0
- package/lib/types/index.js +24 -0
- package/lib/types/index.js.map +1 -0
- package/lib/types/pools.d.ts +141 -0
- package/lib/types/pools.js +3 -0
- package/lib/types/pools.js.map +1 -0
- package/lib/types/staking.d.ts +28 -0
- package/lib/types/staking.js +3 -0
- package/lib/types/staking.js.map +1 -0
- package/lib/types/subgraph.d.ts +45 -0
- package/lib/types/subgraph.js +3 -0
- package/lib/types/subgraph.js.map +1 -0
- package/lib/types/user.d.ts +1 -0
- package/lib/types/user.js +3 -0
- package/lib/types/user.js.map +1 -0
- package/lib/types/vaults.d.ts +170 -0
- package/lib/types/vaults.js +3 -0
- package/lib/types/vaults.js.map +1 -0
- package/lib/types/web3.d.ts +24 -0
- package/lib/types/web3.js +3 -0
- package/lib/types/web3.js.map +1 -0
- package/lib/types/webserver.d.ts +489 -0
- package/lib/types/webserver.js +3 -0
- package/lib/types/webserver.js.map +1 -0
- package/package.json +16 -10
- package/lib/verify.js.map +0 -1
- /package/lib/{verify.d.ts → core/auth/verify.d.ts} +0 -0
|
@@ -0,0 +1,1568 @@
|
|
|
1
|
+
export declare const ABI_TOKENIZED_VAULT_V2_RECEIPT: readonly [{
|
|
2
|
+
readonly inputs: readonly [{
|
|
3
|
+
readonly internalType: "address";
|
|
4
|
+
readonly name: "_lzEndpoint";
|
|
5
|
+
readonly type: "address";
|
|
6
|
+
}];
|
|
7
|
+
readonly stateMutability: "nonpayable";
|
|
8
|
+
readonly type: "constructor";
|
|
9
|
+
}, {
|
|
10
|
+
readonly inputs: readonly [];
|
|
11
|
+
readonly name: "AlreadyConfigured";
|
|
12
|
+
readonly type: "error";
|
|
13
|
+
}, {
|
|
14
|
+
readonly inputs: readonly [{
|
|
15
|
+
readonly internalType: "address";
|
|
16
|
+
readonly name: "spender";
|
|
17
|
+
readonly type: "address";
|
|
18
|
+
}, {
|
|
19
|
+
readonly internalType: "uint256";
|
|
20
|
+
readonly name: "allowance";
|
|
21
|
+
readonly type: "uint256";
|
|
22
|
+
}, {
|
|
23
|
+
readonly internalType: "uint256";
|
|
24
|
+
readonly name: "needed";
|
|
25
|
+
readonly type: "uint256";
|
|
26
|
+
}];
|
|
27
|
+
readonly name: "ERC20InsufficientAllowance";
|
|
28
|
+
readonly type: "error";
|
|
29
|
+
}, {
|
|
30
|
+
readonly inputs: readonly [{
|
|
31
|
+
readonly internalType: "address";
|
|
32
|
+
readonly name: "sender";
|
|
33
|
+
readonly type: "address";
|
|
34
|
+
}, {
|
|
35
|
+
readonly internalType: "uint256";
|
|
36
|
+
readonly name: "balance";
|
|
37
|
+
readonly type: "uint256";
|
|
38
|
+
}, {
|
|
39
|
+
readonly internalType: "uint256";
|
|
40
|
+
readonly name: "needed";
|
|
41
|
+
readonly type: "uint256";
|
|
42
|
+
}];
|
|
43
|
+
readonly name: "ERC20InsufficientBalance";
|
|
44
|
+
readonly type: "error";
|
|
45
|
+
}, {
|
|
46
|
+
readonly inputs: readonly [{
|
|
47
|
+
readonly internalType: "address";
|
|
48
|
+
readonly name: "approver";
|
|
49
|
+
readonly type: "address";
|
|
50
|
+
}];
|
|
51
|
+
readonly name: "ERC20InvalidApprover";
|
|
52
|
+
readonly type: "error";
|
|
53
|
+
}, {
|
|
54
|
+
readonly inputs: readonly [{
|
|
55
|
+
readonly internalType: "address";
|
|
56
|
+
readonly name: "receiver";
|
|
57
|
+
readonly type: "address";
|
|
58
|
+
}];
|
|
59
|
+
readonly name: "ERC20InvalidReceiver";
|
|
60
|
+
readonly type: "error";
|
|
61
|
+
}, {
|
|
62
|
+
readonly inputs: readonly [{
|
|
63
|
+
readonly internalType: "address";
|
|
64
|
+
readonly name: "sender";
|
|
65
|
+
readonly type: "address";
|
|
66
|
+
}];
|
|
67
|
+
readonly name: "ERC20InvalidSender";
|
|
68
|
+
readonly type: "error";
|
|
69
|
+
}, {
|
|
70
|
+
readonly inputs: readonly [{
|
|
71
|
+
readonly internalType: "address";
|
|
72
|
+
readonly name: "spender";
|
|
73
|
+
readonly type: "address";
|
|
74
|
+
}];
|
|
75
|
+
readonly name: "ERC20InvalidSpender";
|
|
76
|
+
readonly type: "error";
|
|
77
|
+
}, {
|
|
78
|
+
readonly inputs: readonly [];
|
|
79
|
+
readonly name: "ExpiredDeadline";
|
|
80
|
+
readonly type: "error";
|
|
81
|
+
}, {
|
|
82
|
+
readonly inputs: readonly [];
|
|
83
|
+
readonly name: "InvalidDelegate";
|
|
84
|
+
readonly type: "error";
|
|
85
|
+
}, {
|
|
86
|
+
readonly inputs: readonly [];
|
|
87
|
+
readonly name: "InvalidDomainSeparator";
|
|
88
|
+
readonly type: "error";
|
|
89
|
+
}, {
|
|
90
|
+
readonly inputs: readonly [];
|
|
91
|
+
readonly name: "InvalidEndpointCall";
|
|
92
|
+
readonly type: "error";
|
|
93
|
+
}, {
|
|
94
|
+
readonly inputs: readonly [];
|
|
95
|
+
readonly name: "InvalidEpoch";
|
|
96
|
+
readonly type: "error";
|
|
97
|
+
}, {
|
|
98
|
+
readonly inputs: readonly [];
|
|
99
|
+
readonly name: "InvalidInitialization";
|
|
100
|
+
readonly type: "error";
|
|
101
|
+
}, {
|
|
102
|
+
readonly inputs: readonly [];
|
|
103
|
+
readonly name: "InvalidLocalDecimals";
|
|
104
|
+
readonly type: "error";
|
|
105
|
+
}, {
|
|
106
|
+
readonly inputs: readonly [{
|
|
107
|
+
readonly internalType: "bytes";
|
|
108
|
+
readonly name: "options";
|
|
109
|
+
readonly type: "bytes";
|
|
110
|
+
}];
|
|
111
|
+
readonly name: "InvalidOptions";
|
|
112
|
+
readonly type: "error";
|
|
113
|
+
}, {
|
|
114
|
+
readonly inputs: readonly [];
|
|
115
|
+
readonly name: "InvalidSignature";
|
|
116
|
+
readonly type: "error";
|
|
117
|
+
}, {
|
|
118
|
+
readonly inputs: readonly [];
|
|
119
|
+
readonly name: "InvalidSignatureComponentS";
|
|
120
|
+
readonly type: "error";
|
|
121
|
+
}, {
|
|
122
|
+
readonly inputs: readonly [];
|
|
123
|
+
readonly name: "InvalidSigner";
|
|
124
|
+
readonly type: "error";
|
|
125
|
+
}, {
|
|
126
|
+
readonly inputs: readonly [];
|
|
127
|
+
readonly name: "LzTokenUnavailable";
|
|
128
|
+
readonly type: "error";
|
|
129
|
+
}, {
|
|
130
|
+
readonly inputs: readonly [{
|
|
131
|
+
readonly internalType: "uint32";
|
|
132
|
+
readonly name: "eid";
|
|
133
|
+
readonly type: "uint32";
|
|
134
|
+
}];
|
|
135
|
+
readonly name: "NoPeer";
|
|
136
|
+
readonly type: "error";
|
|
137
|
+
}, {
|
|
138
|
+
readonly inputs: readonly [];
|
|
139
|
+
readonly name: "NotConfigured";
|
|
140
|
+
readonly type: "error";
|
|
141
|
+
}, {
|
|
142
|
+
readonly inputs: readonly [{
|
|
143
|
+
readonly internalType: "uint256";
|
|
144
|
+
readonly name: "msgValue";
|
|
145
|
+
readonly type: "uint256";
|
|
146
|
+
}];
|
|
147
|
+
readonly name: "NotEnoughNative";
|
|
148
|
+
readonly type: "error";
|
|
149
|
+
}, {
|
|
150
|
+
readonly inputs: readonly [];
|
|
151
|
+
readonly name: "NotInitializing";
|
|
152
|
+
readonly type: "error";
|
|
153
|
+
}, {
|
|
154
|
+
readonly inputs: readonly [{
|
|
155
|
+
readonly internalType: "address";
|
|
156
|
+
readonly name: "addr";
|
|
157
|
+
readonly type: "address";
|
|
158
|
+
}];
|
|
159
|
+
readonly name: "OnlyEndpoint";
|
|
160
|
+
readonly type: "error";
|
|
161
|
+
}, {
|
|
162
|
+
readonly inputs: readonly [{
|
|
163
|
+
readonly internalType: "uint32";
|
|
164
|
+
readonly name: "eid";
|
|
165
|
+
readonly type: "uint32";
|
|
166
|
+
}, {
|
|
167
|
+
readonly internalType: "bytes32";
|
|
168
|
+
readonly name: "sender";
|
|
169
|
+
readonly type: "bytes32";
|
|
170
|
+
}];
|
|
171
|
+
readonly name: "OnlyPeer";
|
|
172
|
+
readonly type: "error";
|
|
173
|
+
}, {
|
|
174
|
+
readonly inputs: readonly [];
|
|
175
|
+
readonly name: "OnlySelf";
|
|
176
|
+
readonly type: "error";
|
|
177
|
+
}, {
|
|
178
|
+
readonly inputs: readonly [{
|
|
179
|
+
readonly internalType: "address";
|
|
180
|
+
readonly name: "owner";
|
|
181
|
+
readonly type: "address";
|
|
182
|
+
}];
|
|
183
|
+
readonly name: "OwnableInvalidOwner";
|
|
184
|
+
readonly type: "error";
|
|
185
|
+
}, {
|
|
186
|
+
readonly inputs: readonly [{
|
|
187
|
+
readonly internalType: "address";
|
|
188
|
+
readonly name: "account";
|
|
189
|
+
readonly type: "address";
|
|
190
|
+
}];
|
|
191
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
192
|
+
readonly type: "error";
|
|
193
|
+
}, {
|
|
194
|
+
readonly inputs: readonly [];
|
|
195
|
+
readonly name: "ReentrantCall";
|
|
196
|
+
readonly type: "error";
|
|
197
|
+
}, {
|
|
198
|
+
readonly inputs: readonly [{
|
|
199
|
+
readonly internalType: "address";
|
|
200
|
+
readonly name: "token";
|
|
201
|
+
readonly type: "address";
|
|
202
|
+
}];
|
|
203
|
+
readonly name: "SafeERC20FailedOperation";
|
|
204
|
+
readonly type: "error";
|
|
205
|
+
}, {
|
|
206
|
+
readonly inputs: readonly [{
|
|
207
|
+
readonly internalType: "bytes";
|
|
208
|
+
readonly name: "result";
|
|
209
|
+
readonly type: "bytes";
|
|
210
|
+
}];
|
|
211
|
+
readonly name: "SimulationResult";
|
|
212
|
+
readonly type: "error";
|
|
213
|
+
}, {
|
|
214
|
+
readonly inputs: readonly [{
|
|
215
|
+
readonly internalType: "uint256";
|
|
216
|
+
readonly name: "amountLD";
|
|
217
|
+
readonly type: "uint256";
|
|
218
|
+
}, {
|
|
219
|
+
readonly internalType: "uint256";
|
|
220
|
+
readonly name: "minAmountLD";
|
|
221
|
+
readonly type: "uint256";
|
|
222
|
+
}];
|
|
223
|
+
readonly name: "SlippageExceeded";
|
|
224
|
+
readonly type: "error";
|
|
225
|
+
}, {
|
|
226
|
+
readonly inputs: readonly [];
|
|
227
|
+
readonly name: "TokensLocked";
|
|
228
|
+
readonly type: "error";
|
|
229
|
+
}, {
|
|
230
|
+
readonly inputs: readonly [];
|
|
231
|
+
readonly name: "Unauthorized";
|
|
232
|
+
readonly type: "error";
|
|
233
|
+
}, {
|
|
234
|
+
readonly inputs: readonly [];
|
|
235
|
+
readonly name: "UnauthorizedBurner";
|
|
236
|
+
readonly type: "error";
|
|
237
|
+
}, {
|
|
238
|
+
readonly inputs: readonly [];
|
|
239
|
+
readonly name: "UnauthorizedMinter";
|
|
240
|
+
readonly type: "error";
|
|
241
|
+
}, {
|
|
242
|
+
readonly inputs: readonly [];
|
|
243
|
+
readonly name: "ZeroAddress";
|
|
244
|
+
readonly type: "error";
|
|
245
|
+
}, {
|
|
246
|
+
readonly anonymous: false;
|
|
247
|
+
readonly inputs: readonly [{
|
|
248
|
+
readonly indexed: true;
|
|
249
|
+
readonly internalType: "address";
|
|
250
|
+
readonly name: "owner";
|
|
251
|
+
readonly type: "address";
|
|
252
|
+
}, {
|
|
253
|
+
readonly indexed: true;
|
|
254
|
+
readonly internalType: "address";
|
|
255
|
+
readonly name: "spender";
|
|
256
|
+
readonly type: "address";
|
|
257
|
+
}, {
|
|
258
|
+
readonly indexed: false;
|
|
259
|
+
readonly internalType: "uint256";
|
|
260
|
+
readonly name: "value";
|
|
261
|
+
readonly type: "uint256";
|
|
262
|
+
}];
|
|
263
|
+
readonly name: "Approval";
|
|
264
|
+
readonly type: "event";
|
|
265
|
+
}, {
|
|
266
|
+
readonly anonymous: false;
|
|
267
|
+
readonly inputs: readonly [];
|
|
268
|
+
readonly name: "EIP712DomainChanged";
|
|
269
|
+
readonly type: "event";
|
|
270
|
+
}, {
|
|
271
|
+
readonly anonymous: false;
|
|
272
|
+
readonly inputs: readonly [{
|
|
273
|
+
readonly components: readonly [{
|
|
274
|
+
readonly internalType: "uint32";
|
|
275
|
+
readonly name: "eid";
|
|
276
|
+
readonly type: "uint32";
|
|
277
|
+
}, {
|
|
278
|
+
readonly internalType: "uint16";
|
|
279
|
+
readonly name: "msgType";
|
|
280
|
+
readonly type: "uint16";
|
|
281
|
+
}, {
|
|
282
|
+
readonly internalType: "bytes";
|
|
283
|
+
readonly name: "options";
|
|
284
|
+
readonly type: "bytes";
|
|
285
|
+
}];
|
|
286
|
+
readonly indexed: false;
|
|
287
|
+
readonly internalType: "struct EnforcedOptionParam[]";
|
|
288
|
+
readonly name: "_enforcedOptions";
|
|
289
|
+
readonly type: "tuple[]";
|
|
290
|
+
}];
|
|
291
|
+
readonly name: "EnforcedOptionSet";
|
|
292
|
+
readonly type: "event";
|
|
293
|
+
}, {
|
|
294
|
+
readonly anonymous: false;
|
|
295
|
+
readonly inputs: readonly [{
|
|
296
|
+
readonly indexed: false;
|
|
297
|
+
readonly internalType: "uint64";
|
|
298
|
+
readonly name: "version";
|
|
299
|
+
readonly type: "uint64";
|
|
300
|
+
}];
|
|
301
|
+
readonly name: "Initialized";
|
|
302
|
+
readonly type: "event";
|
|
303
|
+
}, {
|
|
304
|
+
readonly anonymous: false;
|
|
305
|
+
readonly inputs: readonly [{
|
|
306
|
+
readonly indexed: false;
|
|
307
|
+
readonly internalType: "address";
|
|
308
|
+
readonly name: "inspector";
|
|
309
|
+
readonly type: "address";
|
|
310
|
+
}];
|
|
311
|
+
readonly name: "MsgInspectorSet";
|
|
312
|
+
readonly type: "event";
|
|
313
|
+
}, {
|
|
314
|
+
readonly anonymous: false;
|
|
315
|
+
readonly inputs: readonly [{
|
|
316
|
+
readonly indexed: true;
|
|
317
|
+
readonly internalType: "bytes32";
|
|
318
|
+
readonly name: "guid";
|
|
319
|
+
readonly type: "bytes32";
|
|
320
|
+
}, {
|
|
321
|
+
readonly indexed: false;
|
|
322
|
+
readonly internalType: "uint32";
|
|
323
|
+
readonly name: "srcEid";
|
|
324
|
+
readonly type: "uint32";
|
|
325
|
+
}, {
|
|
326
|
+
readonly indexed: true;
|
|
327
|
+
readonly internalType: "address";
|
|
328
|
+
readonly name: "toAddress";
|
|
329
|
+
readonly type: "address";
|
|
330
|
+
}, {
|
|
331
|
+
readonly indexed: false;
|
|
332
|
+
readonly internalType: "uint256";
|
|
333
|
+
readonly name: "amountReceivedLD";
|
|
334
|
+
readonly type: "uint256";
|
|
335
|
+
}];
|
|
336
|
+
readonly name: "OFTReceived";
|
|
337
|
+
readonly type: "event";
|
|
338
|
+
}, {
|
|
339
|
+
readonly anonymous: false;
|
|
340
|
+
readonly inputs: readonly [{
|
|
341
|
+
readonly indexed: true;
|
|
342
|
+
readonly internalType: "bytes32";
|
|
343
|
+
readonly name: "guid";
|
|
344
|
+
readonly type: "bytes32";
|
|
345
|
+
}, {
|
|
346
|
+
readonly indexed: false;
|
|
347
|
+
readonly internalType: "uint32";
|
|
348
|
+
readonly name: "dstEid";
|
|
349
|
+
readonly type: "uint32";
|
|
350
|
+
}, {
|
|
351
|
+
readonly indexed: true;
|
|
352
|
+
readonly internalType: "address";
|
|
353
|
+
readonly name: "fromAddress";
|
|
354
|
+
readonly type: "address";
|
|
355
|
+
}, {
|
|
356
|
+
readonly indexed: false;
|
|
357
|
+
readonly internalType: "uint256";
|
|
358
|
+
readonly name: "amountSentLD";
|
|
359
|
+
readonly type: "uint256";
|
|
360
|
+
}, {
|
|
361
|
+
readonly indexed: false;
|
|
362
|
+
readonly internalType: "uint256";
|
|
363
|
+
readonly name: "amountReceivedLD";
|
|
364
|
+
readonly type: "uint256";
|
|
365
|
+
}];
|
|
366
|
+
readonly name: "OFTSent";
|
|
367
|
+
readonly type: "event";
|
|
368
|
+
}, {
|
|
369
|
+
readonly anonymous: false;
|
|
370
|
+
readonly inputs: readonly [{
|
|
371
|
+
readonly indexed: false;
|
|
372
|
+
readonly internalType: "address";
|
|
373
|
+
readonly name: "holderAddr";
|
|
374
|
+
readonly type: "address";
|
|
375
|
+
}, {
|
|
376
|
+
readonly indexed: false;
|
|
377
|
+
readonly internalType: "uint256";
|
|
378
|
+
readonly name: "untilEpoch";
|
|
379
|
+
readonly type: "uint256";
|
|
380
|
+
}];
|
|
381
|
+
readonly name: "OnTokensLocked";
|
|
382
|
+
readonly type: "event";
|
|
383
|
+
}, {
|
|
384
|
+
readonly anonymous: false;
|
|
385
|
+
readonly inputs: readonly [{
|
|
386
|
+
readonly indexed: false;
|
|
387
|
+
readonly internalType: "address";
|
|
388
|
+
readonly name: "holderAddr";
|
|
389
|
+
readonly type: "address";
|
|
390
|
+
}];
|
|
391
|
+
readonly name: "OnTokensUnLocked";
|
|
392
|
+
readonly type: "event";
|
|
393
|
+
}, {
|
|
394
|
+
readonly anonymous: false;
|
|
395
|
+
readonly inputs: readonly [{
|
|
396
|
+
readonly indexed: true;
|
|
397
|
+
readonly internalType: "address";
|
|
398
|
+
readonly name: "previousOwner";
|
|
399
|
+
readonly type: "address";
|
|
400
|
+
}, {
|
|
401
|
+
readonly indexed: true;
|
|
402
|
+
readonly internalType: "address";
|
|
403
|
+
readonly name: "newOwner";
|
|
404
|
+
readonly type: "address";
|
|
405
|
+
}];
|
|
406
|
+
readonly name: "OwnershipTransferStarted";
|
|
407
|
+
readonly type: "event";
|
|
408
|
+
}, {
|
|
409
|
+
readonly anonymous: false;
|
|
410
|
+
readonly inputs: readonly [{
|
|
411
|
+
readonly indexed: true;
|
|
412
|
+
readonly internalType: "address";
|
|
413
|
+
readonly name: "previousOwner";
|
|
414
|
+
readonly type: "address";
|
|
415
|
+
}, {
|
|
416
|
+
readonly indexed: true;
|
|
417
|
+
readonly internalType: "address";
|
|
418
|
+
readonly name: "newOwner";
|
|
419
|
+
readonly type: "address";
|
|
420
|
+
}];
|
|
421
|
+
readonly name: "OwnershipTransferred";
|
|
422
|
+
readonly type: "event";
|
|
423
|
+
}, {
|
|
424
|
+
readonly anonymous: false;
|
|
425
|
+
readonly inputs: readonly [{
|
|
426
|
+
readonly indexed: false;
|
|
427
|
+
readonly internalType: "uint32";
|
|
428
|
+
readonly name: "eid";
|
|
429
|
+
readonly type: "uint32";
|
|
430
|
+
}, {
|
|
431
|
+
readonly indexed: false;
|
|
432
|
+
readonly internalType: "bytes32";
|
|
433
|
+
readonly name: "peer";
|
|
434
|
+
readonly type: "bytes32";
|
|
435
|
+
}];
|
|
436
|
+
readonly name: "PeerSet";
|
|
437
|
+
readonly type: "event";
|
|
438
|
+
}, {
|
|
439
|
+
readonly anonymous: false;
|
|
440
|
+
readonly inputs: readonly [{
|
|
441
|
+
readonly indexed: false;
|
|
442
|
+
readonly internalType: "address";
|
|
443
|
+
readonly name: "preCrimeAddress";
|
|
444
|
+
readonly type: "address";
|
|
445
|
+
}];
|
|
446
|
+
readonly name: "PreCrimeSet";
|
|
447
|
+
readonly type: "event";
|
|
448
|
+
}, {
|
|
449
|
+
readonly anonymous: false;
|
|
450
|
+
readonly inputs: readonly [{
|
|
451
|
+
readonly indexed: true;
|
|
452
|
+
readonly internalType: "address";
|
|
453
|
+
readonly name: "from";
|
|
454
|
+
readonly type: "address";
|
|
455
|
+
}, {
|
|
456
|
+
readonly indexed: true;
|
|
457
|
+
readonly internalType: "address";
|
|
458
|
+
readonly name: "to";
|
|
459
|
+
readonly type: "address";
|
|
460
|
+
}, {
|
|
461
|
+
readonly indexed: false;
|
|
462
|
+
readonly internalType: "uint256";
|
|
463
|
+
readonly name: "value";
|
|
464
|
+
readonly type: "uint256";
|
|
465
|
+
}];
|
|
466
|
+
readonly name: "Transfer";
|
|
467
|
+
readonly type: "event";
|
|
468
|
+
}, {
|
|
469
|
+
readonly inputs: readonly [];
|
|
470
|
+
readonly name: "DOMAIN_SEPARATOR";
|
|
471
|
+
readonly outputs: readonly [{
|
|
472
|
+
readonly internalType: "bytes32";
|
|
473
|
+
readonly name: "";
|
|
474
|
+
readonly type: "bytes32";
|
|
475
|
+
}];
|
|
476
|
+
readonly stateMutability: "view";
|
|
477
|
+
readonly type: "function";
|
|
478
|
+
}, {
|
|
479
|
+
readonly inputs: readonly [];
|
|
480
|
+
readonly name: "PERMIT_TYPEHASH";
|
|
481
|
+
readonly outputs: readonly [{
|
|
482
|
+
readonly internalType: "bytes32";
|
|
483
|
+
readonly name: "";
|
|
484
|
+
readonly type: "bytes32";
|
|
485
|
+
}];
|
|
486
|
+
readonly stateMutability: "view";
|
|
487
|
+
readonly type: "function";
|
|
488
|
+
}, {
|
|
489
|
+
readonly inputs: readonly [];
|
|
490
|
+
readonly name: "SEND";
|
|
491
|
+
readonly outputs: readonly [{
|
|
492
|
+
readonly internalType: "uint16";
|
|
493
|
+
readonly name: "";
|
|
494
|
+
readonly type: "uint16";
|
|
495
|
+
}];
|
|
496
|
+
readonly stateMutability: "view";
|
|
497
|
+
readonly type: "function";
|
|
498
|
+
}, {
|
|
499
|
+
readonly inputs: readonly [];
|
|
500
|
+
readonly name: "SEND_AND_CALL";
|
|
501
|
+
readonly outputs: readonly [{
|
|
502
|
+
readonly internalType: "uint16";
|
|
503
|
+
readonly name: "";
|
|
504
|
+
readonly type: "uint16";
|
|
505
|
+
}];
|
|
506
|
+
readonly stateMutability: "view";
|
|
507
|
+
readonly type: "function";
|
|
508
|
+
}, {
|
|
509
|
+
readonly inputs: readonly [];
|
|
510
|
+
readonly name: "acceptOwnership";
|
|
511
|
+
readonly outputs: readonly [];
|
|
512
|
+
readonly stateMutability: "nonpayable";
|
|
513
|
+
readonly type: "function";
|
|
514
|
+
}, {
|
|
515
|
+
readonly inputs: readonly [{
|
|
516
|
+
readonly components: readonly [{
|
|
517
|
+
readonly internalType: "uint32";
|
|
518
|
+
readonly name: "srcEid";
|
|
519
|
+
readonly type: "uint32";
|
|
520
|
+
}, {
|
|
521
|
+
readonly internalType: "bytes32";
|
|
522
|
+
readonly name: "sender";
|
|
523
|
+
readonly type: "bytes32";
|
|
524
|
+
}, {
|
|
525
|
+
readonly internalType: "uint64";
|
|
526
|
+
readonly name: "nonce";
|
|
527
|
+
readonly type: "uint64";
|
|
528
|
+
}];
|
|
529
|
+
readonly internalType: "struct Origin";
|
|
530
|
+
readonly name: "origin";
|
|
531
|
+
readonly type: "tuple";
|
|
532
|
+
}];
|
|
533
|
+
readonly name: "allowInitializePath";
|
|
534
|
+
readonly outputs: readonly [{
|
|
535
|
+
readonly internalType: "bool";
|
|
536
|
+
readonly name: "";
|
|
537
|
+
readonly type: "bool";
|
|
538
|
+
}];
|
|
539
|
+
readonly stateMutability: "view";
|
|
540
|
+
readonly type: "function";
|
|
541
|
+
}, {
|
|
542
|
+
readonly inputs: readonly [{
|
|
543
|
+
readonly internalType: "address";
|
|
544
|
+
readonly name: "owner";
|
|
545
|
+
readonly type: "address";
|
|
546
|
+
}, {
|
|
547
|
+
readonly internalType: "address";
|
|
548
|
+
readonly name: "spender";
|
|
549
|
+
readonly type: "address";
|
|
550
|
+
}];
|
|
551
|
+
readonly name: "allowance";
|
|
552
|
+
readonly outputs: readonly [{
|
|
553
|
+
readonly internalType: "uint256";
|
|
554
|
+
readonly name: "";
|
|
555
|
+
readonly type: "uint256";
|
|
556
|
+
}];
|
|
557
|
+
readonly stateMutability: "view";
|
|
558
|
+
readonly type: "function";
|
|
559
|
+
}, {
|
|
560
|
+
readonly inputs: readonly [];
|
|
561
|
+
readonly name: "approvalRequired";
|
|
562
|
+
readonly outputs: readonly [{
|
|
563
|
+
readonly internalType: "bool";
|
|
564
|
+
readonly name: "";
|
|
565
|
+
readonly type: "bool";
|
|
566
|
+
}];
|
|
567
|
+
readonly stateMutability: "pure";
|
|
568
|
+
readonly type: "function";
|
|
569
|
+
}, {
|
|
570
|
+
readonly inputs: readonly [{
|
|
571
|
+
readonly internalType: "address";
|
|
572
|
+
readonly name: "spender";
|
|
573
|
+
readonly type: "address";
|
|
574
|
+
}, {
|
|
575
|
+
readonly internalType: "uint256";
|
|
576
|
+
readonly name: "amount";
|
|
577
|
+
readonly type: "uint256";
|
|
578
|
+
}];
|
|
579
|
+
readonly name: "approve";
|
|
580
|
+
readonly outputs: readonly [{
|
|
581
|
+
readonly internalType: "bool";
|
|
582
|
+
readonly name: "";
|
|
583
|
+
readonly type: "bool";
|
|
584
|
+
}];
|
|
585
|
+
readonly stateMutability: "nonpayable";
|
|
586
|
+
readonly type: "function";
|
|
587
|
+
}, {
|
|
588
|
+
readonly inputs: readonly [{
|
|
589
|
+
readonly internalType: "address";
|
|
590
|
+
readonly name: "account";
|
|
591
|
+
readonly type: "address";
|
|
592
|
+
}];
|
|
593
|
+
readonly name: "balanceOf";
|
|
594
|
+
readonly outputs: readonly [{
|
|
595
|
+
readonly internalType: "uint256";
|
|
596
|
+
readonly name: "";
|
|
597
|
+
readonly type: "uint256";
|
|
598
|
+
}];
|
|
599
|
+
readonly stateMutability: "view";
|
|
600
|
+
readonly type: "function";
|
|
601
|
+
}, {
|
|
602
|
+
readonly inputs: readonly [{
|
|
603
|
+
readonly internalType: "address";
|
|
604
|
+
readonly name: "addr";
|
|
605
|
+
readonly type: "address";
|
|
606
|
+
}, {
|
|
607
|
+
readonly internalType: "uint256";
|
|
608
|
+
readonly name: "amount";
|
|
609
|
+
readonly type: "uint256";
|
|
610
|
+
}];
|
|
611
|
+
readonly name: "burn";
|
|
612
|
+
readonly outputs: readonly [];
|
|
613
|
+
readonly stateMutability: "nonpayable";
|
|
614
|
+
readonly type: "function";
|
|
615
|
+
}, {
|
|
616
|
+
readonly inputs: readonly [{
|
|
617
|
+
readonly internalType: "address";
|
|
618
|
+
readonly name: "";
|
|
619
|
+
readonly type: "address";
|
|
620
|
+
}];
|
|
621
|
+
readonly name: "burners";
|
|
622
|
+
readonly outputs: readonly [{
|
|
623
|
+
readonly internalType: "bool";
|
|
624
|
+
readonly name: "";
|
|
625
|
+
readonly type: "bool";
|
|
626
|
+
}];
|
|
627
|
+
readonly stateMutability: "view";
|
|
628
|
+
readonly type: "function";
|
|
629
|
+
}, {
|
|
630
|
+
readonly inputs: readonly [{
|
|
631
|
+
readonly internalType: "uint32";
|
|
632
|
+
readonly name: "_eid";
|
|
633
|
+
readonly type: "uint32";
|
|
634
|
+
}, {
|
|
635
|
+
readonly internalType: "uint16";
|
|
636
|
+
readonly name: "_msgType";
|
|
637
|
+
readonly type: "uint16";
|
|
638
|
+
}, {
|
|
639
|
+
readonly internalType: "bytes";
|
|
640
|
+
readonly name: "_extraOptions";
|
|
641
|
+
readonly type: "bytes";
|
|
642
|
+
}];
|
|
643
|
+
readonly name: "combineOptions";
|
|
644
|
+
readonly outputs: readonly [{
|
|
645
|
+
readonly internalType: "bytes";
|
|
646
|
+
readonly name: "";
|
|
647
|
+
readonly type: "bytes";
|
|
648
|
+
}];
|
|
649
|
+
readonly stateMutability: "view";
|
|
650
|
+
readonly type: "function";
|
|
651
|
+
}, {
|
|
652
|
+
readonly inputs: readonly [{
|
|
653
|
+
readonly internalType: "address[]";
|
|
654
|
+
readonly name: "newMinters";
|
|
655
|
+
readonly type: "address[]";
|
|
656
|
+
}, {
|
|
657
|
+
readonly internalType: "address[]";
|
|
658
|
+
readonly name: "newBurners";
|
|
659
|
+
readonly type: "address[]";
|
|
660
|
+
}];
|
|
661
|
+
readonly name: "configure";
|
|
662
|
+
readonly outputs: readonly [];
|
|
663
|
+
readonly stateMutability: "nonpayable";
|
|
664
|
+
readonly type: "function";
|
|
665
|
+
}, {
|
|
666
|
+
readonly inputs: readonly [];
|
|
667
|
+
readonly name: "decimalConversionRate";
|
|
668
|
+
readonly outputs: readonly [{
|
|
669
|
+
readonly internalType: "uint256";
|
|
670
|
+
readonly name: "";
|
|
671
|
+
readonly type: "uint256";
|
|
672
|
+
}];
|
|
673
|
+
readonly stateMutability: "view";
|
|
674
|
+
readonly type: "function";
|
|
675
|
+
}, {
|
|
676
|
+
readonly inputs: readonly [];
|
|
677
|
+
readonly name: "decimals";
|
|
678
|
+
readonly outputs: readonly [{
|
|
679
|
+
readonly internalType: "uint8";
|
|
680
|
+
readonly name: "";
|
|
681
|
+
readonly type: "uint8";
|
|
682
|
+
}];
|
|
683
|
+
readonly stateMutability: "view";
|
|
684
|
+
readonly type: "function";
|
|
685
|
+
}, {
|
|
686
|
+
readonly inputs: readonly [];
|
|
687
|
+
readonly name: "eip712Domain";
|
|
688
|
+
readonly outputs: readonly [{
|
|
689
|
+
readonly internalType: "bytes1";
|
|
690
|
+
readonly name: "fields";
|
|
691
|
+
readonly type: "bytes1";
|
|
692
|
+
}, {
|
|
693
|
+
readonly internalType: "string";
|
|
694
|
+
readonly name: "domainName";
|
|
695
|
+
readonly type: "string";
|
|
696
|
+
}, {
|
|
697
|
+
readonly internalType: "string";
|
|
698
|
+
readonly name: "domainVersion";
|
|
699
|
+
readonly type: "string";
|
|
700
|
+
}, {
|
|
701
|
+
readonly internalType: "uint256";
|
|
702
|
+
readonly name: "chainId";
|
|
703
|
+
readonly type: "uint256";
|
|
704
|
+
}, {
|
|
705
|
+
readonly internalType: "address";
|
|
706
|
+
readonly name: "verifyingContract";
|
|
707
|
+
readonly type: "address";
|
|
708
|
+
}, {
|
|
709
|
+
readonly internalType: "bytes32";
|
|
710
|
+
readonly name: "salt";
|
|
711
|
+
readonly type: "bytes32";
|
|
712
|
+
}, {
|
|
713
|
+
readonly internalType: "uint256[]";
|
|
714
|
+
readonly name: "extensions";
|
|
715
|
+
readonly type: "uint256[]";
|
|
716
|
+
}];
|
|
717
|
+
readonly stateMutability: "view";
|
|
718
|
+
readonly type: "function";
|
|
719
|
+
}, {
|
|
720
|
+
readonly inputs: readonly [];
|
|
721
|
+
readonly name: "endpoint";
|
|
722
|
+
readonly outputs: readonly [{
|
|
723
|
+
readonly internalType: "contract ILayerZeroEndpointV2";
|
|
724
|
+
readonly name: "";
|
|
725
|
+
readonly type: "address";
|
|
726
|
+
}];
|
|
727
|
+
readonly stateMutability: "view";
|
|
728
|
+
readonly type: "function";
|
|
729
|
+
}, {
|
|
730
|
+
readonly inputs: readonly [{
|
|
731
|
+
readonly internalType: "uint32";
|
|
732
|
+
readonly name: "_eid";
|
|
733
|
+
readonly type: "uint32";
|
|
734
|
+
}, {
|
|
735
|
+
readonly internalType: "uint16";
|
|
736
|
+
readonly name: "_msgType";
|
|
737
|
+
readonly type: "uint16";
|
|
738
|
+
}];
|
|
739
|
+
readonly name: "enforcedOptions";
|
|
740
|
+
readonly outputs: readonly [{
|
|
741
|
+
readonly internalType: "bytes";
|
|
742
|
+
readonly name: "";
|
|
743
|
+
readonly type: "bytes";
|
|
744
|
+
}];
|
|
745
|
+
readonly stateMutability: "view";
|
|
746
|
+
readonly type: "function";
|
|
747
|
+
}, {
|
|
748
|
+
readonly inputs: readonly [{
|
|
749
|
+
readonly internalType: "address";
|
|
750
|
+
readonly name: "newOwnerAddr";
|
|
751
|
+
readonly type: "address";
|
|
752
|
+
}, {
|
|
753
|
+
readonly internalType: "uint8";
|
|
754
|
+
readonly name: "erc20Decimals";
|
|
755
|
+
readonly type: "uint8";
|
|
756
|
+
}, {
|
|
757
|
+
readonly internalType: "string";
|
|
758
|
+
readonly name: "erc20Symbol";
|
|
759
|
+
readonly type: "string";
|
|
760
|
+
}, {
|
|
761
|
+
readonly internalType: "string";
|
|
762
|
+
readonly name: "erc20Name";
|
|
763
|
+
readonly type: "string";
|
|
764
|
+
}];
|
|
765
|
+
readonly name: "initialize";
|
|
766
|
+
readonly outputs: readonly [];
|
|
767
|
+
readonly stateMutability: "nonpayable";
|
|
768
|
+
readonly type: "function";
|
|
769
|
+
}, {
|
|
770
|
+
readonly inputs: readonly [{
|
|
771
|
+
readonly components: readonly [{
|
|
772
|
+
readonly internalType: "uint32";
|
|
773
|
+
readonly name: "srcEid";
|
|
774
|
+
readonly type: "uint32";
|
|
775
|
+
}, {
|
|
776
|
+
readonly internalType: "bytes32";
|
|
777
|
+
readonly name: "sender";
|
|
778
|
+
readonly type: "bytes32";
|
|
779
|
+
}, {
|
|
780
|
+
readonly internalType: "uint64";
|
|
781
|
+
readonly name: "nonce";
|
|
782
|
+
readonly type: "uint64";
|
|
783
|
+
}];
|
|
784
|
+
readonly internalType: "struct Origin";
|
|
785
|
+
readonly name: "";
|
|
786
|
+
readonly type: "tuple";
|
|
787
|
+
}, {
|
|
788
|
+
readonly internalType: "bytes";
|
|
789
|
+
readonly name: "";
|
|
790
|
+
readonly type: "bytes";
|
|
791
|
+
}, {
|
|
792
|
+
readonly internalType: "address";
|
|
793
|
+
readonly name: "_sender";
|
|
794
|
+
readonly type: "address";
|
|
795
|
+
}];
|
|
796
|
+
readonly name: "isComposeMsgSender";
|
|
797
|
+
readonly outputs: readonly [{
|
|
798
|
+
readonly internalType: "bool";
|
|
799
|
+
readonly name: "";
|
|
800
|
+
readonly type: "bool";
|
|
801
|
+
}];
|
|
802
|
+
readonly stateMutability: "view";
|
|
803
|
+
readonly type: "function";
|
|
804
|
+
}, {
|
|
805
|
+
readonly inputs: readonly [{
|
|
806
|
+
readonly internalType: "uint32";
|
|
807
|
+
readonly name: "_eid";
|
|
808
|
+
readonly type: "uint32";
|
|
809
|
+
}, {
|
|
810
|
+
readonly internalType: "bytes32";
|
|
811
|
+
readonly name: "_peer";
|
|
812
|
+
readonly type: "bytes32";
|
|
813
|
+
}];
|
|
814
|
+
readonly name: "isPeer";
|
|
815
|
+
readonly outputs: readonly [{
|
|
816
|
+
readonly internalType: "bool";
|
|
817
|
+
readonly name: "";
|
|
818
|
+
readonly type: "bool";
|
|
819
|
+
}];
|
|
820
|
+
readonly stateMutability: "view";
|
|
821
|
+
readonly type: "function";
|
|
822
|
+
}, {
|
|
823
|
+
readonly inputs: readonly [{
|
|
824
|
+
readonly internalType: "address";
|
|
825
|
+
readonly name: "holderAddr";
|
|
826
|
+
readonly type: "address";
|
|
827
|
+
}, {
|
|
828
|
+
readonly internalType: "uint256";
|
|
829
|
+
readonly name: "untilEpoch";
|
|
830
|
+
readonly type: "uint256";
|
|
831
|
+
}];
|
|
832
|
+
readonly name: "lockTokens";
|
|
833
|
+
readonly outputs: readonly [];
|
|
834
|
+
readonly stateMutability: "nonpayable";
|
|
835
|
+
readonly type: "function";
|
|
836
|
+
}, {
|
|
837
|
+
readonly inputs: readonly [{
|
|
838
|
+
readonly components: readonly [{
|
|
839
|
+
readonly internalType: "uint32";
|
|
840
|
+
readonly name: "srcEid";
|
|
841
|
+
readonly type: "uint32";
|
|
842
|
+
}, {
|
|
843
|
+
readonly internalType: "bytes32";
|
|
844
|
+
readonly name: "sender";
|
|
845
|
+
readonly type: "bytes32";
|
|
846
|
+
}, {
|
|
847
|
+
readonly internalType: "uint64";
|
|
848
|
+
readonly name: "nonce";
|
|
849
|
+
readonly type: "uint64";
|
|
850
|
+
}];
|
|
851
|
+
readonly internalType: "struct Origin";
|
|
852
|
+
readonly name: "_origin";
|
|
853
|
+
readonly type: "tuple";
|
|
854
|
+
}, {
|
|
855
|
+
readonly internalType: "bytes32";
|
|
856
|
+
readonly name: "_guid";
|
|
857
|
+
readonly type: "bytes32";
|
|
858
|
+
}, {
|
|
859
|
+
readonly internalType: "bytes";
|
|
860
|
+
readonly name: "_message";
|
|
861
|
+
readonly type: "bytes";
|
|
862
|
+
}, {
|
|
863
|
+
readonly internalType: "address";
|
|
864
|
+
readonly name: "_executor";
|
|
865
|
+
readonly type: "address";
|
|
866
|
+
}, {
|
|
867
|
+
readonly internalType: "bytes";
|
|
868
|
+
readonly name: "_extraData";
|
|
869
|
+
readonly type: "bytes";
|
|
870
|
+
}];
|
|
871
|
+
readonly name: "lzReceive";
|
|
872
|
+
readonly outputs: readonly [];
|
|
873
|
+
readonly stateMutability: "payable";
|
|
874
|
+
readonly type: "function";
|
|
875
|
+
}, {
|
|
876
|
+
readonly inputs: readonly [{
|
|
877
|
+
readonly components: readonly [{
|
|
878
|
+
readonly components: readonly [{
|
|
879
|
+
readonly internalType: "uint32";
|
|
880
|
+
readonly name: "srcEid";
|
|
881
|
+
readonly type: "uint32";
|
|
882
|
+
}, {
|
|
883
|
+
readonly internalType: "bytes32";
|
|
884
|
+
readonly name: "sender";
|
|
885
|
+
readonly type: "bytes32";
|
|
886
|
+
}, {
|
|
887
|
+
readonly internalType: "uint64";
|
|
888
|
+
readonly name: "nonce";
|
|
889
|
+
readonly type: "uint64";
|
|
890
|
+
}];
|
|
891
|
+
readonly internalType: "struct Origin";
|
|
892
|
+
readonly name: "origin";
|
|
893
|
+
readonly type: "tuple";
|
|
894
|
+
}, {
|
|
895
|
+
readonly internalType: "uint32";
|
|
896
|
+
readonly name: "dstEid";
|
|
897
|
+
readonly type: "uint32";
|
|
898
|
+
}, {
|
|
899
|
+
readonly internalType: "address";
|
|
900
|
+
readonly name: "receiver";
|
|
901
|
+
readonly type: "address";
|
|
902
|
+
}, {
|
|
903
|
+
readonly internalType: "bytes32";
|
|
904
|
+
readonly name: "guid";
|
|
905
|
+
readonly type: "bytes32";
|
|
906
|
+
}, {
|
|
907
|
+
readonly internalType: "uint256";
|
|
908
|
+
readonly name: "value";
|
|
909
|
+
readonly type: "uint256";
|
|
910
|
+
}, {
|
|
911
|
+
readonly internalType: "address";
|
|
912
|
+
readonly name: "executor";
|
|
913
|
+
readonly type: "address";
|
|
914
|
+
}, {
|
|
915
|
+
readonly internalType: "bytes";
|
|
916
|
+
readonly name: "message";
|
|
917
|
+
readonly type: "bytes";
|
|
918
|
+
}, {
|
|
919
|
+
readonly internalType: "bytes";
|
|
920
|
+
readonly name: "extraData";
|
|
921
|
+
readonly type: "bytes";
|
|
922
|
+
}];
|
|
923
|
+
readonly internalType: "struct InboundPacket[]";
|
|
924
|
+
readonly name: "_packets";
|
|
925
|
+
readonly type: "tuple[]";
|
|
926
|
+
}];
|
|
927
|
+
readonly name: "lzReceiveAndRevert";
|
|
928
|
+
readonly outputs: readonly [];
|
|
929
|
+
readonly stateMutability: "payable";
|
|
930
|
+
readonly type: "function";
|
|
931
|
+
}, {
|
|
932
|
+
readonly inputs: readonly [{
|
|
933
|
+
readonly components: readonly [{
|
|
934
|
+
readonly internalType: "uint32";
|
|
935
|
+
readonly name: "srcEid";
|
|
936
|
+
readonly type: "uint32";
|
|
937
|
+
}, {
|
|
938
|
+
readonly internalType: "bytes32";
|
|
939
|
+
readonly name: "sender";
|
|
940
|
+
readonly type: "bytes32";
|
|
941
|
+
}, {
|
|
942
|
+
readonly internalType: "uint64";
|
|
943
|
+
readonly name: "nonce";
|
|
944
|
+
readonly type: "uint64";
|
|
945
|
+
}];
|
|
946
|
+
readonly internalType: "struct Origin";
|
|
947
|
+
readonly name: "_origin";
|
|
948
|
+
readonly type: "tuple";
|
|
949
|
+
}, {
|
|
950
|
+
readonly internalType: "bytes32";
|
|
951
|
+
readonly name: "_guid";
|
|
952
|
+
readonly type: "bytes32";
|
|
953
|
+
}, {
|
|
954
|
+
readonly internalType: "bytes";
|
|
955
|
+
readonly name: "_message";
|
|
956
|
+
readonly type: "bytes";
|
|
957
|
+
}, {
|
|
958
|
+
readonly internalType: "address";
|
|
959
|
+
readonly name: "_executor";
|
|
960
|
+
readonly type: "address";
|
|
961
|
+
}, {
|
|
962
|
+
readonly internalType: "bytes";
|
|
963
|
+
readonly name: "_extraData";
|
|
964
|
+
readonly type: "bytes";
|
|
965
|
+
}];
|
|
966
|
+
readonly name: "lzReceiveSimulate";
|
|
967
|
+
readonly outputs: readonly [];
|
|
968
|
+
readonly stateMutability: "payable";
|
|
969
|
+
readonly type: "function";
|
|
970
|
+
}, {
|
|
971
|
+
readonly inputs: readonly [{
|
|
972
|
+
readonly internalType: "address";
|
|
973
|
+
readonly name: "addr";
|
|
974
|
+
readonly type: "address";
|
|
975
|
+
}, {
|
|
976
|
+
readonly internalType: "uint256";
|
|
977
|
+
readonly name: "amount";
|
|
978
|
+
readonly type: "uint256";
|
|
979
|
+
}];
|
|
980
|
+
readonly name: "mint";
|
|
981
|
+
readonly outputs: readonly [];
|
|
982
|
+
readonly stateMutability: "nonpayable";
|
|
983
|
+
readonly type: "function";
|
|
984
|
+
}, {
|
|
985
|
+
readonly inputs: readonly [{
|
|
986
|
+
readonly internalType: "address";
|
|
987
|
+
readonly name: "";
|
|
988
|
+
readonly type: "address";
|
|
989
|
+
}];
|
|
990
|
+
readonly name: "minters";
|
|
991
|
+
readonly outputs: readonly [{
|
|
992
|
+
readonly internalType: "bool";
|
|
993
|
+
readonly name: "";
|
|
994
|
+
readonly type: "bool";
|
|
995
|
+
}];
|
|
996
|
+
readonly stateMutability: "view";
|
|
997
|
+
readonly type: "function";
|
|
998
|
+
}, {
|
|
999
|
+
readonly inputs: readonly [];
|
|
1000
|
+
readonly name: "msgInspector";
|
|
1001
|
+
readonly outputs: readonly [{
|
|
1002
|
+
readonly internalType: "address";
|
|
1003
|
+
readonly name: "";
|
|
1004
|
+
readonly type: "address";
|
|
1005
|
+
}];
|
|
1006
|
+
readonly stateMutability: "view";
|
|
1007
|
+
readonly type: "function";
|
|
1008
|
+
}, {
|
|
1009
|
+
readonly inputs: readonly [];
|
|
1010
|
+
readonly name: "name";
|
|
1011
|
+
readonly outputs: readonly [{
|
|
1012
|
+
readonly internalType: "string";
|
|
1013
|
+
readonly name: "";
|
|
1014
|
+
readonly type: "string";
|
|
1015
|
+
}];
|
|
1016
|
+
readonly stateMutability: "view";
|
|
1017
|
+
readonly type: "function";
|
|
1018
|
+
}, {
|
|
1019
|
+
readonly inputs: readonly [{
|
|
1020
|
+
readonly internalType: "uint32";
|
|
1021
|
+
readonly name: "";
|
|
1022
|
+
readonly type: "uint32";
|
|
1023
|
+
}, {
|
|
1024
|
+
readonly internalType: "bytes32";
|
|
1025
|
+
readonly name: "";
|
|
1026
|
+
readonly type: "bytes32";
|
|
1027
|
+
}];
|
|
1028
|
+
readonly name: "nextNonce";
|
|
1029
|
+
readonly outputs: readonly [{
|
|
1030
|
+
readonly internalType: "uint64";
|
|
1031
|
+
readonly name: "nonce";
|
|
1032
|
+
readonly type: "uint64";
|
|
1033
|
+
}];
|
|
1034
|
+
readonly stateMutability: "view";
|
|
1035
|
+
readonly type: "function";
|
|
1036
|
+
}, {
|
|
1037
|
+
readonly inputs: readonly [{
|
|
1038
|
+
readonly internalType: "address";
|
|
1039
|
+
readonly name: "addr";
|
|
1040
|
+
readonly type: "address";
|
|
1041
|
+
}];
|
|
1042
|
+
readonly name: "nonces";
|
|
1043
|
+
readonly outputs: readonly [{
|
|
1044
|
+
readonly internalType: "uint256";
|
|
1045
|
+
readonly name: "";
|
|
1046
|
+
readonly type: "uint256";
|
|
1047
|
+
}];
|
|
1048
|
+
readonly stateMutability: "view";
|
|
1049
|
+
readonly type: "function";
|
|
1050
|
+
}, {
|
|
1051
|
+
readonly inputs: readonly [];
|
|
1052
|
+
readonly name: "oApp";
|
|
1053
|
+
readonly outputs: readonly [{
|
|
1054
|
+
readonly internalType: "address";
|
|
1055
|
+
readonly name: "";
|
|
1056
|
+
readonly type: "address";
|
|
1057
|
+
}];
|
|
1058
|
+
readonly stateMutability: "view";
|
|
1059
|
+
readonly type: "function";
|
|
1060
|
+
}, {
|
|
1061
|
+
readonly inputs: readonly [];
|
|
1062
|
+
readonly name: "oAppVersion";
|
|
1063
|
+
readonly outputs: readonly [{
|
|
1064
|
+
readonly internalType: "uint64";
|
|
1065
|
+
readonly name: "senderVersion";
|
|
1066
|
+
readonly type: "uint64";
|
|
1067
|
+
}, {
|
|
1068
|
+
readonly internalType: "uint64";
|
|
1069
|
+
readonly name: "receiverVersion";
|
|
1070
|
+
readonly type: "uint64";
|
|
1071
|
+
}];
|
|
1072
|
+
readonly stateMutability: "pure";
|
|
1073
|
+
readonly type: "function";
|
|
1074
|
+
}, {
|
|
1075
|
+
readonly inputs: readonly [];
|
|
1076
|
+
readonly name: "oftVersion";
|
|
1077
|
+
readonly outputs: readonly [{
|
|
1078
|
+
readonly internalType: "bytes4";
|
|
1079
|
+
readonly name: "interfaceId";
|
|
1080
|
+
readonly type: "bytes4";
|
|
1081
|
+
}, {
|
|
1082
|
+
readonly internalType: "uint64";
|
|
1083
|
+
readonly name: "version";
|
|
1084
|
+
readonly type: "uint64";
|
|
1085
|
+
}];
|
|
1086
|
+
readonly stateMutability: "pure";
|
|
1087
|
+
readonly type: "function";
|
|
1088
|
+
}, {
|
|
1089
|
+
readonly inputs: readonly [];
|
|
1090
|
+
readonly name: "owner";
|
|
1091
|
+
readonly outputs: readonly [{
|
|
1092
|
+
readonly internalType: "address";
|
|
1093
|
+
readonly name: "";
|
|
1094
|
+
readonly type: "address";
|
|
1095
|
+
}];
|
|
1096
|
+
readonly stateMutability: "view";
|
|
1097
|
+
readonly type: "function";
|
|
1098
|
+
}, {
|
|
1099
|
+
readonly inputs: readonly [{
|
|
1100
|
+
readonly internalType: "uint32";
|
|
1101
|
+
readonly name: "_eid";
|
|
1102
|
+
readonly type: "uint32";
|
|
1103
|
+
}];
|
|
1104
|
+
readonly name: "peers";
|
|
1105
|
+
readonly outputs: readonly [{
|
|
1106
|
+
readonly internalType: "bytes32";
|
|
1107
|
+
readonly name: "";
|
|
1108
|
+
readonly type: "bytes32";
|
|
1109
|
+
}];
|
|
1110
|
+
readonly stateMutability: "view";
|
|
1111
|
+
readonly type: "function";
|
|
1112
|
+
}, {
|
|
1113
|
+
readonly inputs: readonly [];
|
|
1114
|
+
readonly name: "pendingOwner";
|
|
1115
|
+
readonly outputs: readonly [{
|
|
1116
|
+
readonly internalType: "address";
|
|
1117
|
+
readonly name: "";
|
|
1118
|
+
readonly type: "address";
|
|
1119
|
+
}];
|
|
1120
|
+
readonly stateMutability: "view";
|
|
1121
|
+
readonly type: "function";
|
|
1122
|
+
}, {
|
|
1123
|
+
readonly inputs: readonly [{
|
|
1124
|
+
readonly internalType: "address";
|
|
1125
|
+
readonly name: "holderAddr";
|
|
1126
|
+
readonly type: "address";
|
|
1127
|
+
}, {
|
|
1128
|
+
readonly internalType: "address";
|
|
1129
|
+
readonly name: "spenderAddr";
|
|
1130
|
+
readonly type: "address";
|
|
1131
|
+
}, {
|
|
1132
|
+
readonly internalType: "uint256";
|
|
1133
|
+
readonly name: "value";
|
|
1134
|
+
readonly type: "uint256";
|
|
1135
|
+
}, {
|
|
1136
|
+
readonly internalType: "uint256";
|
|
1137
|
+
readonly name: "deadline";
|
|
1138
|
+
readonly type: "uint256";
|
|
1139
|
+
}, {
|
|
1140
|
+
readonly internalType: "uint8";
|
|
1141
|
+
readonly name: "v";
|
|
1142
|
+
readonly type: "uint8";
|
|
1143
|
+
}, {
|
|
1144
|
+
readonly internalType: "bytes32";
|
|
1145
|
+
readonly name: "r";
|
|
1146
|
+
readonly type: "bytes32";
|
|
1147
|
+
}, {
|
|
1148
|
+
readonly internalType: "bytes32";
|
|
1149
|
+
readonly name: "s";
|
|
1150
|
+
readonly type: "bytes32";
|
|
1151
|
+
}];
|
|
1152
|
+
readonly name: "permit";
|
|
1153
|
+
readonly outputs: readonly [];
|
|
1154
|
+
readonly stateMutability: "nonpayable";
|
|
1155
|
+
readonly type: "function";
|
|
1156
|
+
}, {
|
|
1157
|
+
readonly inputs: readonly [];
|
|
1158
|
+
readonly name: "preCrime";
|
|
1159
|
+
readonly outputs: readonly [{
|
|
1160
|
+
readonly internalType: "address";
|
|
1161
|
+
readonly name: "";
|
|
1162
|
+
readonly type: "address";
|
|
1163
|
+
}];
|
|
1164
|
+
readonly stateMutability: "view";
|
|
1165
|
+
readonly type: "function";
|
|
1166
|
+
}, {
|
|
1167
|
+
readonly inputs: readonly [{
|
|
1168
|
+
readonly components: readonly [{
|
|
1169
|
+
readonly internalType: "uint32";
|
|
1170
|
+
readonly name: "dstEid";
|
|
1171
|
+
readonly type: "uint32";
|
|
1172
|
+
}, {
|
|
1173
|
+
readonly internalType: "bytes32";
|
|
1174
|
+
readonly name: "to";
|
|
1175
|
+
readonly type: "bytes32";
|
|
1176
|
+
}, {
|
|
1177
|
+
readonly internalType: "uint256";
|
|
1178
|
+
readonly name: "amountLD";
|
|
1179
|
+
readonly type: "uint256";
|
|
1180
|
+
}, {
|
|
1181
|
+
readonly internalType: "uint256";
|
|
1182
|
+
readonly name: "minAmountLD";
|
|
1183
|
+
readonly type: "uint256";
|
|
1184
|
+
}, {
|
|
1185
|
+
readonly internalType: "bytes";
|
|
1186
|
+
readonly name: "extraOptions";
|
|
1187
|
+
readonly type: "bytes";
|
|
1188
|
+
}, {
|
|
1189
|
+
readonly internalType: "bytes";
|
|
1190
|
+
readonly name: "composeMsg";
|
|
1191
|
+
readonly type: "bytes";
|
|
1192
|
+
}, {
|
|
1193
|
+
readonly internalType: "bytes";
|
|
1194
|
+
readonly name: "oftCmd";
|
|
1195
|
+
readonly type: "bytes";
|
|
1196
|
+
}];
|
|
1197
|
+
readonly internalType: "struct SendParam";
|
|
1198
|
+
readonly name: "_sendParam";
|
|
1199
|
+
readonly type: "tuple";
|
|
1200
|
+
}];
|
|
1201
|
+
readonly name: "quoteOFT";
|
|
1202
|
+
readonly outputs: readonly [{
|
|
1203
|
+
readonly components: readonly [{
|
|
1204
|
+
readonly internalType: "uint256";
|
|
1205
|
+
readonly name: "minAmountLD";
|
|
1206
|
+
readonly type: "uint256";
|
|
1207
|
+
}, {
|
|
1208
|
+
readonly internalType: "uint256";
|
|
1209
|
+
readonly name: "maxAmountLD";
|
|
1210
|
+
readonly type: "uint256";
|
|
1211
|
+
}];
|
|
1212
|
+
readonly internalType: "struct OFTLimit";
|
|
1213
|
+
readonly name: "oftLimit";
|
|
1214
|
+
readonly type: "tuple";
|
|
1215
|
+
}, {
|
|
1216
|
+
readonly components: readonly [{
|
|
1217
|
+
readonly internalType: "int256";
|
|
1218
|
+
readonly name: "feeAmountLD";
|
|
1219
|
+
readonly type: "int256";
|
|
1220
|
+
}, {
|
|
1221
|
+
readonly internalType: "string";
|
|
1222
|
+
readonly name: "description";
|
|
1223
|
+
readonly type: "string";
|
|
1224
|
+
}];
|
|
1225
|
+
readonly internalType: "struct OFTFeeDetail[]";
|
|
1226
|
+
readonly name: "oftFeeDetails";
|
|
1227
|
+
readonly type: "tuple[]";
|
|
1228
|
+
}, {
|
|
1229
|
+
readonly components: readonly [{
|
|
1230
|
+
readonly internalType: "uint256";
|
|
1231
|
+
readonly name: "amountSentLD";
|
|
1232
|
+
readonly type: "uint256";
|
|
1233
|
+
}, {
|
|
1234
|
+
readonly internalType: "uint256";
|
|
1235
|
+
readonly name: "amountReceivedLD";
|
|
1236
|
+
readonly type: "uint256";
|
|
1237
|
+
}];
|
|
1238
|
+
readonly internalType: "struct OFTReceipt";
|
|
1239
|
+
readonly name: "oftReceipt";
|
|
1240
|
+
readonly type: "tuple";
|
|
1241
|
+
}];
|
|
1242
|
+
readonly stateMutability: "view";
|
|
1243
|
+
readonly type: "function";
|
|
1244
|
+
}, {
|
|
1245
|
+
readonly inputs: readonly [{
|
|
1246
|
+
readonly components: readonly [{
|
|
1247
|
+
readonly internalType: "uint32";
|
|
1248
|
+
readonly name: "dstEid";
|
|
1249
|
+
readonly type: "uint32";
|
|
1250
|
+
}, {
|
|
1251
|
+
readonly internalType: "bytes32";
|
|
1252
|
+
readonly name: "to";
|
|
1253
|
+
readonly type: "bytes32";
|
|
1254
|
+
}, {
|
|
1255
|
+
readonly internalType: "uint256";
|
|
1256
|
+
readonly name: "amountLD";
|
|
1257
|
+
readonly type: "uint256";
|
|
1258
|
+
}, {
|
|
1259
|
+
readonly internalType: "uint256";
|
|
1260
|
+
readonly name: "minAmountLD";
|
|
1261
|
+
readonly type: "uint256";
|
|
1262
|
+
}, {
|
|
1263
|
+
readonly internalType: "bytes";
|
|
1264
|
+
readonly name: "extraOptions";
|
|
1265
|
+
readonly type: "bytes";
|
|
1266
|
+
}, {
|
|
1267
|
+
readonly internalType: "bytes";
|
|
1268
|
+
readonly name: "composeMsg";
|
|
1269
|
+
readonly type: "bytes";
|
|
1270
|
+
}, {
|
|
1271
|
+
readonly internalType: "bytes";
|
|
1272
|
+
readonly name: "oftCmd";
|
|
1273
|
+
readonly type: "bytes";
|
|
1274
|
+
}];
|
|
1275
|
+
readonly internalType: "struct SendParam";
|
|
1276
|
+
readonly name: "_sendParam";
|
|
1277
|
+
readonly type: "tuple";
|
|
1278
|
+
}, {
|
|
1279
|
+
readonly internalType: "bool";
|
|
1280
|
+
readonly name: "_payInLzToken";
|
|
1281
|
+
readonly type: "bool";
|
|
1282
|
+
}];
|
|
1283
|
+
readonly name: "quoteSend";
|
|
1284
|
+
readonly outputs: readonly [{
|
|
1285
|
+
readonly components: readonly [{
|
|
1286
|
+
readonly internalType: "uint256";
|
|
1287
|
+
readonly name: "nativeFee";
|
|
1288
|
+
readonly type: "uint256";
|
|
1289
|
+
}, {
|
|
1290
|
+
readonly internalType: "uint256";
|
|
1291
|
+
readonly name: "lzTokenFee";
|
|
1292
|
+
readonly type: "uint256";
|
|
1293
|
+
}];
|
|
1294
|
+
readonly internalType: "struct MessagingFee";
|
|
1295
|
+
readonly name: "msgFee";
|
|
1296
|
+
readonly type: "tuple";
|
|
1297
|
+
}];
|
|
1298
|
+
readonly stateMutability: "view";
|
|
1299
|
+
readonly type: "function";
|
|
1300
|
+
}, {
|
|
1301
|
+
readonly inputs: readonly [];
|
|
1302
|
+
readonly name: "renounceOwnership";
|
|
1303
|
+
readonly outputs: readonly [];
|
|
1304
|
+
readonly stateMutability: "nonpayable";
|
|
1305
|
+
readonly type: "function";
|
|
1306
|
+
}, {
|
|
1307
|
+
readonly inputs: readonly [{
|
|
1308
|
+
readonly components: readonly [{
|
|
1309
|
+
readonly internalType: "uint32";
|
|
1310
|
+
readonly name: "dstEid";
|
|
1311
|
+
readonly type: "uint32";
|
|
1312
|
+
}, {
|
|
1313
|
+
readonly internalType: "bytes32";
|
|
1314
|
+
readonly name: "to";
|
|
1315
|
+
readonly type: "bytes32";
|
|
1316
|
+
}, {
|
|
1317
|
+
readonly internalType: "uint256";
|
|
1318
|
+
readonly name: "amountLD";
|
|
1319
|
+
readonly type: "uint256";
|
|
1320
|
+
}, {
|
|
1321
|
+
readonly internalType: "uint256";
|
|
1322
|
+
readonly name: "minAmountLD";
|
|
1323
|
+
readonly type: "uint256";
|
|
1324
|
+
}, {
|
|
1325
|
+
readonly internalType: "bytes";
|
|
1326
|
+
readonly name: "extraOptions";
|
|
1327
|
+
readonly type: "bytes";
|
|
1328
|
+
}, {
|
|
1329
|
+
readonly internalType: "bytes";
|
|
1330
|
+
readonly name: "composeMsg";
|
|
1331
|
+
readonly type: "bytes";
|
|
1332
|
+
}, {
|
|
1333
|
+
readonly internalType: "bytes";
|
|
1334
|
+
readonly name: "oftCmd";
|
|
1335
|
+
readonly type: "bytes";
|
|
1336
|
+
}];
|
|
1337
|
+
readonly internalType: "struct SendParam";
|
|
1338
|
+
readonly name: "_sendParam";
|
|
1339
|
+
readonly type: "tuple";
|
|
1340
|
+
}, {
|
|
1341
|
+
readonly components: readonly [{
|
|
1342
|
+
readonly internalType: "uint256";
|
|
1343
|
+
readonly name: "nativeFee";
|
|
1344
|
+
readonly type: "uint256";
|
|
1345
|
+
}, {
|
|
1346
|
+
readonly internalType: "uint256";
|
|
1347
|
+
readonly name: "lzTokenFee";
|
|
1348
|
+
readonly type: "uint256";
|
|
1349
|
+
}];
|
|
1350
|
+
readonly internalType: "struct MessagingFee";
|
|
1351
|
+
readonly name: "_fee";
|
|
1352
|
+
readonly type: "tuple";
|
|
1353
|
+
}, {
|
|
1354
|
+
readonly internalType: "address";
|
|
1355
|
+
readonly name: "_refundAddress";
|
|
1356
|
+
readonly type: "address";
|
|
1357
|
+
}];
|
|
1358
|
+
readonly name: "send";
|
|
1359
|
+
readonly outputs: readonly [{
|
|
1360
|
+
readonly components: readonly [{
|
|
1361
|
+
readonly internalType: "bytes32";
|
|
1362
|
+
readonly name: "guid";
|
|
1363
|
+
readonly type: "bytes32";
|
|
1364
|
+
}, {
|
|
1365
|
+
readonly internalType: "uint64";
|
|
1366
|
+
readonly name: "nonce";
|
|
1367
|
+
readonly type: "uint64";
|
|
1368
|
+
}, {
|
|
1369
|
+
readonly components: readonly [{
|
|
1370
|
+
readonly internalType: "uint256";
|
|
1371
|
+
readonly name: "nativeFee";
|
|
1372
|
+
readonly type: "uint256";
|
|
1373
|
+
}, {
|
|
1374
|
+
readonly internalType: "uint256";
|
|
1375
|
+
readonly name: "lzTokenFee";
|
|
1376
|
+
readonly type: "uint256";
|
|
1377
|
+
}];
|
|
1378
|
+
readonly internalType: "struct MessagingFee";
|
|
1379
|
+
readonly name: "fee";
|
|
1380
|
+
readonly type: "tuple";
|
|
1381
|
+
}];
|
|
1382
|
+
readonly internalType: "struct MessagingReceipt";
|
|
1383
|
+
readonly name: "msgReceipt";
|
|
1384
|
+
readonly type: "tuple";
|
|
1385
|
+
}, {
|
|
1386
|
+
readonly components: readonly [{
|
|
1387
|
+
readonly internalType: "uint256";
|
|
1388
|
+
readonly name: "amountSentLD";
|
|
1389
|
+
readonly type: "uint256";
|
|
1390
|
+
}, {
|
|
1391
|
+
readonly internalType: "uint256";
|
|
1392
|
+
readonly name: "amountReceivedLD";
|
|
1393
|
+
readonly type: "uint256";
|
|
1394
|
+
}];
|
|
1395
|
+
readonly internalType: "struct OFTReceipt";
|
|
1396
|
+
readonly name: "oftReceipt";
|
|
1397
|
+
readonly type: "tuple";
|
|
1398
|
+
}];
|
|
1399
|
+
readonly stateMutability: "payable";
|
|
1400
|
+
readonly type: "function";
|
|
1401
|
+
}, {
|
|
1402
|
+
readonly inputs: readonly [{
|
|
1403
|
+
readonly internalType: "address";
|
|
1404
|
+
readonly name: "_delegate";
|
|
1405
|
+
readonly type: "address";
|
|
1406
|
+
}];
|
|
1407
|
+
readonly name: "setDelegate";
|
|
1408
|
+
readonly outputs: readonly [];
|
|
1409
|
+
readonly stateMutability: "nonpayable";
|
|
1410
|
+
readonly type: "function";
|
|
1411
|
+
}, {
|
|
1412
|
+
readonly inputs: readonly [{
|
|
1413
|
+
readonly components: readonly [{
|
|
1414
|
+
readonly internalType: "uint32";
|
|
1415
|
+
readonly name: "eid";
|
|
1416
|
+
readonly type: "uint32";
|
|
1417
|
+
}, {
|
|
1418
|
+
readonly internalType: "uint16";
|
|
1419
|
+
readonly name: "msgType";
|
|
1420
|
+
readonly type: "uint16";
|
|
1421
|
+
}, {
|
|
1422
|
+
readonly internalType: "bytes";
|
|
1423
|
+
readonly name: "options";
|
|
1424
|
+
readonly type: "bytes";
|
|
1425
|
+
}];
|
|
1426
|
+
readonly internalType: "struct EnforcedOptionParam[]";
|
|
1427
|
+
readonly name: "_enforcedOptions";
|
|
1428
|
+
readonly type: "tuple[]";
|
|
1429
|
+
}];
|
|
1430
|
+
readonly name: "setEnforcedOptions";
|
|
1431
|
+
readonly outputs: readonly [];
|
|
1432
|
+
readonly stateMutability: "nonpayable";
|
|
1433
|
+
readonly type: "function";
|
|
1434
|
+
}, {
|
|
1435
|
+
readonly inputs: readonly [{
|
|
1436
|
+
readonly internalType: "address";
|
|
1437
|
+
readonly name: "_msgInspector";
|
|
1438
|
+
readonly type: "address";
|
|
1439
|
+
}];
|
|
1440
|
+
readonly name: "setMsgInspector";
|
|
1441
|
+
readonly outputs: readonly [];
|
|
1442
|
+
readonly stateMutability: "nonpayable";
|
|
1443
|
+
readonly type: "function";
|
|
1444
|
+
}, {
|
|
1445
|
+
readonly inputs: readonly [{
|
|
1446
|
+
readonly internalType: "uint32";
|
|
1447
|
+
readonly name: "_eid";
|
|
1448
|
+
readonly type: "uint32";
|
|
1449
|
+
}, {
|
|
1450
|
+
readonly internalType: "bytes32";
|
|
1451
|
+
readonly name: "_peer";
|
|
1452
|
+
readonly type: "bytes32";
|
|
1453
|
+
}];
|
|
1454
|
+
readonly name: "setPeer";
|
|
1455
|
+
readonly outputs: readonly [];
|
|
1456
|
+
readonly stateMutability: "nonpayable";
|
|
1457
|
+
readonly type: "function";
|
|
1458
|
+
}, {
|
|
1459
|
+
readonly inputs: readonly [{
|
|
1460
|
+
readonly internalType: "address";
|
|
1461
|
+
readonly name: "_preCrime";
|
|
1462
|
+
readonly type: "address";
|
|
1463
|
+
}];
|
|
1464
|
+
readonly name: "setPreCrime";
|
|
1465
|
+
readonly outputs: readonly [];
|
|
1466
|
+
readonly stateMutability: "nonpayable";
|
|
1467
|
+
readonly type: "function";
|
|
1468
|
+
}, {
|
|
1469
|
+
readonly inputs: readonly [];
|
|
1470
|
+
readonly name: "sharedDecimals";
|
|
1471
|
+
readonly outputs: readonly [{
|
|
1472
|
+
readonly internalType: "uint8";
|
|
1473
|
+
readonly name: "";
|
|
1474
|
+
readonly type: "uint8";
|
|
1475
|
+
}];
|
|
1476
|
+
readonly stateMutability: "pure";
|
|
1477
|
+
readonly type: "function";
|
|
1478
|
+
}, {
|
|
1479
|
+
readonly inputs: readonly [];
|
|
1480
|
+
readonly name: "symbol";
|
|
1481
|
+
readonly outputs: readonly [{
|
|
1482
|
+
readonly internalType: "string";
|
|
1483
|
+
readonly name: "";
|
|
1484
|
+
readonly type: "string";
|
|
1485
|
+
}];
|
|
1486
|
+
readonly stateMutability: "view";
|
|
1487
|
+
readonly type: "function";
|
|
1488
|
+
}, {
|
|
1489
|
+
readonly inputs: readonly [];
|
|
1490
|
+
readonly name: "token";
|
|
1491
|
+
readonly outputs: readonly [{
|
|
1492
|
+
readonly internalType: "address";
|
|
1493
|
+
readonly name: "";
|
|
1494
|
+
readonly type: "address";
|
|
1495
|
+
}];
|
|
1496
|
+
readonly stateMutability: "view";
|
|
1497
|
+
readonly type: "function";
|
|
1498
|
+
}, {
|
|
1499
|
+
readonly inputs: readonly [];
|
|
1500
|
+
readonly name: "totalSupply";
|
|
1501
|
+
readonly outputs: readonly [{
|
|
1502
|
+
readonly internalType: "uint256";
|
|
1503
|
+
readonly name: "";
|
|
1504
|
+
readonly type: "uint256";
|
|
1505
|
+
}];
|
|
1506
|
+
readonly stateMutability: "view";
|
|
1507
|
+
readonly type: "function";
|
|
1508
|
+
}, {
|
|
1509
|
+
readonly inputs: readonly [{
|
|
1510
|
+
readonly internalType: "address";
|
|
1511
|
+
readonly name: "to";
|
|
1512
|
+
readonly type: "address";
|
|
1513
|
+
}, {
|
|
1514
|
+
readonly internalType: "uint256";
|
|
1515
|
+
readonly name: "amount";
|
|
1516
|
+
readonly type: "uint256";
|
|
1517
|
+
}];
|
|
1518
|
+
readonly name: "transfer";
|
|
1519
|
+
readonly outputs: readonly [{
|
|
1520
|
+
readonly internalType: "bool";
|
|
1521
|
+
readonly name: "";
|
|
1522
|
+
readonly type: "bool";
|
|
1523
|
+
}];
|
|
1524
|
+
readonly stateMutability: "nonpayable";
|
|
1525
|
+
readonly type: "function";
|
|
1526
|
+
}, {
|
|
1527
|
+
readonly inputs: readonly [{
|
|
1528
|
+
readonly internalType: "address";
|
|
1529
|
+
readonly name: "from";
|
|
1530
|
+
readonly type: "address";
|
|
1531
|
+
}, {
|
|
1532
|
+
readonly internalType: "address";
|
|
1533
|
+
readonly name: "to";
|
|
1534
|
+
readonly type: "address";
|
|
1535
|
+
}, {
|
|
1536
|
+
readonly internalType: "uint256";
|
|
1537
|
+
readonly name: "amount";
|
|
1538
|
+
readonly type: "uint256";
|
|
1539
|
+
}];
|
|
1540
|
+
readonly name: "transferFrom";
|
|
1541
|
+
readonly outputs: readonly [{
|
|
1542
|
+
readonly internalType: "bool";
|
|
1543
|
+
readonly name: "";
|
|
1544
|
+
readonly type: "bool";
|
|
1545
|
+
}];
|
|
1546
|
+
readonly stateMutability: "nonpayable";
|
|
1547
|
+
readonly type: "function";
|
|
1548
|
+
}, {
|
|
1549
|
+
readonly inputs: readonly [{
|
|
1550
|
+
readonly internalType: "address";
|
|
1551
|
+
readonly name: "newOwner";
|
|
1552
|
+
readonly type: "address";
|
|
1553
|
+
}];
|
|
1554
|
+
readonly name: "transferOwnership";
|
|
1555
|
+
readonly outputs: readonly [];
|
|
1556
|
+
readonly stateMutability: "nonpayable";
|
|
1557
|
+
readonly type: "function";
|
|
1558
|
+
}, {
|
|
1559
|
+
readonly inputs: readonly [{
|
|
1560
|
+
readonly internalType: "address";
|
|
1561
|
+
readonly name: "holderAddr";
|
|
1562
|
+
readonly type: "address";
|
|
1563
|
+
}];
|
|
1564
|
+
readonly name: "unlockTokens";
|
|
1565
|
+
readonly outputs: readonly [];
|
|
1566
|
+
readonly stateMutability: "nonpayable";
|
|
1567
|
+
readonly type: "function";
|
|
1568
|
+
}];
|