@chainlink/ccip-sdk 1.2.0 → 1.3.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/dist/api/index.d.ts +1 -1
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +10 -20
- package/dist/api/index.js.map +1 -1
- package/dist/aptos/index.d.ts +2 -2
- package/dist/aptos/index.d.ts.map +1 -1
- package/dist/aptos/index.js +1 -1
- package/dist/aptos/index.js.map +1 -1
- package/dist/chain.d.ts +75 -2
- package/dist/chain.d.ts.map +1 -1
- package/dist/chain.js +20 -1
- package/dist/chain.js.map +1 -1
- package/dist/errors/codes.d.ts +1 -0
- package/dist/errors/codes.d.ts.map +1 -1
- package/dist/errors/codes.js +1 -0
- package/dist/errors/codes.js.map +1 -1
- package/dist/errors/index.d.ts +1 -1
- package/dist/errors/index.d.ts.map +1 -1
- package/dist/errors/index.js +1 -1
- package/dist/errors/index.js.map +1 -1
- package/dist/errors/recovery.d.ts.map +1 -1
- package/dist/errors/recovery.js +1 -0
- package/dist/errors/recovery.js.map +1 -1
- package/dist/errors/specialized.d.ts +8 -0
- package/dist/errors/specialized.d.ts.map +1 -1
- package/dist/errors/specialized.js +10 -0
- package/dist/errors/specialized.js.map +1 -1
- package/dist/evm/abi/CCTPVerifier_2_0.d.ts +1118 -0
- package/dist/evm/abi/CCTPVerifier_2_0.d.ts.map +1 -0
- package/dist/evm/abi/CCTPVerifier_2_0.js +1147 -0
- package/dist/evm/abi/CCTPVerifier_2_0.js.map +1 -0
- package/dist/evm/abi/USDCTokenPoolProxy_2_0.d.ts +825 -0
- package/dist/evm/abi/USDCTokenPoolProxy_2_0.d.ts.map +1 -0
- package/dist/evm/abi/USDCTokenPoolProxy_2_0.js +873 -0
- package/dist/evm/abi/USDCTokenPoolProxy_2_0.js.map +1 -0
- package/dist/evm/abi/VersionedVerifierResolver_2_0.d.ts +350 -0
- package/dist/evm/abi/VersionedVerifierResolver_2_0.d.ts.map +1 -0
- package/dist/evm/abi/VersionedVerifierResolver_2_0.js +370 -0
- package/dist/evm/abi/VersionedVerifierResolver_2_0.js.map +1 -0
- package/dist/evm/const.d.ts +3 -0
- package/dist/evm/const.d.ts.map +1 -1
- package/dist/evm/const.js +6 -0
- package/dist/evm/const.js.map +1 -1
- package/dist/evm/index.d.ts +24 -3
- package/dist/evm/index.d.ts.map +1 -1
- package/dist/evm/index.js +201 -8
- package/dist/evm/index.js.map +1 -1
- package/dist/evm/types.d.ts +1 -1
- package/dist/evm/types.d.ts.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/offchain.d.ts +27 -0
- package/dist/offchain.d.ts.map +1 -1
- package/dist/offchain.js +49 -7
- package/dist/offchain.js.map +1 -1
- package/dist/requests.d.ts +1 -25
- package/dist/requests.d.ts.map +1 -1
- package/dist/requests.js +2 -57
- package/dist/requests.js.map +1 -1
- package/dist/solana/index.d.ts +2 -2
- package/dist/solana/index.d.ts.map +1 -1
- package/dist/solana/index.js +2 -2
- package/dist/solana/index.js.map +1 -1
- package/dist/sui/index.d.ts +2 -2
- package/dist/sui/index.d.ts.map +1 -1
- package/dist/sui/index.js +2 -2
- package/dist/sui/index.js.map +1 -1
- package/dist/ton/index.d.ts +2 -2
- package/dist/ton/index.d.ts.map +1 -1
- package/dist/ton/index.js +28 -49
- package/dist/ton/index.js.map +1 -1
- package/dist/ton/send.d.ts +13 -1
- package/dist/ton/send.d.ts.map +1 -1
- package/dist/ton/send.js +16 -16
- package/dist/ton/send.js.map +1 -1
- package/dist/utils.d.ts +16 -0
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +31 -1
- package/dist/utils.js.map +1 -1
- package/package.json +7 -7
- package/src/api/index.ts +9 -23
- package/src/aptos/index.ts +5 -1
- package/src/chain.ts +86 -3
- package/src/errors/codes.ts +1 -0
- package/src/errors/index.ts +1 -0
- package/src/errors/recovery.ts +2 -0
- package/src/errors/specialized.ts +15 -0
- package/src/evm/abi/CCTPVerifier_2_0.ts +1146 -0
- package/src/evm/abi/USDCTokenPoolProxy_2_0.ts +872 -0
- package/src/evm/abi/VersionedVerifierResolver_2_0.ts +369 -0
- package/src/evm/const.ts +6 -0
- package/src/evm/index.ts +277 -10
- package/src/evm/types.ts +1 -1
- package/src/index.ts +6 -2
- package/src/offchain.ts +58 -8
- package/src/requests.ts +2 -59
- package/src/solana/index.ts +8 -2
- package/src/sui/index.ts +5 -2
- package/src/ton/index.ts +41 -56
- package/src/ton/send.ts +20 -21
- package/src/utils.ts +42 -0
|
@@ -0,0 +1,1118 @@
|
|
|
1
|
+
declare const _default: readonly [{
|
|
2
|
+
readonly type: "constructor";
|
|
3
|
+
readonly inputs: readonly [{
|
|
4
|
+
readonly name: "tokenMessenger";
|
|
5
|
+
readonly type: "address";
|
|
6
|
+
readonly internalType: "contract ITokenMessenger";
|
|
7
|
+
}, {
|
|
8
|
+
readonly name: "messageTransmitterProxy";
|
|
9
|
+
readonly type: "address";
|
|
10
|
+
readonly internalType: "contract CCTPMessageTransmitterProxy";
|
|
11
|
+
}, {
|
|
12
|
+
readonly name: "usdcToken";
|
|
13
|
+
readonly type: "address";
|
|
14
|
+
readonly internalType: "contract IERC20";
|
|
15
|
+
}, {
|
|
16
|
+
readonly name: "storageLocations";
|
|
17
|
+
readonly type: "string[]";
|
|
18
|
+
readonly internalType: "string[]";
|
|
19
|
+
}, {
|
|
20
|
+
readonly name: "dynamicConfig";
|
|
21
|
+
readonly type: "tuple";
|
|
22
|
+
readonly internalType: "struct CCTPVerifier.DynamicConfig";
|
|
23
|
+
readonly components: readonly [{
|
|
24
|
+
readonly name: "feeAggregator";
|
|
25
|
+
readonly type: "address";
|
|
26
|
+
readonly internalType: "address";
|
|
27
|
+
}, {
|
|
28
|
+
readonly name: "allowlistAdmin";
|
|
29
|
+
readonly type: "address";
|
|
30
|
+
readonly internalType: "address";
|
|
31
|
+
}, {
|
|
32
|
+
readonly name: "fastFinalityBps";
|
|
33
|
+
readonly type: "uint16";
|
|
34
|
+
readonly internalType: "uint16";
|
|
35
|
+
}];
|
|
36
|
+
}, {
|
|
37
|
+
readonly name: "rmn";
|
|
38
|
+
readonly type: "address";
|
|
39
|
+
readonly internalType: "address";
|
|
40
|
+
}];
|
|
41
|
+
readonly stateMutability: "nonpayable";
|
|
42
|
+
}, {
|
|
43
|
+
readonly type: "function";
|
|
44
|
+
readonly name: "acceptOwnership";
|
|
45
|
+
readonly inputs: readonly [];
|
|
46
|
+
readonly outputs: readonly [];
|
|
47
|
+
readonly stateMutability: "nonpayable";
|
|
48
|
+
}, {
|
|
49
|
+
readonly type: "function";
|
|
50
|
+
readonly name: "applyAllowlistUpdates";
|
|
51
|
+
readonly inputs: readonly [{
|
|
52
|
+
readonly name: "allowlistConfigArgsItems";
|
|
53
|
+
readonly type: "tuple[]";
|
|
54
|
+
readonly internalType: "struct BaseVerifier.AllowlistConfigArgs[]";
|
|
55
|
+
readonly components: readonly [{
|
|
56
|
+
readonly name: "destChainSelector";
|
|
57
|
+
readonly type: "uint64";
|
|
58
|
+
readonly internalType: "uint64";
|
|
59
|
+
}, {
|
|
60
|
+
readonly name: "allowlistEnabled";
|
|
61
|
+
readonly type: "bool";
|
|
62
|
+
readonly internalType: "bool";
|
|
63
|
+
}, {
|
|
64
|
+
readonly name: "addedAllowlistedSenders";
|
|
65
|
+
readonly type: "address[]";
|
|
66
|
+
readonly internalType: "address[]";
|
|
67
|
+
}, {
|
|
68
|
+
readonly name: "removedAllowlistedSenders";
|
|
69
|
+
readonly type: "address[]";
|
|
70
|
+
readonly internalType: "address[]";
|
|
71
|
+
}];
|
|
72
|
+
}];
|
|
73
|
+
readonly outputs: readonly [];
|
|
74
|
+
readonly stateMutability: "nonpayable";
|
|
75
|
+
}, {
|
|
76
|
+
readonly type: "function";
|
|
77
|
+
readonly name: "applyRemoteChainConfigUpdates";
|
|
78
|
+
readonly inputs: readonly [{
|
|
79
|
+
readonly name: "remoteChainConfigArgs";
|
|
80
|
+
readonly type: "tuple[]";
|
|
81
|
+
readonly internalType: "struct BaseVerifier.RemoteChainConfigArgs[]";
|
|
82
|
+
readonly components: readonly [{
|
|
83
|
+
readonly name: "router";
|
|
84
|
+
readonly type: "address";
|
|
85
|
+
readonly internalType: "contract IRouter";
|
|
86
|
+
}, {
|
|
87
|
+
readonly name: "remoteChainSelector";
|
|
88
|
+
readonly type: "uint64";
|
|
89
|
+
readonly internalType: "uint64";
|
|
90
|
+
}, {
|
|
91
|
+
readonly name: "allowlistEnabled";
|
|
92
|
+
readonly type: "bool";
|
|
93
|
+
readonly internalType: "bool";
|
|
94
|
+
}, {
|
|
95
|
+
readonly name: "feeUSDCents";
|
|
96
|
+
readonly type: "uint16";
|
|
97
|
+
readonly internalType: "uint16";
|
|
98
|
+
}, {
|
|
99
|
+
readonly name: "gasForVerification";
|
|
100
|
+
readonly type: "uint32";
|
|
101
|
+
readonly internalType: "uint32";
|
|
102
|
+
}, {
|
|
103
|
+
readonly name: "payloadSizeBytes";
|
|
104
|
+
readonly type: "uint32";
|
|
105
|
+
readonly internalType: "uint32";
|
|
106
|
+
}];
|
|
107
|
+
}];
|
|
108
|
+
readonly outputs: readonly [];
|
|
109
|
+
readonly stateMutability: "nonpayable";
|
|
110
|
+
}, {
|
|
111
|
+
readonly type: "function";
|
|
112
|
+
readonly name: "forwardToVerifier";
|
|
113
|
+
readonly inputs: readonly [{
|
|
114
|
+
readonly name: "message";
|
|
115
|
+
readonly type: "tuple";
|
|
116
|
+
readonly internalType: "struct MessageV1Codec.MessageV1";
|
|
117
|
+
readonly components: readonly [{
|
|
118
|
+
readonly name: "sourceChainSelector";
|
|
119
|
+
readonly type: "uint64";
|
|
120
|
+
readonly internalType: "uint64";
|
|
121
|
+
}, {
|
|
122
|
+
readonly name: "destChainSelector";
|
|
123
|
+
readonly type: "uint64";
|
|
124
|
+
readonly internalType: "uint64";
|
|
125
|
+
}, {
|
|
126
|
+
readonly name: "messageNumber";
|
|
127
|
+
readonly type: "uint64";
|
|
128
|
+
readonly internalType: "uint64";
|
|
129
|
+
}, {
|
|
130
|
+
readonly name: "executionGasLimit";
|
|
131
|
+
readonly type: "uint32";
|
|
132
|
+
readonly internalType: "uint32";
|
|
133
|
+
}, {
|
|
134
|
+
readonly name: "ccipReceiveGasLimit";
|
|
135
|
+
readonly type: "uint32";
|
|
136
|
+
readonly internalType: "uint32";
|
|
137
|
+
}, {
|
|
138
|
+
readonly name: "finality";
|
|
139
|
+
readonly type: "uint16";
|
|
140
|
+
readonly internalType: "uint16";
|
|
141
|
+
}, {
|
|
142
|
+
readonly name: "ccvAndExecutorHash";
|
|
143
|
+
readonly type: "bytes32";
|
|
144
|
+
readonly internalType: "bytes32";
|
|
145
|
+
}, {
|
|
146
|
+
readonly name: "onRampAddress";
|
|
147
|
+
readonly type: "bytes";
|
|
148
|
+
readonly internalType: "bytes";
|
|
149
|
+
}, {
|
|
150
|
+
readonly name: "offRampAddress";
|
|
151
|
+
readonly type: "bytes";
|
|
152
|
+
readonly internalType: "bytes";
|
|
153
|
+
}, {
|
|
154
|
+
readonly name: "sender";
|
|
155
|
+
readonly type: "bytes";
|
|
156
|
+
readonly internalType: "bytes";
|
|
157
|
+
}, {
|
|
158
|
+
readonly name: "receiver";
|
|
159
|
+
readonly type: "bytes";
|
|
160
|
+
readonly internalType: "bytes";
|
|
161
|
+
}, {
|
|
162
|
+
readonly name: "destBlob";
|
|
163
|
+
readonly type: "bytes";
|
|
164
|
+
readonly internalType: "bytes";
|
|
165
|
+
}, {
|
|
166
|
+
readonly name: "tokenTransfer";
|
|
167
|
+
readonly type: "tuple[]";
|
|
168
|
+
readonly internalType: "struct MessageV1Codec.TokenTransferV1[]";
|
|
169
|
+
readonly components: readonly [{
|
|
170
|
+
readonly name: "amount";
|
|
171
|
+
readonly type: "uint256";
|
|
172
|
+
readonly internalType: "uint256";
|
|
173
|
+
}, {
|
|
174
|
+
readonly name: "sourcePoolAddress";
|
|
175
|
+
readonly type: "bytes";
|
|
176
|
+
readonly internalType: "bytes";
|
|
177
|
+
}, {
|
|
178
|
+
readonly name: "sourceTokenAddress";
|
|
179
|
+
readonly type: "bytes";
|
|
180
|
+
readonly internalType: "bytes";
|
|
181
|
+
}, {
|
|
182
|
+
readonly name: "destTokenAddress";
|
|
183
|
+
readonly type: "bytes";
|
|
184
|
+
readonly internalType: "bytes";
|
|
185
|
+
}, {
|
|
186
|
+
readonly name: "tokenReceiver";
|
|
187
|
+
readonly type: "bytes";
|
|
188
|
+
readonly internalType: "bytes";
|
|
189
|
+
}, {
|
|
190
|
+
readonly name: "extraData";
|
|
191
|
+
readonly type: "bytes";
|
|
192
|
+
readonly internalType: "bytes";
|
|
193
|
+
}];
|
|
194
|
+
}, {
|
|
195
|
+
readonly name: "data";
|
|
196
|
+
readonly type: "bytes";
|
|
197
|
+
readonly internalType: "bytes";
|
|
198
|
+
}];
|
|
199
|
+
}, {
|
|
200
|
+
readonly name: "messageId";
|
|
201
|
+
readonly type: "bytes32";
|
|
202
|
+
readonly internalType: "bytes32";
|
|
203
|
+
}, {
|
|
204
|
+
readonly name: "";
|
|
205
|
+
readonly type: "address";
|
|
206
|
+
readonly internalType: "address";
|
|
207
|
+
}, {
|
|
208
|
+
readonly name: "";
|
|
209
|
+
readonly type: "uint256";
|
|
210
|
+
readonly internalType: "uint256";
|
|
211
|
+
}, {
|
|
212
|
+
readonly name: "verifierArgs";
|
|
213
|
+
readonly type: "bytes";
|
|
214
|
+
readonly internalType: "bytes";
|
|
215
|
+
}];
|
|
216
|
+
readonly outputs: readonly [{
|
|
217
|
+
readonly name: "verifierReturnData";
|
|
218
|
+
readonly type: "bytes";
|
|
219
|
+
readonly internalType: "bytes";
|
|
220
|
+
}];
|
|
221
|
+
readonly stateMutability: "nonpayable";
|
|
222
|
+
}, {
|
|
223
|
+
readonly type: "function";
|
|
224
|
+
readonly name: "getDomain";
|
|
225
|
+
readonly inputs: readonly [{
|
|
226
|
+
readonly name: "chainSelector";
|
|
227
|
+
readonly type: "uint64";
|
|
228
|
+
readonly internalType: "uint64";
|
|
229
|
+
}];
|
|
230
|
+
readonly outputs: readonly [{
|
|
231
|
+
readonly name: "";
|
|
232
|
+
readonly type: "tuple";
|
|
233
|
+
readonly internalType: "struct CCTPVerifier.Domain";
|
|
234
|
+
readonly components: readonly [{
|
|
235
|
+
readonly name: "allowedCallerOnDest";
|
|
236
|
+
readonly type: "bytes32";
|
|
237
|
+
readonly internalType: "bytes32";
|
|
238
|
+
}, {
|
|
239
|
+
readonly name: "allowedCallerOnSource";
|
|
240
|
+
readonly type: "bytes32";
|
|
241
|
+
readonly internalType: "bytes32";
|
|
242
|
+
}, {
|
|
243
|
+
readonly name: "mintRecipientOnDest";
|
|
244
|
+
readonly type: "bytes32";
|
|
245
|
+
readonly internalType: "bytes32";
|
|
246
|
+
}, {
|
|
247
|
+
readonly name: "domainIdentifier";
|
|
248
|
+
readonly type: "uint32";
|
|
249
|
+
readonly internalType: "uint32";
|
|
250
|
+
}, {
|
|
251
|
+
readonly name: "enabled";
|
|
252
|
+
readonly type: "bool";
|
|
253
|
+
readonly internalType: "bool";
|
|
254
|
+
}];
|
|
255
|
+
}];
|
|
256
|
+
readonly stateMutability: "view";
|
|
257
|
+
}, {
|
|
258
|
+
readonly type: "function";
|
|
259
|
+
readonly name: "getDynamicConfig";
|
|
260
|
+
readonly inputs: readonly [];
|
|
261
|
+
readonly outputs: readonly [{
|
|
262
|
+
readonly name: "dynamicConfig";
|
|
263
|
+
readonly type: "tuple";
|
|
264
|
+
readonly internalType: "struct CCTPVerifier.DynamicConfig";
|
|
265
|
+
readonly components: readonly [{
|
|
266
|
+
readonly name: "feeAggregator";
|
|
267
|
+
readonly type: "address";
|
|
268
|
+
readonly internalType: "address";
|
|
269
|
+
}, {
|
|
270
|
+
readonly name: "allowlistAdmin";
|
|
271
|
+
readonly type: "address";
|
|
272
|
+
readonly internalType: "address";
|
|
273
|
+
}, {
|
|
274
|
+
readonly name: "fastFinalityBps";
|
|
275
|
+
readonly type: "uint16";
|
|
276
|
+
readonly internalType: "uint16";
|
|
277
|
+
}];
|
|
278
|
+
}];
|
|
279
|
+
readonly stateMutability: "view";
|
|
280
|
+
}, {
|
|
281
|
+
readonly type: "function";
|
|
282
|
+
readonly name: "getFee";
|
|
283
|
+
readonly inputs: readonly [{
|
|
284
|
+
readonly name: "destChainSelector";
|
|
285
|
+
readonly type: "uint64";
|
|
286
|
+
readonly internalType: "uint64";
|
|
287
|
+
}, {
|
|
288
|
+
readonly name: "";
|
|
289
|
+
readonly type: "tuple";
|
|
290
|
+
readonly internalType: "struct Client.EVM2AnyMessage";
|
|
291
|
+
readonly components: readonly [{
|
|
292
|
+
readonly name: "receiver";
|
|
293
|
+
readonly type: "bytes";
|
|
294
|
+
readonly internalType: "bytes";
|
|
295
|
+
}, {
|
|
296
|
+
readonly name: "data";
|
|
297
|
+
readonly type: "bytes";
|
|
298
|
+
readonly internalType: "bytes";
|
|
299
|
+
}, {
|
|
300
|
+
readonly name: "tokenAmounts";
|
|
301
|
+
readonly type: "tuple[]";
|
|
302
|
+
readonly internalType: "struct Client.EVMTokenAmount[]";
|
|
303
|
+
readonly components: readonly [{
|
|
304
|
+
readonly name: "token";
|
|
305
|
+
readonly type: "address";
|
|
306
|
+
readonly internalType: "address";
|
|
307
|
+
}, {
|
|
308
|
+
readonly name: "amount";
|
|
309
|
+
readonly type: "uint256";
|
|
310
|
+
readonly internalType: "uint256";
|
|
311
|
+
}];
|
|
312
|
+
}, {
|
|
313
|
+
readonly name: "feeToken";
|
|
314
|
+
readonly type: "address";
|
|
315
|
+
readonly internalType: "address";
|
|
316
|
+
}, {
|
|
317
|
+
readonly name: "extraArgs";
|
|
318
|
+
readonly type: "bytes";
|
|
319
|
+
readonly internalType: "bytes";
|
|
320
|
+
}];
|
|
321
|
+
}, {
|
|
322
|
+
readonly name: "";
|
|
323
|
+
readonly type: "bytes";
|
|
324
|
+
readonly internalType: "bytes";
|
|
325
|
+
}, {
|
|
326
|
+
readonly name: "";
|
|
327
|
+
readonly type: "uint16";
|
|
328
|
+
readonly internalType: "uint16";
|
|
329
|
+
}];
|
|
330
|
+
readonly outputs: readonly [{
|
|
331
|
+
readonly name: "feeUSDCents";
|
|
332
|
+
readonly type: "uint16";
|
|
333
|
+
readonly internalType: "uint16";
|
|
334
|
+
}, {
|
|
335
|
+
readonly name: "gasForVerification";
|
|
336
|
+
readonly type: "uint32";
|
|
337
|
+
readonly internalType: "uint32";
|
|
338
|
+
}, {
|
|
339
|
+
readonly name: "payloadSizeBytes";
|
|
340
|
+
readonly type: "uint32";
|
|
341
|
+
readonly internalType: "uint32";
|
|
342
|
+
}];
|
|
343
|
+
readonly stateMutability: "view";
|
|
344
|
+
}, {
|
|
345
|
+
readonly type: "function";
|
|
346
|
+
readonly name: "getRemoteChainConfig";
|
|
347
|
+
readonly inputs: readonly [{
|
|
348
|
+
readonly name: "remoteChainSelector";
|
|
349
|
+
readonly type: "uint64";
|
|
350
|
+
readonly internalType: "uint64";
|
|
351
|
+
}];
|
|
352
|
+
readonly outputs: readonly [{
|
|
353
|
+
readonly name: "allowlistEnabled";
|
|
354
|
+
readonly type: "bool";
|
|
355
|
+
readonly internalType: "bool";
|
|
356
|
+
}, {
|
|
357
|
+
readonly name: "router";
|
|
358
|
+
readonly type: "address";
|
|
359
|
+
readonly internalType: "address";
|
|
360
|
+
}, {
|
|
361
|
+
readonly name: "allowedSendersList";
|
|
362
|
+
readonly type: "address[]";
|
|
363
|
+
readonly internalType: "address[]";
|
|
364
|
+
}];
|
|
365
|
+
readonly stateMutability: "view";
|
|
366
|
+
}, {
|
|
367
|
+
readonly type: "function";
|
|
368
|
+
readonly name: "getStaticConfig";
|
|
369
|
+
readonly inputs: readonly [];
|
|
370
|
+
readonly outputs: readonly [{
|
|
371
|
+
readonly name: "tokenMessenger";
|
|
372
|
+
readonly type: "address";
|
|
373
|
+
readonly internalType: "address";
|
|
374
|
+
}, {
|
|
375
|
+
readonly name: "messageTransmitterProxy";
|
|
376
|
+
readonly type: "address";
|
|
377
|
+
readonly internalType: "address";
|
|
378
|
+
}, {
|
|
379
|
+
readonly name: "usdcToken";
|
|
380
|
+
readonly type: "address";
|
|
381
|
+
readonly internalType: "address";
|
|
382
|
+
}, {
|
|
383
|
+
readonly name: "localDomainIdentifier";
|
|
384
|
+
readonly type: "uint32";
|
|
385
|
+
readonly internalType: "uint32";
|
|
386
|
+
}];
|
|
387
|
+
readonly stateMutability: "view";
|
|
388
|
+
}, {
|
|
389
|
+
readonly type: "function";
|
|
390
|
+
readonly name: "getStorageLocations";
|
|
391
|
+
readonly inputs: readonly [];
|
|
392
|
+
readonly outputs: readonly [{
|
|
393
|
+
readonly name: "";
|
|
394
|
+
readonly type: "string[]";
|
|
395
|
+
readonly internalType: "string[]";
|
|
396
|
+
}];
|
|
397
|
+
readonly stateMutability: "view";
|
|
398
|
+
}, {
|
|
399
|
+
readonly type: "function";
|
|
400
|
+
readonly name: "owner";
|
|
401
|
+
readonly inputs: readonly [];
|
|
402
|
+
readonly outputs: readonly [{
|
|
403
|
+
readonly name: "";
|
|
404
|
+
readonly type: "address";
|
|
405
|
+
readonly internalType: "address";
|
|
406
|
+
}];
|
|
407
|
+
readonly stateMutability: "view";
|
|
408
|
+
}, {
|
|
409
|
+
readonly type: "function";
|
|
410
|
+
readonly name: "setDomains";
|
|
411
|
+
readonly inputs: readonly [{
|
|
412
|
+
readonly name: "domains";
|
|
413
|
+
readonly type: "tuple[]";
|
|
414
|
+
readonly internalType: "struct CCTPVerifier.SetDomainArgs[]";
|
|
415
|
+
readonly components: readonly [{
|
|
416
|
+
readonly name: "allowedCallerOnDest";
|
|
417
|
+
readonly type: "bytes32";
|
|
418
|
+
readonly internalType: "bytes32";
|
|
419
|
+
}, {
|
|
420
|
+
readonly name: "allowedCallerOnSource";
|
|
421
|
+
readonly type: "bytes32";
|
|
422
|
+
readonly internalType: "bytes32";
|
|
423
|
+
}, {
|
|
424
|
+
readonly name: "mintRecipientOnDest";
|
|
425
|
+
readonly type: "bytes32";
|
|
426
|
+
readonly internalType: "bytes32";
|
|
427
|
+
}, {
|
|
428
|
+
readonly name: "chainSelector";
|
|
429
|
+
readonly type: "uint64";
|
|
430
|
+
readonly internalType: "uint64";
|
|
431
|
+
}, {
|
|
432
|
+
readonly name: "domainIdentifier";
|
|
433
|
+
readonly type: "uint32";
|
|
434
|
+
readonly internalType: "uint32";
|
|
435
|
+
}, {
|
|
436
|
+
readonly name: "enabled";
|
|
437
|
+
readonly type: "bool";
|
|
438
|
+
readonly internalType: "bool";
|
|
439
|
+
}];
|
|
440
|
+
}];
|
|
441
|
+
readonly outputs: readonly [];
|
|
442
|
+
readonly stateMutability: "nonpayable";
|
|
443
|
+
}, {
|
|
444
|
+
readonly type: "function";
|
|
445
|
+
readonly name: "setDynamicConfig";
|
|
446
|
+
readonly inputs: readonly [{
|
|
447
|
+
readonly name: "dynamicConfig";
|
|
448
|
+
readonly type: "tuple";
|
|
449
|
+
readonly internalType: "struct CCTPVerifier.DynamicConfig";
|
|
450
|
+
readonly components: readonly [{
|
|
451
|
+
readonly name: "feeAggregator";
|
|
452
|
+
readonly type: "address";
|
|
453
|
+
readonly internalType: "address";
|
|
454
|
+
}, {
|
|
455
|
+
readonly name: "allowlistAdmin";
|
|
456
|
+
readonly type: "address";
|
|
457
|
+
readonly internalType: "address";
|
|
458
|
+
}, {
|
|
459
|
+
readonly name: "fastFinalityBps";
|
|
460
|
+
readonly type: "uint16";
|
|
461
|
+
readonly internalType: "uint16";
|
|
462
|
+
}];
|
|
463
|
+
}];
|
|
464
|
+
readonly outputs: readonly [];
|
|
465
|
+
readonly stateMutability: "nonpayable";
|
|
466
|
+
}, {
|
|
467
|
+
readonly type: "function";
|
|
468
|
+
readonly name: "supportsInterface";
|
|
469
|
+
readonly inputs: readonly [{
|
|
470
|
+
readonly name: "interfaceId";
|
|
471
|
+
readonly type: "bytes4";
|
|
472
|
+
readonly internalType: "bytes4";
|
|
473
|
+
}];
|
|
474
|
+
readonly outputs: readonly [{
|
|
475
|
+
readonly name: "";
|
|
476
|
+
readonly type: "bool";
|
|
477
|
+
readonly internalType: "bool";
|
|
478
|
+
}];
|
|
479
|
+
readonly stateMutability: "pure";
|
|
480
|
+
}, {
|
|
481
|
+
readonly type: "function";
|
|
482
|
+
readonly name: "transferOwnership";
|
|
483
|
+
readonly inputs: readonly [{
|
|
484
|
+
readonly name: "to";
|
|
485
|
+
readonly type: "address";
|
|
486
|
+
readonly internalType: "address";
|
|
487
|
+
}];
|
|
488
|
+
readonly outputs: readonly [];
|
|
489
|
+
readonly stateMutability: "nonpayable";
|
|
490
|
+
}, {
|
|
491
|
+
readonly type: "function";
|
|
492
|
+
readonly name: "typeAndVersion";
|
|
493
|
+
readonly inputs: readonly [];
|
|
494
|
+
readonly outputs: readonly [{
|
|
495
|
+
readonly name: "";
|
|
496
|
+
readonly type: "string";
|
|
497
|
+
readonly internalType: "string";
|
|
498
|
+
}];
|
|
499
|
+
readonly stateMutability: "view";
|
|
500
|
+
}, {
|
|
501
|
+
readonly type: "function";
|
|
502
|
+
readonly name: "updateStorageLocations";
|
|
503
|
+
readonly inputs: readonly [{
|
|
504
|
+
readonly name: "newLocations";
|
|
505
|
+
readonly type: "string[]";
|
|
506
|
+
readonly internalType: "string[]";
|
|
507
|
+
}];
|
|
508
|
+
readonly outputs: readonly [];
|
|
509
|
+
readonly stateMutability: "nonpayable";
|
|
510
|
+
}, {
|
|
511
|
+
readonly type: "function";
|
|
512
|
+
readonly name: "verifyMessage";
|
|
513
|
+
readonly inputs: readonly [{
|
|
514
|
+
readonly name: "message";
|
|
515
|
+
readonly type: "tuple";
|
|
516
|
+
readonly internalType: "struct MessageV1Codec.MessageV1";
|
|
517
|
+
readonly components: readonly [{
|
|
518
|
+
readonly name: "sourceChainSelector";
|
|
519
|
+
readonly type: "uint64";
|
|
520
|
+
readonly internalType: "uint64";
|
|
521
|
+
}, {
|
|
522
|
+
readonly name: "destChainSelector";
|
|
523
|
+
readonly type: "uint64";
|
|
524
|
+
readonly internalType: "uint64";
|
|
525
|
+
}, {
|
|
526
|
+
readonly name: "messageNumber";
|
|
527
|
+
readonly type: "uint64";
|
|
528
|
+
readonly internalType: "uint64";
|
|
529
|
+
}, {
|
|
530
|
+
readonly name: "executionGasLimit";
|
|
531
|
+
readonly type: "uint32";
|
|
532
|
+
readonly internalType: "uint32";
|
|
533
|
+
}, {
|
|
534
|
+
readonly name: "ccipReceiveGasLimit";
|
|
535
|
+
readonly type: "uint32";
|
|
536
|
+
readonly internalType: "uint32";
|
|
537
|
+
}, {
|
|
538
|
+
readonly name: "finality";
|
|
539
|
+
readonly type: "uint16";
|
|
540
|
+
readonly internalType: "uint16";
|
|
541
|
+
}, {
|
|
542
|
+
readonly name: "ccvAndExecutorHash";
|
|
543
|
+
readonly type: "bytes32";
|
|
544
|
+
readonly internalType: "bytes32";
|
|
545
|
+
}, {
|
|
546
|
+
readonly name: "onRampAddress";
|
|
547
|
+
readonly type: "bytes";
|
|
548
|
+
readonly internalType: "bytes";
|
|
549
|
+
}, {
|
|
550
|
+
readonly name: "offRampAddress";
|
|
551
|
+
readonly type: "bytes";
|
|
552
|
+
readonly internalType: "bytes";
|
|
553
|
+
}, {
|
|
554
|
+
readonly name: "sender";
|
|
555
|
+
readonly type: "bytes";
|
|
556
|
+
readonly internalType: "bytes";
|
|
557
|
+
}, {
|
|
558
|
+
readonly name: "receiver";
|
|
559
|
+
readonly type: "bytes";
|
|
560
|
+
readonly internalType: "bytes";
|
|
561
|
+
}, {
|
|
562
|
+
readonly name: "destBlob";
|
|
563
|
+
readonly type: "bytes";
|
|
564
|
+
readonly internalType: "bytes";
|
|
565
|
+
}, {
|
|
566
|
+
readonly name: "tokenTransfer";
|
|
567
|
+
readonly type: "tuple[]";
|
|
568
|
+
readonly internalType: "struct MessageV1Codec.TokenTransferV1[]";
|
|
569
|
+
readonly components: readonly [{
|
|
570
|
+
readonly name: "amount";
|
|
571
|
+
readonly type: "uint256";
|
|
572
|
+
readonly internalType: "uint256";
|
|
573
|
+
}, {
|
|
574
|
+
readonly name: "sourcePoolAddress";
|
|
575
|
+
readonly type: "bytes";
|
|
576
|
+
readonly internalType: "bytes";
|
|
577
|
+
}, {
|
|
578
|
+
readonly name: "sourceTokenAddress";
|
|
579
|
+
readonly type: "bytes";
|
|
580
|
+
readonly internalType: "bytes";
|
|
581
|
+
}, {
|
|
582
|
+
readonly name: "destTokenAddress";
|
|
583
|
+
readonly type: "bytes";
|
|
584
|
+
readonly internalType: "bytes";
|
|
585
|
+
}, {
|
|
586
|
+
readonly name: "tokenReceiver";
|
|
587
|
+
readonly type: "bytes";
|
|
588
|
+
readonly internalType: "bytes";
|
|
589
|
+
}, {
|
|
590
|
+
readonly name: "extraData";
|
|
591
|
+
readonly type: "bytes";
|
|
592
|
+
readonly internalType: "bytes";
|
|
593
|
+
}];
|
|
594
|
+
}, {
|
|
595
|
+
readonly name: "data";
|
|
596
|
+
readonly type: "bytes";
|
|
597
|
+
readonly internalType: "bytes";
|
|
598
|
+
}];
|
|
599
|
+
}, {
|
|
600
|
+
readonly name: "messageHash";
|
|
601
|
+
readonly type: "bytes32";
|
|
602
|
+
readonly internalType: "bytes32";
|
|
603
|
+
}, {
|
|
604
|
+
readonly name: "verifierResults";
|
|
605
|
+
readonly type: "bytes";
|
|
606
|
+
readonly internalType: "bytes";
|
|
607
|
+
}];
|
|
608
|
+
readonly outputs: readonly [];
|
|
609
|
+
readonly stateMutability: "nonpayable";
|
|
610
|
+
}, {
|
|
611
|
+
readonly type: "function";
|
|
612
|
+
readonly name: "versionTag";
|
|
613
|
+
readonly inputs: readonly [];
|
|
614
|
+
readonly outputs: readonly [{
|
|
615
|
+
readonly name: "";
|
|
616
|
+
readonly type: "bytes4";
|
|
617
|
+
readonly internalType: "bytes4";
|
|
618
|
+
}];
|
|
619
|
+
readonly stateMutability: "pure";
|
|
620
|
+
}, {
|
|
621
|
+
readonly type: "function";
|
|
622
|
+
readonly name: "withdrawFeeTokens";
|
|
623
|
+
readonly inputs: readonly [{
|
|
624
|
+
readonly name: "feeTokens";
|
|
625
|
+
readonly type: "address[]";
|
|
626
|
+
readonly internalType: "address[]";
|
|
627
|
+
}];
|
|
628
|
+
readonly outputs: readonly [];
|
|
629
|
+
readonly stateMutability: "nonpayable";
|
|
630
|
+
}, {
|
|
631
|
+
readonly type: "event";
|
|
632
|
+
readonly name: "AllowListSendersAdded";
|
|
633
|
+
readonly inputs: readonly [{
|
|
634
|
+
readonly name: "destChainSelector";
|
|
635
|
+
readonly type: "uint64";
|
|
636
|
+
readonly indexed: true;
|
|
637
|
+
readonly internalType: "uint64";
|
|
638
|
+
}, {
|
|
639
|
+
readonly name: "senders";
|
|
640
|
+
readonly type: "address";
|
|
641
|
+
readonly indexed: false;
|
|
642
|
+
readonly internalType: "address";
|
|
643
|
+
}];
|
|
644
|
+
readonly anonymous: false;
|
|
645
|
+
}, {
|
|
646
|
+
readonly type: "event";
|
|
647
|
+
readonly name: "AllowListSendersRemoved";
|
|
648
|
+
readonly inputs: readonly [{
|
|
649
|
+
readonly name: "destChainSelector";
|
|
650
|
+
readonly type: "uint64";
|
|
651
|
+
readonly indexed: true;
|
|
652
|
+
readonly internalType: "uint64";
|
|
653
|
+
}, {
|
|
654
|
+
readonly name: "senders";
|
|
655
|
+
readonly type: "address";
|
|
656
|
+
readonly indexed: false;
|
|
657
|
+
readonly internalType: "address";
|
|
658
|
+
}];
|
|
659
|
+
readonly anonymous: false;
|
|
660
|
+
}, {
|
|
661
|
+
readonly type: "event";
|
|
662
|
+
readonly name: "AllowListStateChanged";
|
|
663
|
+
readonly inputs: readonly [{
|
|
664
|
+
readonly name: "destChainSelector";
|
|
665
|
+
readonly type: "uint64";
|
|
666
|
+
readonly indexed: true;
|
|
667
|
+
readonly internalType: "uint64";
|
|
668
|
+
}, {
|
|
669
|
+
readonly name: "allowlistEnabled";
|
|
670
|
+
readonly type: "bool";
|
|
671
|
+
readonly indexed: false;
|
|
672
|
+
readonly internalType: "bool";
|
|
673
|
+
}];
|
|
674
|
+
readonly anonymous: false;
|
|
675
|
+
}, {
|
|
676
|
+
readonly type: "event";
|
|
677
|
+
readonly name: "DomainsSet";
|
|
678
|
+
readonly inputs: readonly [{
|
|
679
|
+
readonly name: "domains";
|
|
680
|
+
readonly type: "tuple[]";
|
|
681
|
+
readonly indexed: false;
|
|
682
|
+
readonly internalType: "struct CCTPVerifier.SetDomainArgs[]";
|
|
683
|
+
readonly components: readonly [{
|
|
684
|
+
readonly name: "allowedCallerOnDest";
|
|
685
|
+
readonly type: "bytes32";
|
|
686
|
+
readonly internalType: "bytes32";
|
|
687
|
+
}, {
|
|
688
|
+
readonly name: "allowedCallerOnSource";
|
|
689
|
+
readonly type: "bytes32";
|
|
690
|
+
readonly internalType: "bytes32";
|
|
691
|
+
}, {
|
|
692
|
+
readonly name: "mintRecipientOnDest";
|
|
693
|
+
readonly type: "bytes32";
|
|
694
|
+
readonly internalType: "bytes32";
|
|
695
|
+
}, {
|
|
696
|
+
readonly name: "chainSelector";
|
|
697
|
+
readonly type: "uint64";
|
|
698
|
+
readonly internalType: "uint64";
|
|
699
|
+
}, {
|
|
700
|
+
readonly name: "domainIdentifier";
|
|
701
|
+
readonly type: "uint32";
|
|
702
|
+
readonly internalType: "uint32";
|
|
703
|
+
}, {
|
|
704
|
+
readonly name: "enabled";
|
|
705
|
+
readonly type: "bool";
|
|
706
|
+
readonly internalType: "bool";
|
|
707
|
+
}];
|
|
708
|
+
}];
|
|
709
|
+
readonly anonymous: false;
|
|
710
|
+
}, {
|
|
711
|
+
readonly type: "event";
|
|
712
|
+
readonly name: "DynamicConfigSet";
|
|
713
|
+
readonly inputs: readonly [{
|
|
714
|
+
readonly name: "dynamicConfig";
|
|
715
|
+
readonly type: "tuple";
|
|
716
|
+
readonly indexed: false;
|
|
717
|
+
readonly internalType: "struct CCTPVerifier.DynamicConfig";
|
|
718
|
+
readonly components: readonly [{
|
|
719
|
+
readonly name: "feeAggregator";
|
|
720
|
+
readonly type: "address";
|
|
721
|
+
readonly internalType: "address";
|
|
722
|
+
}, {
|
|
723
|
+
readonly name: "allowlistAdmin";
|
|
724
|
+
readonly type: "address";
|
|
725
|
+
readonly internalType: "address";
|
|
726
|
+
}, {
|
|
727
|
+
readonly name: "fastFinalityBps";
|
|
728
|
+
readonly type: "uint16";
|
|
729
|
+
readonly internalType: "uint16";
|
|
730
|
+
}];
|
|
731
|
+
}];
|
|
732
|
+
readonly anonymous: false;
|
|
733
|
+
}, {
|
|
734
|
+
readonly type: "event";
|
|
735
|
+
readonly name: "FeeTokenWithdrawn";
|
|
736
|
+
readonly inputs: readonly [{
|
|
737
|
+
readonly name: "receiver";
|
|
738
|
+
readonly type: "address";
|
|
739
|
+
readonly indexed: true;
|
|
740
|
+
readonly internalType: "address";
|
|
741
|
+
}, {
|
|
742
|
+
readonly name: "feeToken";
|
|
743
|
+
readonly type: "address";
|
|
744
|
+
readonly indexed: true;
|
|
745
|
+
readonly internalType: "address";
|
|
746
|
+
}, {
|
|
747
|
+
readonly name: "amount";
|
|
748
|
+
readonly type: "uint256";
|
|
749
|
+
readonly indexed: false;
|
|
750
|
+
readonly internalType: "uint256";
|
|
751
|
+
}];
|
|
752
|
+
readonly anonymous: false;
|
|
753
|
+
}, {
|
|
754
|
+
readonly type: "event";
|
|
755
|
+
readonly name: "OwnershipTransferRequested";
|
|
756
|
+
readonly inputs: readonly [{
|
|
757
|
+
readonly name: "from";
|
|
758
|
+
readonly type: "address";
|
|
759
|
+
readonly indexed: true;
|
|
760
|
+
readonly internalType: "address";
|
|
761
|
+
}, {
|
|
762
|
+
readonly name: "to";
|
|
763
|
+
readonly type: "address";
|
|
764
|
+
readonly indexed: true;
|
|
765
|
+
readonly internalType: "address";
|
|
766
|
+
}];
|
|
767
|
+
readonly anonymous: false;
|
|
768
|
+
}, {
|
|
769
|
+
readonly type: "event";
|
|
770
|
+
readonly name: "OwnershipTransferred";
|
|
771
|
+
readonly inputs: readonly [{
|
|
772
|
+
readonly name: "from";
|
|
773
|
+
readonly type: "address";
|
|
774
|
+
readonly indexed: true;
|
|
775
|
+
readonly internalType: "address";
|
|
776
|
+
}, {
|
|
777
|
+
readonly name: "to";
|
|
778
|
+
readonly type: "address";
|
|
779
|
+
readonly indexed: true;
|
|
780
|
+
readonly internalType: "address";
|
|
781
|
+
}];
|
|
782
|
+
readonly anonymous: false;
|
|
783
|
+
}, {
|
|
784
|
+
readonly type: "event";
|
|
785
|
+
readonly name: "RemoteChainConfigSet";
|
|
786
|
+
readonly inputs: readonly [{
|
|
787
|
+
readonly name: "remoteChainSelector";
|
|
788
|
+
readonly type: "uint64";
|
|
789
|
+
readonly indexed: true;
|
|
790
|
+
readonly internalType: "uint64";
|
|
791
|
+
}, {
|
|
792
|
+
readonly name: "router";
|
|
793
|
+
readonly type: "address";
|
|
794
|
+
readonly indexed: false;
|
|
795
|
+
readonly internalType: "address";
|
|
796
|
+
}, {
|
|
797
|
+
readonly name: "allowlistEnabled";
|
|
798
|
+
readonly type: "bool";
|
|
799
|
+
readonly indexed: false;
|
|
800
|
+
readonly internalType: "bool";
|
|
801
|
+
}];
|
|
802
|
+
readonly anonymous: false;
|
|
803
|
+
}, {
|
|
804
|
+
readonly type: "event";
|
|
805
|
+
readonly name: "StaticConfigSet";
|
|
806
|
+
readonly inputs: readonly [{
|
|
807
|
+
readonly name: "tokenMessenger";
|
|
808
|
+
readonly type: "address";
|
|
809
|
+
readonly indexed: false;
|
|
810
|
+
readonly internalType: "address";
|
|
811
|
+
}, {
|
|
812
|
+
readonly name: "messageTransmitterProxy";
|
|
813
|
+
readonly type: "address";
|
|
814
|
+
readonly indexed: false;
|
|
815
|
+
readonly internalType: "address";
|
|
816
|
+
}, {
|
|
817
|
+
readonly name: "usdcToken";
|
|
818
|
+
readonly type: "address";
|
|
819
|
+
readonly indexed: false;
|
|
820
|
+
readonly internalType: "address";
|
|
821
|
+
}, {
|
|
822
|
+
readonly name: "localDomainIdentifier";
|
|
823
|
+
readonly type: "uint32";
|
|
824
|
+
readonly indexed: false;
|
|
825
|
+
readonly internalType: "uint32";
|
|
826
|
+
}];
|
|
827
|
+
readonly anonymous: false;
|
|
828
|
+
}, {
|
|
829
|
+
readonly type: "event";
|
|
830
|
+
readonly name: "StorageLocationsUpdated";
|
|
831
|
+
readonly inputs: readonly [{
|
|
832
|
+
readonly name: "oldLocations";
|
|
833
|
+
readonly type: "string[]";
|
|
834
|
+
readonly indexed: false;
|
|
835
|
+
readonly internalType: "string[]";
|
|
836
|
+
}, {
|
|
837
|
+
readonly name: "newLocations";
|
|
838
|
+
readonly type: "string[]";
|
|
839
|
+
readonly indexed: false;
|
|
840
|
+
readonly internalType: "string[]";
|
|
841
|
+
}];
|
|
842
|
+
readonly anonymous: false;
|
|
843
|
+
}, {
|
|
844
|
+
readonly type: "error";
|
|
845
|
+
readonly name: "CallerIsNotARampOnRouter";
|
|
846
|
+
readonly inputs: readonly [{
|
|
847
|
+
readonly name: "caller";
|
|
848
|
+
readonly type: "address";
|
|
849
|
+
readonly internalType: "address";
|
|
850
|
+
}];
|
|
851
|
+
}, {
|
|
852
|
+
readonly type: "error";
|
|
853
|
+
readonly name: "CannotTransferToSelf";
|
|
854
|
+
readonly inputs: readonly [];
|
|
855
|
+
}, {
|
|
856
|
+
readonly type: "error";
|
|
857
|
+
readonly name: "CursedByRMN";
|
|
858
|
+
readonly inputs: readonly [{
|
|
859
|
+
readonly name: "destChainSelector";
|
|
860
|
+
readonly type: "uint64";
|
|
861
|
+
readonly internalType: "uint64";
|
|
862
|
+
}];
|
|
863
|
+
}, {
|
|
864
|
+
readonly type: "error";
|
|
865
|
+
readonly name: "DestGasCannotBeZero";
|
|
866
|
+
readonly inputs: readonly [{
|
|
867
|
+
readonly name: "destChainSelector";
|
|
868
|
+
readonly type: "uint64";
|
|
869
|
+
readonly internalType: "uint64";
|
|
870
|
+
}];
|
|
871
|
+
}, {
|
|
872
|
+
readonly type: "error";
|
|
873
|
+
readonly name: "Invalid32ByteAddress";
|
|
874
|
+
readonly inputs: readonly [{
|
|
875
|
+
readonly name: "encodedAddress";
|
|
876
|
+
readonly type: "bytes";
|
|
877
|
+
readonly internalType: "bytes";
|
|
878
|
+
}];
|
|
879
|
+
}, {
|
|
880
|
+
readonly type: "error";
|
|
881
|
+
readonly name: "InvalidAllowListRequest";
|
|
882
|
+
readonly inputs: readonly [{
|
|
883
|
+
readonly name: "destChainSelector";
|
|
884
|
+
readonly type: "uint64";
|
|
885
|
+
readonly internalType: "uint64";
|
|
886
|
+
}];
|
|
887
|
+
}, {
|
|
888
|
+
readonly type: "error";
|
|
889
|
+
readonly name: "InvalidCCVVersion";
|
|
890
|
+
readonly inputs: readonly [{
|
|
891
|
+
readonly name: "expected";
|
|
892
|
+
readonly type: "bytes4";
|
|
893
|
+
readonly internalType: "bytes4";
|
|
894
|
+
}, {
|
|
895
|
+
readonly name: "got";
|
|
896
|
+
readonly type: "bytes4";
|
|
897
|
+
readonly internalType: "bytes4";
|
|
898
|
+
}];
|
|
899
|
+
}, {
|
|
900
|
+
readonly type: "error";
|
|
901
|
+
readonly name: "InvalidFastFinalityBps";
|
|
902
|
+
readonly inputs: readonly [{
|
|
903
|
+
readonly name: "fastFinalityBps";
|
|
904
|
+
readonly type: "uint16";
|
|
905
|
+
readonly internalType: "uint16";
|
|
906
|
+
}];
|
|
907
|
+
}, {
|
|
908
|
+
readonly type: "error";
|
|
909
|
+
readonly name: "InvalidMessageId";
|
|
910
|
+
readonly inputs: readonly [{
|
|
911
|
+
readonly name: "expected";
|
|
912
|
+
readonly type: "bytes32";
|
|
913
|
+
readonly internalType: "bytes32";
|
|
914
|
+
}, {
|
|
915
|
+
readonly name: "got";
|
|
916
|
+
readonly type: "bytes32";
|
|
917
|
+
readonly internalType: "bytes32";
|
|
918
|
+
}];
|
|
919
|
+
}, {
|
|
920
|
+
readonly type: "error";
|
|
921
|
+
readonly name: "InvalidMessageSender";
|
|
922
|
+
readonly inputs: readonly [{
|
|
923
|
+
readonly name: "expected";
|
|
924
|
+
readonly type: "bytes32";
|
|
925
|
+
readonly internalType: "bytes32";
|
|
926
|
+
}, {
|
|
927
|
+
readonly name: "got";
|
|
928
|
+
readonly type: "bytes32";
|
|
929
|
+
readonly internalType: "bytes32";
|
|
930
|
+
}];
|
|
931
|
+
}, {
|
|
932
|
+
readonly type: "error";
|
|
933
|
+
readonly name: "InvalidMessageTransmitterOnProxy";
|
|
934
|
+
readonly inputs: readonly [{
|
|
935
|
+
readonly name: "expected";
|
|
936
|
+
readonly type: "address";
|
|
937
|
+
readonly internalType: "address";
|
|
938
|
+
}, {
|
|
939
|
+
readonly name: "got";
|
|
940
|
+
readonly type: "address";
|
|
941
|
+
readonly internalType: "address";
|
|
942
|
+
}];
|
|
943
|
+
}, {
|
|
944
|
+
readonly type: "error";
|
|
945
|
+
readonly name: "InvalidMessageTransmitterVersion";
|
|
946
|
+
readonly inputs: readonly [{
|
|
947
|
+
readonly name: "expected";
|
|
948
|
+
readonly type: "uint32";
|
|
949
|
+
readonly internalType: "uint32";
|
|
950
|
+
}, {
|
|
951
|
+
readonly name: "got";
|
|
952
|
+
readonly type: "uint32";
|
|
953
|
+
readonly internalType: "uint32";
|
|
954
|
+
}];
|
|
955
|
+
}, {
|
|
956
|
+
readonly type: "error";
|
|
957
|
+
readonly name: "InvalidReceiver";
|
|
958
|
+
readonly inputs: readonly [{
|
|
959
|
+
readonly name: "receiver";
|
|
960
|
+
readonly type: "bytes";
|
|
961
|
+
readonly internalType: "bytes";
|
|
962
|
+
}];
|
|
963
|
+
}, {
|
|
964
|
+
readonly type: "error";
|
|
965
|
+
readonly name: "InvalidRemoteChainConfig";
|
|
966
|
+
readonly inputs: readonly [{
|
|
967
|
+
readonly name: "remoteChainSelector";
|
|
968
|
+
readonly type: "uint64";
|
|
969
|
+
readonly internalType: "uint64";
|
|
970
|
+
}];
|
|
971
|
+
}, {
|
|
972
|
+
readonly type: "error";
|
|
973
|
+
readonly name: "InvalidSetDomainArgs";
|
|
974
|
+
readonly inputs: readonly [{
|
|
975
|
+
readonly name: "args";
|
|
976
|
+
readonly type: "tuple";
|
|
977
|
+
readonly internalType: "struct CCTPVerifier.SetDomainArgs";
|
|
978
|
+
readonly components: readonly [{
|
|
979
|
+
readonly name: "allowedCallerOnDest";
|
|
980
|
+
readonly type: "bytes32";
|
|
981
|
+
readonly internalType: "bytes32";
|
|
982
|
+
}, {
|
|
983
|
+
readonly name: "allowedCallerOnSource";
|
|
984
|
+
readonly type: "bytes32";
|
|
985
|
+
readonly internalType: "bytes32";
|
|
986
|
+
}, {
|
|
987
|
+
readonly name: "mintRecipientOnDest";
|
|
988
|
+
readonly type: "bytes32";
|
|
989
|
+
readonly internalType: "bytes32";
|
|
990
|
+
}, {
|
|
991
|
+
readonly name: "chainSelector";
|
|
992
|
+
readonly type: "uint64";
|
|
993
|
+
readonly internalType: "uint64";
|
|
994
|
+
}, {
|
|
995
|
+
readonly name: "domainIdentifier";
|
|
996
|
+
readonly type: "uint32";
|
|
997
|
+
readonly internalType: "uint32";
|
|
998
|
+
}, {
|
|
999
|
+
readonly name: "enabled";
|
|
1000
|
+
readonly type: "bool";
|
|
1001
|
+
readonly internalType: "bool";
|
|
1002
|
+
}];
|
|
1003
|
+
}];
|
|
1004
|
+
}, {
|
|
1005
|
+
readonly type: "error";
|
|
1006
|
+
readonly name: "InvalidSourceDomain";
|
|
1007
|
+
readonly inputs: readonly [{
|
|
1008
|
+
readonly name: "expected";
|
|
1009
|
+
readonly type: "uint32";
|
|
1010
|
+
readonly internalType: "uint32";
|
|
1011
|
+
}, {
|
|
1012
|
+
readonly name: "got";
|
|
1013
|
+
readonly type: "uint32";
|
|
1014
|
+
readonly internalType: "uint32";
|
|
1015
|
+
}];
|
|
1016
|
+
}, {
|
|
1017
|
+
readonly type: "error";
|
|
1018
|
+
readonly name: "InvalidToken";
|
|
1019
|
+
readonly inputs: readonly [{
|
|
1020
|
+
readonly name: "token";
|
|
1021
|
+
readonly type: "bytes";
|
|
1022
|
+
readonly internalType: "bytes";
|
|
1023
|
+
}];
|
|
1024
|
+
}, {
|
|
1025
|
+
readonly type: "error";
|
|
1026
|
+
readonly name: "InvalidTokenMessengerVersion";
|
|
1027
|
+
readonly inputs: readonly [{
|
|
1028
|
+
readonly name: "expected";
|
|
1029
|
+
readonly type: "uint32";
|
|
1030
|
+
readonly internalType: "uint32";
|
|
1031
|
+
}, {
|
|
1032
|
+
readonly name: "got";
|
|
1033
|
+
readonly type: "uint32";
|
|
1034
|
+
readonly internalType: "uint32";
|
|
1035
|
+
}];
|
|
1036
|
+
}, {
|
|
1037
|
+
readonly type: "error";
|
|
1038
|
+
readonly name: "InvalidTokenTransferLength";
|
|
1039
|
+
readonly inputs: readonly [{
|
|
1040
|
+
readonly name: "length";
|
|
1041
|
+
readonly type: "uint256";
|
|
1042
|
+
readonly internalType: "uint256";
|
|
1043
|
+
}];
|
|
1044
|
+
}, {
|
|
1045
|
+
readonly type: "error";
|
|
1046
|
+
readonly name: "InvalidVerifierArgsLength";
|
|
1047
|
+
readonly inputs: readonly [{
|
|
1048
|
+
readonly name: "length";
|
|
1049
|
+
readonly type: "uint256";
|
|
1050
|
+
readonly internalType: "uint256";
|
|
1051
|
+
}];
|
|
1052
|
+
}, {
|
|
1053
|
+
readonly type: "error";
|
|
1054
|
+
readonly name: "InvalidVerifierResults";
|
|
1055
|
+
readonly inputs: readonly [];
|
|
1056
|
+
}, {
|
|
1057
|
+
readonly type: "error";
|
|
1058
|
+
readonly name: "MustBeProposedOwner";
|
|
1059
|
+
readonly inputs: readonly [];
|
|
1060
|
+
}, {
|
|
1061
|
+
readonly type: "error";
|
|
1062
|
+
readonly name: "OnlyCallableByOwner";
|
|
1063
|
+
readonly inputs: readonly [];
|
|
1064
|
+
}, {
|
|
1065
|
+
readonly type: "error";
|
|
1066
|
+
readonly name: "OnlyCallableByOwnerOrAllowlistAdmin";
|
|
1067
|
+
readonly inputs: readonly [];
|
|
1068
|
+
}, {
|
|
1069
|
+
readonly type: "error";
|
|
1070
|
+
readonly name: "OwnerCannotBeZero";
|
|
1071
|
+
readonly inputs: readonly [];
|
|
1072
|
+
}, {
|
|
1073
|
+
readonly type: "error";
|
|
1074
|
+
readonly name: "ReceiveMessageCallFailed";
|
|
1075
|
+
readonly inputs: readonly [];
|
|
1076
|
+
}, {
|
|
1077
|
+
readonly type: "error";
|
|
1078
|
+
readonly name: "RemoteChainNotSupported";
|
|
1079
|
+
readonly inputs: readonly [{
|
|
1080
|
+
readonly name: "remoteChainSelector";
|
|
1081
|
+
readonly type: "uint64";
|
|
1082
|
+
readonly internalType: "uint64";
|
|
1083
|
+
}];
|
|
1084
|
+
}, {
|
|
1085
|
+
readonly type: "error";
|
|
1086
|
+
readonly name: "SafeERC20FailedOperation";
|
|
1087
|
+
readonly inputs: readonly [{
|
|
1088
|
+
readonly name: "token";
|
|
1089
|
+
readonly type: "address";
|
|
1090
|
+
readonly internalType: "address";
|
|
1091
|
+
}];
|
|
1092
|
+
}, {
|
|
1093
|
+
readonly type: "error";
|
|
1094
|
+
readonly name: "SenderNotAllowed";
|
|
1095
|
+
readonly inputs: readonly [{
|
|
1096
|
+
readonly name: "sender";
|
|
1097
|
+
readonly type: "address";
|
|
1098
|
+
readonly internalType: "address";
|
|
1099
|
+
}];
|
|
1100
|
+
}, {
|
|
1101
|
+
readonly type: "error";
|
|
1102
|
+
readonly name: "UnknownDomain";
|
|
1103
|
+
readonly inputs: readonly [{
|
|
1104
|
+
readonly name: "chainSelector";
|
|
1105
|
+
readonly type: "uint64";
|
|
1106
|
+
readonly internalType: "uint64";
|
|
1107
|
+
}];
|
|
1108
|
+
}, {
|
|
1109
|
+
readonly type: "error";
|
|
1110
|
+
readonly name: "ZeroAddressNotAllowed";
|
|
1111
|
+
readonly inputs: readonly [];
|
|
1112
|
+
}, {
|
|
1113
|
+
readonly type: "error";
|
|
1114
|
+
readonly name: "ZeroAddressNotAllowed";
|
|
1115
|
+
readonly inputs: readonly [];
|
|
1116
|
+
}];
|
|
1117
|
+
export default _default;
|
|
1118
|
+
//# sourceMappingURL=CCTPVerifier_2_0.d.ts.map
|