@wormhole-foundation/sdk-evm-ntt 0.0.1-beta.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 +11 -0
- package/dist/cjs/ethers-contracts/NttManager.d.ts +871 -0
- package/dist/cjs/ethers-contracts/NttManager.d.ts.map +1 -0
- package/dist/cjs/ethers-contracts/NttManager.js +3 -0
- package/dist/cjs/ethers-contracts/NttManager.js.map +1 -0
- package/dist/cjs/ethers-contracts/WormholeTransceiver.d.ts +619 -0
- package/dist/cjs/ethers-contracts/WormholeTransceiver.d.ts.map +1 -0
- package/dist/cjs/ethers-contracts/WormholeTransceiver.js +3 -0
- package/dist/cjs/ethers-contracts/WormholeTransceiver.js.map +1 -0
- package/dist/cjs/ethers-contracts/common.d.ts +51 -0
- package/dist/cjs/ethers-contracts/common.d.ts.map +1 -0
- package/dist/cjs/ethers-contracts/common.js +3 -0
- package/dist/cjs/ethers-contracts/common.js.map +1 -0
- package/dist/cjs/ethers-contracts/factories/NttManager__factory.d.ts +1414 -0
- package/dist/cjs/ethers-contracts/factories/NttManager__factory.d.ts.map +1 -0
- package/dist/cjs/ethers-contracts/factories/NttManager__factory.js +1858 -0
- package/dist/cjs/ethers-contracts/factories/NttManager__factory.js.map +1 -0
- package/dist/cjs/ethers-contracts/factories/WormholeTransceiver__factory.d.ts +981 -0
- package/dist/cjs/ethers-contracts/factories/WormholeTransceiver__factory.d.ts.map +1 -0
- package/dist/cjs/ethers-contracts/factories/WormholeTransceiver__factory.js +1296 -0
- package/dist/cjs/ethers-contracts/factories/WormholeTransceiver__factory.js.map +1 -0
- package/dist/cjs/ethers-contracts/factories/index.d.ts +3 -0
- package/dist/cjs/ethers-contracts/factories/index.d.ts.map +1 -0
- package/dist/cjs/ethers-contracts/factories/index.js +11 -0
- package/dist/cjs/ethers-contracts/factories/index.js.map +1 -0
- package/dist/cjs/ethers-contracts/index.d.ts +6 -0
- package/dist/cjs/ethers-contracts/index.d.ts.map +1 -0
- package/dist/cjs/ethers-contracts/index.js +32 -0
- package/dist/cjs/ethers-contracts/index.js.map +1 -0
- package/dist/cjs/index.d.ts +4 -0
- package/dist/cjs/index.d.ts.map +1 -0
- package/dist/cjs/index.js +37 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/ntt.d.ts +49 -0
- package/dist/cjs/ntt.d.ts.map +1 -0
- package/dist/cjs/ntt.js +153 -0
- package/dist/cjs/ntt.js.map +1 -0
- package/dist/cjs/package.json +1 -0
- package/dist/esm/ethers-contracts/NttManager.d.ts +871 -0
- package/dist/esm/ethers-contracts/NttManager.d.ts.map +1 -0
- package/dist/esm/ethers-contracts/NttManager.js +2 -0
- package/dist/esm/ethers-contracts/NttManager.js.map +1 -0
- package/dist/esm/ethers-contracts/WormholeTransceiver.d.ts +619 -0
- package/dist/esm/ethers-contracts/WormholeTransceiver.d.ts.map +1 -0
- package/dist/esm/ethers-contracts/WormholeTransceiver.js +2 -0
- package/dist/esm/ethers-contracts/WormholeTransceiver.js.map +1 -0
- package/dist/esm/ethers-contracts/common.d.ts +51 -0
- package/dist/esm/ethers-contracts/common.d.ts.map +1 -0
- package/dist/esm/ethers-contracts/common.js +2 -0
- package/dist/esm/ethers-contracts/common.js.map +1 -0
- package/dist/esm/ethers-contracts/factories/NttManager__factory.d.ts +1414 -0
- package/dist/esm/ethers-contracts/factories/NttManager__factory.d.ts.map +1 -0
- package/dist/esm/ethers-contracts/factories/NttManager__factory.js +1854 -0
- package/dist/esm/ethers-contracts/factories/NttManager__factory.js.map +1 -0
- package/dist/esm/ethers-contracts/factories/WormholeTransceiver__factory.d.ts +981 -0
- package/dist/esm/ethers-contracts/factories/WormholeTransceiver__factory.d.ts.map +1 -0
- package/dist/esm/ethers-contracts/factories/WormholeTransceiver__factory.js +1292 -0
- package/dist/esm/ethers-contracts/factories/WormholeTransceiver__factory.js.map +1 -0
- package/dist/esm/ethers-contracts/factories/index.d.ts +3 -0
- package/dist/esm/ethers-contracts/factories/index.d.ts.map +1 -0
- package/dist/esm/ethers-contracts/factories/index.js +6 -0
- package/dist/esm/ethers-contracts/factories/index.js.map +1 -0
- package/dist/esm/ethers-contracts/index.d.ts +6 -0
- package/dist/esm/ethers-contracts/index.d.ts.map +1 -0
- package/dist/esm/ethers-contracts/index.js +4 -0
- package/dist/esm/ethers-contracts/index.js.map +1 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +8 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/ntt.d.ts +49 -0
- package/dist/esm/ntt.d.ts.map +1 -0
- package/dist/esm/ntt.js +148 -0
- package/dist/esm/ntt.js.map +1 -0
- package/package.json +68 -0
|
@@ -0,0 +1,1296 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WormholeTransceiver__factory = void 0;
|
|
4
|
+
/* Autogenerated file. Do not edit manually. */
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
type: "constructor",
|
|
11
|
+
inputs: [
|
|
12
|
+
{
|
|
13
|
+
name: "nttManager",
|
|
14
|
+
type: "address",
|
|
15
|
+
internalType: "address",
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
name: "wormholeCoreBridge",
|
|
19
|
+
type: "address",
|
|
20
|
+
internalType: "address",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
name: "wormholeRelayerAddr",
|
|
24
|
+
type: "address",
|
|
25
|
+
internalType: "address",
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
name: "specialRelayerAddr",
|
|
29
|
+
type: "address",
|
|
30
|
+
internalType: "address",
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
name: "_consistencyLevel",
|
|
34
|
+
type: "uint8",
|
|
35
|
+
internalType: "uint8",
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
name: "_gasLimit",
|
|
39
|
+
type: "uint256",
|
|
40
|
+
internalType: "uint256",
|
|
41
|
+
},
|
|
42
|
+
],
|
|
43
|
+
stateMutability: "nonpayable",
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
type: "function",
|
|
47
|
+
name: "WORMHOLE_TRANSCEIVER_VERSION",
|
|
48
|
+
inputs: [],
|
|
49
|
+
outputs: [
|
|
50
|
+
{
|
|
51
|
+
name: "",
|
|
52
|
+
type: "string",
|
|
53
|
+
internalType: "string",
|
|
54
|
+
},
|
|
55
|
+
],
|
|
56
|
+
stateMutability: "view",
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
type: "function",
|
|
60
|
+
name: "consistencyLevel",
|
|
61
|
+
inputs: [],
|
|
62
|
+
outputs: [
|
|
63
|
+
{
|
|
64
|
+
name: "",
|
|
65
|
+
type: "uint8",
|
|
66
|
+
internalType: "uint8",
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
stateMutability: "view",
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
type: "function",
|
|
73
|
+
name: "encodeWormholeTransceiverInstruction",
|
|
74
|
+
inputs: [
|
|
75
|
+
{
|
|
76
|
+
name: "instruction",
|
|
77
|
+
type: "tuple",
|
|
78
|
+
internalType: "struct IWormholeTransceiver.WormholeTransceiverInstruction",
|
|
79
|
+
components: [
|
|
80
|
+
{
|
|
81
|
+
name: "shouldSkipRelayerSend",
|
|
82
|
+
type: "bool",
|
|
83
|
+
internalType: "bool",
|
|
84
|
+
},
|
|
85
|
+
],
|
|
86
|
+
},
|
|
87
|
+
],
|
|
88
|
+
outputs: [
|
|
89
|
+
{
|
|
90
|
+
name: "",
|
|
91
|
+
type: "bytes",
|
|
92
|
+
internalType: "bytes",
|
|
93
|
+
},
|
|
94
|
+
],
|
|
95
|
+
stateMutability: "pure",
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
type: "function",
|
|
99
|
+
name: "gasLimit",
|
|
100
|
+
inputs: [],
|
|
101
|
+
outputs: [
|
|
102
|
+
{
|
|
103
|
+
name: "",
|
|
104
|
+
type: "uint256",
|
|
105
|
+
internalType: "uint256",
|
|
106
|
+
},
|
|
107
|
+
],
|
|
108
|
+
stateMutability: "view",
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
type: "function",
|
|
112
|
+
name: "getMigratesImmutables",
|
|
113
|
+
inputs: [],
|
|
114
|
+
outputs: [
|
|
115
|
+
{
|
|
116
|
+
name: "",
|
|
117
|
+
type: "bool",
|
|
118
|
+
internalType: "bool",
|
|
119
|
+
},
|
|
120
|
+
],
|
|
121
|
+
stateMutability: "view",
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
type: "function",
|
|
125
|
+
name: "getNttManagerOwner",
|
|
126
|
+
inputs: [],
|
|
127
|
+
outputs: [
|
|
128
|
+
{
|
|
129
|
+
name: "",
|
|
130
|
+
type: "address",
|
|
131
|
+
internalType: "address",
|
|
132
|
+
},
|
|
133
|
+
],
|
|
134
|
+
stateMutability: "view",
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
type: "function",
|
|
138
|
+
name: "getNttManagerToken",
|
|
139
|
+
inputs: [],
|
|
140
|
+
outputs: [
|
|
141
|
+
{
|
|
142
|
+
name: "",
|
|
143
|
+
type: "address",
|
|
144
|
+
internalType: "address",
|
|
145
|
+
},
|
|
146
|
+
],
|
|
147
|
+
stateMutability: "view",
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
type: "function",
|
|
151
|
+
name: "getWormholePeer",
|
|
152
|
+
inputs: [
|
|
153
|
+
{
|
|
154
|
+
name: "chainId",
|
|
155
|
+
type: "uint16",
|
|
156
|
+
internalType: "uint16",
|
|
157
|
+
},
|
|
158
|
+
],
|
|
159
|
+
outputs: [
|
|
160
|
+
{
|
|
161
|
+
name: "",
|
|
162
|
+
type: "bytes32",
|
|
163
|
+
internalType: "bytes32",
|
|
164
|
+
},
|
|
165
|
+
],
|
|
166
|
+
stateMutability: "view",
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
type: "function",
|
|
170
|
+
name: "initialize",
|
|
171
|
+
inputs: [],
|
|
172
|
+
outputs: [],
|
|
173
|
+
stateMutability: "nonpayable",
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
type: "function",
|
|
177
|
+
name: "isPaused",
|
|
178
|
+
inputs: [],
|
|
179
|
+
outputs: [
|
|
180
|
+
{
|
|
181
|
+
name: "",
|
|
182
|
+
type: "bool",
|
|
183
|
+
internalType: "bool",
|
|
184
|
+
},
|
|
185
|
+
],
|
|
186
|
+
stateMutability: "view",
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
type: "function",
|
|
190
|
+
name: "isSpecialRelayingEnabled",
|
|
191
|
+
inputs: [
|
|
192
|
+
{
|
|
193
|
+
name: "chainId",
|
|
194
|
+
type: "uint16",
|
|
195
|
+
internalType: "uint16",
|
|
196
|
+
},
|
|
197
|
+
],
|
|
198
|
+
outputs: [
|
|
199
|
+
{
|
|
200
|
+
name: "",
|
|
201
|
+
type: "bool",
|
|
202
|
+
internalType: "bool",
|
|
203
|
+
},
|
|
204
|
+
],
|
|
205
|
+
stateMutability: "view",
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
type: "function",
|
|
209
|
+
name: "isVAAConsumed",
|
|
210
|
+
inputs: [
|
|
211
|
+
{
|
|
212
|
+
name: "hash",
|
|
213
|
+
type: "bytes32",
|
|
214
|
+
internalType: "bytes32",
|
|
215
|
+
},
|
|
216
|
+
],
|
|
217
|
+
outputs: [
|
|
218
|
+
{
|
|
219
|
+
name: "",
|
|
220
|
+
type: "bool",
|
|
221
|
+
internalType: "bool",
|
|
222
|
+
},
|
|
223
|
+
],
|
|
224
|
+
stateMutability: "view",
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
type: "function",
|
|
228
|
+
name: "isWormholeEvmChain",
|
|
229
|
+
inputs: [
|
|
230
|
+
{
|
|
231
|
+
name: "chainId",
|
|
232
|
+
type: "uint16",
|
|
233
|
+
internalType: "uint16",
|
|
234
|
+
},
|
|
235
|
+
],
|
|
236
|
+
outputs: [
|
|
237
|
+
{
|
|
238
|
+
name: "",
|
|
239
|
+
type: "bool",
|
|
240
|
+
internalType: "bool",
|
|
241
|
+
},
|
|
242
|
+
],
|
|
243
|
+
stateMutability: "view",
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
type: "function",
|
|
247
|
+
name: "isWormholeRelayingEnabled",
|
|
248
|
+
inputs: [
|
|
249
|
+
{
|
|
250
|
+
name: "chainId",
|
|
251
|
+
type: "uint16",
|
|
252
|
+
internalType: "uint16",
|
|
253
|
+
},
|
|
254
|
+
],
|
|
255
|
+
outputs: [
|
|
256
|
+
{
|
|
257
|
+
name: "",
|
|
258
|
+
type: "bool",
|
|
259
|
+
internalType: "bool",
|
|
260
|
+
},
|
|
261
|
+
],
|
|
262
|
+
stateMutability: "view",
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
type: "function",
|
|
266
|
+
name: "migrate",
|
|
267
|
+
inputs: [],
|
|
268
|
+
outputs: [],
|
|
269
|
+
stateMutability: "nonpayable",
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
type: "function",
|
|
273
|
+
name: "nttManager",
|
|
274
|
+
inputs: [],
|
|
275
|
+
outputs: [
|
|
276
|
+
{
|
|
277
|
+
name: "",
|
|
278
|
+
type: "address",
|
|
279
|
+
internalType: "address",
|
|
280
|
+
},
|
|
281
|
+
],
|
|
282
|
+
stateMutability: "view",
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
type: "function",
|
|
286
|
+
name: "nttManagerToken",
|
|
287
|
+
inputs: [],
|
|
288
|
+
outputs: [
|
|
289
|
+
{
|
|
290
|
+
name: "",
|
|
291
|
+
type: "address",
|
|
292
|
+
internalType: "address",
|
|
293
|
+
},
|
|
294
|
+
],
|
|
295
|
+
stateMutability: "view",
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
type: "function",
|
|
299
|
+
name: "owner",
|
|
300
|
+
inputs: [],
|
|
301
|
+
outputs: [
|
|
302
|
+
{
|
|
303
|
+
name: "",
|
|
304
|
+
type: "address",
|
|
305
|
+
internalType: "address",
|
|
306
|
+
},
|
|
307
|
+
],
|
|
308
|
+
stateMutability: "view",
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
type: "function",
|
|
312
|
+
name: "parseWormholeTransceiverInstruction",
|
|
313
|
+
inputs: [
|
|
314
|
+
{
|
|
315
|
+
name: "encoded",
|
|
316
|
+
type: "bytes",
|
|
317
|
+
internalType: "bytes",
|
|
318
|
+
},
|
|
319
|
+
],
|
|
320
|
+
outputs: [
|
|
321
|
+
{
|
|
322
|
+
name: "instruction",
|
|
323
|
+
type: "tuple",
|
|
324
|
+
internalType: "struct IWormholeTransceiver.WormholeTransceiverInstruction",
|
|
325
|
+
components: [
|
|
326
|
+
{
|
|
327
|
+
name: "shouldSkipRelayerSend",
|
|
328
|
+
type: "bool",
|
|
329
|
+
internalType: "bool",
|
|
330
|
+
},
|
|
331
|
+
],
|
|
332
|
+
},
|
|
333
|
+
],
|
|
334
|
+
stateMutability: "pure",
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
type: "function",
|
|
338
|
+
name: "pauser",
|
|
339
|
+
inputs: [],
|
|
340
|
+
outputs: [
|
|
341
|
+
{
|
|
342
|
+
name: "",
|
|
343
|
+
type: "address",
|
|
344
|
+
internalType: "address",
|
|
345
|
+
},
|
|
346
|
+
],
|
|
347
|
+
stateMutability: "view",
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
type: "function",
|
|
351
|
+
name: "quoteDeliveryPrice",
|
|
352
|
+
inputs: [
|
|
353
|
+
{
|
|
354
|
+
name: "targetChain",
|
|
355
|
+
type: "uint16",
|
|
356
|
+
internalType: "uint16",
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
name: "instruction",
|
|
360
|
+
type: "tuple",
|
|
361
|
+
internalType: "struct TransceiverStructs.TransceiverInstruction",
|
|
362
|
+
components: [
|
|
363
|
+
{
|
|
364
|
+
name: "index",
|
|
365
|
+
type: "uint8",
|
|
366
|
+
internalType: "uint8",
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
name: "payload",
|
|
370
|
+
type: "bytes",
|
|
371
|
+
internalType: "bytes",
|
|
372
|
+
},
|
|
373
|
+
],
|
|
374
|
+
},
|
|
375
|
+
],
|
|
376
|
+
outputs: [
|
|
377
|
+
{
|
|
378
|
+
name: "",
|
|
379
|
+
type: "uint256",
|
|
380
|
+
internalType: "uint256",
|
|
381
|
+
},
|
|
382
|
+
],
|
|
383
|
+
stateMutability: "view",
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
type: "function",
|
|
387
|
+
name: "receiveMessage",
|
|
388
|
+
inputs: [
|
|
389
|
+
{
|
|
390
|
+
name: "encodedMessage",
|
|
391
|
+
type: "bytes",
|
|
392
|
+
internalType: "bytes",
|
|
393
|
+
},
|
|
394
|
+
],
|
|
395
|
+
outputs: [],
|
|
396
|
+
stateMutability: "nonpayable",
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
type: "function",
|
|
400
|
+
name: "receiveWormholeMessages",
|
|
401
|
+
inputs: [
|
|
402
|
+
{
|
|
403
|
+
name: "payload",
|
|
404
|
+
type: "bytes",
|
|
405
|
+
internalType: "bytes",
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
name: "additionalMessages",
|
|
409
|
+
type: "bytes[]",
|
|
410
|
+
internalType: "bytes[]",
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
name: "sourceAddress",
|
|
414
|
+
type: "bytes32",
|
|
415
|
+
internalType: "bytes32",
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
name: "sourceChain",
|
|
419
|
+
type: "uint16",
|
|
420
|
+
internalType: "uint16",
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
name: "deliveryHash",
|
|
424
|
+
type: "bytes32",
|
|
425
|
+
internalType: "bytes32",
|
|
426
|
+
},
|
|
427
|
+
],
|
|
428
|
+
outputs: [],
|
|
429
|
+
stateMutability: "payable",
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
type: "function",
|
|
433
|
+
name: "sendMessage",
|
|
434
|
+
inputs: [
|
|
435
|
+
{
|
|
436
|
+
name: "recipientChain",
|
|
437
|
+
type: "uint16",
|
|
438
|
+
internalType: "uint16",
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
name: "instruction",
|
|
442
|
+
type: "tuple",
|
|
443
|
+
internalType: "struct TransceiverStructs.TransceiverInstruction",
|
|
444
|
+
components: [
|
|
445
|
+
{
|
|
446
|
+
name: "index",
|
|
447
|
+
type: "uint8",
|
|
448
|
+
internalType: "uint8",
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
name: "payload",
|
|
452
|
+
type: "bytes",
|
|
453
|
+
internalType: "bytes",
|
|
454
|
+
},
|
|
455
|
+
],
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
name: "nttManagerMessage",
|
|
459
|
+
type: "bytes",
|
|
460
|
+
internalType: "bytes",
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
name: "recipientNttManagerAddress",
|
|
464
|
+
type: "bytes32",
|
|
465
|
+
internalType: "bytes32",
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
name: "refundAddress",
|
|
469
|
+
type: "bytes32",
|
|
470
|
+
internalType: "bytes32",
|
|
471
|
+
},
|
|
472
|
+
],
|
|
473
|
+
outputs: [],
|
|
474
|
+
stateMutability: "payable",
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
type: "function",
|
|
478
|
+
name: "setIsSpecialRelayingEnabled",
|
|
479
|
+
inputs: [
|
|
480
|
+
{
|
|
481
|
+
name: "chainId",
|
|
482
|
+
type: "uint16",
|
|
483
|
+
internalType: "uint16",
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
name: "isEnabled",
|
|
487
|
+
type: "bool",
|
|
488
|
+
internalType: "bool",
|
|
489
|
+
},
|
|
490
|
+
],
|
|
491
|
+
outputs: [],
|
|
492
|
+
stateMutability: "nonpayable",
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
type: "function",
|
|
496
|
+
name: "setIsWormholeEvmChain",
|
|
497
|
+
inputs: [
|
|
498
|
+
{
|
|
499
|
+
name: "chainId",
|
|
500
|
+
type: "uint16",
|
|
501
|
+
internalType: "uint16",
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
name: "isEvm",
|
|
505
|
+
type: "bool",
|
|
506
|
+
internalType: "bool",
|
|
507
|
+
},
|
|
508
|
+
],
|
|
509
|
+
outputs: [],
|
|
510
|
+
stateMutability: "nonpayable",
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
type: "function",
|
|
514
|
+
name: "setIsWormholeRelayingEnabled",
|
|
515
|
+
inputs: [
|
|
516
|
+
{
|
|
517
|
+
name: "chainId",
|
|
518
|
+
type: "uint16",
|
|
519
|
+
internalType: "uint16",
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
name: "isEnabled",
|
|
523
|
+
type: "bool",
|
|
524
|
+
internalType: "bool",
|
|
525
|
+
},
|
|
526
|
+
],
|
|
527
|
+
outputs: [],
|
|
528
|
+
stateMutability: "nonpayable",
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
type: "function",
|
|
532
|
+
name: "setWormholePeer",
|
|
533
|
+
inputs: [
|
|
534
|
+
{
|
|
535
|
+
name: "peerChainId",
|
|
536
|
+
type: "uint16",
|
|
537
|
+
internalType: "uint16",
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
name: "peerContract",
|
|
541
|
+
type: "bytes32",
|
|
542
|
+
internalType: "bytes32",
|
|
543
|
+
},
|
|
544
|
+
],
|
|
545
|
+
outputs: [],
|
|
546
|
+
stateMutability: "nonpayable",
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
type: "function",
|
|
550
|
+
name: "specialRelayer",
|
|
551
|
+
inputs: [],
|
|
552
|
+
outputs: [
|
|
553
|
+
{
|
|
554
|
+
name: "",
|
|
555
|
+
type: "address",
|
|
556
|
+
internalType: "contract ISpecialRelayer",
|
|
557
|
+
},
|
|
558
|
+
],
|
|
559
|
+
stateMutability: "view",
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
type: "function",
|
|
563
|
+
name: "transferOwnership",
|
|
564
|
+
inputs: [
|
|
565
|
+
{
|
|
566
|
+
name: "newOwner",
|
|
567
|
+
type: "address",
|
|
568
|
+
internalType: "address",
|
|
569
|
+
},
|
|
570
|
+
],
|
|
571
|
+
outputs: [],
|
|
572
|
+
stateMutability: "nonpayable",
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
type: "function",
|
|
576
|
+
name: "transferPauserCapability",
|
|
577
|
+
inputs: [
|
|
578
|
+
{
|
|
579
|
+
name: "newPauser",
|
|
580
|
+
type: "address",
|
|
581
|
+
internalType: "address",
|
|
582
|
+
},
|
|
583
|
+
],
|
|
584
|
+
outputs: [],
|
|
585
|
+
stateMutability: "nonpayable",
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
type: "function",
|
|
589
|
+
name: "transferTransceiverOwnership",
|
|
590
|
+
inputs: [
|
|
591
|
+
{
|
|
592
|
+
name: "newOwner",
|
|
593
|
+
type: "address",
|
|
594
|
+
internalType: "address",
|
|
595
|
+
},
|
|
596
|
+
],
|
|
597
|
+
outputs: [],
|
|
598
|
+
stateMutability: "nonpayable",
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
type: "function",
|
|
602
|
+
name: "upgrade",
|
|
603
|
+
inputs: [
|
|
604
|
+
{
|
|
605
|
+
name: "newImplementation",
|
|
606
|
+
type: "address",
|
|
607
|
+
internalType: "address",
|
|
608
|
+
},
|
|
609
|
+
],
|
|
610
|
+
outputs: [],
|
|
611
|
+
stateMutability: "nonpayable",
|
|
612
|
+
},
|
|
613
|
+
{
|
|
614
|
+
type: "function",
|
|
615
|
+
name: "wormhole",
|
|
616
|
+
inputs: [],
|
|
617
|
+
outputs: [
|
|
618
|
+
{
|
|
619
|
+
name: "",
|
|
620
|
+
type: "address",
|
|
621
|
+
internalType: "contract IWormhole",
|
|
622
|
+
},
|
|
623
|
+
],
|
|
624
|
+
stateMutability: "view",
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
type: "function",
|
|
628
|
+
name: "wormholeRelayer",
|
|
629
|
+
inputs: [],
|
|
630
|
+
outputs: [
|
|
631
|
+
{
|
|
632
|
+
name: "",
|
|
633
|
+
type: "address",
|
|
634
|
+
internalType: "contract IWormholeRelayer",
|
|
635
|
+
},
|
|
636
|
+
],
|
|
637
|
+
stateMutability: "view",
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
type: "event",
|
|
641
|
+
name: "AdminChanged",
|
|
642
|
+
inputs: [
|
|
643
|
+
{
|
|
644
|
+
name: "previousAdmin",
|
|
645
|
+
type: "address",
|
|
646
|
+
indexed: false,
|
|
647
|
+
internalType: "address",
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
name: "newAdmin",
|
|
651
|
+
type: "address",
|
|
652
|
+
indexed: false,
|
|
653
|
+
internalType: "address",
|
|
654
|
+
},
|
|
655
|
+
],
|
|
656
|
+
anonymous: false,
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
type: "event",
|
|
660
|
+
name: "BeaconUpgraded",
|
|
661
|
+
inputs: [
|
|
662
|
+
{
|
|
663
|
+
name: "beacon",
|
|
664
|
+
type: "address",
|
|
665
|
+
indexed: true,
|
|
666
|
+
internalType: "address",
|
|
667
|
+
},
|
|
668
|
+
],
|
|
669
|
+
anonymous: false,
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
type: "event",
|
|
673
|
+
name: "Initialized",
|
|
674
|
+
inputs: [
|
|
675
|
+
{
|
|
676
|
+
name: "version",
|
|
677
|
+
type: "uint64",
|
|
678
|
+
indexed: false,
|
|
679
|
+
internalType: "uint64",
|
|
680
|
+
},
|
|
681
|
+
],
|
|
682
|
+
anonymous: false,
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
type: "event",
|
|
686
|
+
name: "NotPaused",
|
|
687
|
+
inputs: [
|
|
688
|
+
{
|
|
689
|
+
name: "notPaused",
|
|
690
|
+
type: "bool",
|
|
691
|
+
indexed: false,
|
|
692
|
+
internalType: "bool",
|
|
693
|
+
},
|
|
694
|
+
],
|
|
695
|
+
anonymous: false,
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
type: "event",
|
|
699
|
+
name: "OwnershipTransferred",
|
|
700
|
+
inputs: [
|
|
701
|
+
{
|
|
702
|
+
name: "previousOwner",
|
|
703
|
+
type: "address",
|
|
704
|
+
indexed: true,
|
|
705
|
+
internalType: "address",
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
name: "newOwner",
|
|
709
|
+
type: "address",
|
|
710
|
+
indexed: true,
|
|
711
|
+
internalType: "address",
|
|
712
|
+
},
|
|
713
|
+
],
|
|
714
|
+
anonymous: false,
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
type: "event",
|
|
718
|
+
name: "Paused",
|
|
719
|
+
inputs: [
|
|
720
|
+
{
|
|
721
|
+
name: "paused",
|
|
722
|
+
type: "bool",
|
|
723
|
+
indexed: false,
|
|
724
|
+
internalType: "bool",
|
|
725
|
+
},
|
|
726
|
+
],
|
|
727
|
+
anonymous: false,
|
|
728
|
+
},
|
|
729
|
+
{
|
|
730
|
+
type: "event",
|
|
731
|
+
name: "PauserTransferred",
|
|
732
|
+
inputs: [
|
|
733
|
+
{
|
|
734
|
+
name: "oldPauser",
|
|
735
|
+
type: "address",
|
|
736
|
+
indexed: true,
|
|
737
|
+
internalType: "address",
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
name: "newPauser",
|
|
741
|
+
type: "address",
|
|
742
|
+
indexed: true,
|
|
743
|
+
internalType: "address",
|
|
744
|
+
},
|
|
745
|
+
],
|
|
746
|
+
anonymous: false,
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
type: "event",
|
|
750
|
+
name: "ReceivedMessage",
|
|
751
|
+
inputs: [
|
|
752
|
+
{
|
|
753
|
+
name: "digest",
|
|
754
|
+
type: "bytes32",
|
|
755
|
+
indexed: false,
|
|
756
|
+
internalType: "bytes32",
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
name: "emitterChainId",
|
|
760
|
+
type: "uint16",
|
|
761
|
+
indexed: false,
|
|
762
|
+
internalType: "uint16",
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
name: "emitterAddress",
|
|
766
|
+
type: "bytes32",
|
|
767
|
+
indexed: false,
|
|
768
|
+
internalType: "bytes32",
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
name: "sequence",
|
|
772
|
+
type: "uint64",
|
|
773
|
+
indexed: false,
|
|
774
|
+
internalType: "uint64",
|
|
775
|
+
},
|
|
776
|
+
],
|
|
777
|
+
anonymous: false,
|
|
778
|
+
},
|
|
779
|
+
{
|
|
780
|
+
type: "event",
|
|
781
|
+
name: "ReceivedRelayedMessage",
|
|
782
|
+
inputs: [
|
|
783
|
+
{
|
|
784
|
+
name: "digest",
|
|
785
|
+
type: "bytes32",
|
|
786
|
+
indexed: false,
|
|
787
|
+
internalType: "bytes32",
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
name: "emitterChainId",
|
|
791
|
+
type: "uint16",
|
|
792
|
+
indexed: false,
|
|
793
|
+
internalType: "uint16",
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
name: "emitterAddress",
|
|
797
|
+
type: "bytes32",
|
|
798
|
+
indexed: false,
|
|
799
|
+
internalType: "bytes32",
|
|
800
|
+
},
|
|
801
|
+
],
|
|
802
|
+
anonymous: false,
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
type: "event",
|
|
806
|
+
name: "RelayingInfo",
|
|
807
|
+
inputs: [
|
|
808
|
+
{
|
|
809
|
+
name: "relayingType",
|
|
810
|
+
type: "uint8",
|
|
811
|
+
indexed: false,
|
|
812
|
+
internalType: "uint8",
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
name: "refundAddress",
|
|
816
|
+
type: "bytes32",
|
|
817
|
+
indexed: false,
|
|
818
|
+
internalType: "bytes32",
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
name: "deliveryPayment",
|
|
822
|
+
type: "uint256",
|
|
823
|
+
indexed: false,
|
|
824
|
+
internalType: "uint256",
|
|
825
|
+
},
|
|
826
|
+
],
|
|
827
|
+
anonymous: false,
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
type: "event",
|
|
831
|
+
name: "SendTransceiverMessage",
|
|
832
|
+
inputs: [
|
|
833
|
+
{
|
|
834
|
+
name: "recipientChain",
|
|
835
|
+
type: "uint16",
|
|
836
|
+
indexed: false,
|
|
837
|
+
internalType: "uint16",
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
name: "message",
|
|
841
|
+
type: "tuple",
|
|
842
|
+
indexed: false,
|
|
843
|
+
internalType: "struct TransceiverStructs.TransceiverMessage",
|
|
844
|
+
components: [
|
|
845
|
+
{
|
|
846
|
+
name: "sourceNttManagerAddress",
|
|
847
|
+
type: "bytes32",
|
|
848
|
+
internalType: "bytes32",
|
|
849
|
+
},
|
|
850
|
+
{
|
|
851
|
+
name: "recipientNttManagerAddress",
|
|
852
|
+
type: "bytes32",
|
|
853
|
+
internalType: "bytes32",
|
|
854
|
+
},
|
|
855
|
+
{
|
|
856
|
+
name: "nttManagerPayload",
|
|
857
|
+
type: "bytes",
|
|
858
|
+
internalType: "bytes",
|
|
859
|
+
},
|
|
860
|
+
{
|
|
861
|
+
name: "transceiverPayload",
|
|
862
|
+
type: "bytes",
|
|
863
|
+
internalType: "bytes",
|
|
864
|
+
},
|
|
865
|
+
],
|
|
866
|
+
},
|
|
867
|
+
],
|
|
868
|
+
anonymous: false,
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
type: "event",
|
|
872
|
+
name: "SetIsSpecialRelayingEnabled",
|
|
873
|
+
inputs: [
|
|
874
|
+
{
|
|
875
|
+
name: "chainId",
|
|
876
|
+
type: "uint16",
|
|
877
|
+
indexed: false,
|
|
878
|
+
internalType: "uint16",
|
|
879
|
+
},
|
|
880
|
+
{
|
|
881
|
+
name: "isRelayingEnabled",
|
|
882
|
+
type: "bool",
|
|
883
|
+
indexed: false,
|
|
884
|
+
internalType: "bool",
|
|
885
|
+
},
|
|
886
|
+
],
|
|
887
|
+
anonymous: false,
|
|
888
|
+
},
|
|
889
|
+
{
|
|
890
|
+
type: "event",
|
|
891
|
+
name: "SetIsWormholeEvmChain",
|
|
892
|
+
inputs: [
|
|
893
|
+
{
|
|
894
|
+
name: "chainId",
|
|
895
|
+
type: "uint16",
|
|
896
|
+
indexed: false,
|
|
897
|
+
internalType: "uint16",
|
|
898
|
+
},
|
|
899
|
+
{
|
|
900
|
+
name: "isEvm",
|
|
901
|
+
type: "bool",
|
|
902
|
+
indexed: false,
|
|
903
|
+
internalType: "bool",
|
|
904
|
+
},
|
|
905
|
+
],
|
|
906
|
+
anonymous: false,
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
type: "event",
|
|
910
|
+
name: "SetIsWormholeRelayingEnabled",
|
|
911
|
+
inputs: [
|
|
912
|
+
{
|
|
913
|
+
name: "chainId",
|
|
914
|
+
type: "uint16",
|
|
915
|
+
indexed: false,
|
|
916
|
+
internalType: "uint16",
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
name: "isRelayingEnabled",
|
|
920
|
+
type: "bool",
|
|
921
|
+
indexed: false,
|
|
922
|
+
internalType: "bool",
|
|
923
|
+
},
|
|
924
|
+
],
|
|
925
|
+
anonymous: false,
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
type: "event",
|
|
929
|
+
name: "SetWormholePeer",
|
|
930
|
+
inputs: [
|
|
931
|
+
{
|
|
932
|
+
name: "chainId",
|
|
933
|
+
type: "uint16",
|
|
934
|
+
indexed: false,
|
|
935
|
+
internalType: "uint16",
|
|
936
|
+
},
|
|
937
|
+
{
|
|
938
|
+
name: "peerContract",
|
|
939
|
+
type: "bytes32",
|
|
940
|
+
indexed: false,
|
|
941
|
+
internalType: "bytes32",
|
|
942
|
+
},
|
|
943
|
+
],
|
|
944
|
+
anonymous: false,
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
type: "event",
|
|
948
|
+
name: "Upgraded",
|
|
949
|
+
inputs: [
|
|
950
|
+
{
|
|
951
|
+
name: "implementation",
|
|
952
|
+
type: "address",
|
|
953
|
+
indexed: true,
|
|
954
|
+
internalType: "address",
|
|
955
|
+
},
|
|
956
|
+
],
|
|
957
|
+
anonymous: false,
|
|
958
|
+
},
|
|
959
|
+
{
|
|
960
|
+
type: "error",
|
|
961
|
+
name: "CallerNotNttManager",
|
|
962
|
+
inputs: [
|
|
963
|
+
{
|
|
964
|
+
name: "caller",
|
|
965
|
+
type: "address",
|
|
966
|
+
internalType: "address",
|
|
967
|
+
},
|
|
968
|
+
],
|
|
969
|
+
},
|
|
970
|
+
{
|
|
971
|
+
type: "error",
|
|
972
|
+
name: "CallerNotRelayer",
|
|
973
|
+
inputs: [
|
|
974
|
+
{
|
|
975
|
+
name: "caller",
|
|
976
|
+
type: "address",
|
|
977
|
+
internalType: "address",
|
|
978
|
+
},
|
|
979
|
+
],
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
type: "error",
|
|
983
|
+
name: "CannotRenounceTransceiverOwnership",
|
|
984
|
+
inputs: [
|
|
985
|
+
{
|
|
986
|
+
name: "currentOwner",
|
|
987
|
+
type: "address",
|
|
988
|
+
internalType: "address",
|
|
989
|
+
},
|
|
990
|
+
],
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
type: "error",
|
|
994
|
+
name: "CannotTransferTransceiverOwnership",
|
|
995
|
+
inputs: [
|
|
996
|
+
{
|
|
997
|
+
name: "currentOwner",
|
|
998
|
+
type: "address",
|
|
999
|
+
internalType: "address",
|
|
1000
|
+
},
|
|
1001
|
+
{
|
|
1002
|
+
name: "newOwner",
|
|
1003
|
+
type: "address",
|
|
1004
|
+
internalType: "address",
|
|
1005
|
+
},
|
|
1006
|
+
],
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
type: "error",
|
|
1010
|
+
name: "InvalidBoolVal",
|
|
1011
|
+
inputs: [
|
|
1012
|
+
{
|
|
1013
|
+
name: "val",
|
|
1014
|
+
type: "uint8",
|
|
1015
|
+
internalType: "uint8",
|
|
1016
|
+
},
|
|
1017
|
+
],
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
type: "error",
|
|
1021
|
+
name: "InvalidBoolValue",
|
|
1022
|
+
inputs: [
|
|
1023
|
+
{
|
|
1024
|
+
name: "value",
|
|
1025
|
+
type: "uint256",
|
|
1026
|
+
internalType: "BooleanFlag",
|
|
1027
|
+
},
|
|
1028
|
+
],
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
type: "error",
|
|
1032
|
+
name: "InvalidFork",
|
|
1033
|
+
inputs: [
|
|
1034
|
+
{
|
|
1035
|
+
name: "evmChainId",
|
|
1036
|
+
type: "uint256",
|
|
1037
|
+
internalType: "uint256",
|
|
1038
|
+
},
|
|
1039
|
+
{
|
|
1040
|
+
name: "blockChainId",
|
|
1041
|
+
type: "uint256",
|
|
1042
|
+
internalType: "uint256",
|
|
1043
|
+
},
|
|
1044
|
+
],
|
|
1045
|
+
},
|
|
1046
|
+
{
|
|
1047
|
+
type: "error",
|
|
1048
|
+
name: "InvalidInitialization",
|
|
1049
|
+
inputs: [],
|
|
1050
|
+
},
|
|
1051
|
+
{
|
|
1052
|
+
type: "error",
|
|
1053
|
+
name: "InvalidPauser",
|
|
1054
|
+
inputs: [
|
|
1055
|
+
{
|
|
1056
|
+
name: "account",
|
|
1057
|
+
type: "address",
|
|
1058
|
+
internalType: "address",
|
|
1059
|
+
},
|
|
1060
|
+
],
|
|
1061
|
+
},
|
|
1062
|
+
{
|
|
1063
|
+
type: "error",
|
|
1064
|
+
name: "InvalidRelayingConfig",
|
|
1065
|
+
inputs: [
|
|
1066
|
+
{
|
|
1067
|
+
name: "chainId",
|
|
1068
|
+
type: "uint16",
|
|
1069
|
+
internalType: "uint16",
|
|
1070
|
+
},
|
|
1071
|
+
],
|
|
1072
|
+
},
|
|
1073
|
+
{
|
|
1074
|
+
type: "error",
|
|
1075
|
+
name: "InvalidVaa",
|
|
1076
|
+
inputs: [
|
|
1077
|
+
{
|
|
1078
|
+
name: "reason",
|
|
1079
|
+
type: "string",
|
|
1080
|
+
internalType: "string",
|
|
1081
|
+
},
|
|
1082
|
+
],
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
type: "error",
|
|
1086
|
+
name: "InvalidWormholeChainIdZero",
|
|
1087
|
+
inputs: [],
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
type: "error",
|
|
1091
|
+
name: "InvalidWormholePeer",
|
|
1092
|
+
inputs: [
|
|
1093
|
+
{
|
|
1094
|
+
name: "chainId",
|
|
1095
|
+
type: "uint16",
|
|
1096
|
+
internalType: "uint16",
|
|
1097
|
+
},
|
|
1098
|
+
{
|
|
1099
|
+
name: "peerAddress",
|
|
1100
|
+
type: "bytes32",
|
|
1101
|
+
internalType: "bytes32",
|
|
1102
|
+
},
|
|
1103
|
+
],
|
|
1104
|
+
},
|
|
1105
|
+
{
|
|
1106
|
+
type: "error",
|
|
1107
|
+
name: "InvalidWormholePeerZeroAddress",
|
|
1108
|
+
inputs: [],
|
|
1109
|
+
},
|
|
1110
|
+
{
|
|
1111
|
+
type: "error",
|
|
1112
|
+
name: "LengthMismatch",
|
|
1113
|
+
inputs: [
|
|
1114
|
+
{
|
|
1115
|
+
name: "encodedLength",
|
|
1116
|
+
type: "uint256",
|
|
1117
|
+
internalType: "uint256",
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
name: "expectedLength",
|
|
1121
|
+
type: "uint256",
|
|
1122
|
+
internalType: "uint256",
|
|
1123
|
+
},
|
|
1124
|
+
],
|
|
1125
|
+
},
|
|
1126
|
+
{
|
|
1127
|
+
type: "error",
|
|
1128
|
+
name: "NotAnEvmAddress",
|
|
1129
|
+
inputs: [
|
|
1130
|
+
{
|
|
1131
|
+
name: "",
|
|
1132
|
+
type: "bytes32",
|
|
1133
|
+
internalType: "bytes32",
|
|
1134
|
+
},
|
|
1135
|
+
],
|
|
1136
|
+
},
|
|
1137
|
+
{
|
|
1138
|
+
type: "error",
|
|
1139
|
+
name: "NotInitializing",
|
|
1140
|
+
inputs: [],
|
|
1141
|
+
},
|
|
1142
|
+
{
|
|
1143
|
+
type: "error",
|
|
1144
|
+
name: "NotMigrating",
|
|
1145
|
+
inputs: [],
|
|
1146
|
+
},
|
|
1147
|
+
{
|
|
1148
|
+
type: "error",
|
|
1149
|
+
name: "OnlyDelegateCall",
|
|
1150
|
+
inputs: [],
|
|
1151
|
+
},
|
|
1152
|
+
{
|
|
1153
|
+
type: "error",
|
|
1154
|
+
name: "OwnableInvalidOwner",
|
|
1155
|
+
inputs: [
|
|
1156
|
+
{
|
|
1157
|
+
name: "owner",
|
|
1158
|
+
type: "address",
|
|
1159
|
+
internalType: "address",
|
|
1160
|
+
},
|
|
1161
|
+
],
|
|
1162
|
+
},
|
|
1163
|
+
{
|
|
1164
|
+
type: "error",
|
|
1165
|
+
name: "OwnableUnauthorizedAccount",
|
|
1166
|
+
inputs: [
|
|
1167
|
+
{
|
|
1168
|
+
name: "account",
|
|
1169
|
+
type: "address",
|
|
1170
|
+
internalType: "address",
|
|
1171
|
+
},
|
|
1172
|
+
],
|
|
1173
|
+
},
|
|
1174
|
+
{
|
|
1175
|
+
type: "error",
|
|
1176
|
+
name: "PeerAlreadySet",
|
|
1177
|
+
inputs: [
|
|
1178
|
+
{
|
|
1179
|
+
name: "chainId",
|
|
1180
|
+
type: "uint16",
|
|
1181
|
+
internalType: "uint16",
|
|
1182
|
+
},
|
|
1183
|
+
{
|
|
1184
|
+
name: "peerAddress",
|
|
1185
|
+
type: "bytes32",
|
|
1186
|
+
internalType: "bytes32",
|
|
1187
|
+
},
|
|
1188
|
+
],
|
|
1189
|
+
},
|
|
1190
|
+
{
|
|
1191
|
+
type: "error",
|
|
1192
|
+
name: "ReentrancyGuardReentrantCall",
|
|
1193
|
+
inputs: [],
|
|
1194
|
+
},
|
|
1195
|
+
{
|
|
1196
|
+
type: "error",
|
|
1197
|
+
name: "RequireContractIsNotPaused",
|
|
1198
|
+
inputs: [],
|
|
1199
|
+
},
|
|
1200
|
+
{
|
|
1201
|
+
type: "error",
|
|
1202
|
+
name: "RequireContractIsPaused",
|
|
1203
|
+
inputs: [],
|
|
1204
|
+
},
|
|
1205
|
+
{
|
|
1206
|
+
type: "error",
|
|
1207
|
+
name: "TransferAlreadyCompleted",
|
|
1208
|
+
inputs: [
|
|
1209
|
+
{
|
|
1210
|
+
name: "vaaHash",
|
|
1211
|
+
type: "bytes32",
|
|
1212
|
+
internalType: "bytes32",
|
|
1213
|
+
},
|
|
1214
|
+
],
|
|
1215
|
+
},
|
|
1216
|
+
{
|
|
1217
|
+
type: "error",
|
|
1218
|
+
name: "UnexpectedAdditionalMessages",
|
|
1219
|
+
inputs: [],
|
|
1220
|
+
},
|
|
1221
|
+
{
|
|
1222
|
+
type: "error",
|
|
1223
|
+
name: "UnexpectedDeployer",
|
|
1224
|
+
inputs: [
|
|
1225
|
+
{
|
|
1226
|
+
name: "deployer",
|
|
1227
|
+
type: "address",
|
|
1228
|
+
internalType: "address",
|
|
1229
|
+
},
|
|
1230
|
+
{
|
|
1231
|
+
name: "caller",
|
|
1232
|
+
type: "address",
|
|
1233
|
+
internalType: "address",
|
|
1234
|
+
},
|
|
1235
|
+
],
|
|
1236
|
+
},
|
|
1237
|
+
{
|
|
1238
|
+
type: "error",
|
|
1239
|
+
name: "UnexpectedRecipientNttManagerAddress",
|
|
1240
|
+
inputs: [
|
|
1241
|
+
{
|
|
1242
|
+
name: "recipientNttManagerAddress",
|
|
1243
|
+
type: "bytes32",
|
|
1244
|
+
internalType: "bytes32",
|
|
1245
|
+
},
|
|
1246
|
+
{
|
|
1247
|
+
name: "expectedRecipientNttManagerAddress",
|
|
1248
|
+
type: "bytes32",
|
|
1249
|
+
internalType: "bytes32",
|
|
1250
|
+
},
|
|
1251
|
+
],
|
|
1252
|
+
},
|
|
1253
|
+
];
|
|
1254
|
+
const _bytecode = "0x6101c06040818152346200031d5760c082620036f8803803809162000025828562000322565b8339810103126200031d576200003b826200035c565b906020906200004c8285016200035c565b926200005a8286016200035c565b62000068606087016200035c565b9160808701519660ff881688036200031d5760a00151947ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0080549060ff82881c166200030c5782906001600160401b03906002600160401b031984831601620002c9575b50505050306080528160a052845190637e062a3560e11b8252808260048160018060a01b038097165afa908115620002be576000916200027f575b50905060c0523360e0528061012096168652806101409216825261016092168252610180924684526101009687526101a094855251946133869687620003728839608051876130f1015260a051878181610dc201528181611503015281816118860152818161200b015281816121ba015281816128960152612a9a015260c051878181610e4d01528181611c490152818161220c015281816126430152612d32015260e05187610cca01525186818161076301528181610f000152818161122a01528181611bb401528181611da701526123510152518581816101fd01528181610bbe01528181610f2b0152818161125601528181611b5c01528181611dd40152818161225c01528181612db801528181612e980152612f3601525184818161079c015281816115ec01528181611a00015281816122ac0152612c7b015251838181610a1e01528181611bf2015281816122fc0152612d6f015251826102410152518181816106a1015281816119cb0152612c500152f35b82813d8311620002b6575b62000296818362000322565b81010312620002b35750620002ab906200035c565b803862000107565b80fd5b503d6200028a565b86513d6000823e3d90fd5b6001600160401b0319909316811790925586519182527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d291a138818180620000cc565b865163f92ee8a960e01b8152600490fd5b600080fd5b601f909101601f19168101906001600160401b038211908210176200034657604052565b634e487b7160e01b600052604160045260246000fd5b51906001600160a01b03821682036200031d5756fe6080604081815260048036101561001557600080fd5b600092833560e01c908163036de8af14612561575080630900f0101461203a5780630b4a1e891461139157806324fb21db14611ff6578063320d0d8e14611fb357806348b330d614611f6d5780634b5b0505146117f55780634b795b2114611754578063529dca321461154a57806358f709ba146114db578063657b3b2f1461143a57806366152efc146113d9578063689f90c314611396578063694977d7146113915780637ab564031461113157806380eb3239146110f55780638129fc1c14610c3657806381e8ec7f14610bed57806384acd1bb14610ba95780638da5cb5b14610b735780638fd3ab8014610a4d57806390ea542814610a09578063935dec07146109c757806396dddc63146109125780639fd0506d146108ca578063b187bd2614610889578063b5634c731461083c578063bc7f6d37146107f9578063d8d28418146107cb578063da25b72514610787578063e8dfd50814610749578063f2fde38b14610714578063f48066a8146106c8578063f68016b7146106895763f953cec7146101a457600080fd5b346106855760209081600319360112610681578035906001600160401b038581841161067e576101da6101f99436908501612754565b86518095819263607ec5ef60e11b83528887840152602483019061283d565b03817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa80156106745786938790889261046f575b501561044c57507f000000000000000000000000000000000000000000000000000000000000000046810361043057506060830161ffff918282511660005260008051602061327183398151915286528660002054608086019081518091036103ff575061014086016102c7815160005260008051602061329183398151915260205260ff6040600020541690565b6103e657927ff6fc529540981400dc64edf649eb5e2e0eb5812a27f8c81bac2c1d317e71a5f0608060e0948b8a8e9996896103286103799d9b516000526000805160206132918339815191526020526040600020600160ff19825416179055565b519360a08989511692519301511692519384528d8401528d8301526060820152a15116940151906103576128f9565b5061036061291f565b508651630453806b60e11b815293849283928301612a78565b038173__$93083e246e55d56d98f3df2872cd16bfd0$__5af49283156103dc576103b39450859186946103b6575b50815191015191612a97565b80f35b9093506103d591503d8087833e6103cd8183612718565b8101906129fa565b92386103a7565b84513d87823e3d90fd5b518851632d30ec0360e21b815280870191909152602490fd5b83518951633cd8e72b60e11b815290861661ffff1687820190815260208101929092529081900360400190fd5b0390fd5b826044918751916377d879fb60e01b8352820152466024820152fd5b8551634771719b60e11b815280840186905290819061042c90602483019061283d565b945050503d8087853e6104828185612718565b830160609081858203126106705784518381116105f45785016101609283828403126105f85788519384018481108682111761065b5789526104c382613009565b84526104d0888301613017565b888501526104df898301613017565b898501528082015161ffff8116810361065757818501526080808301518186015261050c60a08401612fa1565b60a086015261051d60c08401613009565b60c086015260e0830151868111610653578461053a918501612977565b60e086015261010061054d818501613017565b90860152610120908184015187811161064f57840185601f8201121561064f5780518c9461058661057d83612803565b96519687612718565b8186528c8087019260071b8401019288841161064b578d01915b8383106105fc57505050505084015261014080910151908301526105c5868601613028565b9487810151908482116105f857019080601f830112156105f45781516105ec928801612940565b909338610238565b8880fd5b8980fd5b84838a031261064b578d8f918287935190610616826126e2565b86518252838701518483015261062d818801613009565b9082015261063c858701613009565b858201528152019201916105a0565b8f80fd5b8c80fd5b8b80fd5b8a80fd5b604187634e487b7160e01b6000525260246000fd5b8780fd5b85513d88823e3d90fd5b80fd5b8380fd5b8280fd5b5050346106c457816003193601126106c457602090517f00000000000000000000000000000000000000000000000000000000000000008152f35b5080fd5b5050346106c45760203660031901126106c45760209061ffff6106e9612672565b166000526000805160206132b1833981519152825261070b81600020546130ad565b90519015158152f35b8382346106c45760203660031901126106c457356001600160a01b03811681036106c4576103b3906107446131c1565b613190565b5050346106c457816003193601126106c4576020905160ff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b5050346106c457816003193601126106c457517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b5050346106c457816003193601126106c4576020906107e8612881565b90516001600160a01b039091168152f35b5050346106c45760203660031901126106c45760209061ffff61081a612672565b16600052600080516020613251833981519152825261070b81600020546130ad565b5034610685578160031936011261068557610855612672565b92602435906001600160401b03821161067e57509261087c6108829260209536910161279b565b90612bda565b9051908152f35b5050346106c457816003193601126106c45760209060027f64bacf405c5d7f563d3ba5252584a52c37e4fee380fd825b10666c27b825802254149051908152f35b5050346106c457816003193601126106c4577fbfa91572ce1e5fe8776a160d3b1f862e83f5ee2c080a7423b4761602a3ad12495490516001600160a01b039091168152602090f35b508290346106c457826003193601126106c45761092d612672565b6109356127f4565b9161093e6131c1565b61ffff82169081156109b957507f4add57d97a7bf5035340ea1212aeeb3d4d3887eb1faf3821a8224c3a6956a10c93946109b39161097b856130df565b906000526000805160206132b18339815191526020528160002055519283928390929160209061ffff60408401951683521515910152565b0390a180f35b8551630f7662c960e21b8152fd5b5050346106c45760203660031901126106c45760209061ffff6109e8612672565b16600052600080516020613271833981519152825280600020549051908152f35b5050346106c457816003193601126106c457517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b509034610685578260031936011261068557610a676130ee565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0080546001600160401b038082166001810190828211610b605760ff84871c16908115610b53575b50610b4357169360ff7f7487ca88d037ca20519908b1ee7556206bef53bce0226a348750cb9d4f688e4e541615610b35575068ffffffffffffffffff19168317680100000000000000001768ff000000000000000019169055519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602090a180f35b8351632866815360e11b8152fd5b845163f92ee8a960e01b81528690fd5b9050828216111538610aaf565b634e487b7160e01b885260118752602488fd5b5050346106c457816003193601126106c4576000805160206132f18339815191525490516001600160a01b039091168152602090f35b5050346106c457816003193601126106c457517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b5050346106c457816003193601126106c4578051610c3291610c0e826126fd565b60058252640302e312e360dc1b60208301525191829160208352602083019061283d565b0390f35b5034610685578260031936011261068557610c4f6130ee565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a009182549160ff83831c1615906001600160401b0393848116801590816110ed575b60011490816110e3575b1590816110da575b506110cb5767ffffffffffffffff1981166001178655826110ac575b506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116338190036110905750610cfc61314f565b610d0461314f565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055610db0610d33612881565b610d3b61314f565b610d4361314f565b610d4b61314f565b60017f64bacf405c5d7f563d3ba5252584a52c37e4fee380fd825b10666c27b8258022557fbfa91572ce1e5fe8776a160d3b1f862e83f5ee2c080a7423b4761602a3ad124980546001600160a01b03191633179055610da861314f565b61074461314f565b8351634b4fd03b60e01b8152602095907f0000000000000000000000000000000000000000000000000000000000000000831687828681845afa918215611086578a9261104f575b508651631dcbf42b60e11b81529188838781855afa928315611045578b9361100e575b5087519360a085019081118582101761065b578852639c23bd3b60e01b845288840191825260ff9081168489019081527f00000000000000000000000000000000000000000000000000000000000000008616606086019081529382166080860190815289516301529f6160e21b815295516001600160e01b031916888701529251602486015251811660448501529151606484015251166084820152878160a48173__$93083e246e55d56d98f3df2872cd16bfd0$__5af49081156110045791610f27939187938a91610fe2575b508987518096819582946358cd21bf60e11b84527f0000000000000000000000000000000000000000000000000000000000000000918401612fb5565b03927f0000000000000000000000000000000000000000000000000000000000000000165af18015610fd857610fa0575b50610f61578380f35b7fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29268ff00000000000000001981541690555160018152a13880808380f35b8381813d8311610fd1575b610fb58183612718565b81010312610fcd57610fc690612fa1565b5038610f58565b8580fd5b503d610fab565b83513d88823e3d90fd5b610ffe91503d808c833e610ff68183612718565b810190613035565b38610eea565b85513d8a823e3d90fd5b9092508881813d831161103e575b6110268183612718565b810103126106575761103790613009565b9138610e1b565b503d61101c565b88513d8d823e3d90fd5b9091508781813d831161107f575b6110678183612718565b810103126105f85761107890613009565b9038610df8565b503d61105d565b87513d8c823e3d90fd5b82604491865191636345072160e11b8352820152336024820152fd5b68ffffffffffffffffff19166801000000000000000117855538610cbf565b50825163f92ee8a960e01b8152fd5b90501538610ca3565b303b159150610c9b565b849150610c91565b50913461067e57602036600319011261067e575061070b6020923560005260008051602061329183398151915260205260ff6040600020541690565b503461068557816003193601126106855761114a612672565b602435916111566131c1565b61ffff80831690811561138157841561137157816000526000805160206132718339815191529160209280845287600020548061134857508160005283528587600020558651916111a6836126c7565b630c7e33e160e11b8352838301918252878301878152885163077650fb60e51b815293516001600160e01b031916868501529151166024830152516044820152868160648173__$93083e246e55d56d98f3df2872cd16bfd0$__5af492831561133e576112519383928991611324575b5087516358cd21bf60e11b815294859283927f0000000000000000000000000000000000000000000000000000000000000000918401612fb5565b0381897f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af18015610674576112c8575b5050915161ffff909216825260208201527fa559263ee060c7a2560843b3a064ff0376c9753ae3e2449b595a3b615d3264669080604081016109b3565b81813d831161131d575b6112dc8183612718565b81010312611319577fa559263ee060c7a2560843b3a064ff0376c9753ae3e2449b595a3b615d326466936113126109b392612fa1565b509361128b565b8480fd5b503d6112d2565b61133891503d808b833e610ff68183612718565b38611216565b86513d89823e3d90fd5b885163b55eeae960e01b815261ffff881681880190815260208101929092529081906040010390fd5b855163137063ef60e11b81528390fd5b8551630f7662c960e21b81528390fd5b61262d565b5050346106c457816003193601126106c45760209060ff7f5443fea4dc453d96b81ce55b62e11a4094cc4cbb8a360956a7253cfdb42506cb541690519015158152f35b50913461067e57602036600319011261067e57508051916113f9836126ac565b35908115159182810361143557610c32935280519160f81b602083015260018252611423826126fd565b5191829160208352602083019061283d565b600080fd5b508290346106c457826003193601126106c457611455612672565b61145d6127f4565b916114666131c1565b61ffff82169081156109b957507f528b18a533e892b5401d1fb63597275df9d2bb45b13e7695c3147cd07b9746c393946109b3916114a3856130df565b906000526000805160206132d18339815191526020528160002055519283928390929160209061ffff60408401951683521515910152565b5034610685576020366003190112610685578035916001600160a01b038084168403611319577f000000000000000000000000000000000000000000000000000000000000000016330361153357836103b3846131fa565b60249250519063c5aa615360e01b82523390820152fd5b5060a0366003190112610685576001600160401b038135818111611319576115759036908401612754565b602492833593838511611750573660238601121561175057848201359361159b85612803565b946115a888519687612718565b808652602096838888019260051b8201019236841161065757848201925b84841061172a5750505050506044356064359461ffff86169081870361143557608435937f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316330361171757826000526000805160206132718339815191528952838a60002054036116f057848b52600080516020613291833981519152895260ff8a8c2054166116dc5750611685846000526000805160206132918339815191526020526040600020600160ff19825416179055565b516116cc57606061037995938a95937ff557dbbb087662f52c815f6c7ee350628a37a51eae9608ff840d996b65f87475938b519283528a8301528a820152a16103576128f9565b875163c504ea2960e01b81528490fd5b8951632d30ec0360e21b8152808701869052fd5b8951633cd8e72b60e11b815261ffff89168188019081526020810186905281906040010390fd5b8951631c26958960e01b81523381880152fd5b833582811161064f578a916117458392893691880101612754565b8152019301926115c6565b8680fd5b508290346106c457826003193601126106c45761176f612672565b6117776127f4565b916117806131c1565b61ffff82169081156109b957507f0fe301480713b2c2072ee91b3bcfcbf2c0014f0447c89046f020f0f80727003c93946109b3916117bd856130df565b906000526000805160206132518339815191526020528160002055519283928390929160209061ffff60408401951683521515910152565b509060031960a0368201126106815761180c612672565b9060249283356001600160401b03908181116106705761182f903690880161279b565b906044358181116105f4576118479036908901612754565b90608435977f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00976002895414611f5e57600289556001600160a01b03937f000000000000000000000000000000000000000000000000000000000000000085163303611f4857908b61190181936119108a519b6118c38d6126ac565b848d528b516304616c8f60e21b81526309945ff160e41b89820152338782015260648035604483015260a0908201529c8d94859460a486019061283d565b9184830301608485015261283d565b038173__$93083e246e55d56d98f3df2872cd16bfd0$__5af4938415611f3e5782988395611eec575b50611948602080980151612b5f565b80511580611edd575b15611b34575050928a928592838989976119c361ffff8f16968792836000526000805160206132718339815191528c526119976119918660002054612fdd565b9b612fdd565b94519c8d9b8c9a8b9a6312d729bd60e21b8c528b0152169088015260e0604488015260e487019061283d565b9360648601527f0000000000000000000000000000000000000000000000000000000000000000608486015260a48501521660c4830152039134907f0000000000000000000000000000000000000000000000000000000000000000165af18015611b2a57611ab9575b5061ffff926060611a9e84611ab2946000805160206133318339815191528460019c6000805160206133118339815191529b99519060008252848201523485820152a15b815197889716875281818801528451828801528401518387015283015160808087015260c086019061283d565b910151838203603f190160a085015261283d565b0390a15580f35b9391928185813d8311611b23575b611ad18183612718565b81010312610670576060611a9e61ffff95611ab2946000805160206133318339815191528460019c611b116000805160206133118339815191529c612fa1565b509c5050509450949650505092611a2d565b503d611ac7565b83513d8a823e3d90fd5b919394959250959697989a50511580611eb1575b15611d87578651631a90a21960e01b8152937f000000000000000000000000000000000000000000000000000000000000000082169087868681855afa958d8715611d7c57908993929197611d49575b50869291611bdc918b519889809481936358cd21bf60e11b83527f0000000000000000000000000000000000000000000000000000000000000000908c8401612fb5565b03925af1948515611d3f578c95611d08575b50817f00000000000000000000000000000000000000000000000000000000000000001690340390348211611cf45790818d9796959493923b15610670578c96889660849561ffff8d519a8b998a98630b5624e160e11b8a527f0000000000000000000000000000000000000000000000000000000000000000169089015216908601528760448601521660648401525af18015611cea57611cd2575b50600080516020613311833981519152936060611a9e856001999560008051602061333183398151915284611ab29761ffff9a51908e8252848201523485820152a1611a71565b611cde90969296612683565b610fcd57938538611c8b565b84513d84823e3d90fd5b83601186634e487b7160e01b600052526000fd5b9094508681813d8311611d38575b611d208183612718565b8101031261065357611d3190612fa1565b9338611bee565b503d611d16565b88513d8e823e3d90fd5b9196509181813d8111611d75575b611d618183612718565b810103126114355751948791611bdc611b98565b503d611d57565b8a51903d90823e3d90fd5b9050611dce9350849286999799518095819482936358cd21bf60e11b84527f0000000000000000000000000000000000000000000000000000000000000000918401612fb5565b039134907f0000000000000000000000000000000000000000000000000000000000000000165af18015611ea757611e49575b5091611ab26001956060611a9e8560008051602061331183398151915297600080516020613331833981519152848d61ffff9a519060028252848201523485820152a1611a71565b9181838195933d8311611ea0575b611e618183612718565b81010312611750576001956060611a9e611ab29360008051602061331183398151915297611e9161ffff98612fa1565b50959750955050509550611e01565b503d611e57565b83513d89823e3d90fd5b5061ffff8a166000526000805160206132518339815191528652611ed887600020546130ad565b611b48565b50611ee78b61305a565b611951565b985093503d80838a3e611eff818a612718565b88019787818a03126106855780518581116106815789611f20918301612991565b98602082015186811161131957611f379201612977565b9338611939565b87513d84823e3d90fd5b509085519063c5aa615360e01b82523390820152fd5b508451633ee5aeb560e01b8152fd5b50913461067e57602036600319011261067e578235906001600160401b03821161067e5750611fa4602093611fa992369101612754565b612b5f565b9051905115158152f35b5050346106c45760203660031901126106c45760209061ffff611fd4612672565b166000526000805160206132d1833981519152825261070b81600020546130ad565b5050346106c457816003193601126106c457517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b5090346106855760209182600319360112610681576001600160a01b03918135838116908181036117505761206d6131c1565b6120756130ee565b3b15612508577f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b031916821790557fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b8680a27f7487ca88d037ca20519908b1ee7556206bef53bce0226a348750cb9d4f688e4e9384549361210260ff861615613132565b60ff199485166001178655303b1561175057825163011fa75760e71b81528781868183305af180156123fc576124f5575b50825163689f90c360e01b815282818681305afa9081156123fc5788916124c0575b501561218f575b505050507f5443fea4dc453d96b81ce55b62e11a4094cc4cbb8a360956a7253cfdb42506cb818154169055815416905580f35b82516324fb21db60e01b815282818681305afa9081156123fc57906121e19189916124a3575b5082167f0000000000000000000000000000000000000000000000000000000000000000831614613132565b8251630b4a1e8960e01b815282818681305afa9081156123fc5790612233918991612476575b5082167f0000000000000000000000000000000000000000000000000000000000000000831614613132565b82516384acd1bb60e01b815282818681305afa80156123fc57889061243e575b612283915082167f0000000000000000000000000000000000000000000000000000000000000000831614613132565b825163da25b72560e01b815282818681305afa80156123fc578890612406575b6122d3915082167f0000000000000000000000000000000000000000000000000000000000000000831614613132565b825163121d4a8560e31b815282818681305afa9081156123fc5788916123c2575b5081612324927f000000000000000000000000000000000000000000000000000000000000000016911614613132565b8082518094631d1bfaa160e31b825281305afa9182156123b957508591612382575b50612379915060ff807f000000000000000000000000000000000000000000000000000000000000000016911614613132565b3880808061215c565b905081813d83116123b2575b6123988183612718565b81010312610681576123ac61237991613009565b38612346565b503d61238e565b513d87823e3d90fd5b90508281813d83116123f5575b6123d98183612718565b81010312610670575190808216820361067057906123246122f4565b503d6123cf565b84513d8a823e3d90fd5b508281813d8311612437575b61241c8183612718565b8101031261067057518181168103610670576122d3906122a3565b503d612412565b508281813d831161246f575b6124548183612718565b81010312610670575181811681036106705761228390612253565b503d61244a565b6124969150843d861161249c575b61248e8183612718565b810190612862565b38612207565b503d612484565b6124ba9150843d861161249c5761248e8183612718565b386121b5565b90508281813d83116124ee575b6124d78183612718565b81010312610670576124e890613028565b38612155565b503d6124cd565b61250190979197612683565b9538612133565b815162461bcd60e51b8152808401869052602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608490fd5b828591346106855760203660031901126106855781356001600160a01b03818116939184900361131957806000805160206132f18339815191525416927fbfa91572ce1e5fe8776a160d3b1f862e83f5ee2c080a7423b4761602a3ad124992835492831694338614159081612622575b5061260d5750506001600160a01b031916831790557f51c4874e0f23f262e04a38c51751336dde72126d67f53eb672aaff02996b3ef68380a380f35b63e2a08e5d60e01b8252339082015260249150fd5b9050331415886125d1565b34611435576000366003190112611435576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b6004359061ffff8216820361143557565b6001600160401b03811161269657604052565b634e487b7160e01b600052604160045260246000fd5b602081019081106001600160401b0382111761269657604052565b606081019081106001600160401b0382111761269657604052565b608081019081106001600160401b0382111761269657604052565b604081019081106001600160401b0382111761269657604052565b90601f801991011681019081106001600160401b0382111761269657604052565b6001600160401b03811161269657601f01601f191660200190565b81601f820112156114355780359061276b82612739565b926127796040519485612718565b8284526020838301011161143557816000926020809301838601378301015290565b9190916040818403126114355760408051916001600160401b0391830182811184821017612696576040528294813560ff811681036114355784526020820135928311611435576020926127ef9201612754565b910152565b60243590811515820361143557565b6001600160401b0381116126965760051b60200190565b60005b83811061282d5750506000910152565b818101518382015260200161281d565b906020916128568151809281855285808601910161281a565b601f01601f1916010190565b9081602091031261143557516001600160a01b03811681036114355790565b604051638da5cb5b60e01b81526020816004817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156128ed576000916128d2575090565b6128ea915060203d811161249c5761248e8183612718565b90565b6040513d6000823e3d90fd5b60405190612906826126e2565b6060808360008152600060208201528160408201520152565b6040519061292c826126c7565b606060408360008152600060208201520152565b9092919261294d81612739565b9161295b6040519384612718565b82948284528282011161143557602061297593019061281a565b565b9080601f830112156114355781516128ea92602001612940565b919060808382031261143557604051906129aa826126e2565b819380518352602081015160208401526040810151916001600160401b039283811161143557816129dc918401612977565b60408501526060820151928311611435576060926127ef9201612977565b9190604083820312611435578251906001600160401b03918281116114355781612a25918601612991565b936020810151908382116114355701906060828203126114355760405192612a4c846126c7565b8251845260208301516020850152604083015190811161143557612a709201612977565b604082015290565b6309945ff160e41b81526040602082018190526128ea9291019061283d565b917f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690818103612b415750803b156114355761ffff60008094612b27604080519889978896879563275e091560e21b875216600486015260248501526060604485015280516064850152602081015160848501520151606060a484015260c483019061283d565b03925af180156128ed57612b385750565b61297590612683565b60449250604051916339dee99160e11b835260048301526024820152fd5b9060405191612b6d836126ac565b6000835282815115612bd55750600181015160fe8116612bb95760ff16151583525160018103612b9a5750565b604490604051906355c5b3e360e11b8252600482015260016024820152fd5b60405163f7a37b0760e01b815260ff9091166004820152602490fd5b925050565b90612be9602080920151612b5f565b51612f205761ffff8216906000908282526000805160206132d18339815191528152604093612c1a858420546130ad565b80612ef9575b612ee157612c2d9061305a565b15612cf45750825163c23ee3c360e01b81526004810192909252602482018190527f0000000000000000000000000000000000000000000000000000000000000000604483015282826064817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa928315612cea578193612cb9575b50505090565b9091809350813d8311612ce3575b612cd18183612718565b8101031261067e575051388080612cb3565b503d612cc7565b51903d90823e3d90fd5b8282939492526000805160206132518339815191528152612d17828420546130ad565b15612e7f57815163209d173960e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301526024820195909552604481018490529381856064817f000000000000000000000000000000000000000000000000000000000000000085165afa948515612e72578495612e43575b509080600492845193848092631a90a21960e01b82527f0000000000000000000000000000000000000000000000000000000000000000165afa928315612e3a57508392612e0c575b50508201809211612df8575090565b634e487b7160e01b81526011600452602490fd5b90809250813d8311612e33575b612e238183612718565b810103126106c457513880612de9565b503d612e19565b513d85823e3d90fd5b9094508181813d8311612e6b575b612e5b8183612718565b8101031261068157519381612da0565b503d612e51565b50505051903d90823e3d90fd5b8151631a90a21960e01b815291935090919080836004817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa938415612ed657508193612cb95750505090565b51913d9150823e3d90fd5b845163251268db60e21b815260048101859052602490fd5b508383526000805160206132b18339815191528252612f1a858420546130ad565b15612c20565b604051631a90a21960e01b8152915080826004817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156128ed57600091612f75575b50905090565b82813d8311612f9a575b612f898183612718565b8101031261067e5750518038612f6f565b503d612f7f565b51906001600160401b038216820361143557565b9060ff612fd66040929594956000855260606020860152606085019061283d565b9416910152565b8060a01c612ff1576001600160a01b031690565b6024906040519063033b960d60e41b82526004820152fd5b519060ff8216820361143557565b519063ffffffff8216820361143557565b5190811515820361143557565b906020828203126114355781516001600160401b038111611435576128ea9201612977565b61ffff16806000526000805160206132d18339815191526020526130826040600020546130ad565b908161308c575090565b90506000526000805160206132b18339815191526020526128ea6040600020545b80156130d957600181146130d3576024906040519063b998bad560e01b82526004820152fd5b50600190565b50600090565b156130e957600190565b600090565b307f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03161461312057565b604051633c64f99360e21b8152600490fd5b1561313957565b634e487b7160e01b600052600160045260246000fd5b60ff7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005460401c161561317e57565b604051631afcd79f60e31b8152600490fd5b6001600160a01b038116156131a857612975906131fa565b604051631e4fbdf760e01b815260006004820152602490fd5b6000805160206132f1833981519152546001600160a01b031633036131e257565b60405163118cdaa760e01b8152336004820152602490fd5b6000805160206132f183398151915280546001600160a01b039283166001600160a01b0319821681179092559091167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a356fed4cbc7742a1e11dcc33209ac33862ef146cfcb6d7f860df12df42105dfedb1c948c66ef0992b4bcc14f2551075db9459fc23bf706abb76034f1c66c1ba2846845e6aacb3f16e5b01c8b072a0ab4c38e919266014a45db863ee64a4580fb3e7e2e79d2e5e46f62be2ac831294e423b664f30320fb9ebaefd78a978cafe07c0f8c16ee6ac6bf7a8d7c37112a9426e00852b215ac4f5c50536beb6c95f1ba47b4af9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930079376a0dc6cbfe6f6f8f89ad24c262a8c6233f8df181d3fe5abb2e2442e8c738c3192e083c87c556db539f071d8a298869f487e951327b5616a6f85ae3da958ea264697066735822122034563781985a1b9124e36fffc44a6c32ed3932670b1c579b553016e6928c9abb64736f6c63430008130033";
|
|
1255
|
+
const isSuperArgs = (xs) => {
|
|
1256
|
+
return (typeof xs[0] === "string" ||
|
|
1257
|
+
Array.isArray(xs[0]) ||
|
|
1258
|
+
"_isInterface" in xs[0]);
|
|
1259
|
+
};
|
|
1260
|
+
class WormholeTransceiver__factory extends ethers_1.ContractFactory {
|
|
1261
|
+
constructor(...args) {
|
|
1262
|
+
if (isSuperArgs(args)) {
|
|
1263
|
+
super(...args);
|
|
1264
|
+
}
|
|
1265
|
+
else {
|
|
1266
|
+
const [linkLibraryAddresses, signer] = args;
|
|
1267
|
+
super(_abi, WormholeTransceiver__factory.linkBytecode(linkLibraryAddresses), signer);
|
|
1268
|
+
}
|
|
1269
|
+
}
|
|
1270
|
+
static linkBytecode(linkLibraryAddresses) {
|
|
1271
|
+
let linkedBytecode = _bytecode;
|
|
1272
|
+
linkedBytecode = linkedBytecode.replace(new RegExp("__\\$93083e246e55d56d98f3df2872cd16bfd0\\$__", "g"), linkLibraryAddresses["src/libraries/TransceiverStructs.sol:TransceiverStructs"]
|
|
1273
|
+
.replace(/^0x/, "")
|
|
1274
|
+
.toLowerCase());
|
|
1275
|
+
return linkedBytecode;
|
|
1276
|
+
}
|
|
1277
|
+
getDeployTransaction(nttManager, wormholeCoreBridge, wormholeRelayerAddr, specialRelayerAddr, _consistencyLevel, _gasLimit, overrides) {
|
|
1278
|
+
return super.getDeployTransaction(nttManager, wormholeCoreBridge, wormholeRelayerAddr, specialRelayerAddr, _consistencyLevel, _gasLimit, overrides || {});
|
|
1279
|
+
}
|
|
1280
|
+
deploy(nttManager, wormholeCoreBridge, wormholeRelayerAddr, specialRelayerAddr, _consistencyLevel, _gasLimit, overrides) {
|
|
1281
|
+
return super.deploy(nttManager, wormholeCoreBridge, wormholeRelayerAddr, specialRelayerAddr, _consistencyLevel, _gasLimit, overrides || {});
|
|
1282
|
+
}
|
|
1283
|
+
connect(runner) {
|
|
1284
|
+
return super.connect(runner);
|
|
1285
|
+
}
|
|
1286
|
+
static bytecode = _bytecode;
|
|
1287
|
+
static abi = _abi;
|
|
1288
|
+
static createInterface() {
|
|
1289
|
+
return new ethers_1.Interface(_abi);
|
|
1290
|
+
}
|
|
1291
|
+
static connect(address, runner) {
|
|
1292
|
+
return new ethers_1.Contract(address, _abi, runner);
|
|
1293
|
+
}
|
|
1294
|
+
}
|
|
1295
|
+
exports.WormholeTransceiver__factory = WormholeTransceiver__factory;
|
|
1296
|
+
//# sourceMappingURL=WormholeTransceiver__factory.js.map
|