@galacticcouncil/xc-core 1.0.0 → 1.1.0-pr297-4f08471

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.
@@ -1,497 +1,41 @@
1
1
  export declare const SNOWBRIDGE: readonly [{
2
- readonly inputs: readonly [{
3
- readonly internalType: "address";
4
- readonly name: "beefyClient";
5
- readonly type: "address";
6
- }, {
7
- readonly internalType: "address";
8
- readonly name: "agentExecutor";
9
- readonly type: "address";
10
- }, {
11
- readonly internalType: "ParaID";
12
- readonly name: "bridgeHubParaID";
13
- readonly type: "uint32";
14
- }, {
15
- readonly internalType: "bytes32";
16
- readonly name: "bridgeHubAgentID";
17
- readonly type: "bytes32";
18
- }, {
19
- readonly internalType: "uint8";
20
- readonly name: "foreignTokenDecimals";
21
- readonly type: "uint8";
22
- }, {
23
- readonly internalType: "uint128";
24
- readonly name: "destinationMaxTransferFee";
25
- readonly type: "uint128";
26
- }];
27
- readonly stateMutability: "nonpayable";
28
- readonly type: "constructor";
29
- }, {
30
- readonly inputs: readonly [];
31
- readonly name: "AgentAlreadyCreated";
32
- readonly type: "error";
33
- }, {
34
2
  readonly inputs: readonly [];
35
- readonly name: "AgentDoesNotExist";
3
+ readonly name: "AgentAlreadyExists";
36
4
  readonly type: "error";
37
5
  }, {
38
6
  readonly inputs: readonly [];
39
- readonly name: "ChannelAlreadyCreated";
7
+ readonly name: "ShouldNotReachHere";
40
8
  readonly type: "error";
41
9
  }, {
42
10
  readonly inputs: readonly [];
43
- readonly name: "ChannelDoesNotExist";
11
+ readonly name: "InvalidNetwork";
44
12
  readonly type: "error";
45
13
  }, {
46
14
  readonly inputs: readonly [];
47
- readonly name: "Disabled";
15
+ readonly name: "InvalidAsset";
48
16
  readonly type: "error";
49
17
  }, {
50
18
  readonly inputs: readonly [];
51
- readonly name: "InsufficientEther";
19
+ readonly name: "InsufficientGasLimit";
52
20
  readonly type: "error";
53
21
  }, {
54
22
  readonly inputs: readonly [];
55
- readonly name: "InvalidAgentExecutionPayload";
23
+ readonly name: "InvalidCommand";
56
24
  readonly type: "error";
57
25
  }, {
58
26
  readonly inputs: readonly [];
59
- readonly name: "InvalidChannelUpdate";
27
+ readonly name: "InsufficientValue";
60
28
  readonly type: "error";
61
29
  }, {
62
30
  readonly inputs: readonly [];
63
- readonly name: "InvalidCodeHash";
31
+ readonly name: "ExceededMaximumValue";
32
+ readonly type: "error";
33
+ }, {
34
+ readonly inputs: readonly [];
35
+ readonly name: "TooManyAssets";
64
36
  readonly type: "error";
65
37
  }, {
66
38
  readonly inputs: readonly [];
67
- readonly name: "InvalidConstructorParams";
68
- readonly type: "error";
69
- }, {
70
- readonly inputs: readonly [];
71
- readonly name: "InvalidContract";
72
- readonly type: "error";
73
- }, {
74
- readonly inputs: readonly [];
75
- readonly name: "InvalidNonce";
76
- readonly type: "error";
77
- }, {
78
- readonly inputs: readonly [];
79
- readonly name: "InvalidProof";
80
- readonly type: "error";
81
- }, {
82
- readonly inputs: readonly [];
83
- readonly name: "NativeTransferFailed";
84
- readonly type: "error";
85
- }, {
86
- readonly inputs: readonly [];
87
- readonly name: "NotEnoughGas";
88
- readonly type: "error";
89
- }, {
90
- readonly inputs: readonly [{
91
- readonly internalType: "uint256";
92
- readonly name: "x";
93
- readonly type: "uint256";
94
- }, {
95
- readonly internalType: "uint256";
96
- readonly name: "y";
97
- readonly type: "uint256";
98
- }];
99
- readonly name: "PRBMath_MulDiv18_Overflow";
100
- readonly type: "error";
101
- }, {
102
- readonly inputs: readonly [{
103
- readonly internalType: "uint256";
104
- readonly name: "x";
105
- readonly type: "uint256";
106
- }, {
107
- readonly internalType: "uint256";
108
- readonly name: "y";
109
- readonly type: "uint256";
110
- }, {
111
- readonly internalType: "uint256";
112
- readonly name: "denominator";
113
- readonly type: "uint256";
114
- }];
115
- readonly name: "PRBMath_MulDiv_Overflow";
116
- readonly type: "error";
117
- }, {
118
- readonly inputs: readonly [{
119
- readonly internalType: "uint256";
120
- readonly name: "x";
121
- readonly type: "uint256";
122
- }];
123
- readonly name: "PRBMath_UD60x18_Convert_Overflow";
124
- readonly type: "error";
125
- }, {
126
- readonly inputs: readonly [{
127
- readonly internalType: "UD60x18";
128
- readonly name: "x";
129
- readonly type: "uint256";
130
- }];
131
- readonly name: "PRBMath_UD60x18_Exp2_InputTooBig";
132
- readonly type: "error";
133
- }, {
134
- readonly inputs: readonly [{
135
- readonly internalType: "UD60x18";
136
- readonly name: "x";
137
- readonly type: "uint256";
138
- }];
139
- readonly name: "PRBMath_UD60x18_Log_InputTooSmall";
140
- readonly type: "error";
141
- }, {
142
- readonly inputs: readonly [];
143
- readonly name: "TokenNotRegistered";
144
- readonly type: "error";
145
- }, {
146
- readonly inputs: readonly [];
147
- readonly name: "Unauthorized";
148
- readonly type: "error";
149
- }, {
150
- readonly anonymous: false;
151
- readonly inputs: readonly [{
152
- readonly indexed: false;
153
- readonly internalType: "bytes32";
154
- readonly name: "agentID";
155
- readonly type: "bytes32";
156
- }, {
157
- readonly indexed: false;
158
- readonly internalType: "address";
159
- readonly name: "agent";
160
- readonly type: "address";
161
- }];
162
- readonly name: "AgentCreated";
163
- readonly type: "event";
164
- }, {
165
- readonly anonymous: false;
166
- readonly inputs: readonly [{
167
- readonly indexed: true;
168
- readonly internalType: "ChannelID";
169
- readonly name: "channelID";
170
- readonly type: "bytes32";
171
- }];
172
- readonly name: "ChannelCreated";
173
- readonly type: "event";
174
- }, {
175
- readonly anonymous: false;
176
- readonly inputs: readonly [{
177
- readonly indexed: true;
178
- readonly internalType: "ChannelID";
179
- readonly name: "channelID";
180
- readonly type: "bytes32";
181
- }];
182
- readonly name: "ChannelUpdated";
183
- readonly type: "event";
184
- }, {
185
- readonly anonymous: false;
186
- readonly inputs: readonly [{
187
- readonly indexed: false;
188
- readonly internalType: "address";
189
- readonly name: "sender";
190
- readonly type: "address";
191
- }, {
192
- readonly indexed: false;
193
- readonly internalType: "uint256";
194
- readonly name: "amount";
195
- readonly type: "uint256";
196
- }];
197
- readonly name: "Deposited";
198
- readonly type: "event";
199
- }, {
200
- readonly anonymous: false;
201
- readonly inputs: readonly [{
202
- readonly indexed: true;
203
- readonly internalType: "bytes32";
204
- readonly name: "tokenID";
205
- readonly type: "bytes32";
206
- }, {
207
- readonly indexed: false;
208
- readonly internalType: "address";
209
- readonly name: "token";
210
- readonly type: "address";
211
- }];
212
- readonly name: "ForeignTokenRegistered";
213
- readonly type: "event";
214
- }, {
215
- readonly anonymous: false;
216
- readonly inputs: readonly [{
217
- readonly indexed: true;
218
- readonly internalType: "ChannelID";
219
- readonly name: "channelID";
220
- readonly type: "bytes32";
221
- }, {
222
- readonly indexed: false;
223
- readonly internalType: "uint64";
224
- readonly name: "nonce";
225
- readonly type: "uint64";
226
- }, {
227
- readonly indexed: true;
228
- readonly internalType: "bytes32";
229
- readonly name: "messageID";
230
- readonly type: "bytes32";
231
- }, {
232
- readonly indexed: false;
233
- readonly internalType: "bool";
234
- readonly name: "success";
235
- readonly type: "bool";
236
- }];
237
- readonly name: "InboundMessageDispatched";
238
- readonly type: "event";
239
- }, {
240
- readonly anonymous: false;
241
- readonly inputs: readonly [{
242
- readonly indexed: false;
243
- readonly internalType: "enum OperatingMode";
244
- readonly name: "mode";
245
- readonly type: "uint8";
246
- }];
247
- readonly name: "OperatingModeChanged";
248
- readonly type: "event";
249
- }, {
250
- readonly anonymous: false;
251
- readonly inputs: readonly [{
252
- readonly indexed: true;
253
- readonly internalType: "ChannelID";
254
- readonly name: "channelID";
255
- readonly type: "bytes32";
256
- }, {
257
- readonly indexed: false;
258
- readonly internalType: "uint64";
259
- readonly name: "nonce";
260
- readonly type: "uint64";
261
- }, {
262
- readonly indexed: true;
263
- readonly internalType: "bytes32";
264
- readonly name: "messageID";
265
- readonly type: "bytes32";
266
- }, {
267
- readonly indexed: false;
268
- readonly internalType: "bytes";
269
- readonly name: "payload";
270
- readonly type: "bytes";
271
- }];
272
- readonly name: "OutboundMessageAccepted";
273
- readonly type: "event";
274
- }, {
275
- readonly anonymous: false;
276
- readonly inputs: readonly [];
277
- readonly name: "PricingParametersChanged";
278
- readonly type: "event";
279
- }, {
280
- readonly anonymous: false;
281
- readonly inputs: readonly [{
282
- readonly indexed: false;
283
- readonly internalType: "address";
284
- readonly name: "token";
285
- readonly type: "address";
286
- }];
287
- readonly name: "TokenRegistrationSent";
288
- readonly type: "event";
289
- }, {
290
- readonly anonymous: false;
291
- readonly inputs: readonly [{
292
- readonly indexed: true;
293
- readonly internalType: "address";
294
- readonly name: "token";
295
- readonly type: "address";
296
- }, {
297
- readonly indexed: true;
298
- readonly internalType: "address";
299
- readonly name: "sender";
300
- readonly type: "address";
301
- }, {
302
- readonly indexed: true;
303
- readonly internalType: "ParaID";
304
- readonly name: "destinationChain";
305
- readonly type: "uint32";
306
- }, {
307
- readonly components: readonly [{
308
- readonly internalType: "enum Kind";
309
- readonly name: "kind";
310
- readonly type: "uint8";
311
- }, {
312
- readonly internalType: "bytes";
313
- readonly name: "data";
314
- readonly type: "bytes";
315
- }];
316
- readonly indexed: false;
317
- readonly internalType: "struct MultiAddress";
318
- readonly name: "destinationAddress";
319
- readonly type: "tuple";
320
- }, {
321
- readonly indexed: false;
322
- readonly internalType: "uint128";
323
- readonly name: "amount";
324
- readonly type: "uint128";
325
- }];
326
- readonly name: "TokenSent";
327
- readonly type: "event";
328
- }, {
329
- readonly anonymous: false;
330
- readonly inputs: readonly [];
331
- readonly name: "TokenTransferFeesChanged";
332
- readonly type: "event";
333
- }, {
334
- readonly anonymous: false;
335
- readonly inputs: readonly [{
336
- readonly indexed: true;
337
- readonly internalType: "address";
338
- readonly name: "implementation";
339
- readonly type: "address";
340
- }];
341
- readonly name: "Upgraded";
342
- readonly type: "event";
343
- }, {
344
- readonly inputs: readonly [];
345
- readonly name: "AGENT_EXECUTOR";
346
- readonly outputs: readonly [{
347
- readonly internalType: "address";
348
- readonly name: "";
349
- readonly type: "address";
350
- }];
351
- readonly stateMutability: "view";
352
- readonly type: "function";
353
- }, {
354
- readonly inputs: readonly [];
355
- readonly name: "BEEFY_CLIENT";
356
- readonly outputs: readonly [{
357
- readonly internalType: "address";
358
- readonly name: "";
359
- readonly type: "address";
360
- }];
361
- readonly stateMutability: "view";
362
- readonly type: "function";
363
- }, {
364
- readonly inputs: readonly [{
365
- readonly internalType: "bytes";
366
- readonly name: "data";
367
- readonly type: "bytes";
368
- }];
369
- readonly name: "agentExecute";
370
- readonly outputs: readonly [];
371
- readonly stateMutability: "nonpayable";
372
- readonly type: "function";
373
- }, {
374
- readonly inputs: readonly [{
375
- readonly internalType: "bytes32";
376
- readonly name: "agentID";
377
- readonly type: "bytes32";
378
- }];
379
- readonly name: "agentOf";
380
- readonly outputs: readonly [{
381
- readonly internalType: "address";
382
- readonly name: "";
383
- readonly type: "address";
384
- }];
385
- readonly stateMutability: "view";
386
- readonly type: "function";
387
- }, {
388
- readonly inputs: readonly [{
389
- readonly internalType: "ChannelID";
390
- readonly name: "channelID";
391
- readonly type: "bytes32";
392
- }];
393
- readonly name: "channelNoncesOf";
394
- readonly outputs: readonly [{
395
- readonly internalType: "uint64";
396
- readonly name: "";
397
- readonly type: "uint64";
398
- }, {
399
- readonly internalType: "uint64";
400
- readonly name: "";
401
- readonly type: "uint64";
402
- }];
403
- readonly stateMutability: "view";
404
- readonly type: "function";
405
- }, {
406
- readonly inputs: readonly [{
407
- readonly internalType: "ChannelID";
408
- readonly name: "channelID";
409
- readonly type: "bytes32";
410
- }];
411
- readonly name: "channelOperatingModeOf";
412
- readonly outputs: readonly [{
413
- readonly internalType: "enum OperatingMode";
414
- readonly name: "";
415
- readonly type: "uint8";
416
- }];
417
- readonly stateMutability: "view";
418
- readonly type: "function";
419
- }, {
420
- readonly inputs: readonly [{
421
- readonly internalType: "bytes";
422
- readonly name: "data";
423
- readonly type: "bytes";
424
- }];
425
- readonly name: "createAgent";
426
- readonly outputs: readonly [];
427
- readonly stateMutability: "nonpayable";
428
- readonly type: "function";
429
- }, {
430
- readonly inputs: readonly [{
431
- readonly internalType: "bytes";
432
- readonly name: "data";
433
- readonly type: "bytes";
434
- }];
435
- readonly name: "createChannel";
436
- readonly outputs: readonly [];
437
- readonly stateMutability: "nonpayable";
438
- readonly type: "function";
439
- }, {
440
- readonly inputs: readonly [];
441
- readonly name: "depositEther";
442
- readonly outputs: readonly [];
443
- readonly stateMutability: "payable";
444
- readonly type: "function";
445
- }, {
446
- readonly inputs: readonly [];
447
- readonly name: "implementation";
448
- readonly outputs: readonly [{
449
- readonly internalType: "address";
450
- readonly name: "";
451
- readonly type: "address";
452
- }];
453
- readonly stateMutability: "view";
454
- readonly type: "function";
455
- }, {
456
- readonly inputs: readonly [{
457
- readonly internalType: "bytes";
458
- readonly name: "";
459
- readonly type: "bytes";
460
- }];
461
- readonly name: "initialize";
462
- readonly outputs: readonly [];
463
- readonly stateMutability: "nonpayable";
464
- readonly type: "function";
465
- }, {
466
- readonly inputs: readonly [{
467
- readonly internalType: "address";
468
- readonly name: "token";
469
- readonly type: "address";
470
- }];
471
- readonly name: "isTokenRegistered";
472
- readonly outputs: readonly [{
473
- readonly internalType: "bool";
474
- readonly name: "";
475
- readonly type: "bool";
476
- }];
477
- readonly stateMutability: "view";
478
- readonly type: "function";
479
- }, {
480
- readonly inputs: readonly [{
481
- readonly internalType: "ChannelID";
482
- readonly name: "channelID";
483
- readonly type: "bytes32";
484
- }, {
485
- readonly internalType: "bytes";
486
- readonly name: "data";
487
- readonly type: "bytes";
488
- }];
489
- readonly name: "mintForeignToken";
490
- readonly outputs: readonly [];
491
- readonly stateMutability: "nonpayable";
492
- readonly type: "function";
493
- }, {
494
- readonly inputs: readonly [];
495
39
  readonly name: "operatingMode";
496
40
  readonly outputs: readonly [{
497
41
  readonly internalType: "enum OperatingMode";
@@ -500,185 +44,168 @@ export declare const SNOWBRIDGE: readonly [{
500
44
  }];
501
45
  readonly stateMutability: "view";
502
46
  readonly type: "function";
503
- }, {
504
- readonly inputs: readonly [];
505
- readonly name: "pricingParameters";
506
- readonly outputs: readonly [{
507
- readonly internalType: "UD60x18";
508
- readonly name: "";
509
- readonly type: "uint256";
510
- }, {
511
- readonly internalType: "uint128";
512
- readonly name: "";
513
- readonly type: "uint128";
514
- }];
515
- readonly stateMutability: "view";
516
- readonly type: "function";
517
47
  }, {
518
48
  readonly inputs: readonly [{
519
- readonly internalType: "address";
520
- readonly name: "token";
521
- readonly type: "address";
522
- }];
523
- readonly name: "queryForeignTokenID";
524
- readonly outputs: readonly [{
525
49
  readonly internalType: "bytes32";
526
- readonly name: "";
50
+ readonly name: "agentID";
527
51
  readonly type: "bytes32";
528
52
  }];
529
- readonly stateMutability: "view";
530
- readonly type: "function";
531
- }, {
532
- readonly inputs: readonly [];
533
- readonly name: "quoteRegisterTokenFee";
53
+ readonly name: "agentOf";
534
54
  readonly outputs: readonly [{
535
- readonly internalType: "uint256";
55
+ readonly internalType: "address";
536
56
  readonly name: "";
537
- readonly type: "uint256";
57
+ readonly type: "address";
538
58
  }];
539
59
  readonly stateMutability: "view";
540
60
  readonly type: "function";
541
61
  }, {
62
+ readonly anonymous: false;
542
63
  readonly inputs: readonly [{
64
+ readonly indexed: false;
65
+ readonly internalType: "bytes32";
66
+ readonly name: "agentID";
67
+ readonly type: "bytes32";
68
+ }, {
69
+ readonly indexed: false;
543
70
  readonly internalType: "address";
544
- readonly name: "token";
71
+ readonly name: "agent";
545
72
  readonly type: "address";
546
- }, {
547
- readonly internalType: "ParaID";
548
- readonly name: "destinationChain";
549
- readonly type: "uint32";
550
- }, {
551
- readonly internalType: "uint128";
552
- readonly name: "destinationFee";
553
- readonly type: "uint128";
554
- }];
555
- readonly name: "quoteSendTokenFee";
556
- readonly outputs: readonly [{
557
- readonly internalType: "uint256";
558
- readonly name: "";
559
- readonly type: "uint256";
560
73
  }];
561
- readonly stateMutability: "view";
562
- readonly type: "function";
74
+ readonly name: "AgentCreated";
75
+ readonly type: "event";
563
76
  }, {
77
+ readonly anonymous: false;
564
78
  readonly inputs: readonly [{
565
- readonly internalType: "bytes";
566
- readonly name: "data";
567
- readonly type: "bytes";
79
+ readonly indexed: true;
80
+ readonly internalType: "uint64";
81
+ readonly name: "nonce";
82
+ readonly type: "uint64";
83
+ }, {
84
+ readonly indexed: false;
85
+ readonly internalType: "bytes32";
86
+ readonly name: "topic";
87
+ readonly type: "bytes32";
88
+ }, {
89
+ readonly indexed: false;
90
+ readonly internalType: "bool";
91
+ readonly name: "success";
92
+ readonly type: "bool";
93
+ }, {
94
+ readonly indexed: false;
95
+ readonly internalType: "bytes32";
96
+ readonly name: "rewardAddress";
97
+ readonly type: "bytes32";
568
98
  }];
569
- readonly name: "registerForeignToken";
570
- readonly outputs: readonly [];
571
- readonly stateMutability: "nonpayable";
572
- readonly type: "function";
99
+ readonly name: "InboundMessageDispatched";
100
+ readonly type: "event";
573
101
  }, {
102
+ readonly anonymous: false;
574
103
  readonly inputs: readonly [{
575
- readonly internalType: "address";
576
- readonly name: "token";
577
- readonly type: "address";
104
+ readonly indexed: true;
105
+ readonly internalType: "uint64";
106
+ readonly name: "nonce";
107
+ readonly type: "uint64";
108
+ }, {
109
+ readonly indexed: false;
110
+ readonly internalType: "uint256";
111
+ readonly name: "index";
112
+ readonly type: "uint256";
578
113
  }];
579
- readonly name: "registerToken";
580
- readonly outputs: readonly [];
581
- readonly stateMutability: "payable";
582
- readonly type: "function";
114
+ readonly name: "CommandFailed";
115
+ readonly type: "event";
583
116
  }, {
117
+ readonly anonymous: false;
584
118
  readonly inputs: readonly [{
585
- readonly internalType: "address";
586
- readonly name: "token";
587
- readonly type: "address";
588
- }, {
589
- readonly internalType: "ParaID";
590
- readonly name: "destinationChain";
591
- readonly type: "uint32";
119
+ readonly indexed: false;
120
+ readonly internalType: "uint64";
121
+ readonly name: "nonce";
122
+ readonly type: "uint64";
592
123
  }, {
593
124
  readonly components: readonly [{
594
- readonly internalType: "enum Kind";
595
- readonly name: "kind";
596
- readonly type: "uint8";
125
+ readonly internalType: "address";
126
+ readonly name: "origin";
127
+ readonly type: "address";
128
+ }, {
129
+ readonly components: readonly [{
130
+ readonly internalType: "uint8";
131
+ readonly name: "kind";
132
+ readonly type: "uint8";
133
+ }, {
134
+ readonly internalType: "bytes";
135
+ readonly name: "data";
136
+ readonly type: "bytes";
137
+ }];
138
+ readonly internalType: "struct Asset[]";
139
+ readonly name: "assets";
140
+ readonly type: "tuple[]";
141
+ }, {
142
+ readonly components: readonly [{
143
+ readonly internalType: "uint8";
144
+ readonly name: "kind";
145
+ readonly type: "uint8";
146
+ }, {
147
+ readonly internalType: "bytes";
148
+ readonly name: "data";
149
+ readonly type: "bytes";
150
+ }];
151
+ readonly internalType: "struct Xcm";
152
+ readonly name: "xcm";
153
+ readonly type: "tuple";
597
154
  }, {
598
155
  readonly internalType: "bytes";
599
- readonly name: "data";
156
+ readonly name: "claimer";
600
157
  readonly type: "bytes";
158
+ }, {
159
+ readonly internalType: "uint128";
160
+ readonly name: "value";
161
+ readonly type: "uint128";
162
+ }, {
163
+ readonly internalType: "uint128";
164
+ readonly name: "executionFee";
165
+ readonly type: "uint128";
166
+ }, {
167
+ readonly internalType: "uint128";
168
+ readonly name: "relayerFee";
169
+ readonly type: "uint128";
601
170
  }];
602
- readonly internalType: "struct MultiAddress";
603
- readonly name: "destinationAddress";
171
+ readonly indexed: false;
172
+ readonly internalType: "struct Payload";
173
+ readonly name: "payload";
604
174
  readonly type: "tuple";
605
- }, {
606
- readonly internalType: "uint128";
607
- readonly name: "destinationFee";
608
- readonly type: "uint128";
609
- }, {
610
- readonly internalType: "uint128";
611
- readonly name: "amount";
612
- readonly type: "uint128";
613
- }];
614
- readonly name: "sendToken";
615
- readonly outputs: readonly [];
616
- readonly stateMutability: "payable";
617
- readonly type: "function";
618
- }, {
619
- readonly inputs: readonly [{
620
- readonly internalType: "bytes";
621
- readonly name: "data";
622
- readonly type: "bytes";
623
- }];
624
- readonly name: "setOperatingMode";
625
- readonly outputs: readonly [];
626
- readonly stateMutability: "nonpayable";
627
- readonly type: "function";
628
- }, {
629
- readonly inputs: readonly [{
630
- readonly internalType: "bytes";
631
- readonly name: "data";
632
- readonly type: "bytes";
633
- }];
634
- readonly name: "setPricingParameters";
635
- readonly outputs: readonly [];
636
- readonly stateMutability: "nonpayable";
637
- readonly type: "function";
638
- }, {
639
- readonly inputs: readonly [{
640
- readonly internalType: "bytes";
641
- readonly name: "data";
642
- readonly type: "bytes";
643
175
  }];
644
- readonly name: "setTokenTransferFees";
645
- readonly outputs: readonly [];
646
- readonly stateMutability: "nonpayable";
647
- readonly type: "function";
176
+ readonly name: "OutboundMessageAccepted";
177
+ readonly type: "event";
648
178
  }, {
649
179
  readonly inputs: readonly [{
650
180
  readonly components: readonly [{
651
- readonly internalType: "ChannelID";
652
- readonly name: "channelID";
181
+ readonly internalType: "bytes32";
182
+ readonly name: "origin";
653
183
  readonly type: "bytes32";
654
184
  }, {
655
185
  readonly internalType: "uint64";
656
186
  readonly name: "nonce";
657
187
  readonly type: "uint64";
658
- }, {
659
- readonly internalType: "enum Command";
660
- readonly name: "command";
661
- readonly type: "uint8";
662
- }, {
663
- readonly internalType: "bytes";
664
- readonly name: "params";
665
- readonly type: "bytes";
666
- }, {
667
- readonly internalType: "uint64";
668
- readonly name: "maxDispatchGas";
669
- readonly type: "uint64";
670
- }, {
671
- readonly internalType: "uint256";
672
- readonly name: "maxFeePerGas";
673
- readonly type: "uint256";
674
- }, {
675
- readonly internalType: "uint256";
676
- readonly name: "reward";
677
- readonly type: "uint256";
678
188
  }, {
679
189
  readonly internalType: "bytes32";
680
- readonly name: "id";
190
+ readonly name: "topic";
681
191
  readonly type: "bytes32";
192
+ }, {
193
+ readonly components: readonly [{
194
+ readonly internalType: "uint8";
195
+ readonly name: "kind";
196
+ readonly type: "uint8";
197
+ }, {
198
+ readonly internalType: "uint64";
199
+ readonly name: "gas";
200
+ readonly type: "uint64";
201
+ }, {
202
+ readonly internalType: "bytes";
203
+ readonly name: "payload";
204
+ readonly type: "bytes";
205
+ }];
206
+ readonly internalType: "struct Command[]";
207
+ readonly name: "commands";
208
+ readonly type: "tuple[]";
682
209
  }];
683
210
  readonly internalType: "struct InboundMessage";
684
211
  readonly name: "message";
@@ -784,53 +311,109 @@ export declare const SNOWBRIDGE: readonly [{
784
311
  readonly internalType: "struct Verification.Proof";
785
312
  readonly name: "headerProof";
786
313
  readonly type: "tuple";
314
+ }, {
315
+ readonly internalType: "bytes32";
316
+ readonly name: "rewardAddress";
317
+ readonly type: "bytes32";
787
318
  }];
788
- readonly name: "submitV1";
319
+ readonly name: "v2_submit";
789
320
  readonly outputs: readonly [];
790
321
  readonly stateMutability: "nonpayable";
791
322
  readonly type: "function";
792
323
  }, {
793
324
  readonly inputs: readonly [{
794
- readonly internalType: "bytes32";
795
- readonly name: "tokenID";
796
- readonly type: "bytes32";
325
+ readonly internalType: "bytes";
326
+ readonly name: "xcm";
327
+ readonly type: "bytes";
328
+ }, {
329
+ readonly internalType: "bytes[]";
330
+ readonly name: "assets";
331
+ readonly type: "bytes[]";
332
+ }, {
333
+ readonly internalType: "bytes";
334
+ readonly name: "claimer";
335
+ readonly type: "bytes";
336
+ }, {
337
+ readonly internalType: "uint128";
338
+ readonly name: "executionFee";
339
+ readonly type: "uint128";
340
+ }, {
341
+ readonly internalType: "uint128";
342
+ readonly name: "relayerFee";
343
+ readonly type: "uint128";
797
344
  }];
798
- readonly name: "tokenAddressOf";
799
- readonly outputs: readonly [{
345
+ readonly name: "v2_sendMessage";
346
+ readonly outputs: readonly [];
347
+ readonly stateMutability: "payable";
348
+ readonly type: "function";
349
+ }, {
350
+ readonly inputs: readonly [{
800
351
  readonly internalType: "address";
801
- readonly name: "";
352
+ readonly name: "token";
802
353
  readonly type: "address";
354
+ }, {
355
+ readonly internalType: "uint8";
356
+ readonly name: "network";
357
+ readonly type: "uint8";
358
+ }, {
359
+ readonly internalType: "uint128";
360
+ readonly name: "executionFee";
361
+ readonly type: "uint128";
362
+ }, {
363
+ readonly internalType: "uint128";
364
+ readonly name: "relayerFee";
365
+ readonly type: "uint128";
803
366
  }];
804
- readonly stateMutability: "view";
367
+ readonly name: "v2_registerToken";
368
+ readonly outputs: readonly [];
369
+ readonly stateMutability: "payable";
805
370
  readonly type: "function";
806
371
  }, {
807
372
  readonly inputs: readonly [{
808
- readonly internalType: "bytes";
809
- readonly name: "data";
810
- readonly type: "bytes";
373
+ readonly internalType: "bytes32";
374
+ readonly name: "id";
375
+ readonly type: "bytes32";
811
376
  }];
812
- readonly name: "transferNativeToken";
377
+ readonly name: "v2_createAgent";
813
378
  readonly outputs: readonly [];
814
379
  readonly stateMutability: "nonpayable";
815
380
  readonly type: "function";
381
+ }, {
382
+ readonly inputs: readonly [];
383
+ readonly name: "v2_outboundNonce";
384
+ readonly outputs: readonly [{
385
+ readonly internalType: "uint64";
386
+ readonly name: "";
387
+ readonly type: "uint64";
388
+ }];
389
+ readonly stateMutability: "view";
390
+ readonly type: "function";
816
391
  }, {
817
392
  readonly inputs: readonly [{
818
- readonly internalType: "bytes";
819
- readonly name: "data";
820
- readonly type: "bytes";
393
+ readonly internalType: "uint64";
394
+ readonly name: "nonce";
395
+ readonly type: "uint64";
821
396
  }];
822
- readonly name: "updateChannel";
823
- readonly outputs: readonly [];
824
- readonly stateMutability: "nonpayable";
397
+ readonly name: "v2_isDispatched";
398
+ readonly outputs: readonly [{
399
+ readonly internalType: "bool";
400
+ readonly name: "";
401
+ readonly type: "bool";
402
+ }];
403
+ readonly stateMutability: "view";
825
404
  readonly type: "function";
826
405
  }, {
827
406
  readonly inputs: readonly [{
828
- readonly internalType: "bytes";
829
- readonly name: "data";
830
- readonly type: "bytes";
407
+ readonly internalType: "address";
408
+ readonly name: "token";
409
+ readonly type: "address";
831
410
  }];
832
- readonly name: "upgrade";
833
- readonly outputs: readonly [];
834
- readonly stateMutability: "nonpayable";
411
+ readonly name: "isTokenRegistered";
412
+ readonly outputs: readonly [{
413
+ readonly internalType: "bool";
414
+ readonly name: "";
415
+ readonly type: "bool";
416
+ }];
417
+ readonly stateMutability: "view";
835
418
  readonly type: "function";
836
419
  }];