@chainlink/ccip-sdk 0.96.0 → 1.0.0
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 +12 -9
- package/dist/api/index.d.ts +21 -8
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +42 -13
- package/dist/api/index.js.map +1 -1
- package/dist/api/types.d.ts +0 -2
- package/dist/api/types.d.ts.map +1 -1
- package/dist/aptos/exec.d.ts +2 -2
- package/dist/aptos/exec.d.ts.map +1 -1
- package/dist/aptos/exec.js.map +1 -1
- package/dist/aptos/hasher.d.ts.map +1 -1
- package/dist/aptos/hasher.js +1 -1
- package/dist/aptos/hasher.js.map +1 -1
- package/dist/aptos/index.d.ts +17 -16
- package/dist/aptos/index.d.ts.map +1 -1
- package/dist/aptos/index.js +42 -73
- package/dist/aptos/index.js.map +1 -1
- package/dist/aptos/logs.d.ts +2 -2
- package/dist/aptos/logs.d.ts.map +1 -1
- package/dist/aptos/types.d.ts +2 -19
- package/dist/aptos/types.d.ts.map +1 -1
- package/dist/aptos/types.js +0 -11
- package/dist/aptos/types.js.map +1 -1
- package/dist/chain.d.ts +538 -158
- package/dist/chain.d.ts.map +1 -1
- package/dist/chain.js +132 -19
- package/dist/chain.js.map +1 -1
- package/dist/commits.d.ts +4 -6
- package/dist/commits.d.ts.map +1 -1
- package/dist/commits.js +4 -4
- package/dist/commits.js.map +1 -1
- package/dist/errors/CCIPError.d.ts +33 -4
- package/dist/errors/CCIPError.d.ts.map +1 -1
- package/dist/errors/CCIPError.js +33 -4
- package/dist/errors/CCIPError.js.map +1 -1
- package/dist/errors/codes.d.ts +3 -0
- package/dist/errors/codes.d.ts.map +1 -1
- package/dist/errors/codes.js +3 -1
- package/dist/errors/codes.js.map +1 -1
- package/dist/errors/index.d.ts +4 -4
- package/dist/errors/index.d.ts.map +1 -1
- package/dist/errors/index.js +4 -4
- package/dist/errors/index.js.map +1 -1
- package/dist/errors/recovery.d.ts.map +1 -1
- package/dist/errors/recovery.js +4 -1
- package/dist/errors/recovery.js.map +1 -1
- package/dist/errors/specialized.d.ts +1695 -120
- package/dist/errors/specialized.d.ts.map +1 -1
- package/dist/errors/specialized.js +1715 -123
- package/dist/errors/specialized.js.map +1 -1
- package/dist/errors/utils.d.ts.map +1 -1
- package/dist/errors/utils.js +0 -1
- package/dist/errors/utils.js.map +1 -1
- package/dist/evm/abi/OffRamp_2_0.d.ts +764 -0
- package/dist/evm/abi/OffRamp_2_0.d.ts.map +1 -0
- package/dist/evm/abi/OffRamp_2_0.js +744 -0
- package/dist/evm/abi/OffRamp_2_0.js.map +1 -0
- package/dist/evm/abi/OnRamp_2_0.d.ts +925 -0
- package/dist/evm/abi/OnRamp_2_0.d.ts.map +1 -0
- package/dist/evm/abi/OnRamp_2_0.js +992 -0
- package/dist/evm/abi/OnRamp_2_0.js.map +1 -0
- package/dist/evm/const.d.ts +12 -2
- package/dist/evm/const.d.ts.map +1 -1
- package/dist/evm/const.js +8 -2
- package/dist/evm/const.js.map +1 -1
- package/dist/evm/errors.d.ts.map +1 -1
- package/dist/evm/errors.js +7 -2
- package/dist/evm/errors.js.map +1 -1
- package/dist/evm/extra-args.d.ts.map +1 -1
- package/dist/evm/extra-args.js +5 -24
- package/dist/evm/extra-args.js.map +1 -1
- package/dist/evm/hasher.d.ts.map +1 -1
- package/dist/evm/hasher.js +23 -13
- package/dist/evm/hasher.js.map +1 -1
- package/dist/evm/index.d.ts +73 -16
- package/dist/evm/index.d.ts.map +1 -1
- package/dist/evm/index.js +241 -146
- package/dist/evm/index.js.map +1 -1
- package/dist/evm/logs.d.ts +1 -1
- package/dist/evm/logs.js +1 -1
- package/dist/evm/messages.d.ts +59 -5
- package/dist/evm/messages.d.ts.map +1 -1
- package/dist/evm/messages.js +210 -0
- package/dist/evm/messages.js.map +1 -1
- package/dist/evm/offchain.d.ts +1 -14
- package/dist/evm/offchain.d.ts.map +1 -1
- package/dist/evm/offchain.js +1 -133
- package/dist/evm/offchain.js.map +1 -1
- package/dist/evm/types.d.ts +7 -2
- package/dist/evm/types.d.ts.map +1 -1
- package/dist/evm/types.js +22 -1
- package/dist/evm/types.js.map +1 -1
- package/dist/execution.d.ts +62 -22
- package/dist/execution.d.ts.map +1 -1
- package/dist/execution.js +98 -61
- package/dist/execution.js.map +1 -1
- package/dist/extra-args.d.ts +13 -3
- package/dist/extra-args.d.ts.map +1 -1
- package/dist/extra-args.js +13 -3
- package/dist/extra-args.js.map +1 -1
- package/dist/gas.d.ts +25 -2
- package/dist/gas.d.ts.map +1 -1
- package/dist/gas.js +30 -4
- package/dist/gas.js.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/offchain.d.ts +23 -6
- package/dist/offchain.d.ts.map +1 -1
- package/dist/offchain.js +92 -17
- package/dist/offchain.js.map +1 -1
- package/dist/requests.d.ts +85 -14
- package/dist/requests.d.ts.map +1 -1
- package/dist/requests.js +99 -17
- package/dist/requests.js.map +1 -1
- package/dist/selectors.d.ts.map +1 -1
- package/dist/selectors.js +12 -0
- package/dist/selectors.js.map +1 -1
- package/dist/shared/bcs-codecs.d.ts +61 -0
- package/dist/shared/bcs-codecs.d.ts.map +1 -0
- package/dist/shared/bcs-codecs.js +102 -0
- package/dist/shared/bcs-codecs.js.map +1 -0
- package/dist/shared/constants.d.ts +3 -0
- package/dist/shared/constants.d.ts.map +1 -0
- package/dist/shared/constants.js +3 -0
- package/dist/shared/constants.js.map +1 -0
- package/dist/solana/exec.d.ts +2 -2
- package/dist/solana/exec.d.ts.map +1 -1
- package/dist/solana/exec.js.map +1 -1
- package/dist/solana/idl/1.6.0/BASE_TOKEN_POOL.d.ts +1 -1
- package/dist/solana/idl/1.6.0/BASE_TOKEN_POOL.js +1 -1
- package/dist/solana/idl/1.6.0/BURN_MINT_TOKEN_POOL.d.ts +1 -1
- package/dist/solana/idl/1.6.0/BURN_MINT_TOKEN_POOL.js +1 -1
- package/dist/solana/idl/1.6.0/CCIP_CCTP_TOKEN_POOL.d.ts +1 -1
- package/dist/solana/idl/1.6.0/CCIP_CCTP_TOKEN_POOL.js +1 -1
- package/dist/solana/idl/1.6.0/CCIP_COMMON.d.ts +16 -1
- package/dist/solana/idl/1.6.0/CCIP_COMMON.d.ts.map +1 -1
- package/dist/solana/idl/1.6.0/CCIP_COMMON.js +16 -1
- package/dist/solana/idl/1.6.0/CCIP_COMMON.js.map +1 -1
- package/dist/solana/idl/1.6.0/CCIP_OFFRAMP.d.ts +1 -1
- package/dist/solana/idl/1.6.0/CCIP_OFFRAMP.js +1 -1
- package/dist/solana/idl/1.6.0/CCIP_ROUTER.d.ts +1 -1
- package/dist/solana/idl/1.6.0/CCIP_ROUTER.js +1 -1
- package/dist/solana/index.d.ts +85 -24
- package/dist/solana/index.d.ts.map +1 -1
- package/dist/solana/index.js +69 -37
- package/dist/solana/index.js.map +1 -1
- package/dist/solana/offchain.d.ts +1 -13
- package/dist/solana/offchain.d.ts.map +1 -1
- package/dist/solana/offchain.js +1 -66
- package/dist/solana/offchain.js.map +1 -1
- package/dist/solana/utils.d.ts +4 -4
- package/dist/solana/utils.d.ts.map +1 -1
- package/dist/solana/utils.js +1 -1
- package/dist/solana/utils.js.map +1 -1
- package/dist/sui/hasher.d.ts.map +1 -1
- package/dist/sui/hasher.js +1 -1
- package/dist/sui/hasher.js.map +1 -1
- package/dist/sui/index.d.ts +18 -18
- package/dist/sui/index.d.ts.map +1 -1
- package/dist/sui/index.js +38 -39
- package/dist/sui/index.js.map +1 -1
- package/dist/sui/manuallyExec/encoder.d.ts +2 -2
- package/dist/sui/manuallyExec/encoder.d.ts.map +1 -1
- package/dist/sui/manuallyExec/encoder.js.map +1 -1
- package/dist/sui/manuallyExec/index.d.ts +2 -2
- package/dist/sui/manuallyExec/index.d.ts.map +1 -1
- package/dist/ton/exec.d.ts +3 -3
- package/dist/ton/exec.d.ts.map +1 -1
- package/dist/ton/exec.js +1 -1
- package/dist/ton/exec.js.map +1 -1
- package/dist/ton/index.d.ts +14 -22
- package/dist/ton/index.d.ts.map +1 -1
- package/dist/ton/index.js +26 -35
- package/dist/ton/index.js.map +1 -1
- package/dist/ton/types.d.ts +3 -5
- package/dist/ton/types.d.ts.map +1 -1
- package/dist/ton/types.js.map +1 -1
- package/dist/types.d.ts +55 -20
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +6 -1
- package/dist/types.js.map +1 -1
- package/dist/utils.d.ts +65 -2
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +74 -2
- package/dist/utils.js.map +1 -1
- package/package.json +14 -10
- package/src/api/index.ts +53 -17
- package/src/api/types.ts +0 -2
- package/src/aptos/exec.ts +2 -2
- package/src/aptos/hasher.ts +1 -1
- package/src/aptos/index.ts +55 -100
- package/src/aptos/logs.ts +2 -2
- package/src/aptos/types.ts +2 -15
- package/src/chain.ts +594 -171
- package/src/commits.ts +9 -9
- package/src/errors/CCIPError.ts +33 -4
- package/src/errors/codes.ts +3 -1
- package/src/errors/index.ts +4 -0
- package/src/errors/recovery.ts +7 -1
- package/src/errors/specialized.ts +1726 -130
- package/src/errors/utils.ts +0 -1
- package/src/evm/abi/OffRamp_2_0.ts +743 -0
- package/src/evm/abi/OnRamp_2_0.ts +991 -0
- package/src/evm/const.ts +10 -3
- package/src/evm/errors.ts +6 -2
- package/src/evm/extra-args.ts +4 -21
- package/src/evm/hasher.ts +30 -18
- package/src/evm/index.ts +314 -176
- package/src/evm/logs.ts +1 -1
- package/src/evm/messages.ts +323 -11
- package/src/evm/offchain.ts +2 -191
- package/src/evm/types.ts +20 -2
- package/src/execution.ts +125 -86
- package/src/extra-args.ts +13 -3
- package/src/gas.ts +29 -3
- package/src/index.ts +10 -3
- package/src/offchain.ts +125 -28
- package/src/requests.ts +114 -19
- package/src/selectors.ts +12 -0
- package/src/shared/bcs-codecs.ts +132 -0
- package/src/shared/constants.ts +2 -0
- package/src/solana/exec.ts +4 -4
- package/src/solana/idl/1.6.0/BASE_TOKEN_POOL.ts +2 -2
- package/src/solana/idl/1.6.0/BURN_MINT_TOKEN_POOL.ts +2 -2
- package/src/solana/idl/1.6.0/CCIP_CCTP_TOKEN_POOL.ts +2 -2
- package/src/solana/idl/1.6.0/CCIP_COMMON.ts +32 -2
- package/src/solana/idl/1.6.0/CCIP_OFFRAMP.ts +2 -2
- package/src/solana/idl/1.6.0/CCIP_ROUTER.ts +2 -2
- package/src/solana/index.ts +110 -85
- package/src/solana/offchain.ts +3 -100
- package/src/solana/utils.ts +8 -5
- package/src/sui/hasher.ts +1 -1
- package/src/sui/index.ts +55 -59
- package/src/sui/manuallyExec/encoder.ts +2 -2
- package/src/sui/manuallyExec/index.ts +2 -2
- package/src/ton/exec.ts +4 -7
- package/src/ton/index.ts +45 -53
- package/src/ton/types.ts +4 -7
- package/src/types.ts +81 -37
- package/src/utils.ts +73 -2
- package/dist/aptos/utils.d.ts +0 -12
- package/dist/aptos/utils.d.ts.map +0 -1
- package/dist/aptos/utils.js +0 -15
- package/dist/aptos/utils.js.map +0 -1
- package/src/aptos/utils.ts +0 -24
|
@@ -0,0 +1,925 @@
|
|
|
1
|
+
declare const _default: readonly [{
|
|
2
|
+
readonly type: "constructor";
|
|
3
|
+
readonly inputs: readonly [{
|
|
4
|
+
readonly name: "staticConfig";
|
|
5
|
+
readonly type: "tuple";
|
|
6
|
+
readonly internalType: "struct OnRamp.StaticConfig";
|
|
7
|
+
readonly components: readonly [{
|
|
8
|
+
readonly name: "chainSelector";
|
|
9
|
+
readonly type: "uint64";
|
|
10
|
+
readonly internalType: "uint64";
|
|
11
|
+
}, {
|
|
12
|
+
readonly name: "rmnRemote";
|
|
13
|
+
readonly type: "address";
|
|
14
|
+
readonly internalType: "contract IRMNRemote";
|
|
15
|
+
}, {
|
|
16
|
+
readonly name: "maxUSDCentsPerMessage";
|
|
17
|
+
readonly type: "uint32";
|
|
18
|
+
readonly internalType: "uint32";
|
|
19
|
+
}, {
|
|
20
|
+
readonly name: "tokenAdminRegistry";
|
|
21
|
+
readonly type: "address";
|
|
22
|
+
readonly internalType: "address";
|
|
23
|
+
}];
|
|
24
|
+
}, {
|
|
25
|
+
readonly name: "dynamicConfig";
|
|
26
|
+
readonly type: "tuple";
|
|
27
|
+
readonly internalType: "struct OnRamp.DynamicConfig";
|
|
28
|
+
readonly components: readonly [{
|
|
29
|
+
readonly name: "feeQuoter";
|
|
30
|
+
readonly type: "address";
|
|
31
|
+
readonly internalType: "address";
|
|
32
|
+
}, {
|
|
33
|
+
readonly name: "reentrancyGuardEntered";
|
|
34
|
+
readonly type: "bool";
|
|
35
|
+
readonly internalType: "bool";
|
|
36
|
+
}, {
|
|
37
|
+
readonly name: "feeAggregator";
|
|
38
|
+
readonly type: "address";
|
|
39
|
+
readonly internalType: "address";
|
|
40
|
+
}];
|
|
41
|
+
}];
|
|
42
|
+
readonly stateMutability: "nonpayable";
|
|
43
|
+
}, {
|
|
44
|
+
readonly type: "function";
|
|
45
|
+
readonly name: "acceptOwnership";
|
|
46
|
+
readonly inputs: readonly [];
|
|
47
|
+
readonly outputs: readonly [];
|
|
48
|
+
readonly stateMutability: "nonpayable";
|
|
49
|
+
}, {
|
|
50
|
+
readonly type: "function";
|
|
51
|
+
readonly name: "applyDestChainConfigUpdates";
|
|
52
|
+
readonly inputs: readonly [{
|
|
53
|
+
readonly name: "destChainConfigArgs";
|
|
54
|
+
readonly type: "tuple[]";
|
|
55
|
+
readonly internalType: "struct OnRamp.DestChainConfigArgs[]";
|
|
56
|
+
readonly components: readonly [{
|
|
57
|
+
readonly name: "destChainSelector";
|
|
58
|
+
readonly type: "uint64";
|
|
59
|
+
readonly internalType: "uint64";
|
|
60
|
+
}, {
|
|
61
|
+
readonly name: "router";
|
|
62
|
+
readonly type: "address";
|
|
63
|
+
readonly internalType: "contract IRouter";
|
|
64
|
+
}, {
|
|
65
|
+
readonly name: "addressBytesLength";
|
|
66
|
+
readonly type: "uint8";
|
|
67
|
+
readonly internalType: "uint8";
|
|
68
|
+
}, {
|
|
69
|
+
readonly name: "tokenReceiverAllowed";
|
|
70
|
+
readonly type: "bool";
|
|
71
|
+
readonly internalType: "bool";
|
|
72
|
+
}, {
|
|
73
|
+
readonly name: "messageNetworkFeeUSDCents";
|
|
74
|
+
readonly type: "uint16";
|
|
75
|
+
readonly internalType: "uint16";
|
|
76
|
+
}, {
|
|
77
|
+
readonly name: "tokenNetworkFeeUSDCents";
|
|
78
|
+
readonly type: "uint16";
|
|
79
|
+
readonly internalType: "uint16";
|
|
80
|
+
}, {
|
|
81
|
+
readonly name: "baseExecutionGasCost";
|
|
82
|
+
readonly type: "uint32";
|
|
83
|
+
readonly internalType: "uint32";
|
|
84
|
+
}, {
|
|
85
|
+
readonly name: "defaultCCVs";
|
|
86
|
+
readonly type: "address[]";
|
|
87
|
+
readonly internalType: "address[]";
|
|
88
|
+
}, {
|
|
89
|
+
readonly name: "laneMandatedCCVs";
|
|
90
|
+
readonly type: "address[]";
|
|
91
|
+
readonly internalType: "address[]";
|
|
92
|
+
}, {
|
|
93
|
+
readonly name: "defaultExecutor";
|
|
94
|
+
readonly type: "address";
|
|
95
|
+
readonly internalType: "address";
|
|
96
|
+
}, {
|
|
97
|
+
readonly name: "offRamp";
|
|
98
|
+
readonly type: "bytes";
|
|
99
|
+
readonly internalType: "bytes";
|
|
100
|
+
}];
|
|
101
|
+
}];
|
|
102
|
+
readonly outputs: readonly [];
|
|
103
|
+
readonly stateMutability: "nonpayable";
|
|
104
|
+
}, {
|
|
105
|
+
readonly type: "function";
|
|
106
|
+
readonly name: "forwardFromRouter";
|
|
107
|
+
readonly inputs: readonly [{
|
|
108
|
+
readonly name: "destChainSelector";
|
|
109
|
+
readonly type: "uint64";
|
|
110
|
+
readonly internalType: "uint64";
|
|
111
|
+
}, {
|
|
112
|
+
readonly name: "message";
|
|
113
|
+
readonly type: "tuple";
|
|
114
|
+
readonly internalType: "struct Client.EVM2AnyMessage";
|
|
115
|
+
readonly components: readonly [{
|
|
116
|
+
readonly name: "receiver";
|
|
117
|
+
readonly type: "bytes";
|
|
118
|
+
readonly internalType: "bytes";
|
|
119
|
+
}, {
|
|
120
|
+
readonly name: "data";
|
|
121
|
+
readonly type: "bytes";
|
|
122
|
+
readonly internalType: "bytes";
|
|
123
|
+
}, {
|
|
124
|
+
readonly name: "tokenAmounts";
|
|
125
|
+
readonly type: "tuple[]";
|
|
126
|
+
readonly internalType: "struct Client.EVMTokenAmount[]";
|
|
127
|
+
readonly components: readonly [{
|
|
128
|
+
readonly name: "token";
|
|
129
|
+
readonly type: "address";
|
|
130
|
+
readonly internalType: "address";
|
|
131
|
+
}, {
|
|
132
|
+
readonly name: "amount";
|
|
133
|
+
readonly type: "uint256";
|
|
134
|
+
readonly internalType: "uint256";
|
|
135
|
+
}];
|
|
136
|
+
}, {
|
|
137
|
+
readonly name: "feeToken";
|
|
138
|
+
readonly type: "address";
|
|
139
|
+
readonly internalType: "address";
|
|
140
|
+
}, {
|
|
141
|
+
readonly name: "extraArgs";
|
|
142
|
+
readonly type: "bytes";
|
|
143
|
+
readonly internalType: "bytes";
|
|
144
|
+
}];
|
|
145
|
+
}, {
|
|
146
|
+
readonly name: "feeTokenAmount";
|
|
147
|
+
readonly type: "uint256";
|
|
148
|
+
readonly internalType: "uint256";
|
|
149
|
+
}, {
|
|
150
|
+
readonly name: "originalSender";
|
|
151
|
+
readonly type: "address";
|
|
152
|
+
readonly internalType: "address";
|
|
153
|
+
}];
|
|
154
|
+
readonly outputs: readonly [{
|
|
155
|
+
readonly name: "messageId";
|
|
156
|
+
readonly type: "bytes32";
|
|
157
|
+
readonly internalType: "bytes32";
|
|
158
|
+
}];
|
|
159
|
+
readonly stateMutability: "nonpayable";
|
|
160
|
+
}, {
|
|
161
|
+
readonly type: "function";
|
|
162
|
+
readonly name: "getAllDestChainConfigs";
|
|
163
|
+
readonly inputs: readonly [];
|
|
164
|
+
readonly outputs: readonly [{
|
|
165
|
+
readonly name: "";
|
|
166
|
+
readonly type: "uint64[]";
|
|
167
|
+
readonly internalType: "uint64[]";
|
|
168
|
+
}, {
|
|
169
|
+
readonly name: "";
|
|
170
|
+
readonly type: "tuple[]";
|
|
171
|
+
readonly internalType: "struct OnRamp.DestChainConfig[]";
|
|
172
|
+
readonly components: readonly [{
|
|
173
|
+
readonly name: "router";
|
|
174
|
+
readonly type: "address";
|
|
175
|
+
readonly internalType: "contract IRouter";
|
|
176
|
+
}, {
|
|
177
|
+
readonly name: "messageNumber";
|
|
178
|
+
readonly type: "uint64";
|
|
179
|
+
readonly internalType: "uint64";
|
|
180
|
+
}, {
|
|
181
|
+
readonly name: "addressBytesLength";
|
|
182
|
+
readonly type: "uint8";
|
|
183
|
+
readonly internalType: "uint8";
|
|
184
|
+
}, {
|
|
185
|
+
readonly name: "tokenReceiverAllowed";
|
|
186
|
+
readonly type: "bool";
|
|
187
|
+
readonly internalType: "bool";
|
|
188
|
+
}, {
|
|
189
|
+
readonly name: "messageNetworkFeeUSDCents";
|
|
190
|
+
readonly type: "uint16";
|
|
191
|
+
readonly internalType: "uint16";
|
|
192
|
+
}, {
|
|
193
|
+
readonly name: "tokenNetworkFeeUSDCents";
|
|
194
|
+
readonly type: "uint16";
|
|
195
|
+
readonly internalType: "uint16";
|
|
196
|
+
}, {
|
|
197
|
+
readonly name: "baseExecutionGasCost";
|
|
198
|
+
readonly type: "uint32";
|
|
199
|
+
readonly internalType: "uint32";
|
|
200
|
+
}, {
|
|
201
|
+
readonly name: "defaultExecutor";
|
|
202
|
+
readonly type: "address";
|
|
203
|
+
readonly internalType: "address";
|
|
204
|
+
}, {
|
|
205
|
+
readonly name: "laneMandatedCCVs";
|
|
206
|
+
readonly type: "address[]";
|
|
207
|
+
readonly internalType: "address[]";
|
|
208
|
+
}, {
|
|
209
|
+
readonly name: "defaultCCVs";
|
|
210
|
+
readonly type: "address[]";
|
|
211
|
+
readonly internalType: "address[]";
|
|
212
|
+
}, {
|
|
213
|
+
readonly name: "offRamp";
|
|
214
|
+
readonly type: "bytes";
|
|
215
|
+
readonly internalType: "bytes";
|
|
216
|
+
}];
|
|
217
|
+
}];
|
|
218
|
+
readonly stateMutability: "view";
|
|
219
|
+
}, {
|
|
220
|
+
readonly type: "function";
|
|
221
|
+
readonly name: "getDestChainConfig";
|
|
222
|
+
readonly inputs: readonly [{
|
|
223
|
+
readonly name: "destChainSelector";
|
|
224
|
+
readonly type: "uint64";
|
|
225
|
+
readonly internalType: "uint64";
|
|
226
|
+
}];
|
|
227
|
+
readonly outputs: readonly [{
|
|
228
|
+
readonly name: "destChainConfig";
|
|
229
|
+
readonly type: "tuple";
|
|
230
|
+
readonly internalType: "struct OnRamp.DestChainConfig";
|
|
231
|
+
readonly components: readonly [{
|
|
232
|
+
readonly name: "router";
|
|
233
|
+
readonly type: "address";
|
|
234
|
+
readonly internalType: "contract IRouter";
|
|
235
|
+
}, {
|
|
236
|
+
readonly name: "messageNumber";
|
|
237
|
+
readonly type: "uint64";
|
|
238
|
+
readonly internalType: "uint64";
|
|
239
|
+
}, {
|
|
240
|
+
readonly name: "addressBytesLength";
|
|
241
|
+
readonly type: "uint8";
|
|
242
|
+
readonly internalType: "uint8";
|
|
243
|
+
}, {
|
|
244
|
+
readonly name: "tokenReceiverAllowed";
|
|
245
|
+
readonly type: "bool";
|
|
246
|
+
readonly internalType: "bool";
|
|
247
|
+
}, {
|
|
248
|
+
readonly name: "messageNetworkFeeUSDCents";
|
|
249
|
+
readonly type: "uint16";
|
|
250
|
+
readonly internalType: "uint16";
|
|
251
|
+
}, {
|
|
252
|
+
readonly name: "tokenNetworkFeeUSDCents";
|
|
253
|
+
readonly type: "uint16";
|
|
254
|
+
readonly internalType: "uint16";
|
|
255
|
+
}, {
|
|
256
|
+
readonly name: "baseExecutionGasCost";
|
|
257
|
+
readonly type: "uint32";
|
|
258
|
+
readonly internalType: "uint32";
|
|
259
|
+
}, {
|
|
260
|
+
readonly name: "defaultExecutor";
|
|
261
|
+
readonly type: "address";
|
|
262
|
+
readonly internalType: "address";
|
|
263
|
+
}, {
|
|
264
|
+
readonly name: "laneMandatedCCVs";
|
|
265
|
+
readonly type: "address[]";
|
|
266
|
+
readonly internalType: "address[]";
|
|
267
|
+
}, {
|
|
268
|
+
readonly name: "defaultCCVs";
|
|
269
|
+
readonly type: "address[]";
|
|
270
|
+
readonly internalType: "address[]";
|
|
271
|
+
}, {
|
|
272
|
+
readonly name: "offRamp";
|
|
273
|
+
readonly type: "bytes";
|
|
274
|
+
readonly internalType: "bytes";
|
|
275
|
+
}];
|
|
276
|
+
}];
|
|
277
|
+
readonly stateMutability: "view";
|
|
278
|
+
}, {
|
|
279
|
+
readonly type: "function";
|
|
280
|
+
readonly name: "getDynamicConfig";
|
|
281
|
+
readonly inputs: readonly [];
|
|
282
|
+
readonly outputs: readonly [{
|
|
283
|
+
readonly name: "dynamicConfig";
|
|
284
|
+
readonly type: "tuple";
|
|
285
|
+
readonly internalType: "struct OnRamp.DynamicConfig";
|
|
286
|
+
readonly components: readonly [{
|
|
287
|
+
readonly name: "feeQuoter";
|
|
288
|
+
readonly type: "address";
|
|
289
|
+
readonly internalType: "address";
|
|
290
|
+
}, {
|
|
291
|
+
readonly name: "reentrancyGuardEntered";
|
|
292
|
+
readonly type: "bool";
|
|
293
|
+
readonly internalType: "bool";
|
|
294
|
+
}, {
|
|
295
|
+
readonly name: "feeAggregator";
|
|
296
|
+
readonly type: "address";
|
|
297
|
+
readonly internalType: "address";
|
|
298
|
+
}];
|
|
299
|
+
}];
|
|
300
|
+
readonly stateMutability: "view";
|
|
301
|
+
}, {
|
|
302
|
+
readonly type: "function";
|
|
303
|
+
readonly name: "getExpectedNextMessageNumber";
|
|
304
|
+
readonly inputs: readonly [{
|
|
305
|
+
readonly name: "destChainSelector";
|
|
306
|
+
readonly type: "uint64";
|
|
307
|
+
readonly internalType: "uint64";
|
|
308
|
+
}];
|
|
309
|
+
readonly outputs: readonly [{
|
|
310
|
+
readonly name: "";
|
|
311
|
+
readonly type: "uint64";
|
|
312
|
+
readonly internalType: "uint64";
|
|
313
|
+
}];
|
|
314
|
+
readonly stateMutability: "view";
|
|
315
|
+
}, {
|
|
316
|
+
readonly type: "function";
|
|
317
|
+
readonly name: "getFee";
|
|
318
|
+
readonly inputs: readonly [{
|
|
319
|
+
readonly name: "destChainSelector";
|
|
320
|
+
readonly type: "uint64";
|
|
321
|
+
readonly internalType: "uint64";
|
|
322
|
+
}, {
|
|
323
|
+
readonly name: "message";
|
|
324
|
+
readonly type: "tuple";
|
|
325
|
+
readonly internalType: "struct Client.EVM2AnyMessage";
|
|
326
|
+
readonly components: readonly [{
|
|
327
|
+
readonly name: "receiver";
|
|
328
|
+
readonly type: "bytes";
|
|
329
|
+
readonly internalType: "bytes";
|
|
330
|
+
}, {
|
|
331
|
+
readonly name: "data";
|
|
332
|
+
readonly type: "bytes";
|
|
333
|
+
readonly internalType: "bytes";
|
|
334
|
+
}, {
|
|
335
|
+
readonly name: "tokenAmounts";
|
|
336
|
+
readonly type: "tuple[]";
|
|
337
|
+
readonly internalType: "struct Client.EVMTokenAmount[]";
|
|
338
|
+
readonly components: readonly [{
|
|
339
|
+
readonly name: "token";
|
|
340
|
+
readonly type: "address";
|
|
341
|
+
readonly internalType: "address";
|
|
342
|
+
}, {
|
|
343
|
+
readonly name: "amount";
|
|
344
|
+
readonly type: "uint256";
|
|
345
|
+
readonly internalType: "uint256";
|
|
346
|
+
}];
|
|
347
|
+
}, {
|
|
348
|
+
readonly name: "feeToken";
|
|
349
|
+
readonly type: "address";
|
|
350
|
+
readonly internalType: "address";
|
|
351
|
+
}, {
|
|
352
|
+
readonly name: "extraArgs";
|
|
353
|
+
readonly type: "bytes";
|
|
354
|
+
readonly internalType: "bytes";
|
|
355
|
+
}];
|
|
356
|
+
}];
|
|
357
|
+
readonly outputs: readonly [{
|
|
358
|
+
readonly name: "feeTokenAmount";
|
|
359
|
+
readonly type: "uint256";
|
|
360
|
+
readonly internalType: "uint256";
|
|
361
|
+
}];
|
|
362
|
+
readonly stateMutability: "view";
|
|
363
|
+
}, {
|
|
364
|
+
readonly type: "function";
|
|
365
|
+
readonly name: "getPoolBySourceToken";
|
|
366
|
+
readonly inputs: readonly [{
|
|
367
|
+
readonly name: "";
|
|
368
|
+
readonly type: "uint64";
|
|
369
|
+
readonly internalType: "uint64";
|
|
370
|
+
}, {
|
|
371
|
+
readonly name: "sourceToken";
|
|
372
|
+
readonly type: "address";
|
|
373
|
+
readonly internalType: "contract IERC20";
|
|
374
|
+
}];
|
|
375
|
+
readonly outputs: readonly [{
|
|
376
|
+
readonly name: "";
|
|
377
|
+
readonly type: "address";
|
|
378
|
+
readonly internalType: "contract IPoolV1";
|
|
379
|
+
}];
|
|
380
|
+
readonly stateMutability: "view";
|
|
381
|
+
}, {
|
|
382
|
+
readonly type: "function";
|
|
383
|
+
readonly name: "getStaticConfig";
|
|
384
|
+
readonly inputs: readonly [];
|
|
385
|
+
readonly outputs: readonly [{
|
|
386
|
+
readonly name: "";
|
|
387
|
+
readonly type: "tuple";
|
|
388
|
+
readonly internalType: "struct OnRamp.StaticConfig";
|
|
389
|
+
readonly components: readonly [{
|
|
390
|
+
readonly name: "chainSelector";
|
|
391
|
+
readonly type: "uint64";
|
|
392
|
+
readonly internalType: "uint64";
|
|
393
|
+
}, {
|
|
394
|
+
readonly name: "rmnRemote";
|
|
395
|
+
readonly type: "address";
|
|
396
|
+
readonly internalType: "contract IRMNRemote";
|
|
397
|
+
}, {
|
|
398
|
+
readonly name: "maxUSDCentsPerMessage";
|
|
399
|
+
readonly type: "uint32";
|
|
400
|
+
readonly internalType: "uint32";
|
|
401
|
+
}, {
|
|
402
|
+
readonly name: "tokenAdminRegistry";
|
|
403
|
+
readonly type: "address";
|
|
404
|
+
readonly internalType: "address";
|
|
405
|
+
}];
|
|
406
|
+
}];
|
|
407
|
+
readonly stateMutability: "view";
|
|
408
|
+
}, {
|
|
409
|
+
readonly type: "function";
|
|
410
|
+
readonly name: "getSupportedTokens";
|
|
411
|
+
readonly inputs: readonly [{
|
|
412
|
+
readonly name: "";
|
|
413
|
+
readonly type: "uint64";
|
|
414
|
+
readonly internalType: "uint64";
|
|
415
|
+
}];
|
|
416
|
+
readonly outputs: readonly [{
|
|
417
|
+
readonly name: "";
|
|
418
|
+
readonly type: "address[]";
|
|
419
|
+
readonly internalType: "address[]";
|
|
420
|
+
}];
|
|
421
|
+
readonly stateMutability: "pure";
|
|
422
|
+
}, {
|
|
423
|
+
readonly type: "function";
|
|
424
|
+
readonly name: "owner";
|
|
425
|
+
readonly inputs: readonly [];
|
|
426
|
+
readonly outputs: readonly [{
|
|
427
|
+
readonly name: "";
|
|
428
|
+
readonly type: "address";
|
|
429
|
+
readonly internalType: "address";
|
|
430
|
+
}];
|
|
431
|
+
readonly stateMutability: "view";
|
|
432
|
+
}, {
|
|
433
|
+
readonly type: "function";
|
|
434
|
+
readonly name: "setDynamicConfig";
|
|
435
|
+
readonly inputs: readonly [{
|
|
436
|
+
readonly name: "dynamicConfig";
|
|
437
|
+
readonly type: "tuple";
|
|
438
|
+
readonly internalType: "struct OnRamp.DynamicConfig";
|
|
439
|
+
readonly components: readonly [{
|
|
440
|
+
readonly name: "feeQuoter";
|
|
441
|
+
readonly type: "address";
|
|
442
|
+
readonly internalType: "address";
|
|
443
|
+
}, {
|
|
444
|
+
readonly name: "reentrancyGuardEntered";
|
|
445
|
+
readonly type: "bool";
|
|
446
|
+
readonly internalType: "bool";
|
|
447
|
+
}, {
|
|
448
|
+
readonly name: "feeAggregator";
|
|
449
|
+
readonly type: "address";
|
|
450
|
+
readonly internalType: "address";
|
|
451
|
+
}];
|
|
452
|
+
}];
|
|
453
|
+
readonly outputs: readonly [];
|
|
454
|
+
readonly stateMutability: "nonpayable";
|
|
455
|
+
}, {
|
|
456
|
+
readonly type: "function";
|
|
457
|
+
readonly name: "transferOwnership";
|
|
458
|
+
readonly inputs: readonly [{
|
|
459
|
+
readonly name: "to";
|
|
460
|
+
readonly type: "address";
|
|
461
|
+
readonly internalType: "address";
|
|
462
|
+
}];
|
|
463
|
+
readonly outputs: readonly [];
|
|
464
|
+
readonly stateMutability: "nonpayable";
|
|
465
|
+
}, {
|
|
466
|
+
readonly type: "function";
|
|
467
|
+
readonly name: "typeAndVersion";
|
|
468
|
+
readonly inputs: readonly [];
|
|
469
|
+
readonly outputs: readonly [{
|
|
470
|
+
readonly name: "";
|
|
471
|
+
readonly type: "string";
|
|
472
|
+
readonly internalType: "string";
|
|
473
|
+
}];
|
|
474
|
+
readonly stateMutability: "view";
|
|
475
|
+
}, {
|
|
476
|
+
readonly type: "function";
|
|
477
|
+
readonly name: "withdrawFeeTokens";
|
|
478
|
+
readonly inputs: readonly [{
|
|
479
|
+
readonly name: "feeTokens";
|
|
480
|
+
readonly type: "address[]";
|
|
481
|
+
readonly internalType: "address[]";
|
|
482
|
+
}];
|
|
483
|
+
readonly outputs: readonly [];
|
|
484
|
+
readonly stateMutability: "nonpayable";
|
|
485
|
+
}, {
|
|
486
|
+
readonly type: "event";
|
|
487
|
+
readonly name: "CCIPMessageSent";
|
|
488
|
+
readonly inputs: readonly [{
|
|
489
|
+
readonly name: "destChainSelector";
|
|
490
|
+
readonly type: "uint64";
|
|
491
|
+
readonly indexed: true;
|
|
492
|
+
readonly internalType: "uint64";
|
|
493
|
+
}, {
|
|
494
|
+
readonly name: "sender";
|
|
495
|
+
readonly type: "address";
|
|
496
|
+
readonly indexed: true;
|
|
497
|
+
readonly internalType: "address";
|
|
498
|
+
}, {
|
|
499
|
+
readonly name: "messageId";
|
|
500
|
+
readonly type: "bytes32";
|
|
501
|
+
readonly indexed: true;
|
|
502
|
+
readonly internalType: "bytes32";
|
|
503
|
+
}, {
|
|
504
|
+
readonly name: "feeToken";
|
|
505
|
+
readonly type: "address";
|
|
506
|
+
readonly indexed: false;
|
|
507
|
+
readonly internalType: "address";
|
|
508
|
+
}, {
|
|
509
|
+
readonly name: "tokenAmountBeforeTokenPoolFees";
|
|
510
|
+
readonly type: "uint256";
|
|
511
|
+
readonly indexed: false;
|
|
512
|
+
readonly internalType: "uint256";
|
|
513
|
+
}, {
|
|
514
|
+
readonly name: "encodedMessage";
|
|
515
|
+
readonly type: "bytes";
|
|
516
|
+
readonly indexed: false;
|
|
517
|
+
readonly internalType: "bytes";
|
|
518
|
+
}, {
|
|
519
|
+
readonly name: "receipts";
|
|
520
|
+
readonly type: "tuple[]";
|
|
521
|
+
readonly indexed: false;
|
|
522
|
+
readonly internalType: "struct OnRamp.Receipt[]";
|
|
523
|
+
readonly components: readonly [{
|
|
524
|
+
readonly name: "issuer";
|
|
525
|
+
readonly type: "address";
|
|
526
|
+
readonly internalType: "address";
|
|
527
|
+
}, {
|
|
528
|
+
readonly name: "destGasLimit";
|
|
529
|
+
readonly type: "uint32";
|
|
530
|
+
readonly internalType: "uint32";
|
|
531
|
+
}, {
|
|
532
|
+
readonly name: "destBytesOverhead";
|
|
533
|
+
readonly type: "uint32";
|
|
534
|
+
readonly internalType: "uint32";
|
|
535
|
+
}, {
|
|
536
|
+
readonly name: "feeTokenAmount";
|
|
537
|
+
readonly type: "uint256";
|
|
538
|
+
readonly internalType: "uint256";
|
|
539
|
+
}, {
|
|
540
|
+
readonly name: "extraArgs";
|
|
541
|
+
readonly type: "bytes";
|
|
542
|
+
readonly internalType: "bytes";
|
|
543
|
+
}];
|
|
544
|
+
}, {
|
|
545
|
+
readonly name: "verifierBlobs";
|
|
546
|
+
readonly type: "bytes[]";
|
|
547
|
+
readonly indexed: false;
|
|
548
|
+
readonly internalType: "bytes[]";
|
|
549
|
+
}];
|
|
550
|
+
readonly anonymous: false;
|
|
551
|
+
}, {
|
|
552
|
+
readonly type: "event";
|
|
553
|
+
readonly name: "ConfigSet";
|
|
554
|
+
readonly inputs: readonly [{
|
|
555
|
+
readonly name: "staticConfig";
|
|
556
|
+
readonly type: "tuple";
|
|
557
|
+
readonly indexed: false;
|
|
558
|
+
readonly internalType: "struct OnRamp.StaticConfig";
|
|
559
|
+
readonly components: readonly [{
|
|
560
|
+
readonly name: "chainSelector";
|
|
561
|
+
readonly type: "uint64";
|
|
562
|
+
readonly internalType: "uint64";
|
|
563
|
+
}, {
|
|
564
|
+
readonly name: "rmnRemote";
|
|
565
|
+
readonly type: "address";
|
|
566
|
+
readonly internalType: "contract IRMNRemote";
|
|
567
|
+
}, {
|
|
568
|
+
readonly name: "maxUSDCentsPerMessage";
|
|
569
|
+
readonly type: "uint32";
|
|
570
|
+
readonly internalType: "uint32";
|
|
571
|
+
}, {
|
|
572
|
+
readonly name: "tokenAdminRegistry";
|
|
573
|
+
readonly type: "address";
|
|
574
|
+
readonly internalType: "address";
|
|
575
|
+
}];
|
|
576
|
+
}, {
|
|
577
|
+
readonly name: "dynamicConfig";
|
|
578
|
+
readonly type: "tuple";
|
|
579
|
+
readonly indexed: false;
|
|
580
|
+
readonly internalType: "struct OnRamp.DynamicConfig";
|
|
581
|
+
readonly components: readonly [{
|
|
582
|
+
readonly name: "feeQuoter";
|
|
583
|
+
readonly type: "address";
|
|
584
|
+
readonly internalType: "address";
|
|
585
|
+
}, {
|
|
586
|
+
readonly name: "reentrancyGuardEntered";
|
|
587
|
+
readonly type: "bool";
|
|
588
|
+
readonly internalType: "bool";
|
|
589
|
+
}, {
|
|
590
|
+
readonly name: "feeAggregator";
|
|
591
|
+
readonly type: "address";
|
|
592
|
+
readonly internalType: "address";
|
|
593
|
+
}];
|
|
594
|
+
}];
|
|
595
|
+
readonly anonymous: false;
|
|
596
|
+
}, {
|
|
597
|
+
readonly type: "event";
|
|
598
|
+
readonly name: "DestChainConfigSet";
|
|
599
|
+
readonly inputs: readonly [{
|
|
600
|
+
readonly name: "destChainSelector";
|
|
601
|
+
readonly type: "uint64";
|
|
602
|
+
readonly indexed: true;
|
|
603
|
+
readonly internalType: "uint64";
|
|
604
|
+
}, {
|
|
605
|
+
readonly name: "messageNumber";
|
|
606
|
+
readonly type: "uint64";
|
|
607
|
+
readonly indexed: false;
|
|
608
|
+
readonly internalType: "uint64";
|
|
609
|
+
}, {
|
|
610
|
+
readonly name: "config";
|
|
611
|
+
readonly type: "tuple";
|
|
612
|
+
readonly indexed: false;
|
|
613
|
+
readonly internalType: "struct OnRamp.DestChainConfigArgs";
|
|
614
|
+
readonly components: readonly [{
|
|
615
|
+
readonly name: "destChainSelector";
|
|
616
|
+
readonly type: "uint64";
|
|
617
|
+
readonly internalType: "uint64";
|
|
618
|
+
}, {
|
|
619
|
+
readonly name: "router";
|
|
620
|
+
readonly type: "address";
|
|
621
|
+
readonly internalType: "contract IRouter";
|
|
622
|
+
}, {
|
|
623
|
+
readonly name: "addressBytesLength";
|
|
624
|
+
readonly type: "uint8";
|
|
625
|
+
readonly internalType: "uint8";
|
|
626
|
+
}, {
|
|
627
|
+
readonly name: "tokenReceiverAllowed";
|
|
628
|
+
readonly type: "bool";
|
|
629
|
+
readonly internalType: "bool";
|
|
630
|
+
}, {
|
|
631
|
+
readonly name: "messageNetworkFeeUSDCents";
|
|
632
|
+
readonly type: "uint16";
|
|
633
|
+
readonly internalType: "uint16";
|
|
634
|
+
}, {
|
|
635
|
+
readonly name: "tokenNetworkFeeUSDCents";
|
|
636
|
+
readonly type: "uint16";
|
|
637
|
+
readonly internalType: "uint16";
|
|
638
|
+
}, {
|
|
639
|
+
readonly name: "baseExecutionGasCost";
|
|
640
|
+
readonly type: "uint32";
|
|
641
|
+
readonly internalType: "uint32";
|
|
642
|
+
}, {
|
|
643
|
+
readonly name: "defaultCCVs";
|
|
644
|
+
readonly type: "address[]";
|
|
645
|
+
readonly internalType: "address[]";
|
|
646
|
+
}, {
|
|
647
|
+
readonly name: "laneMandatedCCVs";
|
|
648
|
+
readonly type: "address[]";
|
|
649
|
+
readonly internalType: "address[]";
|
|
650
|
+
}, {
|
|
651
|
+
readonly name: "defaultExecutor";
|
|
652
|
+
readonly type: "address";
|
|
653
|
+
readonly internalType: "address";
|
|
654
|
+
}, {
|
|
655
|
+
readonly name: "offRamp";
|
|
656
|
+
readonly type: "bytes";
|
|
657
|
+
readonly internalType: "bytes";
|
|
658
|
+
}];
|
|
659
|
+
}];
|
|
660
|
+
readonly anonymous: false;
|
|
661
|
+
}, {
|
|
662
|
+
readonly type: "event";
|
|
663
|
+
readonly name: "FeeTokenWithdrawn";
|
|
664
|
+
readonly inputs: readonly [{
|
|
665
|
+
readonly name: "receiver";
|
|
666
|
+
readonly type: "address";
|
|
667
|
+
readonly indexed: true;
|
|
668
|
+
readonly internalType: "address";
|
|
669
|
+
}, {
|
|
670
|
+
readonly name: "feeToken";
|
|
671
|
+
readonly type: "address";
|
|
672
|
+
readonly indexed: true;
|
|
673
|
+
readonly internalType: "address";
|
|
674
|
+
}, {
|
|
675
|
+
readonly name: "amount";
|
|
676
|
+
readonly type: "uint256";
|
|
677
|
+
readonly indexed: false;
|
|
678
|
+
readonly internalType: "uint256";
|
|
679
|
+
}];
|
|
680
|
+
readonly anonymous: false;
|
|
681
|
+
}, {
|
|
682
|
+
readonly type: "event";
|
|
683
|
+
readonly name: "OwnershipTransferRequested";
|
|
684
|
+
readonly inputs: readonly [{
|
|
685
|
+
readonly name: "from";
|
|
686
|
+
readonly type: "address";
|
|
687
|
+
readonly indexed: true;
|
|
688
|
+
readonly internalType: "address";
|
|
689
|
+
}, {
|
|
690
|
+
readonly name: "to";
|
|
691
|
+
readonly type: "address";
|
|
692
|
+
readonly indexed: true;
|
|
693
|
+
readonly internalType: "address";
|
|
694
|
+
}];
|
|
695
|
+
readonly anonymous: false;
|
|
696
|
+
}, {
|
|
697
|
+
readonly type: "event";
|
|
698
|
+
readonly name: "OwnershipTransferred";
|
|
699
|
+
readonly inputs: readonly [{
|
|
700
|
+
readonly name: "from";
|
|
701
|
+
readonly type: "address";
|
|
702
|
+
readonly indexed: true;
|
|
703
|
+
readonly internalType: "address";
|
|
704
|
+
}, {
|
|
705
|
+
readonly name: "to";
|
|
706
|
+
readonly type: "address";
|
|
707
|
+
readonly indexed: true;
|
|
708
|
+
readonly internalType: "address";
|
|
709
|
+
}];
|
|
710
|
+
readonly anonymous: false;
|
|
711
|
+
}, {
|
|
712
|
+
readonly type: "error";
|
|
713
|
+
readonly name: "CanOnlySendOneTokenPerMessage";
|
|
714
|
+
readonly inputs: readonly [];
|
|
715
|
+
}, {
|
|
716
|
+
readonly type: "error";
|
|
717
|
+
readonly name: "CannotSendZeroTokens";
|
|
718
|
+
readonly inputs: readonly [];
|
|
719
|
+
}, {
|
|
720
|
+
readonly type: "error";
|
|
721
|
+
readonly name: "CannotTransferToSelf";
|
|
722
|
+
readonly inputs: readonly [];
|
|
723
|
+
}, {
|
|
724
|
+
readonly type: "error";
|
|
725
|
+
readonly name: "CursedByRMN";
|
|
726
|
+
readonly inputs: readonly [{
|
|
727
|
+
readonly name: "destChainSelector";
|
|
728
|
+
readonly type: "uint64";
|
|
729
|
+
readonly internalType: "uint64";
|
|
730
|
+
}];
|
|
731
|
+
}, {
|
|
732
|
+
readonly type: "error";
|
|
733
|
+
readonly name: "CustomBlockConfirmationsNotSupportedOnPoolV1";
|
|
734
|
+
readonly inputs: readonly [];
|
|
735
|
+
}, {
|
|
736
|
+
readonly type: "error";
|
|
737
|
+
readonly name: "DestinationChainNotSupported";
|
|
738
|
+
readonly inputs: readonly [{
|
|
739
|
+
readonly name: "destChainSelector";
|
|
740
|
+
readonly type: "uint64";
|
|
741
|
+
readonly internalType: "uint64";
|
|
742
|
+
}];
|
|
743
|
+
}, {
|
|
744
|
+
readonly type: "error";
|
|
745
|
+
readonly name: "DestinationChainNotSupportedByCCV";
|
|
746
|
+
readonly inputs: readonly [{
|
|
747
|
+
readonly name: "ccvAddress";
|
|
748
|
+
readonly type: "address";
|
|
749
|
+
readonly internalType: "address";
|
|
750
|
+
}, {
|
|
751
|
+
readonly name: "destChainSelector";
|
|
752
|
+
readonly type: "uint64";
|
|
753
|
+
readonly internalType: "uint64";
|
|
754
|
+
}];
|
|
755
|
+
}, {
|
|
756
|
+
readonly type: "error";
|
|
757
|
+
readonly name: "DuplicateCCVNotAllowed";
|
|
758
|
+
readonly inputs: readonly [{
|
|
759
|
+
readonly name: "ccvAddress";
|
|
760
|
+
readonly type: "address";
|
|
761
|
+
readonly internalType: "address";
|
|
762
|
+
}];
|
|
763
|
+
}, {
|
|
764
|
+
readonly type: "error";
|
|
765
|
+
readonly name: "FeeExceedsMaxAllowed";
|
|
766
|
+
readonly inputs: readonly [{
|
|
767
|
+
readonly name: "feeUSDCents";
|
|
768
|
+
readonly type: "uint256";
|
|
769
|
+
readonly internalType: "uint256";
|
|
770
|
+
}, {
|
|
771
|
+
readonly name: "maxUSDCentsPerMessage";
|
|
772
|
+
readonly type: "uint32";
|
|
773
|
+
readonly internalType: "uint32";
|
|
774
|
+
}];
|
|
775
|
+
}, {
|
|
776
|
+
readonly type: "error";
|
|
777
|
+
readonly name: "GetSupportedTokensFunctionalityRemovedCheckAdminRegistry";
|
|
778
|
+
readonly inputs: readonly [];
|
|
779
|
+
}, {
|
|
780
|
+
readonly type: "error";
|
|
781
|
+
readonly name: "InsufficientFeeTokenAmount";
|
|
782
|
+
readonly inputs: readonly [];
|
|
783
|
+
}, {
|
|
784
|
+
readonly type: "error";
|
|
785
|
+
readonly name: "InvalidAddressLength";
|
|
786
|
+
readonly inputs: readonly [{
|
|
787
|
+
readonly name: "length";
|
|
788
|
+
readonly type: "uint256";
|
|
789
|
+
readonly internalType: "uint256";
|
|
790
|
+
}];
|
|
791
|
+
}, {
|
|
792
|
+
readonly type: "error";
|
|
793
|
+
readonly name: "InvalidConfig";
|
|
794
|
+
readonly inputs: readonly [];
|
|
795
|
+
}, {
|
|
796
|
+
readonly type: "error";
|
|
797
|
+
readonly name: "InvalidDataLength";
|
|
798
|
+
readonly inputs: readonly [{
|
|
799
|
+
readonly name: "location";
|
|
800
|
+
readonly type: "uint8";
|
|
801
|
+
readonly internalType: "enum ExtraArgsCodec.EncodingErrorLocation";
|
|
802
|
+
}, {
|
|
803
|
+
readonly name: "offset";
|
|
804
|
+
readonly type: "uint256";
|
|
805
|
+
readonly internalType: "uint256";
|
|
806
|
+
}];
|
|
807
|
+
}, {
|
|
808
|
+
readonly type: "error";
|
|
809
|
+
readonly name: "InvalidDataLength";
|
|
810
|
+
readonly inputs: readonly [{
|
|
811
|
+
readonly name: "location";
|
|
812
|
+
readonly type: "uint8";
|
|
813
|
+
readonly internalType: "enum MessageV1Codec.EncodingErrorLocation";
|
|
814
|
+
}];
|
|
815
|
+
}, {
|
|
816
|
+
readonly type: "error";
|
|
817
|
+
readonly name: "InvalidDestChainAddress";
|
|
818
|
+
readonly inputs: readonly [{
|
|
819
|
+
readonly name: "destChainAddress";
|
|
820
|
+
readonly type: "bytes";
|
|
821
|
+
readonly internalType: "bytes";
|
|
822
|
+
}];
|
|
823
|
+
}, {
|
|
824
|
+
readonly type: "error";
|
|
825
|
+
readonly name: "InvalidDestChainConfig";
|
|
826
|
+
readonly inputs: readonly [{
|
|
827
|
+
readonly name: "destChainSelector";
|
|
828
|
+
readonly type: "uint64";
|
|
829
|
+
readonly internalType: "uint64";
|
|
830
|
+
}];
|
|
831
|
+
}, {
|
|
832
|
+
readonly type: "error";
|
|
833
|
+
readonly name: "InvalidExtraArgsTag";
|
|
834
|
+
readonly inputs: readonly [{
|
|
835
|
+
readonly name: "expected";
|
|
836
|
+
readonly type: "bytes4";
|
|
837
|
+
readonly internalType: "bytes4";
|
|
838
|
+
}, {
|
|
839
|
+
readonly name: "actual";
|
|
840
|
+
readonly type: "bytes4";
|
|
841
|
+
readonly internalType: "bytes4";
|
|
842
|
+
}];
|
|
843
|
+
}, {
|
|
844
|
+
readonly type: "error";
|
|
845
|
+
readonly name: "MustBeCalledByRouter";
|
|
846
|
+
readonly inputs: readonly [];
|
|
847
|
+
}, {
|
|
848
|
+
readonly type: "error";
|
|
849
|
+
readonly name: "MustBeProposedOwner";
|
|
850
|
+
readonly inputs: readonly [];
|
|
851
|
+
}, {
|
|
852
|
+
readonly type: "error";
|
|
853
|
+
readonly name: "MustSpecifyDefaultOrRequiredCCVs";
|
|
854
|
+
readonly inputs: readonly [];
|
|
855
|
+
}, {
|
|
856
|
+
readonly type: "error";
|
|
857
|
+
readonly name: "OnlyCallableByOwner";
|
|
858
|
+
readonly inputs: readonly [];
|
|
859
|
+
}, {
|
|
860
|
+
readonly type: "error";
|
|
861
|
+
readonly name: "OwnerCannotBeZero";
|
|
862
|
+
readonly inputs: readonly [];
|
|
863
|
+
}, {
|
|
864
|
+
readonly type: "error";
|
|
865
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
866
|
+
readonly inputs: readonly [];
|
|
867
|
+
}, {
|
|
868
|
+
readonly type: "error";
|
|
869
|
+
readonly name: "RouterMustSetOriginalSender";
|
|
870
|
+
readonly inputs: readonly [];
|
|
871
|
+
}, {
|
|
872
|
+
readonly type: "error";
|
|
873
|
+
readonly name: "SafeERC20FailedOperation";
|
|
874
|
+
readonly inputs: readonly [{
|
|
875
|
+
readonly name: "token";
|
|
876
|
+
readonly type: "address";
|
|
877
|
+
readonly internalType: "address";
|
|
878
|
+
}];
|
|
879
|
+
}, {
|
|
880
|
+
readonly type: "error";
|
|
881
|
+
readonly name: "SourceTokenDataTooLarge";
|
|
882
|
+
readonly inputs: readonly [{
|
|
883
|
+
readonly name: "token";
|
|
884
|
+
readonly type: "address";
|
|
885
|
+
readonly internalType: "address";
|
|
886
|
+
}, {
|
|
887
|
+
readonly name: "actualLength";
|
|
888
|
+
readonly type: "uint256";
|
|
889
|
+
readonly internalType: "uint256";
|
|
890
|
+
}, {
|
|
891
|
+
readonly name: "maxLength";
|
|
892
|
+
readonly type: "uint32";
|
|
893
|
+
readonly internalType: "uint32";
|
|
894
|
+
}];
|
|
895
|
+
}, {
|
|
896
|
+
readonly type: "error";
|
|
897
|
+
readonly name: "TokenArgsNotSupportedOnPoolV1";
|
|
898
|
+
readonly inputs: readonly [];
|
|
899
|
+
}, {
|
|
900
|
+
readonly type: "error";
|
|
901
|
+
readonly name: "TokenReceiverNotAllowed";
|
|
902
|
+
readonly inputs: readonly [{
|
|
903
|
+
readonly name: "destChainSelector";
|
|
904
|
+
readonly type: "uint64";
|
|
905
|
+
readonly internalType: "uint64";
|
|
906
|
+
}];
|
|
907
|
+
}, {
|
|
908
|
+
readonly type: "error";
|
|
909
|
+
readonly name: "UnsupportedToken";
|
|
910
|
+
readonly inputs: readonly [{
|
|
911
|
+
readonly name: "token";
|
|
912
|
+
readonly type: "address";
|
|
913
|
+
readonly internalType: "address";
|
|
914
|
+
}];
|
|
915
|
+
}, {
|
|
916
|
+
readonly type: "error";
|
|
917
|
+
readonly name: "ZeroAddressNotAllowed";
|
|
918
|
+
readonly inputs: readonly [];
|
|
919
|
+
}, {
|
|
920
|
+
readonly type: "error";
|
|
921
|
+
readonly name: "ZeroAddressNotAllowed";
|
|
922
|
+
readonly inputs: readonly [];
|
|
923
|
+
}];
|
|
924
|
+
export default _default;
|
|
925
|
+
//# sourceMappingURL=OnRamp_2_0.d.ts.map
|