@layerzerolabs/lz-evm-sdk-v1 1.5.21 → 1.5.23

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.
Files changed (72) hide show
  1. package/deployments/{bsc-sandbox-local → hubble-testnet}/DefaultProxyAdmin.json +21 -21
  2. package/deployments/hubble-testnet/Endpoint.json +1282 -0
  3. package/deployments/{avalanche-sandbox-local → hubble-testnet}/FPValidator.json +10 -10
  4. package/deployments/{avalanche-sandbox-local → hubble-testnet}/MPTValidator01.json +10 -10
  5. package/deployments/{bsc-sandbox-local → hubble-testnet}/NonceContract.json +9 -9
  6. package/deployments/{bsc-sandbox-local → hubble-testnet}/PriceFeed.json +28 -28
  7. package/deployments/{bsc-sandbox-local → hubble-testnet}/PriceFeed_Implementation.json +19 -19
  8. package/deployments/{bsc-sandbox-local → hubble-testnet}/PriceFeed_Proxy.json +26 -26
  9. package/deployments/{bsc-sandbox-local → hubble-testnet}/RelayerV2.json +51 -38
  10. package/deployments/hubble-testnet/RelayerV2_Implementation.json +1283 -0
  11. package/deployments/{avalanche-sandbox-local → hubble-testnet}/RelayerV2_Proxy.json +33 -33
  12. package/deployments/hubble-testnet/TreasuryV2.json +458 -0
  13. package/deployments/{avalanche-sandbox-local → hubble-testnet}/UltraLightNodeV2.json +45 -45
  14. package/deployments/{avalanche-sandbox-local → mantle-mainnet}/DefaultProxyAdmin.json +21 -21
  15. package/deployments/{bsc-sandbox-local → mantle-mainnet}/Endpoint.json +23 -23
  16. package/deployments/{bsc-sandbox-local → mantle-mainnet}/FPValidator.json +10 -10
  17. package/deployments/{bsc-sandbox-local → mantle-mainnet}/MPTValidator01.json +10 -10
  18. package/deployments/{avalanche-sandbox-local → mantle-mainnet}/NonceContract.json +9 -9
  19. package/deployments/mantle-mainnet/PriceFeed.json +760 -0
  20. package/deployments/{avalanche-sandbox-local → mantle-mainnet}/PriceFeed_Implementation.json +19 -19
  21. package/deployments/mantle-mainnet/PriceFeed_Proxy.json +233 -0
  22. package/deployments/mantle-mainnet/RelayerV2.json +1182 -0
  23. package/deployments/mantle-mainnet/RelayerV2_Implementation.json +1283 -0
  24. package/deployments/{bsc-sandbox-local → mantle-mainnet}/RelayerV2_Proxy.json +33 -33
  25. package/deployments/{avalanche-sandbox-local → mantle-mainnet}/TreasuryV2.json +22 -22
  26. package/deployments/mantle-mainnet/UltraLightNodeV2.json +1816 -0
  27. package/deployments/mantle-testnet/DefaultProxyAdmin.json +273 -0
  28. package/deployments/{avalanche-sandbox-local → mantle-testnet}/Endpoint.json +21 -21
  29. package/deployments/mantle-testnet/FPValidator.json +382 -0
  30. package/deployments/mantle-testnet/MPTValidator01.json +395 -0
  31. package/deployments/mantle-testnet/NonceContract.json +159 -0
  32. package/deployments/{avalanche-sandbox-local → mantle-testnet}/PriceFeed.json +28 -28
  33. package/deployments/mantle-testnet/PriceFeed_Implementation.json +776 -0
  34. package/deployments/{avalanche-sandbox-local → mantle-testnet}/PriceFeed_Proxy.json +26 -26
  35. package/deployments/{avalanche-sandbox-local → mantle-testnet}/RelayerV2.json +51 -38
  36. package/deployments/mantle-testnet/RelayerV2_Implementation.json +1283 -0
  37. package/deployments/mantle-testnet/RelayerV2_Proxy.json +245 -0
  38. package/deployments/{bsc-sandbox-local → mantle-testnet}/TreasuryV2.json +22 -22
  39. package/deployments/{bsc-sandbox-local → mantle-testnet}/UltraLightNodeV2.json +45 -45
  40. package/package.json +3 -3
  41. package/deployments/avalanche-sandbox-local/RelayerV2_Implementation.json +0 -1270
  42. package/deployments/bsc-sandbox-local/RelayerV2_Implementation.json +0 -1270
  43. package/dist/chaintypes/RelayerV2.sol/IForwarder.d.ts +0 -43
  44. package/dist/chaintypes/RelayerV2.sol/IForwarder.d.ts.map +0 -1
  45. package/dist/chaintypes/RelayerV2.sol/IForwarder.js +0 -2
  46. package/dist/chaintypes/RelayerV2.sol/IStargateComposer.d.ts +0 -43
  47. package/dist/chaintypes/RelayerV2.sol/IStargateComposer.d.ts.map +0 -1
  48. package/dist/chaintypes/RelayerV2.sol/IStargateComposer.js +0 -2
  49. package/dist/chaintypes/RelayerV2.sol/RelayerV2.d.ts +0 -731
  50. package/dist/chaintypes/RelayerV2.sol/RelayerV2.d.ts.map +0 -1
  51. package/dist/chaintypes/RelayerV2.sol/RelayerV2.js +0 -2
  52. package/dist/chaintypes/RelayerV2.sol/index.d.ts +0 -3
  53. package/dist/chaintypes/RelayerV2.sol/index.d.ts.map +0 -1
  54. package/dist/chaintypes/RelayerV2.sol/index.js +0 -2
  55. package/dist/chaintypes/factories/RelayerV2.sol/IForwarder__factory.d.ts +0 -19
  56. package/dist/chaintypes/factories/RelayerV2.sol/IForwarder__factory.d.ts.map +0 -1
  57. package/dist/chaintypes/factories/RelayerV2.sol/IForwarder__factory.js +0 -32
  58. package/dist/chaintypes/factories/RelayerV2.sol/IStargateComposer__factory.d.ts +0 -19
  59. package/dist/chaintypes/factories/RelayerV2.sol/IStargateComposer__factory.d.ts.map +0 -1
  60. package/dist/chaintypes/factories/RelayerV2.sol/IStargateComposer__factory.js +0 -32
  61. package/dist/chaintypes/factories/RelayerV2.sol/RelayerV2__factory.d.ts +0 -772
  62. package/dist/chaintypes/factories/RelayerV2.sol/RelayerV2__factory.d.ts.map +0 -1
  63. package/dist/chaintypes/factories/RelayerV2.sol/RelayerV2__factory.js +0 -1012
  64. package/dist/chaintypes/factories/RelayerV2.sol/index.d.ts +0 -3
  65. package/dist/chaintypes/factories/RelayerV2.sol/index.d.ts.map +0 -1
  66. package/dist/chaintypes/factories/RelayerV2.sol/index.js +0 -10
  67. package/dist/chaintypes/factories/messagelib-e2/libs/ExecutorOptions__factory.d.ts +0 -72
  68. package/dist/chaintypes/factories/messagelib-e2/libs/ExecutorOptions__factory.d.ts.map +0 -1
  69. package/dist/chaintypes/factories/messagelib-e2/libs/ExecutorOptions__factory.js +0 -107
  70. package/dist/chaintypes/messagelib-e2/libs/ExecutorOptions.d.ts +0 -75
  71. package/dist/chaintypes/messagelib-e2/libs/ExecutorOptions.d.ts.map +0 -1
  72. package/dist/chaintypes/messagelib-e2/libs/ExecutorOptions.js +0 -2
