@gitmyabi/vault 1.0.1 → 1.0.2

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.
@@ -11,18 +11,8 @@ exports.Vault_jsonAbi = [
11
11
  {
12
12
  "inputs": [
13
13
  {
14
- "internalType": "address",
15
- "name": "_creator",
16
- "type": "address"
17
- },
18
- {
19
- "internalType": "contract IRateProviderRegistry",
20
- "name": "_rpr",
21
- "type": "address"
22
- },
23
- {
24
- "internalType": "address",
25
- "name": "_tasset",
14
+ "internalType": "contract IKeyManager",
15
+ "name": "keyManager",
26
16
  "type": "address"
27
17
  }
28
18
  ],
@@ -30,106 +20,123 @@ exports.Vault_jsonAbi = [
30
20
  "type": "constructor"
31
21
  },
32
22
  {
23
+ "anonymous": false,
33
24
  "inputs": [
34
25
  {
35
- "internalType": "address",
36
- "name": "target",
37
- "type": "address"
26
+ "indexed": false,
27
+ "internalType": "bytes32",
28
+ "name": "swapID",
29
+ "type": "bytes32"
30
+ },
31
+ {
32
+ "indexed": false,
33
+ "internalType": "uint256",
34
+ "name": "amount",
35
+ "type": "uint256"
38
36
  }
39
37
  ],
40
- "name": "AddressEmptyCode",
41
- "type": "error"
38
+ "name": "AddGasNative",
39
+ "type": "event"
42
40
  },
43
41
  {
42
+ "anonymous": false,
44
43
  "inputs": [
45
44
  {
45
+ "indexed": false,
46
+ "internalType": "bytes32",
47
+ "name": "swapID",
48
+ "type": "bytes32"
49
+ },
50
+ {
51
+ "indexed": false,
52
+ "internalType": "uint256",
53
+ "name": "amount",
54
+ "type": "uint256"
55
+ },
56
+ {
57
+ "indexed": false,
46
58
  "internalType": "address",
47
- "name": "account",
59
+ "name": "token",
48
60
  "type": "address"
49
61
  }
50
62
  ],
51
- "name": "AddressInsufficientBalance",
52
- "type": "error"
53
- },
54
- {
55
- "inputs": [],
56
- "name": "Failed",
57
- "type": "error"
58
- },
59
- {
60
- "inputs": [],
61
- "name": "FailedInnerCall",
62
- "type": "error"
63
- },
64
- {
65
- "inputs": [],
66
- "name": "InvalidAddress",
67
- "type": "error"
68
- },
69
- {
70
- "inputs": [],
71
- "name": "InvalidStrategy",
72
- "type": "error"
73
- },
74
- {
75
- "inputs": [],
76
- "name": "NotRescuer",
77
- "type": "error"
63
+ "name": "AddGasToken",
64
+ "type": "event"
78
65
  },
79
66
  {
67
+ "anonymous": false,
80
68
  "inputs": [
81
69
  {
82
- "internalType": "address",
83
- "name": "owner",
84
- "type": "address"
70
+ "indexed": false,
71
+ "internalType": "bool",
72
+ "name": "communityGuardDisabled",
73
+ "type": "bool"
85
74
  }
86
75
  ],
87
- "name": "OwnableInvalidOwner",
88
- "type": "error"
76
+ "name": "CommunityGuardDisabled",
77
+ "type": "event"
89
78
  },
90
79
  {
80
+ "anonymous": false,
91
81
  "inputs": [
92
82
  {
83
+ "indexed": true,
84
+ "internalType": "address payable",
85
+ "name": "multicallAddress",
86
+ "type": "address"
87
+ },
88
+ {
89
+ "indexed": false,
90
+ "internalType": "uint256",
91
+ "name": "amount",
92
+ "type": "uint256"
93
+ },
94
+ {
95
+ "indexed": true,
93
96
  "internalType": "address",
94
- "name": "account",
97
+ "name": "token",
95
98
  "type": "address"
99
+ },
100
+ {
101
+ "indexed": false,
102
+ "internalType": "bytes",
103
+ "name": "reason",
104
+ "type": "bytes"
96
105
  }
97
106
  ],
98
- "name": "OwnableUnauthorizedAccount",
99
- "type": "error"
100
- },
101
- {
102
- "inputs": [],
103
- "name": "RescueFailed",
104
- "type": "error"
107
+ "name": "ExecuteActionsFailed",
108
+ "type": "event"
105
109
  },
106
110
  {
111
+ "anonymous": false,
107
112
  "inputs": [
108
113
  {
114
+ "indexed": true,
109
115
  "internalType": "address",
110
- "name": "token",
116
+ "name": "sender",
111
117
  "type": "address"
118
+ },
119
+ {
120
+ "indexed": false,
121
+ "internalType": "uint256",
122
+ "name": "amount",
123
+ "type": "uint256"
112
124
  }
113
125
  ],
114
- "name": "SafeERC20FailedOperation",
115
- "type": "error"
116
- },
117
- {
118
- "inputs": [],
119
- "name": "UnsupportedDecimals",
120
- "type": "error"
126
+ "name": "FetchedNative",
127
+ "type": "event"
121
128
  },
122
129
  {
123
130
  "anonymous": false,
124
131
  "inputs": [
125
132
  {
126
133
  "indexed": false,
127
- "internalType": "address",
128
- "name": "_asset",
129
- "type": "address"
134
+ "internalType": "bool",
135
+ "name": "suspended",
136
+ "type": "bool"
130
137
  }
131
138
  ],
132
- "name": "AllowableAssetAdded",
139
+ "name": "Suspended",
133
140
  "type": "event"
134
141
  },
135
142
  {
@@ -137,31 +144,91 @@ exports.Vault_jsonAbi = [
137
144
  "inputs": [
138
145
  {
139
146
  "indexed": false,
147
+ "internalType": "uint32",
148
+ "name": "dstChain",
149
+ "type": "uint32"
150
+ },
151
+ {
152
+ "indexed": false,
153
+ "internalType": "bytes",
154
+ "name": "dstAddress",
155
+ "type": "bytes"
156
+ },
157
+ {
158
+ "indexed": false,
159
+ "internalType": "uint32",
160
+ "name": "dstToken",
161
+ "type": "uint32"
162
+ },
163
+ {
164
+ "indexed": false,
165
+ "internalType": "uint256",
166
+ "name": "amount",
167
+ "type": "uint256"
168
+ },
169
+ {
170
+ "indexed": true,
140
171
  "internalType": "address",
141
- "name": "_asset",
172
+ "name": "sender",
142
173
  "type": "address"
174
+ },
175
+ {
176
+ "indexed": false,
177
+ "internalType": "bytes",
178
+ "name": "cfParameters",
179
+ "type": "bytes"
143
180
  }
144
181
  ],
145
- "name": "AllowableAssetRemoved",
182
+ "name": "SwapNative",
146
183
  "type": "event"
147
184
  },
148
185
  {
149
186
  "anonymous": false,
150
187
  "inputs": [
151
188
  {
152
- "indexed": true,
189
+ "indexed": false,
190
+ "internalType": "uint32",
191
+ "name": "dstChain",
192
+ "type": "uint32"
193
+ },
194
+ {
195
+ "indexed": false,
196
+ "internalType": "bytes",
197
+ "name": "dstAddress",
198
+ "type": "bytes"
199
+ },
200
+ {
201
+ "indexed": false,
202
+ "internalType": "uint32",
203
+ "name": "dstToken",
204
+ "type": "uint32"
205
+ },
206
+ {
207
+ "indexed": false,
153
208
  "internalType": "address",
154
- "name": "previousOwner",
209
+ "name": "srcToken",
155
210
  "type": "address"
156
211
  },
212
+ {
213
+ "indexed": false,
214
+ "internalType": "uint256",
215
+ "name": "amount",
216
+ "type": "uint256"
217
+ },
157
218
  {
158
219
  "indexed": true,
159
220
  "internalType": "address",
160
- "name": "newOwner",
221
+ "name": "sender",
161
222
  "type": "address"
223
+ },
224
+ {
225
+ "indexed": false,
226
+ "internalType": "bytes",
227
+ "name": "cfParameters",
228
+ "type": "bytes"
162
229
  }
163
230
  ],
164
- "name": "OwnershipTransferStarted",
231
+ "name": "SwapToken",
165
232
  "type": "event"
166
233
  },
167
234
  {
@@ -169,87 +236,298 @@ exports.Vault_jsonAbi = [
169
236
  "inputs": [
170
237
  {
171
238
  "indexed": true,
172
- "internalType": "address",
173
- "name": "previousOwner",
239
+ "internalType": "address payable",
240
+ "name": "recipient",
174
241
  "type": "address"
175
242
  },
176
243
  {
177
- "indexed": true,
178
- "internalType": "address",
179
- "name": "newOwner",
180
- "type": "address"
244
+ "indexed": false,
245
+ "internalType": "uint256",
246
+ "name": "amount",
247
+ "type": "uint256"
181
248
  }
182
249
  ],
183
- "name": "OwnershipTransferred",
250
+ "name": "TransferNativeFailed",
184
251
  "type": "event"
185
252
  },
186
253
  {
187
254
  "anonymous": false,
188
255
  "inputs": [
256
+ {
257
+ "indexed": true,
258
+ "internalType": "address payable",
259
+ "name": "recipient",
260
+ "type": "address"
261
+ },
262
+ {
263
+ "indexed": false,
264
+ "internalType": "uint256",
265
+ "name": "amount",
266
+ "type": "uint256"
267
+ },
189
268
  {
190
269
  "indexed": true,
191
270
  "internalType": "address",
192
- "name": "_new",
271
+ "name": "token",
193
272
  "type": "address"
194
273
  },
274
+ {
275
+ "indexed": false,
276
+ "internalType": "bytes",
277
+ "name": "reason",
278
+ "type": "bytes"
279
+ }
280
+ ],
281
+ "name": "TransferTokenFailed",
282
+ "type": "event"
283
+ },
284
+ {
285
+ "anonymous": false,
286
+ "inputs": [
195
287
  {
196
288
  "indexed": false,
197
289
  "internalType": "address",
198
- "name": "_old",
290
+ "name": "keyManager",
199
291
  "type": "address"
200
292
  }
201
293
  ],
202
- "name": "RedemptionUpdated",
294
+ "name": "UpdatedKeyManager",
203
295
  "type": "event"
204
296
  },
205
297
  {
206
298
  "anonymous": false,
207
299
  "inputs": [
300
+ {
301
+ "indexed": false,
302
+ "internalType": "uint32",
303
+ "name": "dstChain",
304
+ "type": "uint32"
305
+ },
306
+ {
307
+ "indexed": false,
308
+ "internalType": "bytes",
309
+ "name": "dstAddress",
310
+ "type": "bytes"
311
+ },
312
+ {
313
+ "indexed": false,
314
+ "internalType": "uint32",
315
+ "name": "dstToken",
316
+ "type": "uint32"
317
+ },
318
+ {
319
+ "indexed": false,
320
+ "internalType": "uint256",
321
+ "name": "amount",
322
+ "type": "uint256"
323
+ },
208
324
  {
209
325
  "indexed": true,
210
326
  "internalType": "address",
211
- "name": "newRescuer",
327
+ "name": "sender",
212
328
  "type": "address"
329
+ },
330
+ {
331
+ "indexed": false,
332
+ "internalType": "bytes",
333
+ "name": "message",
334
+ "type": "bytes"
335
+ },
336
+ {
337
+ "indexed": false,
338
+ "internalType": "uint256",
339
+ "name": "gasAmount",
340
+ "type": "uint256"
341
+ },
342
+ {
343
+ "indexed": false,
344
+ "internalType": "bytes",
345
+ "name": "cfParameters",
346
+ "type": "bytes"
213
347
  }
214
348
  ],
215
- "name": "RescuerChanged",
349
+ "name": "XCallNative",
216
350
  "type": "event"
217
351
  },
218
352
  {
219
353
  "anonymous": false,
220
354
  "inputs": [
221
355
  {
222
- "indexed": true,
356
+ "indexed": false,
357
+ "internalType": "uint32",
358
+ "name": "dstChain",
359
+ "type": "uint32"
360
+ },
361
+ {
362
+ "indexed": false,
363
+ "internalType": "bytes",
364
+ "name": "dstAddress",
365
+ "type": "bytes"
366
+ },
367
+ {
368
+ "indexed": false,
369
+ "internalType": "uint32",
370
+ "name": "dstToken",
371
+ "type": "uint32"
372
+ },
373
+ {
374
+ "indexed": false,
223
375
  "internalType": "address",
224
- "name": "_new",
376
+ "name": "srcToken",
225
377
  "type": "address"
226
378
  },
227
379
  {
228
380
  "indexed": false,
381
+ "internalType": "uint256",
382
+ "name": "amount",
383
+ "type": "uint256"
384
+ },
385
+ {
386
+ "indexed": true,
229
387
  "internalType": "address",
230
- "name": "_old",
388
+ "name": "sender",
231
389
  "type": "address"
390
+ },
391
+ {
392
+ "indexed": false,
393
+ "internalType": "bytes",
394
+ "name": "message",
395
+ "type": "bytes"
396
+ },
397
+ {
398
+ "indexed": false,
399
+ "internalType": "uint256",
400
+ "name": "gasAmount",
401
+ "type": "uint256"
402
+ },
403
+ {
404
+ "indexed": false,
405
+ "internalType": "bytes",
406
+ "name": "cfParameters",
407
+ "type": "bytes"
232
408
  }
233
409
  ],
234
- "name": "StrategyStorageUpdated",
410
+ "name": "XCallToken",
235
411
  "type": "event"
236
412
  },
237
413
  {
238
- "inputs": [],
239
- "name": "RATE_PROVIDER_REGISTRY",
240
- "outputs": [
414
+ "inputs": [
241
415
  {
242
- "internalType": "contract IRateProviderRegistry",
243
- "name": "",
416
+ "internalType": "bytes32",
417
+ "name": "swapID",
418
+ "type": "bytes32"
419
+ }
420
+ ],
421
+ "name": "addGasNative",
422
+ "outputs": [],
423
+ "stateMutability": "payable",
424
+ "type": "function"
425
+ },
426
+ {
427
+ "inputs": [
428
+ {
429
+ "internalType": "bytes32",
430
+ "name": "swapID",
431
+ "type": "bytes32"
432
+ },
433
+ {
434
+ "internalType": "uint256",
435
+ "name": "amount",
436
+ "type": "uint256"
437
+ },
438
+ {
439
+ "internalType": "contract IERC20",
440
+ "name": "token",
244
441
  "type": "address"
245
442
  }
246
443
  ],
247
- "stateMutability": "view",
444
+ "name": "addGasToken",
445
+ "outputs": [],
446
+ "stateMutability": "nonpayable",
248
447
  "type": "function"
249
448
  },
250
449
  {
251
- "inputs": [],
252
- "name": "acceptOwnership",
450
+ "inputs": [
451
+ {
452
+ "components": [
453
+ {
454
+ "internalType": "uint256",
455
+ "name": "sig",
456
+ "type": "uint256"
457
+ },
458
+ {
459
+ "internalType": "uint256",
460
+ "name": "nonce",
461
+ "type": "uint256"
462
+ },
463
+ {
464
+ "internalType": "address",
465
+ "name": "kTimesGAddress",
466
+ "type": "address"
467
+ }
468
+ ],
469
+ "internalType": "struct IShared.SigData",
470
+ "name": "sigData",
471
+ "type": "tuple"
472
+ },
473
+ {
474
+ "components": [
475
+ {
476
+ "internalType": "bytes32",
477
+ "name": "swapID",
478
+ "type": "bytes32"
479
+ },
480
+ {
481
+ "internalType": "address",
482
+ "name": "token",
483
+ "type": "address"
484
+ }
485
+ ],
486
+ "internalType": "struct IShared.DeployFetchParams[]",
487
+ "name": "deployFetchParamsArray",
488
+ "type": "tuple[]"
489
+ },
490
+ {
491
+ "components": [
492
+ {
493
+ "internalType": "address payable",
494
+ "name": "fetchContract",
495
+ "type": "address"
496
+ },
497
+ {
498
+ "internalType": "address",
499
+ "name": "token",
500
+ "type": "address"
501
+ }
502
+ ],
503
+ "internalType": "struct IShared.FetchParams[]",
504
+ "name": "fetchParamsArray",
505
+ "type": "tuple[]"
506
+ },
507
+ {
508
+ "components": [
509
+ {
510
+ "internalType": "address",
511
+ "name": "token",
512
+ "type": "address"
513
+ },
514
+ {
515
+ "internalType": "address payable",
516
+ "name": "recipient",
517
+ "type": "address"
518
+ },
519
+ {
520
+ "internalType": "uint256",
521
+ "name": "amount",
522
+ "type": "uint256"
523
+ }
524
+ ],
525
+ "internalType": "struct IShared.TransferParams[]",
526
+ "name": "transferParamsArray",
527
+ "type": "tuple[]"
528
+ }
529
+ ],
530
+ "name": "allBatch",
253
531
  "outputs": [],
254
532
  "stateMutability": "nonpayable",
255
533
  "type": "function"
@@ -257,77 +535,389 @@ exports.Vault_jsonAbi = [
257
535
  {
258
536
  "inputs": [
259
537
  {
260
- "internalType": "address",
261
- "name": "_asset",
262
- "type": "address"
538
+ "components": [
539
+ {
540
+ "internalType": "uint256",
541
+ "name": "sig",
542
+ "type": "uint256"
543
+ },
544
+ {
545
+ "internalType": "uint256",
546
+ "name": "nonce",
547
+ "type": "uint256"
548
+ },
549
+ {
550
+ "internalType": "address",
551
+ "name": "kTimesGAddress",
552
+ "type": "address"
553
+ }
554
+ ],
555
+ "internalType": "struct IShared.SigData",
556
+ "name": "sigData",
557
+ "type": "tuple"
558
+ },
559
+ {
560
+ "components": [
561
+ {
562
+ "internalType": "address payable",
563
+ "name": "fetchContract",
564
+ "type": "address"
565
+ },
566
+ {
567
+ "internalType": "address",
568
+ "name": "token",
569
+ "type": "address"
570
+ }
571
+ ],
572
+ "internalType": "struct IShared.FetchParams[]",
573
+ "name": "fetchParamsArray",
574
+ "type": "tuple[]"
575
+ },
576
+ {
577
+ "components": [
578
+ {
579
+ "internalType": "address",
580
+ "name": "token",
581
+ "type": "address"
582
+ },
583
+ {
584
+ "internalType": "address payable",
585
+ "name": "recipient",
586
+ "type": "address"
587
+ },
588
+ {
589
+ "internalType": "uint256",
590
+ "name": "amount",
591
+ "type": "uint256"
592
+ }
593
+ ],
594
+ "internalType": "struct IShared.TransferParams[]",
595
+ "name": "transferParamsArray",
596
+ "type": "tuple[]"
263
597
  }
264
598
  ],
265
- "name": "addAllowableAsset",
599
+ "name": "allBatchV2",
266
600
  "outputs": [],
267
601
  "stateMutability": "nonpayable",
268
602
  "type": "function"
269
603
  },
270
604
  {
271
- "inputs": [],
272
- "name": "getAllowableAssetCount",
273
- "outputs": [
605
+ "inputs": [
274
606
  {
275
- "internalType": "uint256",
276
- "name": "",
277
- "type": "uint256"
607
+ "components": [
608
+ {
609
+ "internalType": "uint256",
610
+ "name": "sig",
611
+ "type": "uint256"
612
+ },
613
+ {
614
+ "internalType": "uint256",
615
+ "name": "nonce",
616
+ "type": "uint256"
617
+ },
618
+ {
619
+ "internalType": "address",
620
+ "name": "kTimesGAddress",
621
+ "type": "address"
622
+ }
623
+ ],
624
+ "internalType": "struct IShared.SigData",
625
+ "name": "sigData",
626
+ "type": "tuple"
627
+ },
628
+ {
629
+ "components": [
630
+ {
631
+ "internalType": "bytes32",
632
+ "name": "swapID",
633
+ "type": "bytes32"
634
+ },
635
+ {
636
+ "internalType": "address",
637
+ "name": "token",
638
+ "type": "address"
639
+ }
640
+ ],
641
+ "internalType": "struct IShared.DeployFetchParams[]",
642
+ "name": "deployFetchParamsArray",
643
+ "type": "tuple[]"
278
644
  }
279
645
  ],
280
- "stateMutability": "view",
646
+ "name": "deployAndFetchBatch",
647
+ "outputs": [],
648
+ "stateMutability": "nonpayable",
281
649
  "type": "function"
282
650
  },
283
651
  {
284
652
  "inputs": [],
285
- "name": "getAllowableAssets",
286
- "outputs": [
653
+ "name": "disableCommunityGuard",
654
+ "outputs": [],
655
+ "stateMutability": "nonpayable",
656
+ "type": "function"
657
+ },
658
+ {
659
+ "inputs": [],
660
+ "name": "enableCommunityGuard",
661
+ "outputs": [],
662
+ "stateMutability": "nonpayable",
663
+ "type": "function"
664
+ },
665
+ {
666
+ "inputs": [
287
667
  {
288
- "internalType": "address[]",
289
- "name": "",
290
- "type": "address[]"
668
+ "components": [
669
+ {
670
+ "internalType": "uint256",
671
+ "name": "sig",
672
+ "type": "uint256"
673
+ },
674
+ {
675
+ "internalType": "uint256",
676
+ "name": "nonce",
677
+ "type": "uint256"
678
+ },
679
+ {
680
+ "internalType": "address",
681
+ "name": "kTimesGAddress",
682
+ "type": "address"
683
+ }
684
+ ],
685
+ "internalType": "struct IShared.SigData",
686
+ "name": "sigData",
687
+ "type": "tuple"
688
+ },
689
+ {
690
+ "components": [
691
+ {
692
+ "internalType": "address",
693
+ "name": "token",
694
+ "type": "address"
695
+ },
696
+ {
697
+ "internalType": "address payable",
698
+ "name": "recipient",
699
+ "type": "address"
700
+ },
701
+ {
702
+ "internalType": "uint256",
703
+ "name": "amount",
704
+ "type": "uint256"
705
+ }
706
+ ],
707
+ "internalType": "struct IShared.TransferParams",
708
+ "name": "transferParams",
709
+ "type": "tuple"
710
+ },
711
+ {
712
+ "components": [
713
+ {
714
+ "internalType": "enum IMulticall.CallType",
715
+ "name": "callType",
716
+ "type": "uint8"
717
+ },
718
+ {
719
+ "internalType": "address",
720
+ "name": "target",
721
+ "type": "address"
722
+ },
723
+ {
724
+ "internalType": "uint256",
725
+ "name": "value",
726
+ "type": "uint256"
727
+ },
728
+ {
729
+ "internalType": "bytes",
730
+ "name": "callData",
731
+ "type": "bytes"
732
+ },
733
+ {
734
+ "internalType": "bytes",
735
+ "name": "payload",
736
+ "type": "bytes"
737
+ }
738
+ ],
739
+ "internalType": "struct IMulticall.Call[]",
740
+ "name": "calls",
741
+ "type": "tuple[]"
742
+ },
743
+ {
744
+ "internalType": "uint256",
745
+ "name": "gasMulticall",
746
+ "type": "uint256"
291
747
  }
292
748
  ],
293
- "stateMutability": "view",
749
+ "name": "executeActions",
750
+ "outputs": [],
751
+ "stateMutability": "nonpayable",
294
752
  "type": "function"
295
753
  },
296
754
  {
297
- "inputs": [],
298
- "name": "getTAsset",
299
- "outputs": [
755
+ "inputs": [
756
+ {
757
+ "components": [
758
+ {
759
+ "internalType": "uint256",
760
+ "name": "sig",
761
+ "type": "uint256"
762
+ },
763
+ {
764
+ "internalType": "uint256",
765
+ "name": "nonce",
766
+ "type": "uint256"
767
+ },
768
+ {
769
+ "internalType": "address",
770
+ "name": "kTimesGAddress",
771
+ "type": "address"
772
+ }
773
+ ],
774
+ "internalType": "struct IShared.SigData",
775
+ "name": "sigData",
776
+ "type": "tuple"
777
+ },
300
778
  {
301
779
  "internalType": "address",
302
- "name": "",
780
+ "name": "recipient",
303
781
  "type": "address"
782
+ },
783
+ {
784
+ "internalType": "uint32",
785
+ "name": "srcChain",
786
+ "type": "uint32"
787
+ },
788
+ {
789
+ "internalType": "bytes",
790
+ "name": "srcAddress",
791
+ "type": "bytes"
792
+ },
793
+ {
794
+ "internalType": "bytes",
795
+ "name": "message",
796
+ "type": "bytes"
304
797
  }
305
798
  ],
306
- "stateMutability": "view",
799
+ "name": "executexCall",
800
+ "outputs": [],
801
+ "stateMutability": "nonpayable",
307
802
  "type": "function"
308
803
  },
309
804
  {
310
- "inputs": [],
311
- "name": "getUnderlying",
312
- "outputs": [
805
+ "inputs": [
313
806
  {
314
- "internalType": "address",
315
- "name": "",
316
- "type": "address"
807
+ "components": [
808
+ {
809
+ "internalType": "uint256",
810
+ "name": "sig",
811
+ "type": "uint256"
812
+ },
813
+ {
814
+ "internalType": "uint256",
815
+ "name": "nonce",
816
+ "type": "uint256"
817
+ },
818
+ {
819
+ "internalType": "address",
820
+ "name": "kTimesGAddress",
821
+ "type": "address"
822
+ }
823
+ ],
824
+ "internalType": "struct IShared.SigData",
825
+ "name": "sigData",
826
+ "type": "tuple"
827
+ },
828
+ {
829
+ "components": [
830
+ {
831
+ "internalType": "address",
832
+ "name": "token",
833
+ "type": "address"
834
+ },
835
+ {
836
+ "internalType": "address payable",
837
+ "name": "recipient",
838
+ "type": "address"
839
+ },
840
+ {
841
+ "internalType": "uint256",
842
+ "name": "amount",
843
+ "type": "uint256"
844
+ }
845
+ ],
846
+ "internalType": "struct IShared.TransferParams",
847
+ "name": "transferParams",
848
+ "type": "tuple"
849
+ },
850
+ {
851
+ "internalType": "uint32",
852
+ "name": "srcChain",
853
+ "type": "uint32"
854
+ },
855
+ {
856
+ "internalType": "bytes",
857
+ "name": "srcAddress",
858
+ "type": "bytes"
859
+ },
860
+ {
861
+ "internalType": "bytes",
862
+ "name": "message",
863
+ "type": "bytes"
317
864
  }
318
865
  ],
319
- "stateMutability": "view",
866
+ "name": "executexSwapAndCall",
867
+ "outputs": [],
868
+ "stateMutability": "nonpayable",
320
869
  "type": "function"
321
870
  },
322
871
  {
323
872
  "inputs": [
324
873
  {
325
- "internalType": "address",
326
- "name": "_asset",
327
- "type": "address"
874
+ "components": [
875
+ {
876
+ "internalType": "uint256",
877
+ "name": "sig",
878
+ "type": "uint256"
879
+ },
880
+ {
881
+ "internalType": "uint256",
882
+ "name": "nonce",
883
+ "type": "uint256"
884
+ },
885
+ {
886
+ "internalType": "address",
887
+ "name": "kTimesGAddress",
888
+ "type": "address"
889
+ }
890
+ ],
891
+ "internalType": "struct IShared.SigData",
892
+ "name": "sigData",
893
+ "type": "tuple"
894
+ },
895
+ {
896
+ "components": [
897
+ {
898
+ "internalType": "address payable",
899
+ "name": "fetchContract",
900
+ "type": "address"
901
+ },
902
+ {
903
+ "internalType": "address",
904
+ "name": "token",
905
+ "type": "address"
906
+ }
907
+ ],
908
+ "internalType": "struct IShared.FetchParams[]",
909
+ "name": "fetchParamsArray",
910
+ "type": "tuple[]"
328
911
  }
329
912
  ],
330
- "name": "isAllowableAsset",
913
+ "name": "fetchBatch",
914
+ "outputs": [],
915
+ "stateMutability": "nonpayable",
916
+ "type": "function"
917
+ },
918
+ {
919
+ "inputs": [],
920
+ "name": "getCommunityGuardDisabled",
331
921
  "outputs": [
332
922
  {
333
923
  "internalType": "bool",
@@ -340,7 +930,7 @@ exports.Vault_jsonAbi = [
340
930
  },
341
931
  {
342
932
  "inputs": [],
343
- "name": "owner",
933
+ "name": "getCommunityKey",
344
934
  "outputs": [
345
935
  {
346
936
  "internalType": "address",
@@ -353,7 +943,7 @@ exports.Vault_jsonAbi = [
353
943
  },
354
944
  {
355
945
  "inputs": [],
356
- "name": "pendingOwner",
946
+ "name": "getGovernor",
357
947
  "outputs": [
358
948
  {
359
949
  "internalType": "address",
@@ -366,10 +956,10 @@ exports.Vault_jsonAbi = [
366
956
  },
367
957
  {
368
958
  "inputs": [],
369
- "name": "redemption",
959
+ "name": "getKeyManager",
370
960
  "outputs": [
371
961
  {
372
- "internalType": "address",
962
+ "internalType": "contract IKeyManager",
373
963
  "name": "",
374
964
  "type": "address"
375
965
  }
@@ -377,45 +967,42 @@ exports.Vault_jsonAbi = [
377
967
  "stateMutability": "view",
378
968
  "type": "function"
379
969
  },
970
+ {
971
+ "inputs": [],
972
+ "name": "getSuspendedState",
973
+ "outputs": [
974
+ {
975
+ "internalType": "bool",
976
+ "name": "",
977
+ "type": "bool"
978
+ }
979
+ ],
980
+ "stateMutability": "view",
981
+ "type": "function"
982
+ },
380
983
  {
381
984
  "inputs": [
382
985
  {
383
- "internalType": "address",
384
- "name": "_asset",
385
- "type": "address"
986
+ "internalType": "address[]",
987
+ "name": "tokens",
988
+ "type": "address[]"
386
989
  }
387
990
  ],
388
- "name": "removeAllowableAsset",
991
+ "name": "govWithdraw",
389
992
  "outputs": [],
390
993
  "stateMutability": "nonpayable",
391
994
  "type": "function"
392
995
  },
393
996
  {
394
997
  "inputs": [],
395
- "name": "renounceOwnership",
998
+ "name": "resume",
396
999
  "outputs": [],
397
1000
  "stateMutability": "nonpayable",
398
1001
  "type": "function"
399
1002
  },
400
1003
  {
401
- "inputs": [
402
- {
403
- "internalType": "contract IERC20",
404
- "name": "tokenContract",
405
- "type": "address"
406
- },
407
- {
408
- "internalType": "address",
409
- "name": "to",
410
- "type": "address"
411
- },
412
- {
413
- "internalType": "uint256",
414
- "name": "amount",
415
- "type": "uint256"
416
- }
417
- ],
418
- "name": "rescueERC20",
1004
+ "inputs": [],
1005
+ "name": "suspend",
419
1006
  "outputs": [],
420
1007
  "stateMutability": "nonpayable",
421
1008
  "type": "function"
@@ -423,38 +1010,155 @@ exports.Vault_jsonAbi = [
423
1010
  {
424
1011
  "inputs": [
425
1012
  {
426
- "internalType": "address",
427
- "name": "to",
428
- "type": "address"
1013
+ "components": [
1014
+ {
1015
+ "internalType": "uint256",
1016
+ "name": "sig",
1017
+ "type": "uint256"
1018
+ },
1019
+ {
1020
+ "internalType": "uint256",
1021
+ "name": "nonce",
1022
+ "type": "uint256"
1023
+ },
1024
+ {
1025
+ "internalType": "address",
1026
+ "name": "kTimesGAddress",
1027
+ "type": "address"
1028
+ }
1029
+ ],
1030
+ "internalType": "struct IShared.SigData",
1031
+ "name": "sigData",
1032
+ "type": "tuple"
1033
+ },
1034
+ {
1035
+ "components": [
1036
+ {
1037
+ "internalType": "address",
1038
+ "name": "token",
1039
+ "type": "address"
1040
+ },
1041
+ {
1042
+ "internalType": "address payable",
1043
+ "name": "recipient",
1044
+ "type": "address"
1045
+ },
1046
+ {
1047
+ "internalType": "uint256",
1048
+ "name": "amount",
1049
+ "type": "uint256"
1050
+ }
1051
+ ],
1052
+ "internalType": "struct IShared.TransferParams",
1053
+ "name": "transferParams",
1054
+ "type": "tuple"
429
1055
  }
430
1056
  ],
431
- "name": "rescueETH",
1057
+ "name": "transfer",
432
1058
  "outputs": [],
433
1059
  "stateMutability": "nonpayable",
434
1060
  "type": "function"
435
1061
  },
436
1062
  {
437
- "inputs": [],
438
- "name": "rescuer",
439
- "outputs": [
1063
+ "inputs": [
440
1064
  {
441
- "internalType": "address",
442
- "name": "",
443
- "type": "address"
1065
+ "components": [
1066
+ {
1067
+ "internalType": "uint256",
1068
+ "name": "sig",
1069
+ "type": "uint256"
1070
+ },
1071
+ {
1072
+ "internalType": "uint256",
1073
+ "name": "nonce",
1074
+ "type": "uint256"
1075
+ },
1076
+ {
1077
+ "internalType": "address",
1078
+ "name": "kTimesGAddress",
1079
+ "type": "address"
1080
+ }
1081
+ ],
1082
+ "internalType": "struct IShared.SigData",
1083
+ "name": "sigData",
1084
+ "type": "tuple"
1085
+ },
1086
+ {
1087
+ "components": [
1088
+ {
1089
+ "internalType": "address",
1090
+ "name": "token",
1091
+ "type": "address"
1092
+ },
1093
+ {
1094
+ "internalType": "address payable",
1095
+ "name": "recipient",
1096
+ "type": "address"
1097
+ },
1098
+ {
1099
+ "internalType": "uint256",
1100
+ "name": "amount",
1101
+ "type": "uint256"
1102
+ }
1103
+ ],
1104
+ "internalType": "struct IShared.TransferParams[]",
1105
+ "name": "transferParamsArray",
1106
+ "type": "tuple[]"
444
1107
  }
445
1108
  ],
446
- "stateMutability": "view",
1109
+ "name": "transferBatch",
1110
+ "outputs": [],
1111
+ "stateMutability": "nonpayable",
447
1112
  "type": "function"
448
1113
  },
449
1114
  {
450
1115
  "inputs": [
451
1116
  {
452
- "internalType": "address",
453
- "name": "_newRedemption",
454
- "type": "address"
1117
+ "components": [
1118
+ {
1119
+ "internalType": "uint256",
1120
+ "name": "sig",
1121
+ "type": "uint256"
1122
+ },
1123
+ {
1124
+ "internalType": "uint256",
1125
+ "name": "nonce",
1126
+ "type": "uint256"
1127
+ },
1128
+ {
1129
+ "internalType": "address",
1130
+ "name": "kTimesGAddress",
1131
+ "type": "address"
1132
+ }
1133
+ ],
1134
+ "internalType": "struct IShared.SigData",
1135
+ "name": "sigData",
1136
+ "type": "tuple"
1137
+ },
1138
+ {
1139
+ "components": [
1140
+ {
1141
+ "internalType": "address",
1142
+ "name": "token",
1143
+ "type": "address"
1144
+ },
1145
+ {
1146
+ "internalType": "address payable",
1147
+ "name": "recipient",
1148
+ "type": "address"
1149
+ },
1150
+ {
1151
+ "internalType": "uint256",
1152
+ "name": "amount",
1153
+ "type": "uint256"
1154
+ }
1155
+ ],
1156
+ "internalType": "struct IShared.TransferParams",
1157
+ "name": "transferParams",
1158
+ "type": "tuple"
455
1159
  }
456
1160
  ],
457
- "name": "setRedemption",
1161
+ "name": "transferFallback",
458
1162
  "outputs": [],
459
1163
  "stateMutability": "nonpayable",
460
1164
  "type": "function"
@@ -462,38 +1166,125 @@ exports.Vault_jsonAbi = [
462
1166
  {
463
1167
  "inputs": [
464
1168
  {
465
- "internalType": "contract IStrategyStorage",
466
- "name": "_newStrategyStorage",
1169
+ "components": [
1170
+ {
1171
+ "internalType": "uint256",
1172
+ "name": "sig",
1173
+ "type": "uint256"
1174
+ },
1175
+ {
1176
+ "internalType": "uint256",
1177
+ "name": "nonce",
1178
+ "type": "uint256"
1179
+ },
1180
+ {
1181
+ "internalType": "address",
1182
+ "name": "kTimesGAddress",
1183
+ "type": "address"
1184
+ }
1185
+ ],
1186
+ "internalType": "struct IShared.SigData",
1187
+ "name": "sigData",
1188
+ "type": "tuple"
1189
+ },
1190
+ {
1191
+ "internalType": "contract IKeyManager",
1192
+ "name": "keyManager",
467
1193
  "type": "address"
1194
+ },
1195
+ {
1196
+ "internalType": "bool",
1197
+ "name": "omitChecks",
1198
+ "type": "bool"
468
1199
  }
469
1200
  ],
470
- "name": "setStrategyStorage",
1201
+ "name": "updateKeyManager",
471
1202
  "outputs": [],
472
1203
  "stateMutability": "nonpayable",
473
1204
  "type": "function"
474
1205
  },
475
1206
  {
476
- "inputs": [],
477
- "name": "strategyStorage",
478
- "outputs": [
1207
+ "inputs": [
479
1208
  {
480
- "internalType": "contract IStrategyStorage",
481
- "name": "",
482
- "type": "address"
1209
+ "internalType": "uint32",
1210
+ "name": "dstChain",
1211
+ "type": "uint32"
1212
+ },
1213
+ {
1214
+ "internalType": "bytes",
1215
+ "name": "dstAddress",
1216
+ "type": "bytes"
1217
+ },
1218
+ {
1219
+ "internalType": "uint32",
1220
+ "name": "dstToken",
1221
+ "type": "uint32"
1222
+ },
1223
+ {
1224
+ "internalType": "bytes",
1225
+ "name": "message",
1226
+ "type": "bytes"
1227
+ },
1228
+ {
1229
+ "internalType": "uint256",
1230
+ "name": "gasAmount",
1231
+ "type": "uint256"
1232
+ },
1233
+ {
1234
+ "internalType": "bytes",
1235
+ "name": "cfParameters",
1236
+ "type": "bytes"
483
1237
  }
484
1238
  ],
485
- "stateMutability": "view",
1239
+ "name": "xCallNative",
1240
+ "outputs": [],
1241
+ "stateMutability": "payable",
486
1242
  "type": "function"
487
1243
  },
488
1244
  {
489
1245
  "inputs": [
490
1246
  {
491
- "internalType": "address",
492
- "name": "newOwner",
1247
+ "internalType": "uint32",
1248
+ "name": "dstChain",
1249
+ "type": "uint32"
1250
+ },
1251
+ {
1252
+ "internalType": "bytes",
1253
+ "name": "dstAddress",
1254
+ "type": "bytes"
1255
+ },
1256
+ {
1257
+ "internalType": "uint32",
1258
+ "name": "dstToken",
1259
+ "type": "uint32"
1260
+ },
1261
+ {
1262
+ "internalType": "bytes",
1263
+ "name": "message",
1264
+ "type": "bytes"
1265
+ },
1266
+ {
1267
+ "internalType": "uint256",
1268
+ "name": "gasAmount",
1269
+ "type": "uint256"
1270
+ },
1271
+ {
1272
+ "internalType": "contract IERC20",
1273
+ "name": "srcToken",
493
1274
  "type": "address"
1275
+ },
1276
+ {
1277
+ "internalType": "uint256",
1278
+ "name": "amount",
1279
+ "type": "uint256"
1280
+ },
1281
+ {
1282
+ "internalType": "bytes",
1283
+ "name": "cfParameters",
1284
+ "type": "bytes"
494
1285
  }
495
1286
  ],
496
- "name": "transferOwnership",
1287
+ "name": "xCallToken",
497
1288
  "outputs": [],
498
1289
  "stateMutability": "nonpayable",
499
1290
  "type": "function"
@@ -501,33 +1292,72 @@ exports.Vault_jsonAbi = [
501
1292
  {
502
1293
  "inputs": [
503
1294
  {
504
- "internalType": "address",
505
- "name": "newRescuer",
506
- "type": "address"
1295
+ "internalType": "uint32",
1296
+ "name": "dstChain",
1297
+ "type": "uint32"
1298
+ },
1299
+ {
1300
+ "internalType": "bytes",
1301
+ "name": "dstAddress",
1302
+ "type": "bytes"
1303
+ },
1304
+ {
1305
+ "internalType": "uint32",
1306
+ "name": "dstToken",
1307
+ "type": "uint32"
1308
+ },
1309
+ {
1310
+ "internalType": "bytes",
1311
+ "name": "cfParameters",
1312
+ "type": "bytes"
507
1313
  }
508
1314
  ],
509
- "name": "updateRescuer",
1315
+ "name": "xSwapNative",
510
1316
  "outputs": [],
511
- "stateMutability": "nonpayable",
1317
+ "stateMutability": "payable",
512
1318
  "type": "function"
513
1319
  },
514
1320
  {
515
1321
  "inputs": [
516
1322
  {
517
- "internalType": "address",
518
- "name": "_asset",
1323
+ "internalType": "uint32",
1324
+ "name": "dstChain",
1325
+ "type": "uint32"
1326
+ },
1327
+ {
1328
+ "internalType": "bytes",
1329
+ "name": "dstAddress",
1330
+ "type": "bytes"
1331
+ },
1332
+ {
1333
+ "internalType": "uint32",
1334
+ "name": "dstToken",
1335
+ "type": "uint32"
1336
+ },
1337
+ {
1338
+ "internalType": "contract IERC20",
1339
+ "name": "srcToken",
519
1340
  "type": "address"
520
1341
  },
521
1342
  {
522
1343
  "internalType": "uint256",
523
- "name": "_amount",
1344
+ "name": "amount",
524
1345
  "type": "uint256"
1346
+ },
1347
+ {
1348
+ "internalType": "bytes",
1349
+ "name": "cfParameters",
1350
+ "type": "bytes"
525
1351
  }
526
1352
  ],
527
- "name": "withdraw",
1353
+ "name": "xSwapToken",
528
1354
  "outputs": [],
529
1355
  "stateMutability": "nonpayable",
530
1356
  "type": "function"
1357
+ },
1358
+ {
1359
+ "stateMutability": "payable",
1360
+ "type": "receive"
531
1361
  }
532
1362
  ];
533
1363
  /**
@@ -588,202 +1418,281 @@ class Vault_json {
588
1418
  return this.contract;
589
1419
  }
590
1420
  /**
591
- * RATE_PROVIDER_REGISTRY
1421
+ * getCommunityGuardDisabled
592
1422
  * view
593
1423
  */
594
- async RATE_PROVIDER_REGISTRY() {
595
- return this.contract.read.RATE_PROVIDER_REGISTRY();
1424
+ async getCommunityGuardDisabled() {
1425
+ return this.contract.read.getCommunityGuardDisabled();
596
1426
  }
597
1427
  /**
598
- * getAllowableAssetCount
1428
+ * getCommunityKey
599
1429
  * view
600
1430
  */
601
- async getAllowableAssetCount() {
602
- return this.contract.read.getAllowableAssetCount();
1431
+ async getCommunityKey() {
1432
+ return this.contract.read.getCommunityKey();
603
1433
  }
604
1434
  /**
605
- * getAllowableAssets
1435
+ * getGovernor
606
1436
  * view
607
1437
  */
608
- async getAllowableAssets() {
609
- return this.contract.read.getAllowableAssets();
1438
+ async getGovernor() {
1439
+ return this.contract.read.getGovernor();
610
1440
  }
611
1441
  /**
612
- * getTAsset
1442
+ * getKeyManager
613
1443
  * view
614
1444
  */
615
- async getTAsset() {
616
- return this.contract.read.getTAsset();
1445
+ async getKeyManager() {
1446
+ return this.contract.read.getKeyManager();
617
1447
  }
618
1448
  /**
619
- * getUnderlying
1449
+ * getSuspendedState
620
1450
  * view
621
1451
  */
622
- async getUnderlying() {
623
- return this.contract.read.getUnderlying();
1452
+ async getSuspendedState() {
1453
+ return this.contract.read.getSuspendedState();
624
1454
  }
625
1455
  /**
626
- * isAllowableAsset
627
- * view
1456
+ * addGasNative
1457
+ * payable
1458
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
628
1459
  */
629
- async isAllowableAsset(_asset) {
630
- return this.contract.read.isAllowableAsset([_asset]);
1460
+ async addGasNative(swapID, options) {
1461
+ if (!this.contract.write) {
1462
+ throw new Error('Wallet client is required for write operations');
1463
+ }
1464
+ return this.contract.write.addGasNative([swapID], options);
631
1465
  }
632
1466
  /**
633
- * owner
634
- * view
1467
+ * addGasToken
1468
+ * nonpayable
1469
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
635
1470
  */
636
- async owner() {
637
- return this.contract.read.owner();
1471
+ async addGasToken(swapID, amount, token, options) {
1472
+ if (!this.contract.write) {
1473
+ throw new Error('Wallet client is required for write operations');
1474
+ }
1475
+ return this.contract.write.addGasToken([swapID, amount, token], options);
638
1476
  }
639
1477
  /**
640
- * pendingOwner
641
- * view
1478
+ * allBatch
1479
+ * nonpayable
1480
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
642
1481
  */
643
- async pendingOwner() {
644
- return this.contract.read.pendingOwner();
1482
+ async allBatch(sigData, deployFetchParamsArray, fetchParamsArray, transferParamsArray, options) {
1483
+ if (!this.contract.write) {
1484
+ throw new Error('Wallet client is required for write operations');
1485
+ }
1486
+ return this.contract.write.allBatch([sigData, deployFetchParamsArray, fetchParamsArray, transferParamsArray], options);
645
1487
  }
646
1488
  /**
647
- * redemption
648
- * view
1489
+ * allBatchV2
1490
+ * nonpayable
1491
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
649
1492
  */
650
- async redemption() {
651
- return this.contract.read.redemption();
1493
+ async allBatchV2(sigData, fetchParamsArray, transferParamsArray, options) {
1494
+ if (!this.contract.write) {
1495
+ throw new Error('Wallet client is required for write operations');
1496
+ }
1497
+ return this.contract.write.allBatchV2([sigData, fetchParamsArray, transferParamsArray], options);
652
1498
  }
653
1499
  /**
654
- * rescuer
655
- * view
1500
+ * deployAndFetchBatch
1501
+ * nonpayable
1502
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1503
+ */
1504
+ async deployAndFetchBatch(sigData, deployFetchParamsArray, options) {
1505
+ if (!this.contract.write) {
1506
+ throw new Error('Wallet client is required for write operations');
1507
+ }
1508
+ return this.contract.write.deployAndFetchBatch([sigData, deployFetchParamsArray], options);
1509
+ }
1510
+ /**
1511
+ * disableCommunityGuard
1512
+ * nonpayable
1513
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
656
1514
  */
657
- async rescuer() {
658
- return this.contract.read.rescuer();
1515
+ async disableCommunityGuard(options) {
1516
+ if (!this.contract.write) {
1517
+ throw new Error('Wallet client is required for write operations');
1518
+ }
1519
+ return this.contract.write.disableCommunityGuard(options);
659
1520
  }
660
1521
  /**
661
- * strategyStorage
662
- * view
1522
+ * enableCommunityGuard
1523
+ * nonpayable
1524
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1525
+ */
1526
+ async enableCommunityGuard(options) {
1527
+ if (!this.contract.write) {
1528
+ throw new Error('Wallet client is required for write operations');
1529
+ }
1530
+ return this.contract.write.enableCommunityGuard(options);
1531
+ }
1532
+ /**
1533
+ * executeActions
1534
+ * nonpayable
1535
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1536
+ */
1537
+ async executeActions(sigData, transferParams, calls, gasMulticall, options) {
1538
+ if (!this.contract.write) {
1539
+ throw new Error('Wallet client is required for write operations');
1540
+ }
1541
+ return this.contract.write.executeActions([sigData, transferParams, calls, gasMulticall], options);
1542
+ }
1543
+ /**
1544
+ * executexCall
1545
+ * nonpayable
1546
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
663
1547
  */
664
- async strategyStorage() {
665
- return this.contract.read.strategyStorage();
1548
+ async executexCall(sigData, recipient, srcChain, srcAddress, message, options) {
1549
+ if (!this.contract.write) {
1550
+ throw new Error('Wallet client is required for write operations');
1551
+ }
1552
+ return this.contract.write.executexCall([sigData, recipient, srcChain, srcAddress, message], options);
666
1553
  }
667
1554
  /**
668
- * acceptOwnership
1555
+ * executexSwapAndCall
669
1556
  * nonpayable
670
1557
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
671
1558
  */
672
- async acceptOwnership(options) {
1559
+ async executexSwapAndCall(sigData, transferParams, srcChain, srcAddress, message, options) {
673
1560
  if (!this.contract.write) {
674
1561
  throw new Error('Wallet client is required for write operations');
675
1562
  }
676
- return this.contract.write.acceptOwnership(options);
1563
+ return this.contract.write.executexSwapAndCall([sigData, transferParams, srcChain, srcAddress, message], options);
677
1564
  }
678
1565
  /**
679
- * addAllowableAsset
1566
+ * fetchBatch
680
1567
  * nonpayable
681
1568
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
682
1569
  */
683
- async addAllowableAsset(_asset, options) {
1570
+ async fetchBatch(sigData, fetchParamsArray, options) {
684
1571
  if (!this.contract.write) {
685
1572
  throw new Error('Wallet client is required for write operations');
686
1573
  }
687
- return this.contract.write.addAllowableAsset([_asset], options);
1574
+ return this.contract.write.fetchBatch([sigData, fetchParamsArray], options);
688
1575
  }
689
1576
  /**
690
- * removeAllowableAsset
1577
+ * govWithdraw
691
1578
  * nonpayable
692
1579
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
693
1580
  */
694
- async removeAllowableAsset(_asset, options) {
1581
+ async govWithdraw(tokens, options) {
695
1582
  if (!this.contract.write) {
696
1583
  throw new Error('Wallet client is required for write operations');
697
1584
  }
698
- return this.contract.write.removeAllowableAsset([_asset], options);
1585
+ return this.contract.write.govWithdraw([tokens], options);
699
1586
  }
700
1587
  /**
701
- * renounceOwnership
1588
+ * resume
702
1589
  * nonpayable
703
1590
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
704
1591
  */
705
- async renounceOwnership(options) {
1592
+ async resume(options) {
706
1593
  if (!this.contract.write) {
707
1594
  throw new Error('Wallet client is required for write operations');
708
1595
  }
709
- return this.contract.write.renounceOwnership(options);
1596
+ return this.contract.write.resume(options);
710
1597
  }
711
1598
  /**
712
- * rescueERC20
1599
+ * suspend
713
1600
  * nonpayable
714
1601
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
715
1602
  */
716
- async rescueERC20(tokenContract, to, amount, options) {
1603
+ async suspend(options) {
717
1604
  if (!this.contract.write) {
718
1605
  throw new Error('Wallet client is required for write operations');
719
1606
  }
720
- return this.contract.write.rescueERC20([tokenContract, to, amount], options);
1607
+ return this.contract.write.suspend(options);
721
1608
  }
722
1609
  /**
723
- * rescueETH
1610
+ * transfer
724
1611
  * nonpayable
725
1612
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
726
1613
  */
727
- async rescueETH(to, options) {
1614
+ async transfer(sigData, transferParams, options) {
728
1615
  if (!this.contract.write) {
729
1616
  throw new Error('Wallet client is required for write operations');
730
1617
  }
731
- return this.contract.write.rescueETH([to], options);
1618
+ return this.contract.write.transfer([sigData, transferParams], options);
732
1619
  }
733
1620
  /**
734
- * setRedemption
1621
+ * transferBatch
735
1622
  * nonpayable
736
1623
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
737
1624
  */
738
- async setRedemption(_newRedemption, options) {
1625
+ async transferBatch(sigData, transferParamsArray, options) {
739
1626
  if (!this.contract.write) {
740
1627
  throw new Error('Wallet client is required for write operations');
741
1628
  }
742
- return this.contract.write.setRedemption([_newRedemption], options);
1629
+ return this.contract.write.transferBatch([sigData, transferParamsArray], options);
743
1630
  }
744
1631
  /**
745
- * setStrategyStorage
1632
+ * transferFallback
746
1633
  * nonpayable
747
1634
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
748
1635
  */
749
- async setStrategyStorage(_newStrategyStorage, options) {
1636
+ async transferFallback(sigData, transferParams, options) {
750
1637
  if (!this.contract.write) {
751
1638
  throw new Error('Wallet client is required for write operations');
752
1639
  }
753
- return this.contract.write.setStrategyStorage([_newStrategyStorage], options);
1640
+ return this.contract.write.transferFallback([sigData, transferParams], options);
754
1641
  }
755
1642
  /**
756
- * transferOwnership
1643
+ * updateKeyManager
757
1644
  * nonpayable
758
1645
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
759
1646
  */
760
- async transferOwnership(newOwner, options) {
1647
+ async updateKeyManager(sigData, keyManager, omitChecks, options) {
1648
+ if (!this.contract.write) {
1649
+ throw new Error('Wallet client is required for write operations');
1650
+ }
1651
+ return this.contract.write.updateKeyManager([sigData, keyManager, omitChecks], options);
1652
+ }
1653
+ /**
1654
+ * xCallNative
1655
+ * payable
1656
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1657
+ */
1658
+ async xCallNative(dstChain, dstAddress, dstToken, message, gasAmount, cfParameters, options) {
761
1659
  if (!this.contract.write) {
762
1660
  throw new Error('Wallet client is required for write operations');
763
1661
  }
764
- return this.contract.write.transferOwnership([newOwner], options);
1662
+ return this.contract.write.xCallNative([dstChain, dstAddress, dstToken, message, gasAmount, cfParameters], options);
765
1663
  }
766
1664
  /**
767
- * updateRescuer
1665
+ * xCallToken
768
1666
  * nonpayable
769
1667
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
770
1668
  */
771
- async updateRescuer(newRescuer, options) {
1669
+ async xCallToken(dstChain, dstAddress, dstToken, message, gasAmount, srcToken, amount, cfParameters, options) {
1670
+ if (!this.contract.write) {
1671
+ throw new Error('Wallet client is required for write operations');
1672
+ }
1673
+ return this.contract.write.xCallToken([dstChain, dstAddress, dstToken, message, gasAmount, srcToken, amount, cfParameters], options);
1674
+ }
1675
+ /**
1676
+ * xSwapNative
1677
+ * payable
1678
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1679
+ */
1680
+ async xSwapNative(dstChain, dstAddress, dstToken, cfParameters, options) {
772
1681
  if (!this.contract.write) {
773
1682
  throw new Error('Wallet client is required for write operations');
774
1683
  }
775
- return this.contract.write.updateRescuer([newRescuer], options);
1684
+ return this.contract.write.xSwapNative([dstChain, dstAddress, dstToken, cfParameters], options);
776
1685
  }
777
1686
  /**
778
- * withdraw
1687
+ * xSwapToken
779
1688
  * nonpayable
780
1689
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
781
1690
  */
782
- async withdraw(_asset, _amount, options) {
1691
+ async xSwapToken(dstChain, dstAddress, dstToken, srcToken, amount, cfParameters, options) {
783
1692
  if (!this.contract.write) {
784
1693
  throw new Error('Wallet client is required for write operations');
785
1694
  }
786
- return this.contract.write.withdraw([_asset, _amount], options);
1695
+ return this.contract.write.xSwapToken([dstChain, dstAddress, dstToken, srcToken, amount, cfParameters], options);
787
1696
  }
788
1697
  /**
789
1698
  * Simulate contract write operations (dry-run without sending transaction)
@@ -800,92 +1709,180 @@ class Vault_json {
800
1709
  }
801
1710
  return {
802
1711
  /**
803
- * Simulate acceptOwnership
1712
+ * Simulate addGasNative
1713
+ * Returns gas estimate and result without sending transaction
1714
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1715
+ */
1716
+ async addGasNative(swapID, options) {
1717
+ return contract.simulate.addGasNative([swapID], options);
1718
+ },
1719
+ /**
1720
+ * Simulate addGasToken
1721
+ * Returns gas estimate and result without sending transaction
1722
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1723
+ */
1724
+ async addGasToken(swapID, amount, token, options) {
1725
+ return contract.simulate.addGasToken([swapID, amount, token], options);
1726
+ },
1727
+ /**
1728
+ * Simulate allBatch
1729
+ * Returns gas estimate and result without sending transaction
1730
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1731
+ */
1732
+ async allBatch(sigData, deployFetchParamsArray, fetchParamsArray, transferParamsArray, options) {
1733
+ return contract.simulate.allBatch([sigData, deployFetchParamsArray, fetchParamsArray, transferParamsArray], options);
1734
+ },
1735
+ /**
1736
+ * Simulate allBatchV2
1737
+ * Returns gas estimate and result without sending transaction
1738
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1739
+ */
1740
+ async allBatchV2(sigData, fetchParamsArray, transferParamsArray, options) {
1741
+ return contract.simulate.allBatchV2([sigData, fetchParamsArray, transferParamsArray], options);
1742
+ },
1743
+ /**
1744
+ * Simulate deployAndFetchBatch
804
1745
  * Returns gas estimate and result without sending transaction
805
1746
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
806
1747
  */
807
- async acceptOwnership(options) {
808
- return contract.simulate.acceptOwnership(options);
1748
+ async deployAndFetchBatch(sigData, deployFetchParamsArray, options) {
1749
+ return contract.simulate.deployAndFetchBatch([sigData, deployFetchParamsArray], options);
809
1750
  },
810
1751
  /**
811
- * Simulate addAllowableAsset
1752
+ * Simulate disableCommunityGuard
812
1753
  * Returns gas estimate and result without sending transaction
813
1754
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
814
1755
  */
815
- async addAllowableAsset(_asset, options) {
816
- return contract.simulate.addAllowableAsset([_asset], options);
1756
+ async disableCommunityGuard(options) {
1757
+ return contract.simulate.disableCommunityGuard(options);
817
1758
  },
818
1759
  /**
819
- * Simulate removeAllowableAsset
1760
+ * Simulate enableCommunityGuard
820
1761
  * Returns gas estimate and result without sending transaction
821
1762
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
822
1763
  */
823
- async removeAllowableAsset(_asset, options) {
824
- return contract.simulate.removeAllowableAsset([_asset], options);
1764
+ async enableCommunityGuard(options) {
1765
+ return contract.simulate.enableCommunityGuard(options);
825
1766
  },
826
1767
  /**
827
- * Simulate renounceOwnership
1768
+ * Simulate executeActions
828
1769
  * Returns gas estimate and result without sending transaction
829
1770
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
830
1771
  */
831
- async renounceOwnership(options) {
832
- return contract.simulate.renounceOwnership(options);
1772
+ async executeActions(sigData, transferParams, calls, gasMulticall, options) {
1773
+ return contract.simulate.executeActions([sigData, transferParams, calls, gasMulticall], options);
833
1774
  },
834
1775
  /**
835
- * Simulate rescueERC20
1776
+ * Simulate executexCall
836
1777
  * Returns gas estimate and result without sending transaction
837
1778
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
838
1779
  */
839
- async rescueERC20(tokenContract, to, amount, options) {
840
- return contract.simulate.rescueERC20([tokenContract, to, amount], options);
1780
+ async executexCall(sigData, recipient, srcChain, srcAddress, message, options) {
1781
+ return contract.simulate.executexCall([sigData, recipient, srcChain, srcAddress, message], options);
841
1782
  },
842
1783
  /**
843
- * Simulate rescueETH
1784
+ * Simulate executexSwapAndCall
844
1785
  * Returns gas estimate and result without sending transaction
845
1786
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
846
1787
  */
847
- async rescueETH(to, options) {
848
- return contract.simulate.rescueETH([to], options);
1788
+ async executexSwapAndCall(sigData, transferParams, srcChain, srcAddress, message, options) {
1789
+ return contract.simulate.executexSwapAndCall([sigData, transferParams, srcChain, srcAddress, message], options);
849
1790
  },
850
1791
  /**
851
- * Simulate setRedemption
1792
+ * Simulate fetchBatch
852
1793
  * Returns gas estimate and result without sending transaction
853
1794
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
854
1795
  */
855
- async setRedemption(_newRedemption, options) {
856
- return contract.simulate.setRedemption([_newRedemption], options);
1796
+ async fetchBatch(sigData, fetchParamsArray, options) {
1797
+ return contract.simulate.fetchBatch([sigData, fetchParamsArray], options);
857
1798
  },
858
1799
  /**
859
- * Simulate setStrategyStorage
1800
+ * Simulate govWithdraw
860
1801
  * Returns gas estimate and result without sending transaction
861
1802
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
862
1803
  */
863
- async setStrategyStorage(_newStrategyStorage, options) {
864
- return contract.simulate.setStrategyStorage([_newStrategyStorage], options);
1804
+ async govWithdraw(tokens, options) {
1805
+ return contract.simulate.govWithdraw([tokens], options);
865
1806
  },
866
1807
  /**
867
- * Simulate transferOwnership
1808
+ * Simulate resume
868
1809
  * Returns gas estimate and result without sending transaction
869
1810
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
870
1811
  */
871
- async transferOwnership(newOwner, options) {
872
- return contract.simulate.transferOwnership([newOwner], options);
1812
+ async resume(options) {
1813
+ return contract.simulate.resume(options);
873
1814
  },
874
1815
  /**
875
- * Simulate updateRescuer
1816
+ * Simulate suspend
876
1817
  * Returns gas estimate and result without sending transaction
877
1818
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
878
1819
  */
879
- async updateRescuer(newRescuer, options) {
880
- return contract.simulate.updateRescuer([newRescuer], options);
1820
+ async suspend(options) {
1821
+ return contract.simulate.suspend(options);
881
1822
  },
882
1823
  /**
883
- * Simulate withdraw
1824
+ * Simulate transfer
884
1825
  * Returns gas estimate and result without sending transaction
885
1826
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
886
1827
  */
887
- async withdraw(_asset, _amount, options) {
888
- return contract.simulate.withdraw([_asset, _amount], options);
1828
+ async transfer(sigData, transferParams, options) {
1829
+ return contract.simulate.transfer([sigData, transferParams], options);
1830
+ },
1831
+ /**
1832
+ * Simulate transferBatch
1833
+ * Returns gas estimate and result without sending transaction
1834
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1835
+ */
1836
+ async transferBatch(sigData, transferParamsArray, options) {
1837
+ return contract.simulate.transferBatch([sigData, transferParamsArray], options);
1838
+ },
1839
+ /**
1840
+ * Simulate transferFallback
1841
+ * Returns gas estimate and result without sending transaction
1842
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1843
+ */
1844
+ async transferFallback(sigData, transferParams, options) {
1845
+ return contract.simulate.transferFallback([sigData, transferParams], options);
1846
+ },
1847
+ /**
1848
+ * Simulate updateKeyManager
1849
+ * Returns gas estimate and result without sending transaction
1850
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1851
+ */
1852
+ async updateKeyManager(sigData, keyManager, omitChecks, options) {
1853
+ return contract.simulate.updateKeyManager([sigData, keyManager, omitChecks], options);
1854
+ },
1855
+ /**
1856
+ * Simulate xCallNative
1857
+ * Returns gas estimate and result without sending transaction
1858
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1859
+ */
1860
+ async xCallNative(dstChain, dstAddress, dstToken, message, gasAmount, cfParameters, options) {
1861
+ return contract.simulate.xCallNative([dstChain, dstAddress, dstToken, message, gasAmount, cfParameters], options);
1862
+ },
1863
+ /**
1864
+ * Simulate xCallToken
1865
+ * Returns gas estimate and result without sending transaction
1866
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1867
+ */
1868
+ async xCallToken(dstChain, dstAddress, dstToken, message, gasAmount, srcToken, amount, cfParameters, options) {
1869
+ return contract.simulate.xCallToken([dstChain, dstAddress, dstToken, message, gasAmount, srcToken, amount, cfParameters], options);
1870
+ },
1871
+ /**
1872
+ * Simulate xSwapNative
1873
+ * Returns gas estimate and result without sending transaction
1874
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1875
+ */
1876
+ async xSwapNative(dstChain, dstAddress, dstToken, cfParameters, options) {
1877
+ return contract.simulate.xSwapNative([dstChain, dstAddress, dstToken, cfParameters], options);
1878
+ },
1879
+ /**
1880
+ * Simulate xSwapToken
1881
+ * Returns gas estimate and result without sending transaction
1882
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1883
+ */
1884
+ async xSwapToken(dstChain, dstAddress, dstToken, srcToken, amount, cfParameters, options) {
1885
+ return contract.simulate.xSwapToken([dstChain, dstAddress, dstToken, srcToken, amount, cfParameters], options);
889
1886
  }
890
1887
  };
891
1888
  }
@@ -904,16 +1901,108 @@ class Vault_json {
904
1901
  get watch() {
905
1902
  return {
906
1903
  /**
907
- * Watch AllowableAssetAdded events
1904
+ * Watch AddGasNative events
1905
+ * @param callback Function to call when event is emitted
1906
+ * @param filter Optional filter for indexed parameters
1907
+ * @returns Unwatch function to stop listening
1908
+ */
1909
+ AddGasNative: (callback) => {
1910
+ return this.publicClient.watchContractEvent({
1911
+ address: this.contractAddress,
1912
+ abi: exports.Vault_jsonAbi,
1913
+ eventName: 'AddGasNative',
1914
+ onLogs: (logs) => {
1915
+ logs.forEach((log) => {
1916
+ callback(log.args);
1917
+ });
1918
+ },
1919
+ });
1920
+ },
1921
+ /**
1922
+ * Watch AddGasToken events
1923
+ * @param callback Function to call when event is emitted
1924
+ * @param filter Optional filter for indexed parameters
1925
+ * @returns Unwatch function to stop listening
1926
+ */
1927
+ AddGasToken: (callback) => {
1928
+ return this.publicClient.watchContractEvent({
1929
+ address: this.contractAddress,
1930
+ abi: exports.Vault_jsonAbi,
1931
+ eventName: 'AddGasToken',
1932
+ onLogs: (logs) => {
1933
+ logs.forEach((log) => {
1934
+ callback(log.args);
1935
+ });
1936
+ },
1937
+ });
1938
+ },
1939
+ /**
1940
+ * Watch CommunityGuardDisabled events
1941
+ * @param callback Function to call when event is emitted
1942
+ * @param filter Optional filter for indexed parameters
1943
+ * @returns Unwatch function to stop listening
1944
+ */
1945
+ CommunityGuardDisabled: (callback) => {
1946
+ return this.publicClient.watchContractEvent({
1947
+ address: this.contractAddress,
1948
+ abi: exports.Vault_jsonAbi,
1949
+ eventName: 'CommunityGuardDisabled',
1950
+ onLogs: (logs) => {
1951
+ logs.forEach((log) => {
1952
+ callback(log.args);
1953
+ });
1954
+ },
1955
+ });
1956
+ },
1957
+ /**
1958
+ * Watch ExecuteActionsFailed events
1959
+ * @param callback Function to call when event is emitted
1960
+ * @param filter Optional filter for indexed parameters
1961
+ * @returns Unwatch function to stop listening
1962
+ */
1963
+ ExecuteActionsFailed: (callback, filter) => {
1964
+ return this.publicClient.watchContractEvent({
1965
+ address: this.contractAddress,
1966
+ abi: exports.Vault_jsonAbi,
1967
+ eventName: 'ExecuteActionsFailed',
1968
+ args: filter,
1969
+ onLogs: (logs) => {
1970
+ logs.forEach((log) => {
1971
+ callback(log.args);
1972
+ });
1973
+ },
1974
+ });
1975
+ },
1976
+ /**
1977
+ * Watch FetchedNative events
908
1978
  * @param callback Function to call when event is emitted
909
1979
  * @param filter Optional filter for indexed parameters
910
1980
  * @returns Unwatch function to stop listening
911
1981
  */
912
- AllowableAssetAdded: (callback) => {
1982
+ FetchedNative: (callback, filter) => {
913
1983
  return this.publicClient.watchContractEvent({
914
1984
  address: this.contractAddress,
915
1985
  abi: exports.Vault_jsonAbi,
916
- eventName: 'AllowableAssetAdded',
1986
+ eventName: 'FetchedNative',
1987
+ args: filter,
1988
+ onLogs: (logs) => {
1989
+ logs.forEach((log) => {
1990
+ callback(log.args);
1991
+ });
1992
+ },
1993
+ });
1994
+ },
1995
+ /**
1996
+ * Watch Suspended events
1997
+ * @param callback Function to call when event is emitted
1998
+ * @param filter Optional filter for indexed parameters
1999
+ * @returns Unwatch function to stop listening
2000
+ */
2001
+ Suspended: (callback) => {
2002
+ return this.publicClient.watchContractEvent({
2003
+ address: this.contractAddress,
2004
+ abi: exports.Vault_jsonAbi,
2005
+ eventName: 'Suspended',
917
2006
  onLogs: (logs) => {
918
2007
  logs.forEach((log) => {
919
2008
  callback(log.args);
@@ -922,16 +2011,17 @@ class Vault_json {
922
2011
  });
923
2012
  },
924
2013
  /**
925
- * Watch AllowableAssetRemoved events
2014
+ * Watch SwapNative events
926
2015
  * @param callback Function to call when event is emitted
927
2016
  * @param filter Optional filter for indexed parameters
928
2017
  * @returns Unwatch function to stop listening
929
2018
  */
930
- AllowableAssetRemoved: (callback) => {
2019
+ SwapNative: (callback, filter) => {
931
2020
  return this.publicClient.watchContractEvent({
932
2021
  address: this.contractAddress,
933
2022
  abi: exports.Vault_jsonAbi,
934
- eventName: 'AllowableAssetRemoved',
2023
+ eventName: 'SwapNative',
2024
+ args: filter,
935
2025
  onLogs: (logs) => {
936
2026
  logs.forEach((log) => {
937
2027
  callback(log.args);
@@ -940,16 +2030,16 @@ class Vault_json {
940
2030
  });
941
2031
  },
942
2032
  /**
943
- * Watch OwnershipTransferStarted events
2033
+ * Watch SwapToken events
944
2034
  * @param callback Function to call when event is emitted
945
2035
  * @param filter Optional filter for indexed parameters
946
2036
  * @returns Unwatch function to stop listening
947
2037
  */
948
- OwnershipTransferStarted: (callback, filter) => {
2038
+ SwapToken: (callback, filter) => {
949
2039
  return this.publicClient.watchContractEvent({
950
2040
  address: this.contractAddress,
951
2041
  abi: exports.Vault_jsonAbi,
952
- eventName: 'OwnershipTransferStarted',
2042
+ eventName: 'SwapToken',
953
2043
  args: filter,
954
2044
  onLogs: (logs) => {
955
2045
  logs.forEach((log) => {
@@ -959,16 +2049,16 @@ class Vault_json {
959
2049
  });
960
2050
  },
961
2051
  /**
962
- * Watch OwnershipTransferred events
2052
+ * Watch TransferNativeFailed events
963
2053
  * @param callback Function to call when event is emitted
964
2054
  * @param filter Optional filter for indexed parameters
965
2055
  * @returns Unwatch function to stop listening
966
2056
  */
967
- OwnershipTransferred: (callback, filter) => {
2057
+ TransferNativeFailed: (callback, filter) => {
968
2058
  return this.publicClient.watchContractEvent({
969
2059
  address: this.contractAddress,
970
2060
  abi: exports.Vault_jsonAbi,
971
- eventName: 'OwnershipTransferred',
2061
+ eventName: 'TransferNativeFailed',
972
2062
  args: filter,
973
2063
  onLogs: (logs) => {
974
2064
  logs.forEach((log) => {
@@ -978,16 +2068,16 @@ class Vault_json {
978
2068
  });
979
2069
  },
980
2070
  /**
981
- * Watch RedemptionUpdated events
2071
+ * Watch TransferTokenFailed events
982
2072
  * @param callback Function to call when event is emitted
983
2073
  * @param filter Optional filter for indexed parameters
984
2074
  * @returns Unwatch function to stop listening
985
2075
  */
986
- RedemptionUpdated: (callback, filter) => {
2076
+ TransferTokenFailed: (callback, filter) => {
987
2077
  return this.publicClient.watchContractEvent({
988
2078
  address: this.contractAddress,
989
2079
  abi: exports.Vault_jsonAbi,
990
- eventName: 'RedemptionUpdated',
2080
+ eventName: 'TransferTokenFailed',
991
2081
  args: filter,
992
2082
  onLogs: (logs) => {
993
2083
  logs.forEach((log) => {
@@ -997,16 +2087,34 @@ class Vault_json {
997
2087
  });
998
2088
  },
999
2089
  /**
1000
- * Watch RescuerChanged events
2090
+ * Watch UpdatedKeyManager events
2091
+ * @param callback Function to call when event is emitted
2092
+ * @param filter Optional filter for indexed parameters
2093
+ * @returns Unwatch function to stop listening
2094
+ */
2095
+ UpdatedKeyManager: (callback) => {
2096
+ return this.publicClient.watchContractEvent({
2097
+ address: this.contractAddress,
2098
+ abi: exports.Vault_jsonAbi,
2099
+ eventName: 'UpdatedKeyManager',
2100
+ onLogs: (logs) => {
2101
+ logs.forEach((log) => {
2102
+ callback(log.args);
2103
+ });
2104
+ },
2105
+ });
2106
+ },
2107
+ /**
2108
+ * Watch XCallNative events
1001
2109
  * @param callback Function to call when event is emitted
1002
2110
  * @param filter Optional filter for indexed parameters
1003
2111
  * @returns Unwatch function to stop listening
1004
2112
  */
1005
- RescuerChanged: (callback, filter) => {
2113
+ XCallNative: (callback, filter) => {
1006
2114
  return this.publicClient.watchContractEvent({
1007
2115
  address: this.contractAddress,
1008
2116
  abi: exports.Vault_jsonAbi,
1009
- eventName: 'RescuerChanged',
2117
+ eventName: 'XCallNative',
1010
2118
  args: filter,
1011
2119
  onLogs: (logs) => {
1012
2120
  logs.forEach((log) => {
@@ -1016,16 +2124,16 @@ class Vault_json {
1016
2124
  });
1017
2125
  },
1018
2126
  /**
1019
- * Watch StrategyStorageUpdated events
2127
+ * Watch XCallToken events
1020
2128
  * @param callback Function to call when event is emitted
1021
2129
  * @param filter Optional filter for indexed parameters
1022
2130
  * @returns Unwatch function to stop listening
1023
2131
  */
1024
- StrategyStorageUpdated: (callback, filter) => {
2132
+ XCallToken: (callback, filter) => {
1025
2133
  return this.publicClient.watchContractEvent({
1026
2134
  address: this.contractAddress,
1027
2135
  abi: exports.Vault_jsonAbi,
1028
- eventName: 'StrategyStorageUpdated',
2136
+ eventName: 'XCallToken',
1029
2137
  args: filter,
1030
2138
  onLogs: (logs) => {
1031
2139
  logs.forEach((log) => {