@@ -1,1012 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RelayerV2__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
- anonymous: false,
11
- inputs: [
12
- {
13
- indexed: false,
14
- internalType: "address",
15
- name: "addr",
16
- type: "address",
17
- },
18
- {
19
- indexed: false,
20
- internalType: "bool",
21
- name: "approved",
22
- type: "bool",
23
- },
24
- ],
25
- name: "ApproveAddress",
26
- type: "event",
27
- },
28
- {
29
- anonymous: false,
30
- inputs: [
31
- {
32
- indexed: false,
33
- internalType: "uint256",
34
- name: "totalFee",
35
- type: "uint256",
36
- },
37
- ],
38
- name: "AssignJob",
39
- type: "event",
40
- },
41
- {
42
- anonymous: false,
43
- inputs: [
44
- {
45
- indexed: true,
46
- internalType: "address",
47
- name: "previousOwner",
48
- type: "address",
49
- },
50
- {
51
- indexed: true,
52
- internalType: "address",
53
- name: "newOwner",
54
- type: "address",
55
- },
56
- ],
57
- name: "OwnershipTransferred",
58
- type: "event",
59
- },
60
- {
61
- anonymous: false,
62
- inputs: [
63
- {
64
- indexed: false,
65
- internalType: "uint16",
66
- name: "chainId",
67
- type: "uint16",
68
- },
69
- {
70
- indexed: false,
71
- internalType: "uint16",
72
- name: "outboundProofType",
73
- type: "uint16",
74
- },
75
- {
76
- indexed: false,
77
- internalType: "uint128",
78
- name: "dstNativeAmtCap",
79
- type: "uint128",
80
- },
81
- {
82
- indexed: false,
83
- internalType: "uint64",
84
- name: "baseGas",
85
- type: "uint64",
86
- },
87
- {
88
- indexed: false,
89
- internalType: "uint64",
90
- name: "gasPerByte",
91
- type: "uint64",
92
- },
93
- ],
94
- name: "SetDstConfig",
95
- type: "event",
96
- },
97
- {
98
- anonymous: false,
99
- inputs: [
100
- {
101
- indexed: false,
102
- internalType: "uint16",
103
- name: "chainId",
104
- type: "uint16",
105
- },
106
- {
107
- indexed: false,
108
- internalType: "uint128",
109
- name: "dstPriceRatio",
110
- type: "uint128",
111
- },
112
- {
113
- indexed: false,
114
- internalType: "uint128",
115
- name: "dstGasPriceInWei",
116
- type: "uint128",
117
- },
118
- ],
119
- name: "SetDstPrice",
120
- type: "event",
121
- },
122
- {
123
- anonymous: false,
124
- inputs: [
125
- {
126
- indexed: false,
127
- internalType: "address",
128
- name: "priceConfigUpdater",
129
- type: "address",
130
- },
131
- {
132
- indexed: false,
133
- internalType: "bool",
134
- name: "allow",
135
- type: "bool",
136
- },
137
- ],
138
- name: "SetPriceConfigUpdater",
139
- type: "event",
140
- },
141
- {
142
- anonymous: false,
143
- inputs: [
144
- {
145
- indexed: true,
146
- internalType: "address",
147
- name: "to",
148
- type: "address",
149
- },
150
- {
151
- indexed: true,
152
- internalType: "uint256",
153
- name: "quantity",
154
- type: "uint256",
155
- },
156
- ],
157
- name: "ValueTransferFailed",
158
- type: "event",
159
- },
160
- {
161
- anonymous: false,
162
- inputs: [
163
- {
164
- indexed: false,
165
- internalType: "address",
166
- name: "to",
167
- type: "address",
168
- },
169
- {
170
- indexed: false,
171
- internalType: "uint256",
172
- name: "amount",
173
- type: "uint256",
174
- },
175
- ],
176
- name: "Withdraw",
177
- type: "event",
178
- },
179
- {
180
- inputs: [],
181
- name: "AIRDROP_GAS_LIMIT",
182
- outputs: [
183
- {
184
- internalType: "uint256",
185
- name: "",
186
- type: "uint256",
187
- },
188
- ],
189
- stateMutability: "view",
190
- type: "function",
191
- },
192
- {
193
- inputs: [
194
- {
195
- internalType: "address",
196
- name: "",
197
- type: "address",
198
- },
199
- ],
200
- name: "approvedAddresses",
201
- outputs: [
202
- {
203
- internalType: "bool",
204
- name: "",
205
- type: "bool",
206
- },
207
- ],
208
- stateMutability: "view",
209
- type: "function",
210
- },
211
- {
212
- inputs: [
213
- {
214
- internalType: "uint16",
215
- name: "_dstChainId",
216
- type: "uint16",
217
- },
218
- {
219
- internalType: "uint16",
220
- name: "_outboundProofType",
221
- type: "uint16",
222
- },
223
- {
224
- internalType: "address",
225
- name: "_userApplication",
226
- type: "address",
227
- },
228
- {
229
- internalType: "uint256",
230
- name: "_payloadSize",
231
- type: "uint256",
232
- },
233
- {
234
- internalType: "bytes",
235
- name: "_adapterParams",
236
- type: "bytes",
237
- },
238
- ],
239
- name: "assignJob",
240
- outputs: [
241
- {
242
- internalType: "uint256",
243
- name: "fee",
244
- type: "uint256",
245
- },
246
- ],
247
- stateMutability: "nonpayable",
248
- type: "function",
249
- },
250
- {
251
- inputs: [
252
- {
253
- internalType: "uint16",
254
- name: "",
255
- type: "uint16",
256
- },
257
- {
258
- internalType: "uint16",
259
- name: "",
260
- type: "uint16",
261
- },
262
- ],
263
- name: "dstConfigLookup",
264
- outputs: [
265
- {
266
- internalType: "uint128",
267
- name: "dstNativeAmtCap",
268
- type: "uint128",
269
- },
270
- {
271
- internalType: "uint64",
272
- name: "baseGas",
273
- type: "uint64",
274
- },
275
- {
276
- internalType: "uint64",
277
- name: "gasPerByte",
278
- type: "uint64",
279
- },
280
- ],
281
- stateMutability: "view",
282
- type: "function",
283
- },
284
- {
285
- inputs: [
286
- {
287
- internalType: "uint16",
288
- name: "",
289
- type: "uint16",
290
- },
291
- ],
292
- name: "dstFloorMarginsUSD",
293
- outputs: [
294
- {
295
- internalType: "uint128",
296
- name: "",
297
- type: "uint128",
298
- },
299
- ],
300
- stateMutability: "view",
301
- type: "function",
302
- },
303
- {
304
- inputs: [
305
- {
306
- internalType: "uint16",
307
- name: "",
308
- type: "uint16",
309
- },
310
- ],
311
- name: "dstMultipliers",
312
- outputs: [
313
- {
314
- internalType: "uint128",
315
- name: "",
316
- type: "uint128",
317
- },
318
- ],
319
- stateMutability: "view",
320
- type: "function",
321
- },
322
- {
323
- inputs: [
324
- {
325
- internalType: "uint16",
326
- name: "_dstChainId",
327
- type: "uint16",
328
- },
329
- ],
330
- name: "dstPriceLookup",
331
- outputs: [
332
- {
333
- components: [
334
- {
335
- internalType: "uint128",
336
- name: "dstPriceRatio",
337
- type: "uint128",
338
- },
339
- {
340
- internalType: "uint128",
341
- name: "dstGasPriceInWei",
342
- type: "uint128",
343
- },
344
- ],
345
- internalType: "struct RelayerV2.DstPrice",
346
- name: "",
347
- type: "tuple",
348
- },
349
- ],
350
- stateMutability: "view",
351
- type: "function",
352
- },
353
- {
354
- inputs: [
355
- {
356
- internalType: "uint16",
357
- name: "",
358
- type: "uint16",
359
- },
360
- ],
361
- name: "dstPriceLookupOld",
362
- outputs: [
363
- {
364
- internalType: "uint128",
365
- name: "dstPriceRatio",
366
- type: "uint128",
367
- },
368
- {
369
- internalType: "uint128",
370
- name: "dstGasPriceInWei",
371
- type: "uint128",
372
- },
373
- ],
374
- stateMutability: "view",
375
- type: "function",
376
- },
377
- {
378
- inputs: [],
379
- name: "fpBytes",
380
- outputs: [
381
- {
382
- internalType: "uint16",
383
- name: "",
384
- type: "uint16",
385
- },
386
- ],
387
- stateMutability: "view",
388
- type: "function",
389
- },
390
- {
391
- inputs: [
392
- {
393
- internalType: "uint16",
394
- name: "_dstChainId",
395
- type: "uint16",
396
- },
397
- {
398
- internalType: "uint16",
399
- name: "_outboundProofType",
400
- type: "uint16",
401
- },
402
- {
403
- internalType: "address",
404
- name: "_userApplication",
405
- type: "address",
406
- },
407
- {
408
- internalType: "uint256",
409
- name: "_payloadSize",
410
- type: "uint256",
411
- },
412
- {
413
- internalType: "bytes",
414
- name: "_adapterParams",
415
- type: "bytes",
416
- },
417
- ],
418
- name: "getFee",
419
- outputs: [
420
- {
421
- internalType: "uint256",
422
- name: "",
423
- type: "uint256",
424
- },
425
- ],
426
- stateMutability: "view",
427
- type: "function",
428
- },
429
- {
430
- inputs: [
431
- {
432
- internalType: "address",
433
- name: "_uln",
434
- type: "address",
435
- },
436
- {
437
- internalType: "address",
438
- name: "_priceFeed",
439
- type: "address",
440
- },
441
- {
442
- internalType: "address",
443
- name: "_stargateBridgeAddr",
444
- type: "address",
445
- },
446
- {
447
- internalType: "address",
448
- name: "_stargateComposer",
449
- type: "address",
450
- },
451
- ],
452
- name: "initialize",
453
- outputs: [],
454
- stateMutability: "nonpayable",
455
- type: "function",
456
- },
457
- {
458
- inputs: [
459
- {
460
- internalType: "address",
461
- name: "_relayerAddress",
462
- type: "address",
463
- },
464
- ],
465
- name: "isApproved",
466
- outputs: [
467
- {
468
- internalType: "bool",
469
- name: "",
470
- type: "bool",
471
- },
472
- ],
473
- stateMutability: "view",
474
- type: "function",
475
- },
476
- {
477
- inputs: [],
478
- name: "mptOverhead",
479
- outputs: [
480
- {
481
- internalType: "uint16",
482
- name: "",
483
- type: "uint16",
484
- },
485
- ],
486
- stateMutability: "view",
487
- type: "function",
488
- },
489
- {
490
- inputs: [],
491
- name: "multiplierBps",
492
- outputs: [
493
- {
494
- internalType: "uint128",
495
- name: "",
496
- type: "uint128",
497
- },
498
- ],
499
- stateMutability: "view",
500
- type: "function",
501
- },
502
- {
503
- inputs: [
504
- {
505
- internalType: "address",
506
- name: "_stargateBridgeAddr",
507
- type: "address",
508
- },
509
- {
510
- internalType: "address",
511
- name: "_stargateComposer",
512
- type: "address",
513
- },
514
- ],
515
- name: "onUpgrade",
516
- outputs: [],
517
- stateMutability: "nonpayable",
518
- type: "function",
519
- },
520
- {
521
- inputs: [],
522
- name: "owner",
523
- outputs: [
524
- {
525
- internalType: "address",
526
- name: "",
527
- type: "address",
528
- },
529
- ],
530
- stateMutability: "view",
531
- type: "function",
532
- },
533
- {
534
- inputs: [],
535
- name: "paused",
536
- outputs: [
537
- {
538
- internalType: "bool",
539
- name: "",
540
- type: "bool",
541
- },
542
- ],
543
- stateMutability: "view",
544
- type: "function",
545
- },
546
- {
547
- inputs: [
548
- {
549
- internalType: "address",
550
- name: "",
551
- type: "address",
552
- },
553
- ],
554
- name: "priceConfigUpdaters",
555
- outputs: [
556
- {
557
- internalType: "bool",
558
- name: "",
559
- type: "bool",
560
- },
561
- ],
562
- stateMutability: "view",
563
- type: "function",
564
- },
565
- {
566
- inputs: [],
567
- name: "priceFeed",
568
- outputs: [
569
- {
570
- internalType: "contract ILayerZeroPriceFeedV2",
571
- name: "",
572
- type: "address",
573
- },
574
- ],
575
- stateMutability: "view",
576
- type: "function",
577
- },
578
- {
579
- inputs: [],
580
- name: "renounceOwnership",
581
- outputs: [],
582
- stateMutability: "nonpayable",
583
- type: "function",
584
- },
585
- {
586
- inputs: [
587
- {
588
- internalType: "address",
589
- name: "_relayerAddress",
590
- type: "address",
591
- },
592
- {
593
- internalType: "bool",
594
- name: "_approve",
595
- type: "bool",
596
- },
597
- ],
598
- name: "setApprovedAddress",
599
- outputs: [],
600
- stateMutability: "nonpayable",
601
- type: "function",
602
- },
603
- {
604
- inputs: [
605
- {
606
- internalType: "uint16",
607
- name: "_chainId",
608
- type: "uint16",
609
- },
610
- {
611
- internalType: "uint16",
612
- name: "_outboundProofType",
613
- type: "uint16",
614
- },
615
- {
616
- internalType: "uint128",
617
- name: "_dstNativeAmtCap",
618
- type: "uint128",
619
- },
620
- {
621
- internalType: "uint64",
622
- name: "_baseGas",
623
- type: "uint64",
624
- },
625
- {
626
- internalType: "uint64",
627
- name: "_gasPerByte",
628
- type: "uint64",
629
- },
630
- ],
631
- name: "setDstConfig",
632
- outputs: [],
633
- stateMutability: "nonpayable",
634
- type: "function",
635
- },
636
- {
637
- inputs: [
638
- {
639
- components: [
640
- {
641
- internalType: "uint16",
642
- name: "chainId",
643
- type: "uint16",
644
- },
645
- {
646
- internalType: "uint128",
647
- name: "floorMargin",
648
- type: "uint128",
649
- },
650
- ],
651
- internalType: "struct RelayerV2.DstFloorMargin[]",
652
- name: "_margins",
653
- type: "tuple[]",
654
- },
655
- ],
656
- name: "setDstFloorMarginsUSD",
657
- outputs: [],
658
- stateMutability: "nonpayable",
659
- type: "function",
660
- },
661
- {
662
- inputs: [
663
- {
664
- internalType: "uint16",
665
- name: "_chainId",
666
- type: "uint16",
667
- },
668
- {
669
- internalType: "uint128",
670
- name: "_dstPriceRatio",
671
- type: "uint128",
672
- },
673
- {
674
- internalType: "uint128",
675
- name: "_dstGasPriceInWei",
676
- type: "uint128",
677
- },
678
- ],
679
- name: "setDstPrice",
680
- outputs: [],
681
- stateMutability: "nonpayable",
682
- type: "function",
683
- },
684
- {
685
- inputs: [
686
- {
687
- components: [
688
- {
689
- internalType: "uint16",
690
- name: "chainId",
691
- type: "uint16",
692
- },
693
- {
694
- internalType: "uint128",
695
- name: "multiplier",
696
- type: "uint128",
697
- },
698
- ],
699
- internalType: "struct RelayerV2.DstMultiplier[]",
700
- name: "_multipliers",
701
- type: "tuple[]",
702
- },
703
- ],
704
- name: "setDstPriceMultipliers",
705
- outputs: [],
706
- stateMutability: "nonpayable",
707
- type: "function",
708
- },
709
- {
710
- inputs: [
711
- {
712
- internalType: "bool",
713
- name: "_paused",
714
- type: "bool",
715
- },
716
- ],
717
- name: "setPause",
718
- outputs: [],
719
- stateMutability: "nonpayable",
720
- type: "function",
721
- },
722
- {
723
- inputs: [
724
- {
725
- internalType: "address",
726
- name: "_priceConfigUpdater",
727
- type: "address",
728
- },
729
- {
730
- internalType: "bool",
731
- name: "_allow",
732
- type: "bool",
733
- },
734
- ],
735
- name: "setPriceConfigUpdater",
736
- outputs: [],
737
- stateMutability: "nonpayable",
738
- type: "function",
739
- },
740
- {
741
- inputs: [
742
- {
743
- internalType: "address",
744
- name: "_priceFeed",
745
- type: "address",
746
- },
747
- ],
748
- name: "setPriceFeed",
749
- outputs: [],
750
- stateMutability: "nonpayable",
751
- type: "function",
752
- },
753
- {
754
- inputs: [
755
- {
756
- internalType: "uint128",
757
- name: "_multiplierBps",
758
- type: "uint128",
759
- },
760
- ],
761
- name: "setPriceMultiplierBps",
762
- outputs: [],
763
- stateMutability: "nonpayable",
764
- type: "function",
765
- },
766
- {
767
- inputs: [
768
- {
769
- internalType: "address",
770
- name: "_stargateAddress",
771
- type: "address",
772
- },
773
- ],
774
- name: "setStargateAddress",
775
- outputs: [],
776
- stateMutability: "nonpayable",
777
- type: "function",
778
- },
779
- {
780
- inputs: [],
781
- name: "stargateBridgeAddr",
782
- outputs: [
783
- {
784
- internalType: "address",
785
- name: "",
786
- type: "address",
787
- },
788
- ],
789
- stateMutability: "view",
790
- type: "function",
791
- },
792
- {
793
- inputs: [],
794
- name: "stargateBridgeAddress",
795
- outputs: [
796
- {
797
- internalType: "address",
798
- name: "",
799
- type: "address",
800
- },
801
- ],
802
- stateMutability: "view",
803
- type: "function",
804
- },
805
- {
806
- inputs: [],
807
- name: "stargateComposer",
808
- outputs: [
809
- {
810
- internalType: "contract IStargateComposer",
811
- name: "",
812
- type: "address",
813
- },
814
- ],
815
- stateMutability: "view",
816
- type: "function",
817
- },
818
- {
819
- inputs: [
820
- {
821
- internalType: "address",
822
- name: "newOwner",
823
- type: "address",
824
- },
825
- ],
826
- name: "transferOwnership",
827
- outputs: [],
828
- stateMutability: "nonpayable",
829
- type: "function",
830
- },
831
- {
832
- inputs: [],
833
- name: "uln",
834
- outputs: [
835
- {
836
- internalType: "contract ILayerZeroUltraLightNodeV2",
837
- name: "",
838
- type: "address",
839
- },
840
- ],
841
- stateMutability: "view",
842
- type: "function",
843
- },
844
- {
845
- inputs: [],
846
- name: "validateProofBytes",
847
- outputs: [
848
- {
849
- internalType: "uint16",
850
- name: "",
851
- type: "uint16",
852
- },
853
- ],
854
- stateMutability: "view",
855
- type: "function",
856
- },
857
- {
858
- inputs: [
859
- {
860
- internalType: "uint16",
861
- name: "_srcChainId",
862
- type: "uint16",
863
- },
864
- {
865
- internalType: "address",
866
- name: "_dstAddress",
867
- type: "address",
868
- },
869
- {
870
- internalType: "uint256",
871
- name: "_gasLimit",
872
- type: "uint256",
873
- },
874
- {
875
- internalType: "bytes32",
876
- name: "_blockHash",
877
- type: "bytes32",
878
- },
879
- {
880
- internalType: "bytes32",
881
- name: "_data",
882
- type: "bytes32",
883
- },
884
- {
885
- internalType: "bytes",
886
- name: "_transactionProof",
887
- type: "bytes",
888
- },
889
- ],
890
- name: "validateTransactionProofV1",
891
- outputs: [],
892
- stateMutability: "nonpayable",
893
- type: "function",
894
- },
895
- {
896
- inputs: [
897
- {
898
- internalType: "uint16",
899
- name: "_srcChainId",
900
- type: "uint16",
901
- },
902
- {
903
- internalType: "address",
904
- name: "_dstAddress",
905
- type: "address",
906
- },
907
- {
908
- internalType: "uint256",
909
- name: "_gasLimit",
910
- type: "uint256",
911
- },
912
- {
913
- internalType: "bytes32",
914
- name: "_blockHash",
915
- type: "bytes32",
916
- },
917
- {
918
- internalType: "bytes32",
919
- name: "_data",
920
- type: "bytes32",
921
- },
922
- {
923
- internalType: "bytes",
924
- name: "_transactionProof",
925
- type: "bytes",
926
- },
927
- {
928
- internalType: "address payable",
929
- name: "_to",
930
- type: "address",
931
- },
932
- ],
933
- name: "validateTransactionProofV2",
934
- outputs: [],
935
- stateMutability: "payable",
936
- type: "function",
937
- },
938
- {
939
- inputs: [
940
- {
941
- internalType: "address payable",
942
- name: "_to",
943
- type: "address",
944
- },
945
- {
946
- internalType: "uint256",
947
- name: "_amount",
948
- type: "uint256",
949
- },
950
- ],
951
- name: "withdrawFee",
952
- outputs: [],
953
- stateMutability: "nonpayable",
954
- type: "function",
955
- },
956
- {
957
- inputs: [
958
- {
959
- internalType: "address",
960
- name: "_token",
961
- type: "address",
962
- },
963
- {
964
- internalType: "address",
965
- name: "_to",
966
- type: "address",
967
- },
968
- {
969
- internalType: "uint256",
970
- name: "_amount",
971
- type: "uint256",
972
- },
973
- ],
974
- name: "withdrawToken",
975
- outputs: [],
976
- stateMutability: "nonpayable",
977
- type: "function",
978
- },
979
- ];
980
- const _bytecode = "0x608060405234801561001057600080fd5b506001600055613646806100256000396000f3fe6080604052600436106102bb5760003560e01c8063741bef1a1161016e578063bedb86fb116100cb578063ef9309511161007f578063f2fde38b11610064578063f2fde38b1461073a578063f8c8765e1461075a578063fd9be5221461077a576102bb565b8063ef930951146106fa578063f136a8741461071a576102bb565b8063c03f1529116100b0578063c03f15291461069a578063c3b04e7f146106ba578063d5f8b014146106da576102bb565b8063bedb86fb1461065a578063bf4dab511461067a576102bb565b80638644c5781161012257806398dabd501161010757806398dabd5014610610578063ac353e0414610625578063b8f8bad41461063a576102bb565b80638644c578146105cd5780638da5cb5b146105fb576102bb565b8063801db1fe11610153578063801db1fe1461057857806381ba209a146105985780638576db67146105ad576102bb565b8063741bef1a14610536578063765a8a541461054b576102bb565b806355b352491161021c578063673448dd116101d05780636c473aff116101b55780636c473aff146104ec578063715018a614610501578063724e78da14610516576102bb565b8063673448dd146104aa57806369cf4e3a146104ca576102bb565b80635886ea65116102015780635886ea65146104535780635c975abb146104735780636348d26914610495576102bb565b806355b3524914610413578063575765e214610433576102bb565b80633352b608116102735780633f103487116102585780633f103487146103a457806343b9a0c4146103c45780634eeba250146103e6576102bb565b80633352b6081461036d5780633bfb40471461038f576102bb565b80630508941e116102a45780630508941e1461030257806323161ff814610315578063252f7b011461034d576102bb565b806301e33667146102c057806303343f54146102e2575b600080fd5b3480156102cc57600080fd5b506102e06102db366004612bcb565b61079a565b005b3480156102ee57600080fd5b506102e06102fd366004612af1565b6108b3565b6102e0610310366004612ddb565b610929565b34801561032157600080fd5b50610335610330366004612eb8565b610afb565b604051610344939291906133c5565b60405180910390f35b34801561035957600080fd5b506102e0610368366004612d59565b610b69565b34801561037957600080fd5b50610382610c97565b6040516103449190613039565b34801561039b57600080fd5b50610382610ca6565b3480156103b057600080fd5b506102e06103bf366004612f69565b610cb5565b3480156103d057600080fd5b506103d9610e40565b60405161034491906134eb565b3480156103f257600080fd5b50610406610401366004612d3f565b610e46565b6040516103449190613385565b34801561041f57600080fd5b5061040661042e366004612d3f565b610e6a565b34801561043f57600080fd5b506102e061044e366004612c0b565b610e8e565b34801561045f57600080fd5b506103d961046e366004612eea565b610f64565b34801561047f57600080fd5b50610488611124565b6040516103449190613081565b3480156104a157600080fd5b5061038261112d565b3480156104b657600080fd5b506104886104c5366004612af1565b61113c565b3480156104d657600080fd5b506104df61115e565b60405161034491906133f9565b3480156104f857600080fd5b5061038261117e565b34801561050d57600080fd5b506102e061118d565b34801561052257600080fd5b506102e0610531366004612af1565b611263565b34801561054257600080fd5b506103826112de565b34801561055757600080fd5b5061056b610566366004612d3f565b6112f2565b6040516103449190613359565b34801561058457600080fd5b506102e0610593366004612c0b565b6113d7565b3480156105a457600080fd5b506104df6114a1565b3480156105b957600080fd5b506104886105c8366004612af1565b6114c3565b3480156105d957600080fd5b506105ed6105e8366004612d3f565b6114d8565b6040516103449291906133a2565b34801561060757600080fd5b50610382611514565b34801561061c57600080fd5b506104df611523565b34801561063157600080fd5b50610406611541565b34801561064657600080fd5b506102e0610655366004612e70565b611559565b34801561066657600080fd5b506102e0610675366004612c78565b61159a565b34801561068657600080fd5b506102e0610695366004612c38565b611621565b3480156106a657600080fd5b506103d96106b5366004612eea565b611725565b3480156106c657600080fd5b506102e06106d5366004612d23565b611797565b3480156106e657600080fd5b506102e06106f5366004612c38565b611816565b34801561070657600080fd5b506102e0610715366004612b38565b61191a565b34801561072657600080fd5b50610488610735366004612af1565b6119bf565b34801561074657600080fd5b506102e0610755366004612af1565b6119d4565b34801561076657600080fd5b506102e0610775366004612b70565b611b01565b34801561078657600080fd5b506102e0610795366004612b0d565b611da1565b336107a3611514565b6001600160a01b0316146107df576107ba3361113c565b6107df5760405162461bcd60e51b81526004016107d69061308c565b60405180910390fd5b6040517f70a082310000000000000000000000000000000000000000000000000000000081526000906001600160a01b038516906370a0823190610827903090600401613039565b60206040518083038186803b15801561083f57600080fd5b505afa158015610853573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108779190612fd5565b9050808211156108995760405162461bcd60e51b81526004016107d6906131c3565b6108ad6001600160a01b0385168484611f1b565b50505050565b336108bc611514565b6001600160a01b0316146108ef576108d33361113c565b6108ef5760405162461bcd60e51b81526004016107d69061308c565b606780547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b33610932611514565b6001600160a01b031614610965576109493361113c565b6109655760405162461bcd60e51b81526004016107d69061308c565b600260005414156109bd576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026000819055506000816001600160a01b0316612710346040516109e190613036565b600060405180830381858888f193505050503d8060008114610a1f576040519150601f19603f3d011682016040523d82523d6000602084013e610a24565b606091505b5050905080610a645760405134906001600160a01b038416907f2c7a964ca3de5ec1d42d9822f9bbd0eb142a59cc9f855e9d93813b773192c7a390600090a35b6066546040517f987fa2d50000000000000000000000000000000000000000000000000000000081526001600160a01b039091169063987fa2d590610ab9908c908c908c908c908c908c908c90600401613408565b600060405180830381600087803b158015610ad357600080fd5b505af1158015610ae7573d6000803e3d6000fd5b505060016000555050505050505050505050565b60696020908152600092835260408084209091529082529020546fffffffffffffffffffffffffffffffff81169067ffffffffffffffff7001000000000000000000000000000000008204811691780100000000000000000000000000000000000000000000000090041683565b33610b72611514565b6001600160a01b031614610ba557610b893361113c565b610ba55760405162461bcd60e51b81526004016107d69061308c565b60026000541415610bfd576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026000556066546040517f987fa2d50000000000000000000000000000000000000000000000000000000081526001600160a01b039091169063987fa2d590610c57908a908a908a908a908a908a908a90600401613408565b600060405180830381600087803b158015610c7157600080fd5b505af1158015610c85573d6000803e3d6000fd5b50506001600055505050505050505050565b6070546001600160a01b031681565b6071546001600160a01b031681565b33610cbe611514565b6001600160a01b031614610cf157610cd53361113c565b610cf15760405162461bcd60e51b81526004016107d69061308c565b604080516060810182526fffffffffffffffffffffffffffffffff858116825267ffffffffffffffff858116602080850191825286831685870190815261ffff8c8116600090815260698452888120918d16815292529086902094518554925191517fffffffffffffffffffffffffffffffff000000000000000000000000000000009093169416939093177fffffffffffffffff0000000000000000ffffffffffffffffffffffffffffffff16700100000000000000000000000000000000938316939093029290921777ffffffffffffffffffffffffffffffffffffffffffffffff1678010000000000000000000000000000000000000000000000009290911691909102179055517fd053e021dda81c7c2794ff89e320caea5379962d49ed383a3bd0a54ffc4b932f90610e319087908790879087908790613485565b60405180910390a15050505050565b61271081565b606d602052600090815260409020546fffffffffffffffffffffffffffffffff1681565b606e602052600090815260409020546fffffffffffffffffffffffffffffffff1681565b610e96611f9b565b6001600160a01b0316610ea7611514565b6001600160a01b031614610f02576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0382166000908152606a602052604090819020805460ff1916831515179055517fb10786d0bfa68fb1aa29552d9203e5f545f7c073ff0784da1de1d800986f102390610f589084908490613066565b60405180910390a15050565b6066546000906001600160a01b03163314610f915760405162461bcd60e51b81526004016107d690613220565b612710841115610fb35760405162461bcd60e51b81526004016107d6906130c3565b6071546001600160a01b038681169116141561109e576000846102201480610fdc575084610140145b80610fe8575084610120145b80610ff357508460a0145b90508061109c57607060009054906101000a90046001600160a01b03166001600160a01b0316634b60b4256040518163ffffffff1660e01b815260040160206040518083038186803b15801561104857600080fd5b505afa15801561105c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110809190612c94565b61109c5760405162461bcd60e51b81526004016107d690613257565b505b6110e18787878787878080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611f9f92505050565b90507fdf21c415b78ed2552cc9971249e32a053abce6087a0ae0fbf3f78db5174a34938160405161111291906134eb565b60405180910390a19695505050505050565b606b5460ff1681565b6067546001600160a01b031681565b6001600160a01b0381166000908152606a602052604090205460ff165b919050565b606c547201000000000000000000000000000000000000900461ffff1681565b6066546001600160a01b031681565b611195611f9b565b6001600160a01b03166111a6611514565b6001600160a01b031614611201576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6034546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3603480547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b3361126c611514565b6001600160a01b03161461129f576112833361113c565b61129f5760405162461bcd60e51b81526004016107d69061308c565b606b80546001600160a01b03909216610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff909216919091179055565b606b5461010090046001600160a01b031681565b6112fa612a3e565b606b546040517fda26663a00000000000000000000000000000000000000000000000000000000815260009161010090046001600160a01b03169063da26663a906113499086906004016133f9565b60606040518083038186803b15801561136157600080fd5b505afa158015611375573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113999190612cb0565b6040805180820190915281516fffffffffffffffffffffffffffffffff16815260209182015167ffffffffffffffff16918101919091529392505050565b6113df611f9b565b6001600160a01b03166113f0611514565b6001600160a01b03161461144b576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0382166000908152606f602052604090819020805460ff1916831515179055517fde6b048d6c4e63d85fde37ccbe03f4380c6d12cb2a1e9ce9268bbf47a1ef687890610f589084908490613066565b606c5474010000000000000000000000000000000000000000900461ffff1681565b606f6020526000908152604090205460ff1681565b6068602052600090815260409020546fffffffffffffffffffffffffffffffff8082169170010000000000000000000000000000000090041682565b6034546001600160a01b031690565b606c54700100000000000000000000000000000000900461ffff1681565b606c546fffffffffffffffffffffffffffffffff1681565b33611562611514565b6001600160a01b031614611595576115793361113c565b6115955760405162461bcd60e51b81526004016107d69061308c565b505050565b6115a2611f9b565b6001600160a01b03166115b3611514565b6001600160a01b03161461160e576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b606b805460ff1916911515919091179055565b3361162a611514565b6001600160a01b0316141580156116515750336000908152606a602052604090205460ff16155b1561168557336000908152606f602052604090205460ff166116855760405162461bcd60e51b81526004016107d69061318c565b60005b81811015611595573683838381811061169d57fe5b90506040020190508060200160208101906116b89190612d23565b606d60006116c96020850185612d3f565b61ffff168152602081019190915260400160002080547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff9290921691909117905550600101611688565b60006127108411156117495760405162461bcd60e51b81526004016107d6906130c3565b61178c8787878787878080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611f9f92505050565b979650505050505050565b336117a0611514565b6001600160a01b0316146117d3576117b73361113c565b6117d35760405162461bcd60e51b81526004016107d69061308c565b606c80547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff92909216919091179055565b3361181f611514565b6001600160a01b0316141580156118465750336000908152606a602052604090205460ff16155b1561187a57336000908152606f602052604090205460ff1661187a5760405162461bcd60e51b81526004016107d69061318c565b60005b81811015611595573683838381811061189257fe5b90506040020190508060200160208101906118ad9190612d23565b606e60006118be6020850185612d3f565b61ffff168152602081019190915260400160002080547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff929092169190911790555060010161187d565b60006119246122b5565b90506001600160a01b038116611963576001600160a01b037fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355611978565b336001600160a01b0382161461197857600080fd5b50607180546001600160a01b039384167fffffffffffffffffffffffff00000000000000000000000000000000000000009182161790915560708054929093169116179055565b606a6020526000908152604090205460ff1681565b6119dc611f9b565b6001600160a01b03166119ed611514565b6001600160a01b031614611a48576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116611a8d5760405162461bcd60e51b815260040180806020018281038252602681526020018061354c6026913960400191505060405180910390fd5b6034546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3603480547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6000611b0b6122b5565b90506001600160a01b038116611b4a576001600160a01b037fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355611b5f565b336001600160a01b03821614611b5f57600080fd5b600154610100900460ff1680611b785750611b786122da565b80611b86575060015460ff16155b611bc15760405162461bcd60e51b815260040180806020018281038252602e815260200180613598602e913960400191505060405180910390fd5b600154610100900460ff16158015611beb576001805460ff1961ff00199091166101001716811790555b611bf36122eb565b606680547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038816179055611c31306001610e8e565b606c8054606b80547fffffffffffffffffffffff0000000000000000000000000000000000000000ff166101006001600160a01b038a81169190910291909117909155612ee07fffffffffffffffffffffffffffffffff00000000000000000000000000000000909216919091177fffffffffffffffffffffffffffff0000ffffffffffffffffffffffffffffffff1670a400000000000000000000000000000000177fffffffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffff1672a0000000000000000000000000000000000000177fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff167501f4000000000000000000000000000000000000000017909155607180547fffffffffffffffffffffffff000000000000000000000000000000000000000090811687841617909155607080549091169185169190911790558015611d99576001805461ff00191690555b505050505050565b33611daa611514565b6001600160a01b031614611ddd57611dc13361113c565b611ddd5760405162461bcd60e51b81526004016107d69061308c565b6066546040517f69412bfa0000000000000000000000000000000000000000000000000000000081526000916001600160a01b0316906369412bfa90611e27903090600401613039565b60206040518083038186803b158015611e3f57600080fd5b505afa158015611e53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e779190612fd5565b905080821115611e995760405162461bcd60e51b81526004016107d6906131c3565b6066546040517f07b18bde0000000000000000000000000000000000000000000000000000000081526001600160a01b03909116906307b18bde90611ee4908690869060040161304d565b600060405180830381600087803b158015611efe57600080fd5b505af1158015611f12573d6000803e3d6000fd5b50505050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb0000000000000000000000000000000000000000000000000000000017905261159590849061239c565b3390565b606b5460009060ff1615611fc55760405162461bcd60e51b81526004016107d6906132b4565b815160221480611fd6575060428251115b611ff25760405162461bcd60e51b81526004016107d6906130f8565b60028201516022830151806120195760405162461bcd60e51b81526004016107d6906132eb565b8161ffff166001148061203057508161ffff166002145b61204c5760405162461bcd60e51b81526004016107d690613155565b61ffff88811660009081526069602090815260408083208b85168452909152812091841660021461209757606c54700100000000000000000000000000000000900461ffff166120bd565b606c546120bd90700100000000000000000000000000000000900461ffff16602061244d565b905060008961ffff166002146120fc57606c546120f790899074010000000000000000000000000000000000000000900461ffff1661244d565b612124565b606c546121249089907201000000000000000000000000000000000000900461ffff1661244d565b606b549091508b9060009081908190819061010090046001600160a01b03166388a4124c866121538a8a61244d565b8b5461217d90700100000000000000000000000000000000900467ffffffffffffffff168e61244d565b6040518463ffffffff1660e01b815260040161219b939291906134cf565b60806040518083038186803b1580156121b357600080fd5b505afa1580156121c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121eb9190612fed565b935093509350935060008a61ffff166002141561223b575060428c015188546fffffffffffffffffffffffffffffffff1681111561223b5760405162461bcd60e51b81526004016107d690613322565b6000811561228957606c54612286906127109061227a906fffffffffffffffffffffffffffffffff908116906122809089811690849089908d166124b0565b90612509565b906124b0565b90505b61229e81612298898987612570565b9061244d565b9c5050505050505050505050505095945050505050565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b60006122e530612665565b15905090565b600154610100900460ff168061230457506123046122da565b80612312575060015460ff16155b61234d5760405162461bcd60e51b815260040180806020018281038252602e815260200180613598602e913960400191505060405180910390fd5b600154610100900460ff16158015612377576001805460ff1961ff00199091166101001716811790555b61237f61266b565b61238761270a565b8015612399576001805461ff00191690555b50565b60006123f1826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661281a9092919063ffffffff16565b8051909150156115955780806020019051602081101561241057600080fd5b50516115955760405162461bcd60e51b815260040180806020018281038252602a8152602001806135e7602a913960400191505060405180910390fd5b6000828201838110156124a7576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b6000826124bf575060006124aa565b828202828482816124cc57fe5b04146124a75760405162461bcd60e51b81526004018080602001828103825260218152602001806135c66021913960400191505060405180910390fd5b600080821161255f576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161256857fe5b049392505050565b61ffff83166000908152606d60205260408120546fffffffffffffffffffffffffffffffff16806125b25750606c546fffffffffffffffffffffffffffffffff165b60006125d661271061227a876fffffffffffffffffffffffffffffffff86166124b0565b90506fffffffffffffffffffffffffffffffff84166125f857915061265e9050565b61ffff86166000908152606e6020526040812054670de0b6b3a764000091906126469061263f906fffffffffffffffffffffffffffffffff808a169161227a9116866124b0565b889061244d565b90508281116126555782612657565b805b9450505050505b9392505050565b3b151590565b600154610100900460ff168061268457506126846122da565b80612692575060015460ff16155b6126cd5760405162461bcd60e51b815260040180806020018281038252602e815260200180613598602e913960400191505060405180910390fd5b600154610100900460ff16158015612387576001805460ff1961ff00199091166101001716811790558015612399576001805461ff001916905550565b600154610100900460ff168061272357506127236122da565b80612731575060015460ff16155b61276c5760405162461bcd60e51b815260040180806020018281038252602e815260200180613598602e913960400191505060405180910390fd5b600154610100900460ff16158015612796576001805460ff1961ff00199091166101001716811790555b60006127a0611f9b565b603480547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508015612399576001805461ff001916905550565b60606128298484600085612831565b949350505050565b6060824710156128725760405162461bcd60e51b81526004018080602001828103825260268152602001806135726026913960400191505060405180910390fd5b61287b85612665565b6128cc576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600080866001600160a01b031685876040518082805190602001908083835b6020831061292857805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016128eb565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461298a576040519150601f19603f3d011682016040523d82523d6000602084013e61298f565b606091505b509150915061178c828286606083156129a957508161265e565b8251156129b95782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612a035781810151838201526020016129eb565b50505050905090810190601f168015612a305780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b604080518082019091526000808252602082015290565b60008083601f840112612a66578182fd5b50813567ffffffffffffffff811115612a7d578182fd5b602083019150836020604083028501011115612a9857600080fd5b9250929050565b60008083601f840112612ab0578182fd5b50813567ffffffffffffffff811115612ac7578182fd5b602083019150836020828501011115612a9857600080fd5b803561ffff8116811461115957600080fd5b600060208284031215612b02578081fd5b81356124a7816134f4565b60008060408385031215612b1f578081fd5b8235612b2a816134f4565b946020939093013593505050565b60008060408385031215612b4a578182fd5b8235612b55816134f4565b91506020830135612b65816134f4565b809150509250929050565b60008060008060808587031215612b85578182fd5b8435612b90816134f4565b93506020850135612ba0816134f4565b92506040850135612bb0816134f4565b91506060850135612bc0816134f4565b939692955090935050565b600080600060608486031215612bdf578283fd5b8335612bea816134f4565b92506020840135612bfa816134f4565b929592945050506040919091013590565b60008060408385031215612c1d578182fd5b8235612c28816134f4565b91506020830135612b6581613509565b60008060208385031215612c4a578182fd5b823567ffffffffffffffff811115612c60578283fd5b612c6c85828601612a55565b90969095509350505050565b600060208284031215612c89578081fd5b81356124a781613509565b600060208284031215612ca5578081fd5b81516124a781613509565b600060608284031215612cc1578081fd5b6040516060810181811067ffffffffffffffff82111715612cde57fe5b6040528251612cec81613517565b81526020830151612cfc81613535565b6020820152604083015163ffffffff81168114612d17578283fd5b60408201529392505050565b600060208284031215612d34578081fd5b81356124a781613517565b600060208284031215612d50578081fd5b61265e82612adf565b600080600080600080600060c0888a031215612d73578485fd5b612d7c88612adf565b96506020880135612d8c816134f4565b955060408801359450606088013593506080880135925060a088013567ffffffffffffffff811115612dbc578283fd5b612dc88a828b01612a9f565b989b979a50959850939692959293505050565b60008060008060008060008060e0898b031215612df6578182fd5b612dff89612adf565b97506020890135612e0f816134f4565b965060408901359550606089013594506080890135935060a089013567ffffffffffffffff811115612e3f578283fd5b612e4b8b828c01612a9f565b90945092505060c0890135612e5f816134f4565b809150509295985092959890939650565b600080600060608486031215612e84578081fd5b612e8d84612adf565b92506020840135612e9d81613517565b91506040840135612ead81613517565b809150509250925092565b60008060408385031215612eca578182fd5b612ed383612adf565b9150612ee160208401612adf565b90509250929050565b60008060008060008060a08789031215612f02578384fd5b612f0b87612adf565b9550612f1960208801612adf565b94506040870135612f29816134f4565b935060608701359250608087013567ffffffffffffffff811115612f4b578283fd5b612f5789828a01612a9f565b979a9699509497509295939492505050565b600080600080600060a08688031215612f80578283fd5b612f8986612adf565b9450612f9760208701612adf565b93506040860135612fa781613517565b92506060860135612fb781613535565b91506080860135612fc781613535565b809150509295509295909350565b600060208284031215612fe6578081fd5b5051919050565b60008060008060808587031215613002578182fd5b84519350602085015161301481613517565b604086015190935061302581613517565b6060860151909250612bc081613517565b90565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b039290921682521515602082015260400190565b901515815260200190565b60208082526015908201527f52656c617965723a206e6f7420617070726f7665640000000000000000000000604082015260600190565b6020808252818101527f52656c617965723a205f7061796c6f616453697a6520746f6f6f6f6f20626967604082015260600190565b60208082526026908201527f52656c617965723a2077726f6e67205f61646170746572506172616d6574657260408201527f732073697a650000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601b908201527f52656c617965723a20756e737570706f72746564207478547970650000000000604082015260600190565b60208082526014908201527f52656c617965723a206e6f742075706461746572000000000000000000000000604082015260600190565b60208082526026908201527f52656c617965723a206e6f7420656e6f7567682066656520666f72207769746860408201527f64726177616c0000000000000000000000000000000000000000000000000000606082015260800190565b60208082526014908201527f52656c617965723a20696e76616c696420756c6e000000000000000000000000604082015260600190565b60208082526029908201527f52656c617965723a20737461726761746520636f6d706f736572206973206e6f60408201527f742073656e64696e670000000000000000000000000000000000000000000000606082015260800190565b6020808252600d908201527f41646d696e3a2070617573656400000000000000000000000000000000000000604082015260600190565b60208082526014908201527f52656c617965723a2067617320746f6f206c6f77000000000000000000000000604082015260600190565b6020808252601f908201527f52656c617965723a206473744e6174697665416d7420746f6f206c6172676500604082015260600190565b81516fffffffffffffffffffffffffffffffff9081168252602092830151169181019190915260400190565b6fffffffffffffffffffffffffffffffff91909116815260200190565b6fffffffffffffffffffffffffffffffff92831681529116602082015260400190565b6fffffffffffffffffffffffffffffffff93909316835267ffffffffffffffff918216602084015216604082015260600190565b61ffff91909116815260200190565b600061ffff891682526001600160a01b038816602083015286604083015285606083015284608083015260c060a08301528260c0830152828460e084013781830160e090810191909152601f9092017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01601019695505050505050565b61ffff95861681529390941660208401526fffffffffffffffffffffffffffffffff91909116604083015267ffffffffffffffff9081166060830152909116608082015260a00190565b61ffff9390931683526020830191909152604082015260600190565b90815260200190565b6001600160a01b038116811461239957600080fd5b801515811461239957600080fd5b6fffffffffffffffffffffffffffffffff8116811461239957600080fd5b67ffffffffffffffff8116811461239957600080fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a6564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220833c038a6698106aa0757ced476c41ef5ab07ecdbc9a88f0c9e6b4c441f5786264736f6c63430007060033";
981
- const isSuperArgs = (xs) => xs.length > 1;
982
- class RelayerV2__factory extends ethers_1.ContractFactory {
983
- constructor(...args) {
984
- if (isSuperArgs(args)) {
985
- super(...args);
986
- }
987
- else {
988
- super(_abi, _bytecode, args[0]);
989
- }
990
- }
991
- deploy(overrides) {
992
- return super.deploy(overrides || {});
993
- }
994
- getDeployTransaction(overrides) {
995
- return super.getDeployTransaction(overrides || {});
996
- }
997
- attach(address) {
998
- return super.attach(address);
999
- }
1000
- connect(signer) {
1001
- return super.connect(signer);
1002
- }
1003
- static createInterface() {
1004
- return new ethers_1.utils.Interface(_abi);
1005
- }
1006
- static connect(address, signerOrProvider) {
1007
- return new ethers_1.Contract(address, _abi, signerOrProvider);
1008
- }
1009
- }
1010
- RelayerV2__factory.bytecode = _bytecode;
1011
- RelayerV2__factory.abi = _abi;
1012
- exports.RelayerV2__factory = RelayerV2__factory;