@gitmyabi/sttao 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3436 @@
1
+ import type { Address, PublicClient, WalletClient } from 'viem';
2
+ /**
3
+ * PlxTAO.UserRequest struct type
4
+ */
5
+ export type PlxTAO_UserRequest = {
6
+ user: `0x${string}`;
7
+ requestIndex: bigint;
8
+ };
9
+ /**
10
+ * PlxTAO.UnstakeRequest struct type
11
+ */
12
+ export type PlxTAO_UnstakeRequest = {
13
+ amount: bigint;
14
+ taoAmt: bigint;
15
+ isReadyForUnstake: boolean;
16
+ wrappedToken: `0x${string}`;
17
+ timestamp: bigint;
18
+ };
19
+ /**
20
+ * PlxTAO_json ABI
21
+ *
22
+ * This ABI is typed using viem's type system for full type safety.
23
+ */
24
+ export declare const PlxTAO_jsonAbi: readonly [{
25
+ readonly inputs: readonly [];
26
+ readonly stateMutability: "nonpayable";
27
+ readonly type: "constructor";
28
+ }, {
29
+ readonly inputs: readonly [];
30
+ readonly name: "AccessControlBadConfirmation";
31
+ readonly type: "error";
32
+ }, {
33
+ readonly inputs: readonly [{
34
+ readonly internalType: "address";
35
+ readonly name: "account";
36
+ readonly type: "address";
37
+ }, {
38
+ readonly internalType: "bytes32";
39
+ readonly name: "neededRole";
40
+ readonly type: "bytes32";
41
+ }];
42
+ readonly name: "AccessControlUnauthorizedAccount";
43
+ readonly type: "error";
44
+ }, {
45
+ readonly inputs: readonly [{
46
+ readonly internalType: "address";
47
+ readonly name: "target";
48
+ readonly type: "address";
49
+ }];
50
+ readonly name: "AddressEmptyCode";
51
+ readonly type: "error";
52
+ }, {
53
+ readonly inputs: readonly [{
54
+ readonly internalType: "address";
55
+ readonly name: "account";
56
+ readonly type: "address";
57
+ }];
58
+ readonly name: "AddressInsufficientBalance";
59
+ readonly type: "error";
60
+ }, {
61
+ readonly inputs: readonly [{
62
+ readonly internalType: "address";
63
+ readonly name: "spender";
64
+ readonly type: "address";
65
+ }, {
66
+ readonly internalType: "uint256";
67
+ readonly name: "allowance";
68
+ readonly type: "uint256";
69
+ }, {
70
+ readonly internalType: "uint256";
71
+ readonly name: "needed";
72
+ readonly type: "uint256";
73
+ }];
74
+ readonly name: "ERC20InsufficientAllowance";
75
+ readonly type: "error";
76
+ }, {
77
+ readonly inputs: readonly [{
78
+ readonly internalType: "address";
79
+ readonly name: "sender";
80
+ readonly type: "address";
81
+ }, {
82
+ readonly internalType: "uint256";
83
+ readonly name: "balance";
84
+ readonly type: "uint256";
85
+ }, {
86
+ readonly internalType: "uint256";
87
+ readonly name: "needed";
88
+ readonly type: "uint256";
89
+ }];
90
+ readonly name: "ERC20InsufficientBalance";
91
+ readonly type: "error";
92
+ }, {
93
+ readonly inputs: readonly [{
94
+ readonly internalType: "address";
95
+ readonly name: "approver";
96
+ readonly type: "address";
97
+ }];
98
+ readonly name: "ERC20InvalidApprover";
99
+ readonly type: "error";
100
+ }, {
101
+ readonly inputs: readonly [{
102
+ readonly internalType: "address";
103
+ readonly name: "receiver";
104
+ readonly type: "address";
105
+ }];
106
+ readonly name: "ERC20InvalidReceiver";
107
+ readonly type: "error";
108
+ }, {
109
+ readonly inputs: readonly [{
110
+ readonly internalType: "address";
111
+ readonly name: "sender";
112
+ readonly type: "address";
113
+ }];
114
+ readonly name: "ERC20InvalidSender";
115
+ readonly type: "error";
116
+ }, {
117
+ readonly inputs: readonly [{
118
+ readonly internalType: "address";
119
+ readonly name: "spender";
120
+ readonly type: "address";
121
+ }];
122
+ readonly name: "ERC20InvalidSpender";
123
+ readonly type: "error";
124
+ }, {
125
+ readonly inputs: readonly [];
126
+ readonly name: "FailedInnerCall";
127
+ readonly type: "error";
128
+ }, {
129
+ readonly inputs: readonly [];
130
+ readonly name: "InvalidInitialization";
131
+ readonly type: "error";
132
+ }, {
133
+ readonly inputs: readonly [];
134
+ readonly name: "NotInitializing";
135
+ readonly type: "error";
136
+ }, {
137
+ readonly inputs: readonly [{
138
+ readonly internalType: "address";
139
+ readonly name: "owner";
140
+ readonly type: "address";
141
+ }];
142
+ readonly name: "OwnableInvalidOwner";
143
+ readonly type: "error";
144
+ }, {
145
+ readonly inputs: readonly [{
146
+ readonly internalType: "address";
147
+ readonly name: "account";
148
+ readonly type: "address";
149
+ }];
150
+ readonly name: "OwnableUnauthorizedAccount";
151
+ readonly type: "error";
152
+ }, {
153
+ readonly inputs: readonly [];
154
+ readonly name: "ReentrancyGuardReentrantCall";
155
+ readonly type: "error";
156
+ }, {
157
+ readonly inputs: readonly [{
158
+ readonly internalType: "address";
159
+ readonly name: "token";
160
+ readonly type: "address";
161
+ }];
162
+ readonly name: "SafeERC20FailedOperation";
163
+ readonly type: "error";
164
+ }, {
165
+ readonly anonymous: false;
166
+ readonly inputs: readonly [{
167
+ readonly indexed: true;
168
+ readonly internalType: "address";
169
+ readonly name: "user";
170
+ readonly type: "address";
171
+ }, {
172
+ readonly indexed: false;
173
+ readonly internalType: "uint256";
174
+ readonly name: "idx";
175
+ readonly type: "uint256";
176
+ }, {
177
+ readonly indexed: false;
178
+ readonly internalType: "uint256";
179
+ readonly name: "approvedTimestamp";
180
+ readonly type: "uint256";
181
+ }];
182
+ readonly name: "AdminUnstakeApproved";
183
+ readonly type: "event";
184
+ }, {
185
+ readonly anonymous: false;
186
+ readonly inputs: readonly [{
187
+ readonly indexed: true;
188
+ readonly internalType: "address";
189
+ readonly name: "owner";
190
+ readonly type: "address";
191
+ }, {
192
+ readonly indexed: true;
193
+ readonly internalType: "address";
194
+ readonly name: "spender";
195
+ readonly type: "address";
196
+ }, {
197
+ readonly indexed: false;
198
+ readonly internalType: "uint256";
199
+ readonly name: "value";
200
+ readonly type: "uint256";
201
+ }];
202
+ readonly name: "Approval";
203
+ readonly type: "event";
204
+ }, {
205
+ readonly anonymous: false;
206
+ readonly inputs: readonly [{
207
+ readonly indexed: false;
208
+ readonly internalType: "bool";
209
+ readonly name: "paused";
210
+ readonly type: "bool";
211
+ }];
212
+ readonly name: "ContractPaused";
213
+ readonly type: "event";
214
+ }, {
215
+ readonly anonymous: false;
216
+ readonly inputs: readonly [{
217
+ readonly indexed: false;
218
+ readonly internalType: "address";
219
+ readonly name: "tokenAddress";
220
+ readonly type: "address";
221
+ }, {
222
+ readonly indexed: false;
223
+ readonly internalType: "address";
224
+ readonly name: "to";
225
+ readonly type: "address";
226
+ }, {
227
+ readonly indexed: false;
228
+ readonly internalType: "uint256";
229
+ readonly name: "amount";
230
+ readonly type: "uint256";
231
+ }];
232
+ readonly name: "ERC20TokenPulled";
233
+ readonly type: "event";
234
+ }, {
235
+ readonly anonymous: false;
236
+ readonly inputs: readonly [{
237
+ readonly indexed: false;
238
+ readonly internalType: "uint64";
239
+ readonly name: "version";
240
+ readonly type: "uint64";
241
+ }];
242
+ readonly name: "Initialized";
243
+ readonly type: "event";
244
+ }, {
245
+ readonly anonymous: false;
246
+ readonly inputs: readonly [{
247
+ readonly indexed: false;
248
+ readonly internalType: "uint256";
249
+ readonly name: "newLowerBound";
250
+ readonly type: "uint256";
251
+ }];
252
+ readonly name: "LowerBoundUpdated";
253
+ readonly type: "event";
254
+ }, {
255
+ readonly anonymous: false;
256
+ readonly inputs: readonly [{
257
+ readonly indexed: false;
258
+ readonly internalType: "address";
259
+ readonly name: "to";
260
+ readonly type: "address";
261
+ }, {
262
+ readonly indexed: false;
263
+ readonly internalType: "uint256";
264
+ readonly name: "amount";
265
+ readonly type: "uint256";
266
+ }];
267
+ readonly name: "NativeTokenPulled";
268
+ readonly type: "event";
269
+ }, {
270
+ readonly anonymous: false;
271
+ readonly inputs: readonly [{
272
+ readonly indexed: true;
273
+ readonly internalType: "address";
274
+ readonly name: "previousOwner";
275
+ readonly type: "address";
276
+ }, {
277
+ readonly indexed: true;
278
+ readonly internalType: "address";
279
+ readonly name: "newOwner";
280
+ readonly type: "address";
281
+ }];
282
+ readonly name: "OwnershipTransferStarted";
283
+ readonly type: "event";
284
+ }, {
285
+ readonly anonymous: false;
286
+ readonly inputs: readonly [{
287
+ readonly indexed: true;
288
+ readonly internalType: "address";
289
+ readonly name: "previousOwner";
290
+ readonly type: "address";
291
+ }, {
292
+ readonly indexed: true;
293
+ readonly internalType: "address";
294
+ readonly name: "newOwner";
295
+ readonly type: "address";
296
+ }];
297
+ readonly name: "OwnershipTransferred";
298
+ readonly type: "event";
299
+ }, {
300
+ readonly anonymous: false;
301
+ readonly inputs: readonly [{
302
+ readonly indexed: true;
303
+ readonly internalType: "bytes32";
304
+ readonly name: "role";
305
+ readonly type: "bytes32";
306
+ }, {
307
+ readonly indexed: true;
308
+ readonly internalType: "bytes32";
309
+ readonly name: "previousAdminRole";
310
+ readonly type: "bytes32";
311
+ }, {
312
+ readonly indexed: true;
313
+ readonly internalType: "bytes32";
314
+ readonly name: "newAdminRole";
315
+ readonly type: "bytes32";
316
+ }];
317
+ readonly name: "RoleAdminChanged";
318
+ readonly type: "event";
319
+ }, {
320
+ readonly anonymous: false;
321
+ readonly inputs: readonly [{
322
+ readonly indexed: true;
323
+ readonly internalType: "bytes32";
324
+ readonly name: "role";
325
+ readonly type: "bytes32";
326
+ }, {
327
+ readonly indexed: true;
328
+ readonly internalType: "address";
329
+ readonly name: "account";
330
+ readonly type: "address";
331
+ }, {
332
+ readonly indexed: true;
333
+ readonly internalType: "address";
334
+ readonly name: "sender";
335
+ readonly type: "address";
336
+ }];
337
+ readonly name: "RoleGranted";
338
+ readonly type: "event";
339
+ }, {
340
+ readonly anonymous: false;
341
+ readonly inputs: readonly [{
342
+ readonly indexed: true;
343
+ readonly internalType: "bytes32";
344
+ readonly name: "role";
345
+ readonly type: "bytes32";
346
+ }, {
347
+ readonly indexed: true;
348
+ readonly internalType: "address";
349
+ readonly name: "account";
350
+ readonly type: "address";
351
+ }, {
352
+ readonly indexed: true;
353
+ readonly internalType: "address";
354
+ readonly name: "sender";
355
+ readonly type: "address";
356
+ }];
357
+ readonly name: "RoleRevoked";
358
+ readonly type: "event";
359
+ }, {
360
+ readonly anonymous: false;
361
+ readonly inputs: readonly [{
362
+ readonly indexed: true;
363
+ readonly internalType: "address";
364
+ readonly name: "from";
365
+ readonly type: "address";
366
+ }, {
367
+ readonly indexed: true;
368
+ readonly internalType: "address";
369
+ readonly name: "to";
370
+ readonly type: "address";
371
+ }, {
372
+ readonly indexed: false;
373
+ readonly internalType: "uint256";
374
+ readonly name: "value";
375
+ readonly type: "uint256";
376
+ }];
377
+ readonly name: "Transfer";
378
+ readonly type: "event";
379
+ }, {
380
+ readonly anonymous: false;
381
+ readonly inputs: readonly [{
382
+ readonly indexed: false;
383
+ readonly internalType: "uint256";
384
+ readonly name: "bridgingFee";
385
+ readonly type: "uint256";
386
+ }];
387
+ readonly name: "UpdateBridgeFee";
388
+ readonly type: "event";
389
+ }, {
390
+ readonly anonymous: false;
391
+ readonly inputs: readonly [{
392
+ readonly indexed: false;
393
+ readonly internalType: "uint256";
394
+ readonly name: "bridgePercentFee";
395
+ readonly type: "uint256";
396
+ }];
397
+ readonly name: "UpdateBridgePercentFee";
398
+ readonly type: "event";
399
+ }, {
400
+ readonly anonymous: false;
401
+ readonly inputs: readonly [{
402
+ readonly indexed: false;
403
+ readonly internalType: "address";
404
+ readonly name: "bridgeWrapper";
405
+ readonly type: "address";
406
+ }];
407
+ readonly name: "UpdateBridgeWrapper";
408
+ readonly type: "event";
409
+ }, {
410
+ readonly anonymous: false;
411
+ readonly inputs: readonly [{
412
+ readonly indexed: false;
413
+ readonly internalType: "uint256";
414
+ readonly name: "newRate";
415
+ readonly type: "uint256";
416
+ }];
417
+ readonly name: "UpdateExchangeRate";
418
+ readonly type: "event";
419
+ }, {
420
+ readonly anonymous: false;
421
+ readonly inputs: readonly [{
422
+ readonly indexed: false;
423
+ readonly internalType: "uint256";
424
+ readonly name: "maxDepositPerRequest";
425
+ readonly type: "uint256";
426
+ }];
427
+ readonly name: "UpdateMaxDepositPerRequest";
428
+ readonly type: "event";
429
+ }, {
430
+ readonly anonymous: false;
431
+ readonly inputs: readonly [{
432
+ readonly indexed: false;
433
+ readonly internalType: "uint256";
434
+ readonly name: "newMaxSupply";
435
+ readonly type: "uint256";
436
+ }];
437
+ readonly name: "UpdateMaxSupply";
438
+ readonly type: "event";
439
+ }, {
440
+ readonly anonymous: false;
441
+ readonly inputs: readonly [{
442
+ readonly indexed: false;
443
+ readonly internalType: "uint256";
444
+ readonly name: "maxUnstakeRequests";
445
+ readonly type: "uint256";
446
+ }];
447
+ readonly name: "UpdateMaxUnstakeRequest";
448
+ readonly type: "event";
449
+ }, {
450
+ readonly anonymous: false;
451
+ readonly inputs: readonly [{
452
+ readonly indexed: false;
453
+ readonly internalType: "uint256";
454
+ readonly name: "minStakingAmt";
455
+ readonly type: "uint256";
456
+ }];
457
+ readonly name: "UpdateMinStakingAmt";
458
+ readonly type: "event";
459
+ }, {
460
+ readonly anonymous: false;
461
+ readonly inputs: readonly [{
462
+ readonly indexed: false;
463
+ readonly internalType: "string";
464
+ readonly name: "newNativeWalletReceiver";
465
+ readonly type: "string";
466
+ }];
467
+ readonly name: "UpdateNativeFinneyReceiver";
468
+ readonly type: "event";
469
+ }, {
470
+ readonly anonymous: false;
471
+ readonly inputs: readonly [{
472
+ readonly indexed: false;
473
+ readonly internalType: "address";
474
+ readonly name: "newProtocolVault";
475
+ readonly type: "address";
476
+ }];
477
+ readonly name: "UpdateProtocolVault";
478
+ readonly type: "event";
479
+ }, {
480
+ readonly anonymous: false;
481
+ readonly inputs: readonly [{
482
+ readonly indexed: false;
483
+ readonly internalType: "uint256";
484
+ readonly name: "serviceFee";
485
+ readonly type: "uint256";
486
+ }];
487
+ readonly name: "UpdateServiceFee";
488
+ readonly type: "event";
489
+ }, {
490
+ readonly anonymous: false;
491
+ readonly inputs: readonly [{
492
+ readonly indexed: false;
493
+ readonly internalType: "uint256";
494
+ readonly name: "stakingFee";
495
+ readonly type: "uint256";
496
+ }];
497
+ readonly name: "UpdateStakingFee";
498
+ readonly type: "event";
499
+ }, {
500
+ readonly anonymous: false;
501
+ readonly inputs: readonly [{
502
+ readonly indexed: false;
503
+ readonly internalType: "uint256";
504
+ readonly name: "newUnstakingFee";
505
+ readonly type: "uint256";
506
+ }];
507
+ readonly name: "UpdateUnstakingFee";
508
+ readonly type: "event";
509
+ }, {
510
+ readonly anonymous: false;
511
+ readonly inputs: readonly [{
512
+ readonly indexed: false;
513
+ readonly internalType: "address";
514
+ readonly name: "newWTAO";
515
+ readonly type: "address";
516
+ }];
517
+ readonly name: "UpdateWTao";
518
+ readonly type: "event";
519
+ }, {
520
+ readonly anonymous: false;
521
+ readonly inputs: readonly [{
522
+ readonly indexed: false;
523
+ readonly internalType: "address";
524
+ readonly name: "withdrawalManager";
525
+ readonly type: "address";
526
+ }];
527
+ readonly name: "UpdateWithdrawalManager";
528
+ readonly type: "event";
529
+ }, {
530
+ readonly anonymous: false;
531
+ readonly inputs: readonly [{
532
+ readonly indexed: false;
533
+ readonly internalType: "uint256";
534
+ readonly name: "newUpperBound";
535
+ readonly type: "uint256";
536
+ }];
537
+ readonly name: "UpperBoundUpdated";
538
+ readonly type: "event";
539
+ }, {
540
+ readonly anonymous: false;
541
+ readonly inputs: readonly [{
542
+ readonly indexed: true;
543
+ readonly internalType: "address";
544
+ readonly name: "user";
545
+ readonly type: "address";
546
+ }, {
547
+ readonly indexed: false;
548
+ readonly internalType: "uint256";
549
+ readonly name: "stakeTimestamp";
550
+ readonly type: "uint256";
551
+ }, {
552
+ readonly indexed: false;
553
+ readonly internalType: "uint256";
554
+ readonly name: "inTaoAmt";
555
+ readonly type: "uint256";
556
+ }, {
557
+ readonly indexed: false;
558
+ readonly internalType: "uint256";
559
+ readonly name: "wstAmount";
560
+ readonly type: "uint256";
561
+ }];
562
+ readonly name: "UserStake";
563
+ readonly type: "event";
564
+ }, {
565
+ readonly anonymous: false;
566
+ readonly inputs: readonly [{
567
+ readonly indexed: true;
568
+ readonly internalType: "address";
569
+ readonly name: "user";
570
+ readonly type: "address";
571
+ }, {
572
+ readonly indexed: false;
573
+ readonly internalType: "uint256";
574
+ readonly name: "idx";
575
+ readonly type: "uint256";
576
+ }, {
577
+ readonly indexed: false;
578
+ readonly internalType: "uint256";
579
+ readonly name: "unstakeTimestamp";
580
+ readonly type: "uint256";
581
+ }];
582
+ readonly name: "UserUnstake";
583
+ readonly type: "event";
584
+ }, {
585
+ readonly anonymous: false;
586
+ readonly inputs: readonly [{
587
+ readonly indexed: true;
588
+ readonly internalType: "address";
589
+ readonly name: "user";
590
+ readonly type: "address";
591
+ }, {
592
+ readonly indexed: false;
593
+ readonly internalType: "uint256";
594
+ readonly name: "idx";
595
+ readonly type: "uint256";
596
+ }, {
597
+ readonly indexed: false;
598
+ readonly internalType: "uint256";
599
+ readonly name: "requestTimestamp";
600
+ readonly type: "uint256";
601
+ }, {
602
+ readonly indexed: false;
603
+ readonly internalType: "uint256";
604
+ readonly name: "wstAmount";
605
+ readonly type: "uint256";
606
+ }, {
607
+ readonly indexed: false;
608
+ readonly internalType: "uint256";
609
+ readonly name: "outTaoAmt";
610
+ readonly type: "uint256";
611
+ }, {
612
+ readonly indexed: false;
613
+ readonly internalType: "address";
614
+ readonly name: "wrappedToken";
615
+ readonly type: "address";
616
+ }];
617
+ readonly name: "UserUnstakeRequested";
618
+ readonly type: "event";
619
+ }, {
620
+ readonly inputs: readonly [];
621
+ readonly name: "APPROVE_WITHDRAWAL_ROLE";
622
+ readonly outputs: readonly [{
623
+ readonly internalType: "bytes32";
624
+ readonly name: "";
625
+ readonly type: "bytes32";
626
+ }];
627
+ readonly stateMutability: "view";
628
+ readonly type: "function";
629
+ }, {
630
+ readonly inputs: readonly [];
631
+ readonly name: "BITTENSOR_CHAINID";
632
+ readonly outputs: readonly [{
633
+ readonly internalType: "uint16";
634
+ readonly name: "";
635
+ readonly type: "uint16";
636
+ }];
637
+ readonly stateMutability: "view";
638
+ readonly type: "function";
639
+ }, {
640
+ readonly inputs: readonly [];
641
+ readonly name: "BITTENSOR_TOKEN_ADDRESS";
642
+ readonly outputs: readonly [{
643
+ readonly internalType: "string";
644
+ readonly name: "";
645
+ readonly type: "string";
646
+ }];
647
+ readonly stateMutability: "view";
648
+ readonly type: "function";
649
+ }, {
650
+ readonly inputs: readonly [];
651
+ readonly name: "DEFAULT_ADMIN_ROLE";
652
+ readonly outputs: readonly [{
653
+ readonly internalType: "bytes32";
654
+ readonly name: "";
655
+ readonly type: "bytes32";
656
+ }];
657
+ readonly stateMutability: "view";
658
+ readonly type: "function";
659
+ }, {
660
+ readonly inputs: readonly [];
661
+ readonly name: "EXCHANGE_UPDATE_ROLE";
662
+ readonly outputs: readonly [{
663
+ readonly internalType: "bytes32";
664
+ readonly name: "";
665
+ readonly type: "bytes32";
666
+ }];
667
+ readonly stateMutability: "view";
668
+ readonly type: "function";
669
+ }, {
670
+ readonly inputs: readonly [];
671
+ readonly name: "MANAGE_STAKING_CONFIG_ROLE";
672
+ readonly outputs: readonly [{
673
+ readonly internalType: "bytes32";
674
+ readonly name: "";
675
+ readonly type: "bytes32";
676
+ }];
677
+ readonly stateMutability: "view";
678
+ readonly type: "function";
679
+ }, {
680
+ readonly inputs: readonly [];
681
+ readonly name: "ONE_THOUSAND";
682
+ readonly outputs: readonly [{
683
+ readonly internalType: "uint256";
684
+ readonly name: "";
685
+ readonly type: "uint256";
686
+ }];
687
+ readonly stateMutability: "view";
688
+ readonly type: "function";
689
+ }, {
690
+ readonly inputs: readonly [];
691
+ readonly name: "PAUSE_ROLE";
692
+ readonly outputs: readonly [{
693
+ readonly internalType: "bytes32";
694
+ readonly name: "";
695
+ readonly type: "bytes32";
696
+ }];
697
+ readonly stateMutability: "view";
698
+ readonly type: "function";
699
+ }, {
700
+ readonly inputs: readonly [];
701
+ readonly name: "TOKEN_SAFE_PULL_ROLE";
702
+ readonly outputs: readonly [{
703
+ readonly internalType: "bytes32";
704
+ readonly name: "";
705
+ readonly type: "bytes32";
706
+ }];
707
+ readonly stateMutability: "view";
708
+ readonly type: "function";
709
+ }, {
710
+ readonly inputs: readonly [];
711
+ readonly name: "acceptOwnership";
712
+ readonly outputs: readonly [];
713
+ readonly stateMutability: "nonpayable";
714
+ readonly type: "function";
715
+ }, {
716
+ readonly inputs: readonly [{
717
+ readonly internalType: "address";
718
+ readonly name: "owner";
719
+ readonly type: "address";
720
+ }, {
721
+ readonly internalType: "address";
722
+ readonly name: "spender";
723
+ readonly type: "address";
724
+ }];
725
+ readonly name: "allowance";
726
+ readonly outputs: readonly [{
727
+ readonly internalType: "uint256";
728
+ readonly name: "";
729
+ readonly type: "uint256";
730
+ }];
731
+ readonly stateMutability: "view";
732
+ readonly type: "function";
733
+ }, {
734
+ readonly inputs: readonly [{
735
+ readonly internalType: "address";
736
+ readonly name: "spender";
737
+ readonly type: "address";
738
+ }, {
739
+ readonly internalType: "uint256";
740
+ readonly name: "value";
741
+ readonly type: "uint256";
742
+ }];
743
+ readonly name: "approve";
744
+ readonly outputs: readonly [{
745
+ readonly internalType: "bool";
746
+ readonly name: "";
747
+ readonly type: "bool";
748
+ }];
749
+ readonly stateMutability: "nonpayable";
750
+ readonly type: "function";
751
+ }, {
752
+ readonly inputs: readonly [{
753
+ readonly components: readonly [{
754
+ readonly internalType: "address";
755
+ readonly name: "user";
756
+ readonly type: "address";
757
+ }, {
758
+ readonly internalType: "uint256";
759
+ readonly name: "requestIndex";
760
+ readonly type: "uint256";
761
+ }];
762
+ readonly internalType: "struct PlxTAO.UserRequest[]";
763
+ readonly name: "requests";
764
+ readonly type: "tuple[]";
765
+ }];
766
+ readonly name: "approveMultipleUnstakes";
767
+ readonly outputs: readonly [];
768
+ readonly stateMutability: "nonpayable";
769
+ readonly type: "function";
770
+ }, {
771
+ readonly inputs: readonly [{
772
+ readonly internalType: "address";
773
+ readonly name: "account";
774
+ readonly type: "address";
775
+ }];
776
+ readonly name: "balanceOf";
777
+ readonly outputs: readonly [{
778
+ readonly internalType: "uint256";
779
+ readonly name: "";
780
+ readonly type: "uint256";
781
+ }];
782
+ readonly stateMutability: "view";
783
+ readonly type: "function";
784
+ }, {
785
+ readonly inputs: readonly [{
786
+ readonly components: readonly [{
787
+ readonly internalType: "address";
788
+ readonly name: "user";
789
+ readonly type: "address";
790
+ }, {
791
+ readonly internalType: "uint256";
792
+ readonly name: "requestIndex";
793
+ readonly type: "uint256";
794
+ }];
795
+ readonly internalType: "struct PlxTAO.UserRequest[]";
796
+ readonly name: "requests";
797
+ readonly type: "tuple[]";
798
+ }];
799
+ readonly name: "batchInternalFulfillUnstaking";
800
+ readonly outputs: readonly [];
801
+ readonly stateMutability: "nonpayable";
802
+ readonly type: "function";
803
+ }, {
804
+ readonly inputs: readonly [];
805
+ readonly name: "batchTAOAmt";
806
+ readonly outputs: readonly [{
807
+ readonly internalType: "uint256";
808
+ readonly name: "";
809
+ readonly type: "uint256";
810
+ }];
811
+ readonly stateMutability: "view";
812
+ readonly type: "function";
813
+ }, {
814
+ readonly inputs: readonly [{
815
+ readonly internalType: "uint256";
816
+ readonly name: "amount";
817
+ readonly type: "uint256";
818
+ }];
819
+ readonly name: "batchTransferBridgeBack";
820
+ readonly outputs: readonly [];
821
+ readonly stateMutability: "nonpayable";
822
+ readonly type: "function";
823
+ }, {
824
+ readonly inputs: readonly [];
825
+ readonly name: "bridgePercentFee";
826
+ readonly outputs: readonly [{
827
+ readonly internalType: "uint256";
828
+ readonly name: "";
829
+ readonly type: "uint256";
830
+ }];
831
+ readonly stateMutability: "view";
832
+ readonly type: "function";
833
+ }, {
834
+ readonly inputs: readonly [];
835
+ readonly name: "bridgeWrapper";
836
+ readonly outputs: readonly [{
837
+ readonly internalType: "contract IBridgeWrapper";
838
+ readonly name: "";
839
+ readonly type: "address";
840
+ }];
841
+ readonly stateMutability: "view";
842
+ readonly type: "function";
843
+ }, {
844
+ readonly inputs: readonly [];
845
+ readonly name: "bridgingFee";
846
+ readonly outputs: readonly [{
847
+ readonly internalType: "uint256";
848
+ readonly name: "";
849
+ readonly type: "uint256";
850
+ }];
851
+ readonly stateMutability: "view";
852
+ readonly type: "function";
853
+ }, {
854
+ readonly inputs: readonly [{
855
+ readonly internalType: "uint256";
856
+ readonly name: "wtaoAmount";
857
+ readonly type: "uint256";
858
+ }];
859
+ readonly name: "calculateAmtAfterFee";
860
+ readonly outputs: readonly [{
861
+ readonly internalType: "uint256";
862
+ readonly name: "";
863
+ readonly type: "uint256";
864
+ }, {
865
+ readonly internalType: "uint256";
866
+ readonly name: "";
867
+ readonly type: "uint256";
868
+ }];
869
+ readonly stateMutability: "view";
870
+ readonly type: "function";
871
+ }, {
872
+ readonly inputs: readonly [];
873
+ readonly name: "decimals";
874
+ readonly outputs: readonly [{
875
+ readonly internalType: "uint8";
876
+ readonly name: "";
877
+ readonly type: "uint8";
878
+ }];
879
+ readonly stateMutability: "view";
880
+ readonly type: "function";
881
+ }, {
882
+ readonly inputs: readonly [];
883
+ readonly name: "exchangeRate";
884
+ readonly outputs: readonly [{
885
+ readonly internalType: "uint256";
886
+ readonly name: "";
887
+ readonly type: "uint256";
888
+ }];
889
+ readonly stateMutability: "view";
890
+ readonly type: "function";
891
+ }, {
892
+ readonly inputs: readonly [{
893
+ readonly internalType: "bytes32";
894
+ readonly name: "role";
895
+ readonly type: "bytes32";
896
+ }];
897
+ readonly name: "getRoleAdmin";
898
+ readonly outputs: readonly [{
899
+ readonly internalType: "bytes32";
900
+ readonly name: "";
901
+ readonly type: "bytes32";
902
+ }];
903
+ readonly stateMutability: "view";
904
+ readonly type: "function";
905
+ }, {
906
+ readonly inputs: readonly [{
907
+ readonly internalType: "address";
908
+ readonly name: "user";
909
+ readonly type: "address";
910
+ }];
911
+ readonly name: "getUnstakeRequestByUser";
912
+ readonly outputs: readonly [{
913
+ readonly components: readonly [{
914
+ readonly internalType: "uint256";
915
+ readonly name: "amount";
916
+ readonly type: "uint256";
917
+ }, {
918
+ readonly internalType: "uint256";
919
+ readonly name: "taoAmt";
920
+ readonly type: "uint256";
921
+ }, {
922
+ readonly internalType: "bool";
923
+ readonly name: "isReadyForUnstake";
924
+ readonly type: "bool";
925
+ }, {
926
+ readonly internalType: "address";
927
+ readonly name: "wrappedToken";
928
+ readonly type: "address";
929
+ }, {
930
+ readonly internalType: "uint256";
931
+ readonly name: "timestamp";
932
+ readonly type: "uint256";
933
+ }];
934
+ readonly internalType: "struct PlxTAO.UnstakeRequest[]";
935
+ readonly name: "";
936
+ readonly type: "tuple[]";
937
+ }];
938
+ readonly stateMutability: "view";
939
+ readonly type: "function";
940
+ }, {
941
+ readonly inputs: readonly [{
942
+ readonly internalType: "uint256";
943
+ readonly name: "wstTaoAmount";
944
+ readonly type: "uint256";
945
+ }];
946
+ readonly name: "getWTAOByWstTAO";
947
+ readonly outputs: readonly [{
948
+ readonly internalType: "uint256";
949
+ readonly name: "";
950
+ readonly type: "uint256";
951
+ }];
952
+ readonly stateMutability: "view";
953
+ readonly type: "function";
954
+ }, {
955
+ readonly inputs: readonly [{
956
+ readonly internalType: "uint256";
957
+ readonly name: "wstTaoAmount";
958
+ readonly type: "uint256";
959
+ }];
960
+ readonly name: "getWTAOByWstTAOAfterFee";
961
+ readonly outputs: readonly [{
962
+ readonly internalType: "uint256";
963
+ readonly name: "";
964
+ readonly type: "uint256";
965
+ }];
966
+ readonly stateMutability: "view";
967
+ readonly type: "function";
968
+ }, {
969
+ readonly inputs: readonly [{
970
+ readonly internalType: "uint256";
971
+ readonly name: "wtaoAmount";
972
+ readonly type: "uint256";
973
+ }];
974
+ readonly name: "getWstTAObyWTAO";
975
+ readonly outputs: readonly [{
976
+ readonly internalType: "uint256";
977
+ readonly name: "";
978
+ readonly type: "uint256";
979
+ }];
980
+ readonly stateMutability: "view";
981
+ readonly type: "function";
982
+ }, {
983
+ readonly inputs: readonly [{
984
+ readonly internalType: "bytes32";
985
+ readonly name: "role";
986
+ readonly type: "bytes32";
987
+ }, {
988
+ readonly internalType: "address";
989
+ readonly name: "account";
990
+ readonly type: "address";
991
+ }];
992
+ readonly name: "grantRole";
993
+ readonly outputs: readonly [];
994
+ readonly stateMutability: "nonpayable";
995
+ readonly type: "function";
996
+ }, {
997
+ readonly inputs: readonly [{
998
+ readonly internalType: "bytes32";
999
+ readonly name: "role";
1000
+ readonly type: "bytes32";
1001
+ }, {
1002
+ readonly internalType: "address";
1003
+ readonly name: "account";
1004
+ readonly type: "address";
1005
+ }];
1006
+ readonly name: "hasRole";
1007
+ readonly outputs: readonly [{
1008
+ readonly internalType: "bool";
1009
+ readonly name: "";
1010
+ readonly type: "bool";
1011
+ }];
1012
+ readonly stateMutability: "view";
1013
+ readonly type: "function";
1014
+ }, {
1015
+ readonly inputs: readonly [{
1016
+ readonly internalType: "address";
1017
+ readonly name: "initialOwner";
1018
+ readonly type: "address";
1019
+ }, {
1020
+ readonly internalType: "uint256";
1021
+ readonly name: "initialSupply";
1022
+ readonly type: "uint256";
1023
+ }];
1024
+ readonly name: "initialize";
1025
+ readonly outputs: readonly [];
1026
+ readonly stateMutability: "nonpayable";
1027
+ readonly type: "function";
1028
+ }, {
1029
+ readonly inputs: readonly [];
1030
+ readonly name: "isPaused";
1031
+ readonly outputs: readonly [{
1032
+ readonly internalType: "bool";
1033
+ readonly name: "";
1034
+ readonly type: "bool";
1035
+ }];
1036
+ readonly stateMutability: "view";
1037
+ readonly type: "function";
1038
+ }, {
1039
+ readonly inputs: readonly [];
1040
+ readonly name: "lowerExchangeRateBound";
1041
+ readonly outputs: readonly [{
1042
+ readonly internalType: "uint256";
1043
+ readonly name: "";
1044
+ readonly type: "uint256";
1045
+ }];
1046
+ readonly stateMutability: "view";
1047
+ readonly type: "function";
1048
+ }, {
1049
+ readonly inputs: readonly [];
1050
+ readonly name: "maxDepositPerRequest";
1051
+ readonly outputs: readonly [{
1052
+ readonly internalType: "uint256";
1053
+ readonly name: "";
1054
+ readonly type: "uint256";
1055
+ }];
1056
+ readonly stateMutability: "view";
1057
+ readonly type: "function";
1058
+ }, {
1059
+ readonly inputs: readonly [];
1060
+ readonly name: "maxSupply";
1061
+ readonly outputs: readonly [{
1062
+ readonly internalType: "uint256";
1063
+ readonly name: "";
1064
+ readonly type: "uint256";
1065
+ }];
1066
+ readonly stateMutability: "view";
1067
+ readonly type: "function";
1068
+ }, {
1069
+ readonly inputs: readonly [];
1070
+ readonly name: "maxTaoForWrap";
1071
+ readonly outputs: readonly [{
1072
+ readonly internalType: "uint256";
1073
+ readonly name: "";
1074
+ readonly type: "uint256";
1075
+ }];
1076
+ readonly stateMutability: "view";
1077
+ readonly type: "function";
1078
+ }, {
1079
+ readonly inputs: readonly [];
1080
+ readonly name: "maxUnstakeRequests";
1081
+ readonly outputs: readonly [{
1082
+ readonly internalType: "uint256";
1083
+ readonly name: "";
1084
+ readonly type: "uint256";
1085
+ }];
1086
+ readonly stateMutability: "view";
1087
+ readonly type: "function";
1088
+ }, {
1089
+ readonly inputs: readonly [];
1090
+ readonly name: "minStakingAmt";
1091
+ readonly outputs: readonly [{
1092
+ readonly internalType: "uint256";
1093
+ readonly name: "";
1094
+ readonly type: "uint256";
1095
+ }];
1096
+ readonly stateMutability: "view";
1097
+ readonly type: "function";
1098
+ }, {
1099
+ readonly inputs: readonly [];
1100
+ readonly name: "name";
1101
+ readonly outputs: readonly [{
1102
+ readonly internalType: "string";
1103
+ readonly name: "";
1104
+ readonly type: "string";
1105
+ }];
1106
+ readonly stateMutability: "view";
1107
+ readonly type: "function";
1108
+ }, {
1109
+ readonly inputs: readonly [];
1110
+ readonly name: "nativeWalletReceiver";
1111
+ readonly outputs: readonly [{
1112
+ readonly internalType: "string";
1113
+ readonly name: "";
1114
+ readonly type: "string";
1115
+ }];
1116
+ readonly stateMutability: "view";
1117
+ readonly type: "function";
1118
+ }, {
1119
+ readonly inputs: readonly [];
1120
+ readonly name: "owner";
1121
+ readonly outputs: readonly [{
1122
+ readonly internalType: "address";
1123
+ readonly name: "";
1124
+ readonly type: "address";
1125
+ }];
1126
+ readonly stateMutability: "view";
1127
+ readonly type: "function";
1128
+ }, {
1129
+ readonly inputs: readonly [];
1130
+ readonly name: "pendingOwner";
1131
+ readonly outputs: readonly [{
1132
+ readonly internalType: "address";
1133
+ readonly name: "";
1134
+ readonly type: "address";
1135
+ }];
1136
+ readonly stateMutability: "view";
1137
+ readonly type: "function";
1138
+ }, {
1139
+ readonly inputs: readonly [];
1140
+ readonly name: "protocolVault";
1141
+ readonly outputs: readonly [{
1142
+ readonly internalType: "address";
1143
+ readonly name: "";
1144
+ readonly type: "address";
1145
+ }];
1146
+ readonly stateMutability: "view";
1147
+ readonly type: "function";
1148
+ }, {
1149
+ readonly inputs: readonly [];
1150
+ readonly name: "renounceOwnership";
1151
+ readonly outputs: readonly [];
1152
+ readonly stateMutability: "nonpayable";
1153
+ readonly type: "function";
1154
+ }, {
1155
+ readonly inputs: readonly [{
1156
+ readonly internalType: "bytes32";
1157
+ readonly name: "role";
1158
+ readonly type: "bytes32";
1159
+ }, {
1160
+ readonly internalType: "address";
1161
+ readonly name: "callerConfirmation";
1162
+ readonly type: "address";
1163
+ }];
1164
+ readonly name: "renounceRole";
1165
+ readonly outputs: readonly [];
1166
+ readonly stateMutability: "nonpayable";
1167
+ readonly type: "function";
1168
+ }, {
1169
+ readonly inputs: readonly [{
1170
+ readonly internalType: "uint256";
1171
+ readonly name: "wstTAOAmt";
1172
+ readonly type: "uint256";
1173
+ }];
1174
+ readonly name: "requestUnstake";
1175
+ readonly outputs: readonly [];
1176
+ readonly stateMutability: "payable";
1177
+ readonly type: "function";
1178
+ }, {
1179
+ readonly inputs: readonly [{
1180
+ readonly internalType: "bytes32";
1181
+ readonly name: "role";
1182
+ readonly type: "bytes32";
1183
+ }, {
1184
+ readonly internalType: "address";
1185
+ readonly name: "account";
1186
+ readonly type: "address";
1187
+ }];
1188
+ readonly name: "revokeRole";
1189
+ readonly outputs: readonly [];
1190
+ readonly stateMutability: "nonpayable";
1191
+ readonly type: "function";
1192
+ }, {
1193
+ readonly inputs: readonly [{
1194
+ readonly internalType: "address";
1195
+ readonly name: "tokenAddress";
1196
+ readonly type: "address";
1197
+ }, {
1198
+ readonly internalType: "address";
1199
+ readonly name: "to";
1200
+ readonly type: "address";
1201
+ }, {
1202
+ readonly internalType: "uint256";
1203
+ readonly name: "amount";
1204
+ readonly type: "uint256";
1205
+ }];
1206
+ readonly name: "safePullERC20";
1207
+ readonly outputs: readonly [];
1208
+ readonly stateMutability: "nonpayable";
1209
+ readonly type: "function";
1210
+ }, {
1211
+ readonly inputs: readonly [];
1212
+ readonly name: "serviceFee";
1213
+ readonly outputs: readonly [{
1214
+ readonly internalType: "uint256";
1215
+ readonly name: "";
1216
+ readonly type: "uint256";
1217
+ }];
1218
+ readonly stateMutability: "view";
1219
+ readonly type: "function";
1220
+ }, {
1221
+ readonly inputs: readonly [{
1222
+ readonly internalType: "uint256";
1223
+ readonly name: "_bridgePercentFee";
1224
+ readonly type: "uint256";
1225
+ }];
1226
+ readonly name: "setBridgePercentFee";
1227
+ readonly outputs: readonly [];
1228
+ readonly stateMutability: "nonpayable";
1229
+ readonly type: "function";
1230
+ }, {
1231
+ readonly inputs: readonly [{
1232
+ readonly internalType: "address";
1233
+ readonly name: "_bridgeWrapper";
1234
+ readonly type: "address";
1235
+ }];
1236
+ readonly name: "setBridgeWrapper";
1237
+ readonly outputs: readonly [];
1238
+ readonly stateMutability: "nonpayable";
1239
+ readonly type: "function";
1240
+ }, {
1241
+ readonly inputs: readonly [{
1242
+ readonly internalType: "uint256";
1243
+ readonly name: "_bridgingFee";
1244
+ readonly type: "uint256";
1245
+ }];
1246
+ readonly name: "setBridgingFee";
1247
+ readonly outputs: readonly [];
1248
+ readonly stateMutability: "nonpayable";
1249
+ readonly type: "function";
1250
+ }, {
1251
+ readonly inputs: readonly [{
1252
+ readonly internalType: "uint256";
1253
+ readonly name: "_newLowerBound";
1254
+ readonly type: "uint256";
1255
+ }];
1256
+ readonly name: "setLowerExchangeRateBound";
1257
+ readonly outputs: readonly [];
1258
+ readonly stateMutability: "nonpayable";
1259
+ readonly type: "function";
1260
+ }, {
1261
+ readonly inputs: readonly [{
1262
+ readonly internalType: "uint256";
1263
+ readonly name: "_maxDepositPerRequest";
1264
+ readonly type: "uint256";
1265
+ }];
1266
+ readonly name: "setMaxDepositPerRequest";
1267
+ readonly outputs: readonly [];
1268
+ readonly stateMutability: "nonpayable";
1269
+ readonly type: "function";
1270
+ }, {
1271
+ readonly inputs: readonly [{
1272
+ readonly internalType: "uint256";
1273
+ readonly name: "_maxSupply";
1274
+ readonly type: "uint256";
1275
+ }];
1276
+ readonly name: "setMaxSupply";
1277
+ readonly outputs: readonly [];
1278
+ readonly stateMutability: "nonpayable";
1279
+ readonly type: "function";
1280
+ }, {
1281
+ readonly inputs: readonly [{
1282
+ readonly internalType: "uint256";
1283
+ readonly name: "_maxUnstakeRequests";
1284
+ readonly type: "uint256";
1285
+ }];
1286
+ readonly name: "setMaxUnstakeRequest";
1287
+ readonly outputs: readonly [];
1288
+ readonly stateMutability: "nonpayable";
1289
+ readonly type: "function";
1290
+ }, {
1291
+ readonly inputs: readonly [{
1292
+ readonly internalType: "uint256";
1293
+ readonly name: "_minStakingAmt";
1294
+ readonly type: "uint256";
1295
+ }];
1296
+ readonly name: "setMinStakingAmt";
1297
+ readonly outputs: readonly [];
1298
+ readonly stateMutability: "nonpayable";
1299
+ readonly type: "function";
1300
+ }, {
1301
+ readonly inputs: readonly [{
1302
+ readonly internalType: "string";
1303
+ readonly name: "_nativeWalletReceiver";
1304
+ readonly type: "string";
1305
+ }];
1306
+ readonly name: "setNativeTokenReceiver";
1307
+ readonly outputs: readonly [];
1308
+ readonly stateMutability: "nonpayable";
1309
+ readonly type: "function";
1310
+ }, {
1311
+ readonly inputs: readonly [{
1312
+ readonly internalType: "bool";
1313
+ readonly name: "_isPaused";
1314
+ readonly type: "bool";
1315
+ }];
1316
+ readonly name: "setPaused";
1317
+ readonly outputs: readonly [];
1318
+ readonly stateMutability: "nonpayable";
1319
+ readonly type: "function";
1320
+ }, {
1321
+ readonly inputs: readonly [{
1322
+ readonly internalType: "address";
1323
+ readonly name: "_protocolVault";
1324
+ readonly type: "address";
1325
+ }];
1326
+ readonly name: "setProtocolVault";
1327
+ readonly outputs: readonly [];
1328
+ readonly stateMutability: "nonpayable";
1329
+ readonly type: "function";
1330
+ }, {
1331
+ readonly inputs: readonly [{
1332
+ readonly internalType: "uint256";
1333
+ readonly name: "_serviceFee";
1334
+ readonly type: "uint256";
1335
+ }];
1336
+ readonly name: "setServiceFee";
1337
+ readonly outputs: readonly [];
1338
+ readonly stateMutability: "nonpayable";
1339
+ readonly type: "function";
1340
+ }, {
1341
+ readonly inputs: readonly [{
1342
+ readonly internalType: "uint256";
1343
+ readonly name: "_stakingFee";
1344
+ readonly type: "uint256";
1345
+ }];
1346
+ readonly name: "setStakingFee";
1347
+ readonly outputs: readonly [];
1348
+ readonly stateMutability: "nonpayable";
1349
+ readonly type: "function";
1350
+ }, {
1351
+ readonly inputs: readonly [{
1352
+ readonly internalType: "uint256";
1353
+ readonly name: "_unstakingFee";
1354
+ readonly type: "uint256";
1355
+ }];
1356
+ readonly name: "setUnstakingFee";
1357
+ readonly outputs: readonly [];
1358
+ readonly stateMutability: "nonpayable";
1359
+ readonly type: "function";
1360
+ }, {
1361
+ readonly inputs: readonly [{
1362
+ readonly internalType: "uint256";
1363
+ readonly name: "_newUpperBound";
1364
+ readonly type: "uint256";
1365
+ }];
1366
+ readonly name: "setUpperExchangeRateBound";
1367
+ readonly outputs: readonly [];
1368
+ readonly stateMutability: "nonpayable";
1369
+ readonly type: "function";
1370
+ }, {
1371
+ readonly inputs: readonly [{
1372
+ readonly internalType: "address";
1373
+ readonly name: "_wTAO";
1374
+ readonly type: "address";
1375
+ }];
1376
+ readonly name: "setWTAO";
1377
+ readonly outputs: readonly [];
1378
+ readonly stateMutability: "nonpayable";
1379
+ readonly type: "function";
1380
+ }, {
1381
+ readonly inputs: readonly [{
1382
+ readonly internalType: "address";
1383
+ readonly name: "_withdrawalManager";
1384
+ readonly type: "address";
1385
+ }];
1386
+ readonly name: "setWithdrawalManager";
1387
+ readonly outputs: readonly [];
1388
+ readonly stateMutability: "nonpayable";
1389
+ readonly type: "function";
1390
+ }, {
1391
+ readonly inputs: readonly [];
1392
+ readonly name: "stakingFee";
1393
+ readonly outputs: readonly [{
1394
+ readonly internalType: "uint256";
1395
+ readonly name: "";
1396
+ readonly type: "uint256";
1397
+ }];
1398
+ readonly stateMutability: "view";
1399
+ readonly type: "function";
1400
+ }, {
1401
+ readonly inputs: readonly [{
1402
+ readonly internalType: "bytes4";
1403
+ readonly name: "interfaceId";
1404
+ readonly type: "bytes4";
1405
+ }];
1406
+ readonly name: "supportsInterface";
1407
+ readonly outputs: readonly [{
1408
+ readonly internalType: "bool";
1409
+ readonly name: "";
1410
+ readonly type: "bool";
1411
+ }];
1412
+ readonly stateMutability: "view";
1413
+ readonly type: "function";
1414
+ }, {
1415
+ readonly inputs: readonly [];
1416
+ readonly name: "symbol";
1417
+ readonly outputs: readonly [{
1418
+ readonly internalType: "string";
1419
+ readonly name: "";
1420
+ readonly type: "string";
1421
+ }];
1422
+ readonly stateMutability: "view";
1423
+ readonly type: "function";
1424
+ }, {
1425
+ readonly inputs: readonly [];
1426
+ readonly name: "totalSupply";
1427
+ readonly outputs: readonly [{
1428
+ readonly internalType: "uint256";
1429
+ readonly name: "";
1430
+ readonly type: "uint256";
1431
+ }];
1432
+ readonly stateMutability: "view";
1433
+ readonly type: "function";
1434
+ }, {
1435
+ readonly inputs: readonly [{
1436
+ readonly internalType: "address";
1437
+ readonly name: "to";
1438
+ readonly type: "address";
1439
+ }, {
1440
+ readonly internalType: "uint256";
1441
+ readonly name: "value";
1442
+ readonly type: "uint256";
1443
+ }];
1444
+ readonly name: "transfer";
1445
+ readonly outputs: readonly [{
1446
+ readonly internalType: "bool";
1447
+ readonly name: "";
1448
+ readonly type: "bool";
1449
+ }];
1450
+ readonly stateMutability: "nonpayable";
1451
+ readonly type: "function";
1452
+ }, {
1453
+ readonly inputs: readonly [{
1454
+ readonly internalType: "address";
1455
+ readonly name: "from";
1456
+ readonly type: "address";
1457
+ }, {
1458
+ readonly internalType: "address";
1459
+ readonly name: "to";
1460
+ readonly type: "address";
1461
+ }, {
1462
+ readonly internalType: "uint256";
1463
+ readonly name: "value";
1464
+ readonly type: "uint256";
1465
+ }];
1466
+ readonly name: "transferFrom";
1467
+ readonly outputs: readonly [{
1468
+ readonly internalType: "bool";
1469
+ readonly name: "";
1470
+ readonly type: "bool";
1471
+ }];
1472
+ readonly stateMutability: "nonpayable";
1473
+ readonly type: "function";
1474
+ }, {
1475
+ readonly inputs: readonly [{
1476
+ readonly internalType: "address";
1477
+ readonly name: "newOwner";
1478
+ readonly type: "address";
1479
+ }];
1480
+ readonly name: "transferOwnership";
1481
+ readonly outputs: readonly [];
1482
+ readonly stateMutability: "nonpayable";
1483
+ readonly type: "function";
1484
+ }, {
1485
+ readonly inputs: readonly [{
1486
+ readonly internalType: "uint256";
1487
+ readonly name: "requestIndex";
1488
+ readonly type: "uint256";
1489
+ }];
1490
+ readonly name: "unstake";
1491
+ readonly outputs: readonly [];
1492
+ readonly stateMutability: "nonpayable";
1493
+ readonly type: "function";
1494
+ }, {
1495
+ readonly inputs: readonly [{
1496
+ readonly internalType: "address";
1497
+ readonly name: "";
1498
+ readonly type: "address";
1499
+ }, {
1500
+ readonly internalType: "uint256";
1501
+ readonly name: "";
1502
+ readonly type: "uint256";
1503
+ }];
1504
+ readonly name: "unstakeRequests";
1505
+ readonly outputs: readonly [{
1506
+ readonly internalType: "uint256";
1507
+ readonly name: "amount";
1508
+ readonly type: "uint256";
1509
+ }, {
1510
+ readonly internalType: "uint256";
1511
+ readonly name: "taoAmt";
1512
+ readonly type: "uint256";
1513
+ }, {
1514
+ readonly internalType: "bool";
1515
+ readonly name: "isReadyForUnstake";
1516
+ readonly type: "bool";
1517
+ }, {
1518
+ readonly internalType: "address";
1519
+ readonly name: "wrappedToken";
1520
+ readonly type: "address";
1521
+ }, {
1522
+ readonly internalType: "uint256";
1523
+ readonly name: "timestamp";
1524
+ readonly type: "uint256";
1525
+ }];
1526
+ readonly stateMutability: "view";
1527
+ readonly type: "function";
1528
+ }, {
1529
+ readonly inputs: readonly [];
1530
+ readonly name: "unstakingFee";
1531
+ readonly outputs: readonly [{
1532
+ readonly internalType: "uint256";
1533
+ readonly name: "";
1534
+ readonly type: "uint256";
1535
+ }];
1536
+ readonly stateMutability: "view";
1537
+ readonly type: "function";
1538
+ }, {
1539
+ readonly inputs: readonly [{
1540
+ readonly internalType: "uint256";
1541
+ readonly name: "newRate";
1542
+ readonly type: "uint256";
1543
+ }];
1544
+ readonly name: "updateExchangeRate";
1545
+ readonly outputs: readonly [];
1546
+ readonly stateMutability: "nonpayable";
1547
+ readonly type: "function";
1548
+ }, {
1549
+ readonly inputs: readonly [];
1550
+ readonly name: "upperExchangeRateBound";
1551
+ readonly outputs: readonly [{
1552
+ readonly internalType: "uint256";
1553
+ readonly name: "";
1554
+ readonly type: "uint256";
1555
+ }];
1556
+ readonly stateMutability: "view";
1557
+ readonly type: "function";
1558
+ }, {
1559
+ readonly inputs: readonly [];
1560
+ readonly name: "withdrawalManager";
1561
+ readonly outputs: readonly [{
1562
+ readonly internalType: "address";
1563
+ readonly name: "";
1564
+ readonly type: "address";
1565
+ }];
1566
+ readonly stateMutability: "view";
1567
+ readonly type: "function";
1568
+ }, {
1569
+ readonly inputs: readonly [{
1570
+ readonly internalType: "uint256";
1571
+ readonly name: "wtaoAmount";
1572
+ readonly type: "uint256";
1573
+ }];
1574
+ readonly name: "wrap";
1575
+ readonly outputs: readonly [];
1576
+ readonly stateMutability: "nonpayable";
1577
+ readonly type: "function";
1578
+ }, {
1579
+ readonly inputs: readonly [];
1580
+ readonly name: "wrappedToken";
1581
+ readonly outputs: readonly [{
1582
+ readonly internalType: "address";
1583
+ readonly name: "";
1584
+ readonly type: "address";
1585
+ }];
1586
+ readonly stateMutability: "view";
1587
+ readonly type: "function";
1588
+ }];
1589
+ /**
1590
+ * Type-safe ABI for PlxTAO_json
1591
+ */
1592
+ export type PlxTAO_jsonAbi = typeof PlxTAO_jsonAbi;
1593
+ /**
1594
+ * Contract instance type for PlxTAO_json
1595
+ */
1596
+ export type PlxTAO_jsonContract = any;
1597
+ /**
1598
+ * PlxTAO_json Contract Class
1599
+ *
1600
+ * Provides a class-based API similar to TypeChain for interacting with the contract.
1601
+ *
1602
+ * @example
1603
+ * ```typescript
1604
+ * import { createPublicClient, createWalletClient, http } from 'viem';
1605
+ * import { mainnet } from 'viem/chains';
1606
+ * import { PlxTAO_json } from 'PlxTAO_json';
1607
+ *
1608
+ * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
1609
+ * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
1610
+ *
1611
+ * const contract = new PlxTAO_json('0x...', { publicClient, walletClient });
1612
+ *
1613
+ * // Read functions
1614
+ * const result = await contract.balanceOf('0x...');
1615
+ *
1616
+ * // Write functions
1617
+ * const hash = await contract.transfer('0x...', 1000n);
1618
+ *
1619
+ * // Simulate transactions (dry-run)
1620
+ * const simulation = await contract.simulate.transfer('0x...', 1000n);
1621
+ * console.log('Gas estimate:', simulation.request.gas);
1622
+ *
1623
+ * // Watch events
1624
+ * const unwatch = contract.watch.Transfer((event) => {
1625
+ * console.log('Transfer event:', event);
1626
+ * });
1627
+ * ```
1628
+ */
1629
+ export declare class PlxTAO_json {
1630
+ private contract;
1631
+ private contractAddress;
1632
+ private publicClient;
1633
+ constructor(address: Address, clients: {
1634
+ publicClient: PublicClient;
1635
+ walletClient?: WalletClient;
1636
+ });
1637
+ /**
1638
+ * Get the contract address
1639
+ */
1640
+ get address(): Address;
1641
+ /**
1642
+ * Get the underlying viem contract instance
1643
+ */
1644
+ getContract(): PlxTAO_jsonContract;
1645
+ /**
1646
+ * APPROVE_WITHDRAWAL_ROLE
1647
+ * view
1648
+ */
1649
+ APPROVE_WITHDRAWAL_ROLE(): Promise<`0x${string}`>;
1650
+ /**
1651
+ * BITTENSOR_CHAINID
1652
+ * view
1653
+ */
1654
+ BITTENSOR_CHAINID(): Promise<bigint>;
1655
+ /**
1656
+ * BITTENSOR_TOKEN_ADDRESS
1657
+ * view
1658
+ */
1659
+ BITTENSOR_TOKEN_ADDRESS(): Promise<string>;
1660
+ /**
1661
+ * DEFAULT_ADMIN_ROLE
1662
+ * view
1663
+ */
1664
+ DEFAULT_ADMIN_ROLE(): Promise<`0x${string}`>;
1665
+ /**
1666
+ * EXCHANGE_UPDATE_ROLE
1667
+ * view
1668
+ */
1669
+ EXCHANGE_UPDATE_ROLE(): Promise<`0x${string}`>;
1670
+ /**
1671
+ * MANAGE_STAKING_CONFIG_ROLE
1672
+ * view
1673
+ */
1674
+ MANAGE_STAKING_CONFIG_ROLE(): Promise<`0x${string}`>;
1675
+ /**
1676
+ * ONE_THOUSAND
1677
+ * view
1678
+ */
1679
+ ONE_THOUSAND(): Promise<bigint>;
1680
+ /**
1681
+ * PAUSE_ROLE
1682
+ * view
1683
+ */
1684
+ PAUSE_ROLE(): Promise<`0x${string}`>;
1685
+ /**
1686
+ * TOKEN_SAFE_PULL_ROLE
1687
+ * view
1688
+ */
1689
+ TOKEN_SAFE_PULL_ROLE(): Promise<`0x${string}`>;
1690
+ /**
1691
+ * allowance
1692
+ * view
1693
+ */
1694
+ allowance(owner: `0x${string}`, spender: `0x${string}`): Promise<bigint>;
1695
+ /**
1696
+ * balanceOf
1697
+ * view
1698
+ */
1699
+ balanceOf(account: `0x${string}`): Promise<bigint>;
1700
+ /**
1701
+ * batchTAOAmt
1702
+ * view
1703
+ */
1704
+ batchTAOAmt(): Promise<bigint>;
1705
+ /**
1706
+ * bridgePercentFee
1707
+ * view
1708
+ */
1709
+ bridgePercentFee(): Promise<bigint>;
1710
+ /**
1711
+ * bridgeWrapper
1712
+ * view
1713
+ */
1714
+ bridgeWrapper(): Promise<`0x${string}`>;
1715
+ /**
1716
+ * bridgingFee
1717
+ * view
1718
+ */
1719
+ bridgingFee(): Promise<bigint>;
1720
+ /**
1721
+ * calculateAmtAfterFee
1722
+ * view
1723
+ */
1724
+ calculateAmtAfterFee(wtaoAmount: bigint): Promise<[bigint, bigint]>;
1725
+ /**
1726
+ * decimals
1727
+ * view
1728
+ */
1729
+ decimals(): Promise<bigint>;
1730
+ /**
1731
+ * exchangeRate
1732
+ * view
1733
+ */
1734
+ exchangeRate(): Promise<bigint>;
1735
+ /**
1736
+ * getRoleAdmin
1737
+ * view
1738
+ */
1739
+ getRoleAdmin(role: `0x${string}`): Promise<`0x${string}`>;
1740
+ /**
1741
+ * getUnstakeRequestByUser
1742
+ * view
1743
+ */
1744
+ getUnstakeRequestByUser(user: `0x${string}`): Promise<PlxTAO_UnstakeRequest[]>;
1745
+ /**
1746
+ * getWTAOByWstTAO
1747
+ * view
1748
+ */
1749
+ getWTAOByWstTAO(wstTaoAmount: bigint): Promise<bigint>;
1750
+ /**
1751
+ * getWTAOByWstTAOAfterFee
1752
+ * view
1753
+ */
1754
+ getWTAOByWstTAOAfterFee(wstTaoAmount: bigint): Promise<bigint>;
1755
+ /**
1756
+ * getWstTAObyWTAO
1757
+ * view
1758
+ */
1759
+ getWstTAObyWTAO(wtaoAmount: bigint): Promise<bigint>;
1760
+ /**
1761
+ * hasRole
1762
+ * view
1763
+ */
1764
+ hasRole(role: `0x${string}`, account: `0x${string}`): Promise<boolean>;
1765
+ /**
1766
+ * isPaused
1767
+ * view
1768
+ */
1769
+ isPaused(): Promise<boolean>;
1770
+ /**
1771
+ * lowerExchangeRateBound
1772
+ * view
1773
+ */
1774
+ lowerExchangeRateBound(): Promise<bigint>;
1775
+ /**
1776
+ * maxDepositPerRequest
1777
+ * view
1778
+ */
1779
+ maxDepositPerRequest(): Promise<bigint>;
1780
+ /**
1781
+ * maxSupply
1782
+ * view
1783
+ */
1784
+ maxSupply(): Promise<bigint>;
1785
+ /**
1786
+ * maxTaoForWrap
1787
+ * view
1788
+ */
1789
+ maxTaoForWrap(): Promise<bigint>;
1790
+ /**
1791
+ * maxUnstakeRequests
1792
+ * view
1793
+ */
1794
+ maxUnstakeRequests(): Promise<bigint>;
1795
+ /**
1796
+ * minStakingAmt
1797
+ * view
1798
+ */
1799
+ minStakingAmt(): Promise<bigint>;
1800
+ /**
1801
+ * name
1802
+ * view
1803
+ */
1804
+ name(): Promise<string>;
1805
+ /**
1806
+ * nativeWalletReceiver
1807
+ * view
1808
+ */
1809
+ nativeWalletReceiver(): Promise<string>;
1810
+ /**
1811
+ * owner
1812
+ * view
1813
+ */
1814
+ owner(): Promise<`0x${string}`>;
1815
+ /**
1816
+ * pendingOwner
1817
+ * view
1818
+ */
1819
+ pendingOwner(): Promise<`0x${string}`>;
1820
+ /**
1821
+ * protocolVault
1822
+ * view
1823
+ */
1824
+ protocolVault(): Promise<`0x${string}`>;
1825
+ /**
1826
+ * serviceFee
1827
+ * view
1828
+ */
1829
+ serviceFee(): Promise<bigint>;
1830
+ /**
1831
+ * stakingFee
1832
+ * view
1833
+ */
1834
+ stakingFee(): Promise<bigint>;
1835
+ /**
1836
+ * supportsInterface
1837
+ * view
1838
+ */
1839
+ supportsInterface(interfaceId: `0x${string}`): Promise<boolean>;
1840
+ /**
1841
+ * symbol
1842
+ * view
1843
+ */
1844
+ symbol(): Promise<string>;
1845
+ /**
1846
+ * totalSupply
1847
+ * view
1848
+ */
1849
+ totalSupply(): Promise<bigint>;
1850
+ /**
1851
+ * unstakeRequests
1852
+ * view
1853
+ */
1854
+ unstakeRequests(arg0: `0x${string}`, arg1: bigint): Promise<[bigint, bigint, boolean, `0x${string}`, bigint]>;
1855
+ /**
1856
+ * unstakingFee
1857
+ * view
1858
+ */
1859
+ unstakingFee(): Promise<bigint>;
1860
+ /**
1861
+ * upperExchangeRateBound
1862
+ * view
1863
+ */
1864
+ upperExchangeRateBound(): Promise<bigint>;
1865
+ /**
1866
+ * withdrawalManager
1867
+ * view
1868
+ */
1869
+ withdrawalManager(): Promise<`0x${string}`>;
1870
+ /**
1871
+ * wrappedToken
1872
+ * view
1873
+ */
1874
+ wrappedToken(): Promise<`0x${string}`>;
1875
+ /**
1876
+ * acceptOwnership
1877
+ * nonpayable
1878
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1879
+ */
1880
+ acceptOwnership(options?: {
1881
+ accessList?: import('viem').AccessList;
1882
+ authorizationList?: import('viem').AuthorizationList;
1883
+ chain?: import('viem').Chain | null;
1884
+ dataSuffix?: `0x${string}`;
1885
+ gas?: bigint;
1886
+ gasPrice?: bigint;
1887
+ maxFeePerGas?: bigint;
1888
+ maxPriorityFeePerGas?: bigint;
1889
+ nonce?: number;
1890
+ value?: bigint;
1891
+ }): Promise<`0x${string}`>;
1892
+ /**
1893
+ * approve
1894
+ * nonpayable
1895
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1896
+ */
1897
+ approve(spender: `0x${string}`, value: bigint, options?: {
1898
+ accessList?: import('viem').AccessList;
1899
+ authorizationList?: import('viem').AuthorizationList;
1900
+ chain?: import('viem').Chain | null;
1901
+ dataSuffix?: `0x${string}`;
1902
+ gas?: bigint;
1903
+ gasPrice?: bigint;
1904
+ maxFeePerGas?: bigint;
1905
+ maxPriorityFeePerGas?: bigint;
1906
+ nonce?: number;
1907
+ value?: bigint;
1908
+ }): Promise<`0x${string}`>;
1909
+ /**
1910
+ * approveMultipleUnstakes
1911
+ * nonpayable
1912
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1913
+ */
1914
+ approveMultipleUnstakes(requests: PlxTAO_UserRequest[], options?: {
1915
+ accessList?: import('viem').AccessList;
1916
+ authorizationList?: import('viem').AuthorizationList;
1917
+ chain?: import('viem').Chain | null;
1918
+ dataSuffix?: `0x${string}`;
1919
+ gas?: bigint;
1920
+ gasPrice?: bigint;
1921
+ maxFeePerGas?: bigint;
1922
+ maxPriorityFeePerGas?: bigint;
1923
+ nonce?: number;
1924
+ value?: bigint;
1925
+ }): Promise<`0x${string}`>;
1926
+ /**
1927
+ * batchInternalFulfillUnstaking
1928
+ * nonpayable
1929
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1930
+ */
1931
+ batchInternalFulfillUnstaking(requests: PlxTAO_UserRequest[], options?: {
1932
+ accessList?: import('viem').AccessList;
1933
+ authorizationList?: import('viem').AuthorizationList;
1934
+ chain?: import('viem').Chain | null;
1935
+ dataSuffix?: `0x${string}`;
1936
+ gas?: bigint;
1937
+ gasPrice?: bigint;
1938
+ maxFeePerGas?: bigint;
1939
+ maxPriorityFeePerGas?: bigint;
1940
+ nonce?: number;
1941
+ value?: bigint;
1942
+ }): Promise<`0x${string}`>;
1943
+ /**
1944
+ * batchTransferBridgeBack
1945
+ * nonpayable
1946
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1947
+ */
1948
+ batchTransferBridgeBack(amount: bigint, options?: {
1949
+ accessList?: import('viem').AccessList;
1950
+ authorizationList?: import('viem').AuthorizationList;
1951
+ chain?: import('viem').Chain | null;
1952
+ dataSuffix?: `0x${string}`;
1953
+ gas?: bigint;
1954
+ gasPrice?: bigint;
1955
+ maxFeePerGas?: bigint;
1956
+ maxPriorityFeePerGas?: bigint;
1957
+ nonce?: number;
1958
+ value?: bigint;
1959
+ }): Promise<`0x${string}`>;
1960
+ /**
1961
+ * grantRole
1962
+ * nonpayable
1963
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1964
+ */
1965
+ grantRole(role: `0x${string}`, account: `0x${string}`, options?: {
1966
+ accessList?: import('viem').AccessList;
1967
+ authorizationList?: import('viem').AuthorizationList;
1968
+ chain?: import('viem').Chain | null;
1969
+ dataSuffix?: `0x${string}`;
1970
+ gas?: bigint;
1971
+ gasPrice?: bigint;
1972
+ maxFeePerGas?: bigint;
1973
+ maxPriorityFeePerGas?: bigint;
1974
+ nonce?: number;
1975
+ value?: bigint;
1976
+ }): Promise<`0x${string}`>;
1977
+ /**
1978
+ * initialize
1979
+ * nonpayable
1980
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1981
+ */
1982
+ initialize(initialOwner: `0x${string}`, initialSupply: bigint, options?: {
1983
+ accessList?: import('viem').AccessList;
1984
+ authorizationList?: import('viem').AuthorizationList;
1985
+ chain?: import('viem').Chain | null;
1986
+ dataSuffix?: `0x${string}`;
1987
+ gas?: bigint;
1988
+ gasPrice?: bigint;
1989
+ maxFeePerGas?: bigint;
1990
+ maxPriorityFeePerGas?: bigint;
1991
+ nonce?: number;
1992
+ value?: bigint;
1993
+ }): Promise<`0x${string}`>;
1994
+ /**
1995
+ * renounceOwnership
1996
+ * nonpayable
1997
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1998
+ */
1999
+ renounceOwnership(options?: {
2000
+ accessList?: import('viem').AccessList;
2001
+ authorizationList?: import('viem').AuthorizationList;
2002
+ chain?: import('viem').Chain | null;
2003
+ dataSuffix?: `0x${string}`;
2004
+ gas?: bigint;
2005
+ gasPrice?: bigint;
2006
+ maxFeePerGas?: bigint;
2007
+ maxPriorityFeePerGas?: bigint;
2008
+ nonce?: number;
2009
+ value?: bigint;
2010
+ }): Promise<`0x${string}`>;
2011
+ /**
2012
+ * renounceRole
2013
+ * nonpayable
2014
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2015
+ */
2016
+ renounceRole(role: `0x${string}`, callerConfirmation: `0x${string}`, options?: {
2017
+ accessList?: import('viem').AccessList;
2018
+ authorizationList?: import('viem').AuthorizationList;
2019
+ chain?: import('viem').Chain | null;
2020
+ dataSuffix?: `0x${string}`;
2021
+ gas?: bigint;
2022
+ gasPrice?: bigint;
2023
+ maxFeePerGas?: bigint;
2024
+ maxPriorityFeePerGas?: bigint;
2025
+ nonce?: number;
2026
+ value?: bigint;
2027
+ }): Promise<`0x${string}`>;
2028
+ /**
2029
+ * requestUnstake
2030
+ * payable
2031
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2032
+ */
2033
+ requestUnstake(wstTAOAmt: bigint, options?: {
2034
+ accessList?: import('viem').AccessList;
2035
+ authorizationList?: import('viem').AuthorizationList;
2036
+ chain?: import('viem').Chain | null;
2037
+ dataSuffix?: `0x${string}`;
2038
+ gas?: bigint;
2039
+ gasPrice?: bigint;
2040
+ maxFeePerGas?: bigint;
2041
+ maxPriorityFeePerGas?: bigint;
2042
+ nonce?: number;
2043
+ value?: bigint;
2044
+ }): Promise<`0x${string}`>;
2045
+ /**
2046
+ * revokeRole
2047
+ * nonpayable
2048
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2049
+ */
2050
+ revokeRole(role: `0x${string}`, account: `0x${string}`, options?: {
2051
+ accessList?: import('viem').AccessList;
2052
+ authorizationList?: import('viem').AuthorizationList;
2053
+ chain?: import('viem').Chain | null;
2054
+ dataSuffix?: `0x${string}`;
2055
+ gas?: bigint;
2056
+ gasPrice?: bigint;
2057
+ maxFeePerGas?: bigint;
2058
+ maxPriorityFeePerGas?: bigint;
2059
+ nonce?: number;
2060
+ value?: bigint;
2061
+ }): Promise<`0x${string}`>;
2062
+ /**
2063
+ * safePullERC20
2064
+ * nonpayable
2065
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2066
+ */
2067
+ safePullERC20(tokenAddress: `0x${string}`, to: `0x${string}`, amount: bigint, options?: {
2068
+ accessList?: import('viem').AccessList;
2069
+ authorizationList?: import('viem').AuthorizationList;
2070
+ chain?: import('viem').Chain | null;
2071
+ dataSuffix?: `0x${string}`;
2072
+ gas?: bigint;
2073
+ gasPrice?: bigint;
2074
+ maxFeePerGas?: bigint;
2075
+ maxPriorityFeePerGas?: bigint;
2076
+ nonce?: number;
2077
+ value?: bigint;
2078
+ }): Promise<`0x${string}`>;
2079
+ /**
2080
+ * setBridgePercentFee
2081
+ * nonpayable
2082
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2083
+ */
2084
+ setBridgePercentFee(_bridgePercentFee: bigint, options?: {
2085
+ accessList?: import('viem').AccessList;
2086
+ authorizationList?: import('viem').AuthorizationList;
2087
+ chain?: import('viem').Chain | null;
2088
+ dataSuffix?: `0x${string}`;
2089
+ gas?: bigint;
2090
+ gasPrice?: bigint;
2091
+ maxFeePerGas?: bigint;
2092
+ maxPriorityFeePerGas?: bigint;
2093
+ nonce?: number;
2094
+ value?: bigint;
2095
+ }): Promise<`0x${string}`>;
2096
+ /**
2097
+ * setBridgeWrapper
2098
+ * nonpayable
2099
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2100
+ */
2101
+ setBridgeWrapper(_bridgeWrapper: `0x${string}`, options?: {
2102
+ accessList?: import('viem').AccessList;
2103
+ authorizationList?: import('viem').AuthorizationList;
2104
+ chain?: import('viem').Chain | null;
2105
+ dataSuffix?: `0x${string}`;
2106
+ gas?: bigint;
2107
+ gasPrice?: bigint;
2108
+ maxFeePerGas?: bigint;
2109
+ maxPriorityFeePerGas?: bigint;
2110
+ nonce?: number;
2111
+ value?: bigint;
2112
+ }): Promise<`0x${string}`>;
2113
+ /**
2114
+ * setBridgingFee
2115
+ * nonpayable
2116
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2117
+ */
2118
+ setBridgingFee(_bridgingFee: bigint, options?: {
2119
+ accessList?: import('viem').AccessList;
2120
+ authorizationList?: import('viem').AuthorizationList;
2121
+ chain?: import('viem').Chain | null;
2122
+ dataSuffix?: `0x${string}`;
2123
+ gas?: bigint;
2124
+ gasPrice?: bigint;
2125
+ maxFeePerGas?: bigint;
2126
+ maxPriorityFeePerGas?: bigint;
2127
+ nonce?: number;
2128
+ value?: bigint;
2129
+ }): Promise<`0x${string}`>;
2130
+ /**
2131
+ * setLowerExchangeRateBound
2132
+ * nonpayable
2133
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2134
+ */
2135
+ setLowerExchangeRateBound(_newLowerBound: bigint, options?: {
2136
+ accessList?: import('viem').AccessList;
2137
+ authorizationList?: import('viem').AuthorizationList;
2138
+ chain?: import('viem').Chain | null;
2139
+ dataSuffix?: `0x${string}`;
2140
+ gas?: bigint;
2141
+ gasPrice?: bigint;
2142
+ maxFeePerGas?: bigint;
2143
+ maxPriorityFeePerGas?: bigint;
2144
+ nonce?: number;
2145
+ value?: bigint;
2146
+ }): Promise<`0x${string}`>;
2147
+ /**
2148
+ * setMaxDepositPerRequest
2149
+ * nonpayable
2150
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2151
+ */
2152
+ setMaxDepositPerRequest(_maxDepositPerRequest: bigint, options?: {
2153
+ accessList?: import('viem').AccessList;
2154
+ authorizationList?: import('viem').AuthorizationList;
2155
+ chain?: import('viem').Chain | null;
2156
+ dataSuffix?: `0x${string}`;
2157
+ gas?: bigint;
2158
+ gasPrice?: bigint;
2159
+ maxFeePerGas?: bigint;
2160
+ maxPriorityFeePerGas?: bigint;
2161
+ nonce?: number;
2162
+ value?: bigint;
2163
+ }): Promise<`0x${string}`>;
2164
+ /**
2165
+ * setMaxSupply
2166
+ * nonpayable
2167
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2168
+ */
2169
+ setMaxSupply(_maxSupply: bigint, options?: {
2170
+ accessList?: import('viem').AccessList;
2171
+ authorizationList?: import('viem').AuthorizationList;
2172
+ chain?: import('viem').Chain | null;
2173
+ dataSuffix?: `0x${string}`;
2174
+ gas?: bigint;
2175
+ gasPrice?: bigint;
2176
+ maxFeePerGas?: bigint;
2177
+ maxPriorityFeePerGas?: bigint;
2178
+ nonce?: number;
2179
+ value?: bigint;
2180
+ }): Promise<`0x${string}`>;
2181
+ /**
2182
+ * setMaxUnstakeRequest
2183
+ * nonpayable
2184
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2185
+ */
2186
+ setMaxUnstakeRequest(_maxUnstakeRequests: bigint, options?: {
2187
+ accessList?: import('viem').AccessList;
2188
+ authorizationList?: import('viem').AuthorizationList;
2189
+ chain?: import('viem').Chain | null;
2190
+ dataSuffix?: `0x${string}`;
2191
+ gas?: bigint;
2192
+ gasPrice?: bigint;
2193
+ maxFeePerGas?: bigint;
2194
+ maxPriorityFeePerGas?: bigint;
2195
+ nonce?: number;
2196
+ value?: bigint;
2197
+ }): Promise<`0x${string}`>;
2198
+ /**
2199
+ * setMinStakingAmt
2200
+ * nonpayable
2201
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2202
+ */
2203
+ setMinStakingAmt(_minStakingAmt: bigint, options?: {
2204
+ accessList?: import('viem').AccessList;
2205
+ authorizationList?: import('viem').AuthorizationList;
2206
+ chain?: import('viem').Chain | null;
2207
+ dataSuffix?: `0x${string}`;
2208
+ gas?: bigint;
2209
+ gasPrice?: bigint;
2210
+ maxFeePerGas?: bigint;
2211
+ maxPriorityFeePerGas?: bigint;
2212
+ nonce?: number;
2213
+ value?: bigint;
2214
+ }): Promise<`0x${string}`>;
2215
+ /**
2216
+ * setNativeTokenReceiver
2217
+ * nonpayable
2218
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2219
+ */
2220
+ setNativeTokenReceiver(_nativeWalletReceiver: string, options?: {
2221
+ accessList?: import('viem').AccessList;
2222
+ authorizationList?: import('viem').AuthorizationList;
2223
+ chain?: import('viem').Chain | null;
2224
+ dataSuffix?: `0x${string}`;
2225
+ gas?: bigint;
2226
+ gasPrice?: bigint;
2227
+ maxFeePerGas?: bigint;
2228
+ maxPriorityFeePerGas?: bigint;
2229
+ nonce?: number;
2230
+ value?: bigint;
2231
+ }): Promise<`0x${string}`>;
2232
+ /**
2233
+ * setPaused
2234
+ * nonpayable
2235
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2236
+ */
2237
+ setPaused(_isPaused: boolean, options?: {
2238
+ accessList?: import('viem').AccessList;
2239
+ authorizationList?: import('viem').AuthorizationList;
2240
+ chain?: import('viem').Chain | null;
2241
+ dataSuffix?: `0x${string}`;
2242
+ gas?: bigint;
2243
+ gasPrice?: bigint;
2244
+ maxFeePerGas?: bigint;
2245
+ maxPriorityFeePerGas?: bigint;
2246
+ nonce?: number;
2247
+ value?: bigint;
2248
+ }): Promise<`0x${string}`>;
2249
+ /**
2250
+ * setProtocolVault
2251
+ * nonpayable
2252
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2253
+ */
2254
+ setProtocolVault(_protocolVault: `0x${string}`, options?: {
2255
+ accessList?: import('viem').AccessList;
2256
+ authorizationList?: import('viem').AuthorizationList;
2257
+ chain?: import('viem').Chain | null;
2258
+ dataSuffix?: `0x${string}`;
2259
+ gas?: bigint;
2260
+ gasPrice?: bigint;
2261
+ maxFeePerGas?: bigint;
2262
+ maxPriorityFeePerGas?: bigint;
2263
+ nonce?: number;
2264
+ value?: bigint;
2265
+ }): Promise<`0x${string}`>;
2266
+ /**
2267
+ * setServiceFee
2268
+ * nonpayable
2269
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2270
+ */
2271
+ setServiceFee(_serviceFee: bigint, options?: {
2272
+ accessList?: import('viem').AccessList;
2273
+ authorizationList?: import('viem').AuthorizationList;
2274
+ chain?: import('viem').Chain | null;
2275
+ dataSuffix?: `0x${string}`;
2276
+ gas?: bigint;
2277
+ gasPrice?: bigint;
2278
+ maxFeePerGas?: bigint;
2279
+ maxPriorityFeePerGas?: bigint;
2280
+ nonce?: number;
2281
+ value?: bigint;
2282
+ }): Promise<`0x${string}`>;
2283
+ /**
2284
+ * setStakingFee
2285
+ * nonpayable
2286
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2287
+ */
2288
+ setStakingFee(_stakingFee: bigint, options?: {
2289
+ accessList?: import('viem').AccessList;
2290
+ authorizationList?: import('viem').AuthorizationList;
2291
+ chain?: import('viem').Chain | null;
2292
+ dataSuffix?: `0x${string}`;
2293
+ gas?: bigint;
2294
+ gasPrice?: bigint;
2295
+ maxFeePerGas?: bigint;
2296
+ maxPriorityFeePerGas?: bigint;
2297
+ nonce?: number;
2298
+ value?: bigint;
2299
+ }): Promise<`0x${string}`>;
2300
+ /**
2301
+ * setUnstakingFee
2302
+ * nonpayable
2303
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2304
+ */
2305
+ setUnstakingFee(_unstakingFee: bigint, options?: {
2306
+ accessList?: import('viem').AccessList;
2307
+ authorizationList?: import('viem').AuthorizationList;
2308
+ chain?: import('viem').Chain | null;
2309
+ dataSuffix?: `0x${string}`;
2310
+ gas?: bigint;
2311
+ gasPrice?: bigint;
2312
+ maxFeePerGas?: bigint;
2313
+ maxPriorityFeePerGas?: bigint;
2314
+ nonce?: number;
2315
+ value?: bigint;
2316
+ }): Promise<`0x${string}`>;
2317
+ /**
2318
+ * setUpperExchangeRateBound
2319
+ * nonpayable
2320
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2321
+ */
2322
+ setUpperExchangeRateBound(_newUpperBound: bigint, options?: {
2323
+ accessList?: import('viem').AccessList;
2324
+ authorizationList?: import('viem').AuthorizationList;
2325
+ chain?: import('viem').Chain | null;
2326
+ dataSuffix?: `0x${string}`;
2327
+ gas?: bigint;
2328
+ gasPrice?: bigint;
2329
+ maxFeePerGas?: bigint;
2330
+ maxPriorityFeePerGas?: bigint;
2331
+ nonce?: number;
2332
+ value?: bigint;
2333
+ }): Promise<`0x${string}`>;
2334
+ /**
2335
+ * setWTAO
2336
+ * nonpayable
2337
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2338
+ */
2339
+ setWTAO(_wTAO: `0x${string}`, options?: {
2340
+ accessList?: import('viem').AccessList;
2341
+ authorizationList?: import('viem').AuthorizationList;
2342
+ chain?: import('viem').Chain | null;
2343
+ dataSuffix?: `0x${string}`;
2344
+ gas?: bigint;
2345
+ gasPrice?: bigint;
2346
+ maxFeePerGas?: bigint;
2347
+ maxPriorityFeePerGas?: bigint;
2348
+ nonce?: number;
2349
+ value?: bigint;
2350
+ }): Promise<`0x${string}`>;
2351
+ /**
2352
+ * setWithdrawalManager
2353
+ * nonpayable
2354
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2355
+ */
2356
+ setWithdrawalManager(_withdrawalManager: `0x${string}`, options?: {
2357
+ accessList?: import('viem').AccessList;
2358
+ authorizationList?: import('viem').AuthorizationList;
2359
+ chain?: import('viem').Chain | null;
2360
+ dataSuffix?: `0x${string}`;
2361
+ gas?: bigint;
2362
+ gasPrice?: bigint;
2363
+ maxFeePerGas?: bigint;
2364
+ maxPriorityFeePerGas?: bigint;
2365
+ nonce?: number;
2366
+ value?: bigint;
2367
+ }): Promise<`0x${string}`>;
2368
+ /**
2369
+ * transfer
2370
+ * nonpayable
2371
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2372
+ */
2373
+ transfer(to: `0x${string}`, value: bigint, options?: {
2374
+ accessList?: import('viem').AccessList;
2375
+ authorizationList?: import('viem').AuthorizationList;
2376
+ chain?: import('viem').Chain | null;
2377
+ dataSuffix?: `0x${string}`;
2378
+ gas?: bigint;
2379
+ gasPrice?: bigint;
2380
+ maxFeePerGas?: bigint;
2381
+ maxPriorityFeePerGas?: bigint;
2382
+ nonce?: number;
2383
+ value?: bigint;
2384
+ }): Promise<`0x${string}`>;
2385
+ /**
2386
+ * transferFrom
2387
+ * nonpayable
2388
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2389
+ */
2390
+ transferFrom(from: `0x${string}`, to: `0x${string}`, value: bigint, options?: {
2391
+ accessList?: import('viem').AccessList;
2392
+ authorizationList?: import('viem').AuthorizationList;
2393
+ chain?: import('viem').Chain | null;
2394
+ dataSuffix?: `0x${string}`;
2395
+ gas?: bigint;
2396
+ gasPrice?: bigint;
2397
+ maxFeePerGas?: bigint;
2398
+ maxPriorityFeePerGas?: bigint;
2399
+ nonce?: number;
2400
+ value?: bigint;
2401
+ }): Promise<`0x${string}`>;
2402
+ /**
2403
+ * transferOwnership
2404
+ * nonpayable
2405
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2406
+ */
2407
+ transferOwnership(newOwner: `0x${string}`, options?: {
2408
+ accessList?: import('viem').AccessList;
2409
+ authorizationList?: import('viem').AuthorizationList;
2410
+ chain?: import('viem').Chain | null;
2411
+ dataSuffix?: `0x${string}`;
2412
+ gas?: bigint;
2413
+ gasPrice?: bigint;
2414
+ maxFeePerGas?: bigint;
2415
+ maxPriorityFeePerGas?: bigint;
2416
+ nonce?: number;
2417
+ value?: bigint;
2418
+ }): Promise<`0x${string}`>;
2419
+ /**
2420
+ * unstake
2421
+ * nonpayable
2422
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2423
+ */
2424
+ unstake(requestIndex: bigint, options?: {
2425
+ accessList?: import('viem').AccessList;
2426
+ authorizationList?: import('viem').AuthorizationList;
2427
+ chain?: import('viem').Chain | null;
2428
+ dataSuffix?: `0x${string}`;
2429
+ gas?: bigint;
2430
+ gasPrice?: bigint;
2431
+ maxFeePerGas?: bigint;
2432
+ maxPriorityFeePerGas?: bigint;
2433
+ nonce?: number;
2434
+ value?: bigint;
2435
+ }): Promise<`0x${string}`>;
2436
+ /**
2437
+ * updateExchangeRate
2438
+ * nonpayable
2439
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2440
+ */
2441
+ updateExchangeRate(newRate: bigint, options?: {
2442
+ accessList?: import('viem').AccessList;
2443
+ authorizationList?: import('viem').AuthorizationList;
2444
+ chain?: import('viem').Chain | null;
2445
+ dataSuffix?: `0x${string}`;
2446
+ gas?: bigint;
2447
+ gasPrice?: bigint;
2448
+ maxFeePerGas?: bigint;
2449
+ maxPriorityFeePerGas?: bigint;
2450
+ nonce?: number;
2451
+ value?: bigint;
2452
+ }): Promise<`0x${string}`>;
2453
+ /**
2454
+ * wrap
2455
+ * nonpayable
2456
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2457
+ */
2458
+ wrap(wtaoAmount: bigint, options?: {
2459
+ accessList?: import('viem').AccessList;
2460
+ authorizationList?: import('viem').AuthorizationList;
2461
+ chain?: import('viem').Chain | null;
2462
+ dataSuffix?: `0x${string}`;
2463
+ gas?: bigint;
2464
+ gasPrice?: bigint;
2465
+ maxFeePerGas?: bigint;
2466
+ maxPriorityFeePerGas?: bigint;
2467
+ nonce?: number;
2468
+ value?: bigint;
2469
+ }): Promise<`0x${string}`>;
2470
+ /**
2471
+ * Simulate contract write operations (dry-run without sending transaction)
2472
+ *
2473
+ * @example
2474
+ * const result = await contract.simulate.transfer('0x...', 1000n);
2475
+ * console.log('Gas estimate:', result.request.gas);
2476
+ * console.log('Would succeed:', result.result);
2477
+ */
2478
+ get simulate(): {
2479
+ /**
2480
+ * Simulate acceptOwnership
2481
+ * Returns gas estimate and result without sending transaction
2482
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2483
+ */
2484
+ acceptOwnership(options?: {
2485
+ accessList?: import("viem").AccessList;
2486
+ authorizationList?: import("viem").AuthorizationList;
2487
+ chain?: import("viem").Chain | null;
2488
+ dataSuffix?: `0x${string}`;
2489
+ gas?: bigint;
2490
+ gasPrice?: bigint;
2491
+ maxFeePerGas?: bigint;
2492
+ maxPriorityFeePerGas?: bigint;
2493
+ nonce?: number;
2494
+ value?: bigint;
2495
+ }): Promise<void>;
2496
+ /**
2497
+ * Simulate approve
2498
+ * Returns gas estimate and result without sending transaction
2499
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2500
+ */
2501
+ approve(spender: `0x${string}`, value: bigint, options?: {
2502
+ accessList?: import("viem").AccessList;
2503
+ authorizationList?: import("viem").AuthorizationList;
2504
+ chain?: import("viem").Chain | null;
2505
+ dataSuffix?: `0x${string}`;
2506
+ gas?: bigint;
2507
+ gasPrice?: bigint;
2508
+ maxFeePerGas?: bigint;
2509
+ maxPriorityFeePerGas?: bigint;
2510
+ nonce?: number;
2511
+ value?: bigint;
2512
+ }): Promise<boolean>;
2513
+ /**
2514
+ * Simulate approveMultipleUnstakes
2515
+ * Returns gas estimate and result without sending transaction
2516
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2517
+ */
2518
+ approveMultipleUnstakes(requests: PlxTAO_UserRequest[], options?: {
2519
+ accessList?: import("viem").AccessList;
2520
+ authorizationList?: import("viem").AuthorizationList;
2521
+ chain?: import("viem").Chain | null;
2522
+ dataSuffix?: `0x${string}`;
2523
+ gas?: bigint;
2524
+ gasPrice?: bigint;
2525
+ maxFeePerGas?: bigint;
2526
+ maxPriorityFeePerGas?: bigint;
2527
+ nonce?: number;
2528
+ value?: bigint;
2529
+ }): Promise<void>;
2530
+ /**
2531
+ * Simulate batchInternalFulfillUnstaking
2532
+ * Returns gas estimate and result without sending transaction
2533
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2534
+ */
2535
+ batchInternalFulfillUnstaking(requests: PlxTAO_UserRequest[], options?: {
2536
+ accessList?: import("viem").AccessList;
2537
+ authorizationList?: import("viem").AuthorizationList;
2538
+ chain?: import("viem").Chain | null;
2539
+ dataSuffix?: `0x${string}`;
2540
+ gas?: bigint;
2541
+ gasPrice?: bigint;
2542
+ maxFeePerGas?: bigint;
2543
+ maxPriorityFeePerGas?: bigint;
2544
+ nonce?: number;
2545
+ value?: bigint;
2546
+ }): Promise<void>;
2547
+ /**
2548
+ * Simulate batchTransferBridgeBack
2549
+ * Returns gas estimate and result without sending transaction
2550
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2551
+ */
2552
+ batchTransferBridgeBack(amount: bigint, options?: {
2553
+ accessList?: import("viem").AccessList;
2554
+ authorizationList?: import("viem").AuthorizationList;
2555
+ chain?: import("viem").Chain | null;
2556
+ dataSuffix?: `0x${string}`;
2557
+ gas?: bigint;
2558
+ gasPrice?: bigint;
2559
+ maxFeePerGas?: bigint;
2560
+ maxPriorityFeePerGas?: bigint;
2561
+ nonce?: number;
2562
+ value?: bigint;
2563
+ }): Promise<void>;
2564
+ /**
2565
+ * Simulate grantRole
2566
+ * Returns gas estimate and result without sending transaction
2567
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2568
+ */
2569
+ grantRole(role: `0x${string}`, account: `0x${string}`, options?: {
2570
+ accessList?: import("viem").AccessList;
2571
+ authorizationList?: import("viem").AuthorizationList;
2572
+ chain?: import("viem").Chain | null;
2573
+ dataSuffix?: `0x${string}`;
2574
+ gas?: bigint;
2575
+ gasPrice?: bigint;
2576
+ maxFeePerGas?: bigint;
2577
+ maxPriorityFeePerGas?: bigint;
2578
+ nonce?: number;
2579
+ value?: bigint;
2580
+ }): Promise<void>;
2581
+ /**
2582
+ * Simulate initialize
2583
+ * Returns gas estimate and result without sending transaction
2584
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2585
+ */
2586
+ initialize(initialOwner: `0x${string}`, initialSupply: bigint, options?: {
2587
+ accessList?: import("viem").AccessList;
2588
+ authorizationList?: import("viem").AuthorizationList;
2589
+ chain?: import("viem").Chain | null;
2590
+ dataSuffix?: `0x${string}`;
2591
+ gas?: bigint;
2592
+ gasPrice?: bigint;
2593
+ maxFeePerGas?: bigint;
2594
+ maxPriorityFeePerGas?: bigint;
2595
+ nonce?: number;
2596
+ value?: bigint;
2597
+ }): Promise<void>;
2598
+ /**
2599
+ * Simulate renounceOwnership
2600
+ * Returns gas estimate and result without sending transaction
2601
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2602
+ */
2603
+ renounceOwnership(options?: {
2604
+ accessList?: import("viem").AccessList;
2605
+ authorizationList?: import("viem").AuthorizationList;
2606
+ chain?: import("viem").Chain | null;
2607
+ dataSuffix?: `0x${string}`;
2608
+ gas?: bigint;
2609
+ gasPrice?: bigint;
2610
+ maxFeePerGas?: bigint;
2611
+ maxPriorityFeePerGas?: bigint;
2612
+ nonce?: number;
2613
+ value?: bigint;
2614
+ }): Promise<void>;
2615
+ /**
2616
+ * Simulate renounceRole
2617
+ * Returns gas estimate and result without sending transaction
2618
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2619
+ */
2620
+ renounceRole(role: `0x${string}`, callerConfirmation: `0x${string}`, options?: {
2621
+ accessList?: import("viem").AccessList;
2622
+ authorizationList?: import("viem").AuthorizationList;
2623
+ chain?: import("viem").Chain | null;
2624
+ dataSuffix?: `0x${string}`;
2625
+ gas?: bigint;
2626
+ gasPrice?: bigint;
2627
+ maxFeePerGas?: bigint;
2628
+ maxPriorityFeePerGas?: bigint;
2629
+ nonce?: number;
2630
+ value?: bigint;
2631
+ }): Promise<void>;
2632
+ /**
2633
+ * Simulate requestUnstake
2634
+ * Returns gas estimate and result without sending transaction
2635
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2636
+ */
2637
+ requestUnstake(wstTAOAmt: bigint, options?: {
2638
+ accessList?: import("viem").AccessList;
2639
+ authorizationList?: import("viem").AuthorizationList;
2640
+ chain?: import("viem").Chain | null;
2641
+ dataSuffix?: `0x${string}`;
2642
+ gas?: bigint;
2643
+ gasPrice?: bigint;
2644
+ maxFeePerGas?: bigint;
2645
+ maxPriorityFeePerGas?: bigint;
2646
+ nonce?: number;
2647
+ value?: bigint;
2648
+ }): Promise<void>;
2649
+ /**
2650
+ * Simulate revokeRole
2651
+ * Returns gas estimate and result without sending transaction
2652
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2653
+ */
2654
+ revokeRole(role: `0x${string}`, account: `0x${string}`, options?: {
2655
+ accessList?: import("viem").AccessList;
2656
+ authorizationList?: import("viem").AuthorizationList;
2657
+ chain?: import("viem").Chain | null;
2658
+ dataSuffix?: `0x${string}`;
2659
+ gas?: bigint;
2660
+ gasPrice?: bigint;
2661
+ maxFeePerGas?: bigint;
2662
+ maxPriorityFeePerGas?: bigint;
2663
+ nonce?: number;
2664
+ value?: bigint;
2665
+ }): Promise<void>;
2666
+ /**
2667
+ * Simulate safePullERC20
2668
+ * Returns gas estimate and result without sending transaction
2669
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2670
+ */
2671
+ safePullERC20(tokenAddress: `0x${string}`, to: `0x${string}`, amount: bigint, options?: {
2672
+ accessList?: import("viem").AccessList;
2673
+ authorizationList?: import("viem").AuthorizationList;
2674
+ chain?: import("viem").Chain | null;
2675
+ dataSuffix?: `0x${string}`;
2676
+ gas?: bigint;
2677
+ gasPrice?: bigint;
2678
+ maxFeePerGas?: bigint;
2679
+ maxPriorityFeePerGas?: bigint;
2680
+ nonce?: number;
2681
+ value?: bigint;
2682
+ }): Promise<void>;
2683
+ /**
2684
+ * Simulate setBridgePercentFee
2685
+ * Returns gas estimate and result without sending transaction
2686
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2687
+ */
2688
+ setBridgePercentFee(_bridgePercentFee: bigint, options?: {
2689
+ accessList?: import("viem").AccessList;
2690
+ authorizationList?: import("viem").AuthorizationList;
2691
+ chain?: import("viem").Chain | null;
2692
+ dataSuffix?: `0x${string}`;
2693
+ gas?: bigint;
2694
+ gasPrice?: bigint;
2695
+ maxFeePerGas?: bigint;
2696
+ maxPriorityFeePerGas?: bigint;
2697
+ nonce?: number;
2698
+ value?: bigint;
2699
+ }): Promise<void>;
2700
+ /**
2701
+ * Simulate setBridgeWrapper
2702
+ * Returns gas estimate and result without sending transaction
2703
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2704
+ */
2705
+ setBridgeWrapper(_bridgeWrapper: `0x${string}`, options?: {
2706
+ accessList?: import("viem").AccessList;
2707
+ authorizationList?: import("viem").AuthorizationList;
2708
+ chain?: import("viem").Chain | null;
2709
+ dataSuffix?: `0x${string}`;
2710
+ gas?: bigint;
2711
+ gasPrice?: bigint;
2712
+ maxFeePerGas?: bigint;
2713
+ maxPriorityFeePerGas?: bigint;
2714
+ nonce?: number;
2715
+ value?: bigint;
2716
+ }): Promise<void>;
2717
+ /**
2718
+ * Simulate setBridgingFee
2719
+ * Returns gas estimate and result without sending transaction
2720
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2721
+ */
2722
+ setBridgingFee(_bridgingFee: bigint, options?: {
2723
+ accessList?: import("viem").AccessList;
2724
+ authorizationList?: import("viem").AuthorizationList;
2725
+ chain?: import("viem").Chain | null;
2726
+ dataSuffix?: `0x${string}`;
2727
+ gas?: bigint;
2728
+ gasPrice?: bigint;
2729
+ maxFeePerGas?: bigint;
2730
+ maxPriorityFeePerGas?: bigint;
2731
+ nonce?: number;
2732
+ value?: bigint;
2733
+ }): Promise<void>;
2734
+ /**
2735
+ * Simulate setLowerExchangeRateBound
2736
+ * Returns gas estimate and result without sending transaction
2737
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2738
+ */
2739
+ setLowerExchangeRateBound(_newLowerBound: bigint, options?: {
2740
+ accessList?: import("viem").AccessList;
2741
+ authorizationList?: import("viem").AuthorizationList;
2742
+ chain?: import("viem").Chain | null;
2743
+ dataSuffix?: `0x${string}`;
2744
+ gas?: bigint;
2745
+ gasPrice?: bigint;
2746
+ maxFeePerGas?: bigint;
2747
+ maxPriorityFeePerGas?: bigint;
2748
+ nonce?: number;
2749
+ value?: bigint;
2750
+ }): Promise<void>;
2751
+ /**
2752
+ * Simulate setMaxDepositPerRequest
2753
+ * Returns gas estimate and result without sending transaction
2754
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2755
+ */
2756
+ setMaxDepositPerRequest(_maxDepositPerRequest: bigint, options?: {
2757
+ accessList?: import("viem").AccessList;
2758
+ authorizationList?: import("viem").AuthorizationList;
2759
+ chain?: import("viem").Chain | null;
2760
+ dataSuffix?: `0x${string}`;
2761
+ gas?: bigint;
2762
+ gasPrice?: bigint;
2763
+ maxFeePerGas?: bigint;
2764
+ maxPriorityFeePerGas?: bigint;
2765
+ nonce?: number;
2766
+ value?: bigint;
2767
+ }): Promise<void>;
2768
+ /**
2769
+ * Simulate setMaxSupply
2770
+ * Returns gas estimate and result without sending transaction
2771
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2772
+ */
2773
+ setMaxSupply(_maxSupply: bigint, options?: {
2774
+ accessList?: import("viem").AccessList;
2775
+ authorizationList?: import("viem").AuthorizationList;
2776
+ chain?: import("viem").Chain | null;
2777
+ dataSuffix?: `0x${string}`;
2778
+ gas?: bigint;
2779
+ gasPrice?: bigint;
2780
+ maxFeePerGas?: bigint;
2781
+ maxPriorityFeePerGas?: bigint;
2782
+ nonce?: number;
2783
+ value?: bigint;
2784
+ }): Promise<void>;
2785
+ /**
2786
+ * Simulate setMaxUnstakeRequest
2787
+ * Returns gas estimate and result without sending transaction
2788
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2789
+ */
2790
+ setMaxUnstakeRequest(_maxUnstakeRequests: bigint, options?: {
2791
+ accessList?: import("viem").AccessList;
2792
+ authorizationList?: import("viem").AuthorizationList;
2793
+ chain?: import("viem").Chain | null;
2794
+ dataSuffix?: `0x${string}`;
2795
+ gas?: bigint;
2796
+ gasPrice?: bigint;
2797
+ maxFeePerGas?: bigint;
2798
+ maxPriorityFeePerGas?: bigint;
2799
+ nonce?: number;
2800
+ value?: bigint;
2801
+ }): Promise<void>;
2802
+ /**
2803
+ * Simulate setMinStakingAmt
2804
+ * Returns gas estimate and result without sending transaction
2805
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2806
+ */
2807
+ setMinStakingAmt(_minStakingAmt: bigint, options?: {
2808
+ accessList?: import("viem").AccessList;
2809
+ authorizationList?: import("viem").AuthorizationList;
2810
+ chain?: import("viem").Chain | null;
2811
+ dataSuffix?: `0x${string}`;
2812
+ gas?: bigint;
2813
+ gasPrice?: bigint;
2814
+ maxFeePerGas?: bigint;
2815
+ maxPriorityFeePerGas?: bigint;
2816
+ nonce?: number;
2817
+ value?: bigint;
2818
+ }): Promise<void>;
2819
+ /**
2820
+ * Simulate setNativeTokenReceiver
2821
+ * Returns gas estimate and result without sending transaction
2822
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2823
+ */
2824
+ setNativeTokenReceiver(_nativeWalletReceiver: string, options?: {
2825
+ accessList?: import("viem").AccessList;
2826
+ authorizationList?: import("viem").AuthorizationList;
2827
+ chain?: import("viem").Chain | null;
2828
+ dataSuffix?: `0x${string}`;
2829
+ gas?: bigint;
2830
+ gasPrice?: bigint;
2831
+ maxFeePerGas?: bigint;
2832
+ maxPriorityFeePerGas?: bigint;
2833
+ nonce?: number;
2834
+ value?: bigint;
2835
+ }): Promise<void>;
2836
+ /**
2837
+ * Simulate setPaused
2838
+ * Returns gas estimate and result without sending transaction
2839
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2840
+ */
2841
+ setPaused(_isPaused: boolean, options?: {
2842
+ accessList?: import("viem").AccessList;
2843
+ authorizationList?: import("viem").AuthorizationList;
2844
+ chain?: import("viem").Chain | null;
2845
+ dataSuffix?: `0x${string}`;
2846
+ gas?: bigint;
2847
+ gasPrice?: bigint;
2848
+ maxFeePerGas?: bigint;
2849
+ maxPriorityFeePerGas?: bigint;
2850
+ nonce?: number;
2851
+ value?: bigint;
2852
+ }): Promise<void>;
2853
+ /**
2854
+ * Simulate setProtocolVault
2855
+ * Returns gas estimate and result without sending transaction
2856
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2857
+ */
2858
+ setProtocolVault(_protocolVault: `0x${string}`, options?: {
2859
+ accessList?: import("viem").AccessList;
2860
+ authorizationList?: import("viem").AuthorizationList;
2861
+ chain?: import("viem").Chain | null;
2862
+ dataSuffix?: `0x${string}`;
2863
+ gas?: bigint;
2864
+ gasPrice?: bigint;
2865
+ maxFeePerGas?: bigint;
2866
+ maxPriorityFeePerGas?: bigint;
2867
+ nonce?: number;
2868
+ value?: bigint;
2869
+ }): Promise<void>;
2870
+ /**
2871
+ * Simulate setServiceFee
2872
+ * Returns gas estimate and result without sending transaction
2873
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2874
+ */
2875
+ setServiceFee(_serviceFee: bigint, options?: {
2876
+ accessList?: import("viem").AccessList;
2877
+ authorizationList?: import("viem").AuthorizationList;
2878
+ chain?: import("viem").Chain | null;
2879
+ dataSuffix?: `0x${string}`;
2880
+ gas?: bigint;
2881
+ gasPrice?: bigint;
2882
+ maxFeePerGas?: bigint;
2883
+ maxPriorityFeePerGas?: bigint;
2884
+ nonce?: number;
2885
+ value?: bigint;
2886
+ }): Promise<void>;
2887
+ /**
2888
+ * Simulate setStakingFee
2889
+ * Returns gas estimate and result without sending transaction
2890
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2891
+ */
2892
+ setStakingFee(_stakingFee: bigint, options?: {
2893
+ accessList?: import("viem").AccessList;
2894
+ authorizationList?: import("viem").AuthorizationList;
2895
+ chain?: import("viem").Chain | null;
2896
+ dataSuffix?: `0x${string}`;
2897
+ gas?: bigint;
2898
+ gasPrice?: bigint;
2899
+ maxFeePerGas?: bigint;
2900
+ maxPriorityFeePerGas?: bigint;
2901
+ nonce?: number;
2902
+ value?: bigint;
2903
+ }): Promise<void>;
2904
+ /**
2905
+ * Simulate setUnstakingFee
2906
+ * Returns gas estimate and result without sending transaction
2907
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2908
+ */
2909
+ setUnstakingFee(_unstakingFee: bigint, options?: {
2910
+ accessList?: import("viem").AccessList;
2911
+ authorizationList?: import("viem").AuthorizationList;
2912
+ chain?: import("viem").Chain | null;
2913
+ dataSuffix?: `0x${string}`;
2914
+ gas?: bigint;
2915
+ gasPrice?: bigint;
2916
+ maxFeePerGas?: bigint;
2917
+ maxPriorityFeePerGas?: bigint;
2918
+ nonce?: number;
2919
+ value?: bigint;
2920
+ }): Promise<void>;
2921
+ /**
2922
+ * Simulate setUpperExchangeRateBound
2923
+ * Returns gas estimate and result without sending transaction
2924
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2925
+ */
2926
+ setUpperExchangeRateBound(_newUpperBound: bigint, options?: {
2927
+ accessList?: import("viem").AccessList;
2928
+ authorizationList?: import("viem").AuthorizationList;
2929
+ chain?: import("viem").Chain | null;
2930
+ dataSuffix?: `0x${string}`;
2931
+ gas?: bigint;
2932
+ gasPrice?: bigint;
2933
+ maxFeePerGas?: bigint;
2934
+ maxPriorityFeePerGas?: bigint;
2935
+ nonce?: number;
2936
+ value?: bigint;
2937
+ }): Promise<void>;
2938
+ /**
2939
+ * Simulate setWTAO
2940
+ * Returns gas estimate and result without sending transaction
2941
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2942
+ */
2943
+ setWTAO(_wTAO: `0x${string}`, options?: {
2944
+ accessList?: import("viem").AccessList;
2945
+ authorizationList?: import("viem").AuthorizationList;
2946
+ chain?: import("viem").Chain | null;
2947
+ dataSuffix?: `0x${string}`;
2948
+ gas?: bigint;
2949
+ gasPrice?: bigint;
2950
+ maxFeePerGas?: bigint;
2951
+ maxPriorityFeePerGas?: bigint;
2952
+ nonce?: number;
2953
+ value?: bigint;
2954
+ }): Promise<void>;
2955
+ /**
2956
+ * Simulate setWithdrawalManager
2957
+ * Returns gas estimate and result without sending transaction
2958
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2959
+ */
2960
+ setWithdrawalManager(_withdrawalManager: `0x${string}`, options?: {
2961
+ accessList?: import("viem").AccessList;
2962
+ authorizationList?: import("viem").AuthorizationList;
2963
+ chain?: import("viem").Chain | null;
2964
+ dataSuffix?: `0x${string}`;
2965
+ gas?: bigint;
2966
+ gasPrice?: bigint;
2967
+ maxFeePerGas?: bigint;
2968
+ maxPriorityFeePerGas?: bigint;
2969
+ nonce?: number;
2970
+ value?: bigint;
2971
+ }): Promise<void>;
2972
+ /**
2973
+ * Simulate transfer
2974
+ * Returns gas estimate and result without sending transaction
2975
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2976
+ */
2977
+ transfer(to: `0x${string}`, value: bigint, options?: {
2978
+ accessList?: import("viem").AccessList;
2979
+ authorizationList?: import("viem").AuthorizationList;
2980
+ chain?: import("viem").Chain | null;
2981
+ dataSuffix?: `0x${string}`;
2982
+ gas?: bigint;
2983
+ gasPrice?: bigint;
2984
+ maxFeePerGas?: bigint;
2985
+ maxPriorityFeePerGas?: bigint;
2986
+ nonce?: number;
2987
+ value?: bigint;
2988
+ }): Promise<boolean>;
2989
+ /**
2990
+ * Simulate transferFrom
2991
+ * Returns gas estimate and result without sending transaction
2992
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
2993
+ */
2994
+ transferFrom(from: `0x${string}`, to: `0x${string}`, value: bigint, options?: {
2995
+ accessList?: import("viem").AccessList;
2996
+ authorizationList?: import("viem").AuthorizationList;
2997
+ chain?: import("viem").Chain | null;
2998
+ dataSuffix?: `0x${string}`;
2999
+ gas?: bigint;
3000
+ gasPrice?: bigint;
3001
+ maxFeePerGas?: bigint;
3002
+ maxPriorityFeePerGas?: bigint;
3003
+ nonce?: number;
3004
+ value?: bigint;
3005
+ }): Promise<boolean>;
3006
+ /**
3007
+ * Simulate transferOwnership
3008
+ * Returns gas estimate and result without sending transaction
3009
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3010
+ */
3011
+ transferOwnership(newOwner: `0x${string}`, options?: {
3012
+ accessList?: import("viem").AccessList;
3013
+ authorizationList?: import("viem").AuthorizationList;
3014
+ chain?: import("viem").Chain | null;
3015
+ dataSuffix?: `0x${string}`;
3016
+ gas?: bigint;
3017
+ gasPrice?: bigint;
3018
+ maxFeePerGas?: bigint;
3019
+ maxPriorityFeePerGas?: bigint;
3020
+ nonce?: number;
3021
+ value?: bigint;
3022
+ }): Promise<void>;
3023
+ /**
3024
+ * Simulate unstake
3025
+ * Returns gas estimate and result without sending transaction
3026
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3027
+ */
3028
+ unstake(requestIndex: bigint, options?: {
3029
+ accessList?: import("viem").AccessList;
3030
+ authorizationList?: import("viem").AuthorizationList;
3031
+ chain?: import("viem").Chain | null;
3032
+ dataSuffix?: `0x${string}`;
3033
+ gas?: bigint;
3034
+ gasPrice?: bigint;
3035
+ maxFeePerGas?: bigint;
3036
+ maxPriorityFeePerGas?: bigint;
3037
+ nonce?: number;
3038
+ value?: bigint;
3039
+ }): Promise<void>;
3040
+ /**
3041
+ * Simulate updateExchangeRate
3042
+ * Returns gas estimate and result without sending transaction
3043
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3044
+ */
3045
+ updateExchangeRate(newRate: bigint, options?: {
3046
+ accessList?: import("viem").AccessList;
3047
+ authorizationList?: import("viem").AuthorizationList;
3048
+ chain?: import("viem").Chain | null;
3049
+ dataSuffix?: `0x${string}`;
3050
+ gas?: bigint;
3051
+ gasPrice?: bigint;
3052
+ maxFeePerGas?: bigint;
3053
+ maxPriorityFeePerGas?: bigint;
3054
+ nonce?: number;
3055
+ value?: bigint;
3056
+ }): Promise<void>;
3057
+ /**
3058
+ * Simulate wrap
3059
+ * Returns gas estimate and result without sending transaction
3060
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
3061
+ */
3062
+ wrap(wtaoAmount: bigint, options?: {
3063
+ accessList?: import("viem").AccessList;
3064
+ authorizationList?: import("viem").AuthorizationList;
3065
+ chain?: import("viem").Chain | null;
3066
+ dataSuffix?: `0x${string}`;
3067
+ gas?: bigint;
3068
+ gasPrice?: bigint;
3069
+ maxFeePerGas?: bigint;
3070
+ maxPriorityFeePerGas?: bigint;
3071
+ nonce?: number;
3072
+ value?: bigint;
3073
+ }): Promise<void>;
3074
+ };
3075
+ /**
3076
+ * Watch contract events
3077
+ *
3078
+ * @example
3079
+ * // Watch all Transfer events
3080
+ * const unwatch = contract.watch.Transfer((event) => {
3081
+ * console.log('Transfer:', event);
3082
+ * });
3083
+ *
3084
+ * // Stop watching
3085
+ * unwatch();
3086
+ */
3087
+ get watch(): {
3088
+ /**
3089
+ * Watch AdminUnstakeApproved events
3090
+ * @param callback Function to call when event is emitted
3091
+ * @param filter Optional filter for indexed parameters
3092
+ * @returns Unwatch function to stop listening
3093
+ */
3094
+ AdminUnstakeApproved: (callback: (event: {
3095
+ user: `0x${string}`;
3096
+ idx: bigint;
3097
+ approvedTimestamp: bigint;
3098
+ }) => void, filter?: {
3099
+ user: `0x${string}`;
3100
+ }) => () => void;
3101
+ /**
3102
+ * Watch Approval events
3103
+ * @param callback Function to call when event is emitted
3104
+ * @param filter Optional filter for indexed parameters
3105
+ * @returns Unwatch function to stop listening
3106
+ */
3107
+ Approval: (callback: (event: {
3108
+ owner: `0x${string}`;
3109
+ spender: `0x${string}`;
3110
+ value: bigint;
3111
+ }) => void, filter?: {
3112
+ owner: `0x${string}`;
3113
+ spender: `0x${string}`;
3114
+ }) => () => void;
3115
+ /**
3116
+ * Watch ContractPaused events
3117
+ * @param callback Function to call when event is emitted
3118
+ * @param filter Optional filter for indexed parameters
3119
+ * @returns Unwatch function to stop listening
3120
+ */
3121
+ ContractPaused: (callback: (event: {
3122
+ paused: boolean;
3123
+ }) => void) => () => void;
3124
+ /**
3125
+ * Watch ERC20TokenPulled events
3126
+ * @param callback Function to call when event is emitted
3127
+ * @param filter Optional filter for indexed parameters
3128
+ * @returns Unwatch function to stop listening
3129
+ */
3130
+ ERC20TokenPulled: (callback: (event: {
3131
+ tokenAddress: `0x${string}`;
3132
+ to: `0x${string}`;
3133
+ amount: bigint;
3134
+ }) => void) => () => void;
3135
+ /**
3136
+ * Watch Initialized events
3137
+ * @param callback Function to call when event is emitted
3138
+ * @param filter Optional filter for indexed parameters
3139
+ * @returns Unwatch function to stop listening
3140
+ */
3141
+ Initialized: (callback: (event: {
3142
+ version: bigint;
3143
+ }) => void) => () => void;
3144
+ /**
3145
+ * Watch LowerBoundUpdated events
3146
+ * @param callback Function to call when event is emitted
3147
+ * @param filter Optional filter for indexed parameters
3148
+ * @returns Unwatch function to stop listening
3149
+ */
3150
+ LowerBoundUpdated: (callback: (event: {
3151
+ newLowerBound: bigint;
3152
+ }) => void) => () => void;
3153
+ /**
3154
+ * Watch NativeTokenPulled events
3155
+ * @param callback Function to call when event is emitted
3156
+ * @param filter Optional filter for indexed parameters
3157
+ * @returns Unwatch function to stop listening
3158
+ */
3159
+ NativeTokenPulled: (callback: (event: {
3160
+ to: `0x${string}`;
3161
+ amount: bigint;
3162
+ }) => void) => () => void;
3163
+ /**
3164
+ * Watch OwnershipTransferStarted events
3165
+ * @param callback Function to call when event is emitted
3166
+ * @param filter Optional filter for indexed parameters
3167
+ * @returns Unwatch function to stop listening
3168
+ */
3169
+ OwnershipTransferStarted: (callback: (event: {
3170
+ previousOwner: `0x${string}`;
3171
+ newOwner: `0x${string}`;
3172
+ }) => void, filter?: {
3173
+ previousOwner: `0x${string}`;
3174
+ newOwner: `0x${string}`;
3175
+ }) => () => void;
3176
+ /**
3177
+ * Watch OwnershipTransferred events
3178
+ * @param callback Function to call when event is emitted
3179
+ * @param filter Optional filter for indexed parameters
3180
+ * @returns Unwatch function to stop listening
3181
+ */
3182
+ OwnershipTransferred: (callback: (event: {
3183
+ previousOwner: `0x${string}`;
3184
+ newOwner: `0x${string}`;
3185
+ }) => void, filter?: {
3186
+ previousOwner: `0x${string}`;
3187
+ newOwner: `0x${string}`;
3188
+ }) => () => void;
3189
+ /**
3190
+ * Watch RoleAdminChanged events
3191
+ * @param callback Function to call when event is emitted
3192
+ * @param filter Optional filter for indexed parameters
3193
+ * @returns Unwatch function to stop listening
3194
+ */
3195
+ RoleAdminChanged: (callback: (event: {
3196
+ role: `0x${string}`;
3197
+ previousAdminRole: `0x${string}`;
3198
+ newAdminRole: `0x${string}`;
3199
+ }) => void, filter?: {
3200
+ role: `0x${string}`;
3201
+ previousAdminRole: `0x${string}`;
3202
+ newAdminRole: `0x${string}`;
3203
+ }) => () => void;
3204
+ /**
3205
+ * Watch RoleGranted events
3206
+ * @param callback Function to call when event is emitted
3207
+ * @param filter Optional filter for indexed parameters
3208
+ * @returns Unwatch function to stop listening
3209
+ */
3210
+ RoleGranted: (callback: (event: {
3211
+ role: `0x${string}`;
3212
+ account: `0x${string}`;
3213
+ sender: `0x${string}`;
3214
+ }) => void, filter?: {
3215
+ role: `0x${string}`;
3216
+ account: `0x${string}`;
3217
+ sender: `0x${string}`;
3218
+ }) => () => void;
3219
+ /**
3220
+ * Watch RoleRevoked events
3221
+ * @param callback Function to call when event is emitted
3222
+ * @param filter Optional filter for indexed parameters
3223
+ * @returns Unwatch function to stop listening
3224
+ */
3225
+ RoleRevoked: (callback: (event: {
3226
+ role: `0x${string}`;
3227
+ account: `0x${string}`;
3228
+ sender: `0x${string}`;
3229
+ }) => void, filter?: {
3230
+ role: `0x${string}`;
3231
+ account: `0x${string}`;
3232
+ sender: `0x${string}`;
3233
+ }) => () => void;
3234
+ /**
3235
+ * Watch Transfer events
3236
+ * @param callback Function to call when event is emitted
3237
+ * @param filter Optional filter for indexed parameters
3238
+ * @returns Unwatch function to stop listening
3239
+ */
3240
+ Transfer: (callback: (event: {
3241
+ from: `0x${string}`;
3242
+ to: `0x${string}`;
3243
+ value: bigint;
3244
+ }) => void, filter?: {
3245
+ from: `0x${string}`;
3246
+ to: `0x${string}`;
3247
+ }) => () => void;
3248
+ /**
3249
+ * Watch UpdateBridgeFee events
3250
+ * @param callback Function to call when event is emitted
3251
+ * @param filter Optional filter for indexed parameters
3252
+ * @returns Unwatch function to stop listening
3253
+ */
3254
+ UpdateBridgeFee: (callback: (event: {
3255
+ bridgingFee: bigint;
3256
+ }) => void) => () => void;
3257
+ /**
3258
+ * Watch UpdateBridgePercentFee events
3259
+ * @param callback Function to call when event is emitted
3260
+ * @param filter Optional filter for indexed parameters
3261
+ * @returns Unwatch function to stop listening
3262
+ */
3263
+ UpdateBridgePercentFee: (callback: (event: {
3264
+ bridgePercentFee: bigint;
3265
+ }) => void) => () => void;
3266
+ /**
3267
+ * Watch UpdateBridgeWrapper events
3268
+ * @param callback Function to call when event is emitted
3269
+ * @param filter Optional filter for indexed parameters
3270
+ * @returns Unwatch function to stop listening
3271
+ */
3272
+ UpdateBridgeWrapper: (callback: (event: {
3273
+ bridgeWrapper: `0x${string}`;
3274
+ }) => void) => () => void;
3275
+ /**
3276
+ * Watch UpdateExchangeRate events
3277
+ * @param callback Function to call when event is emitted
3278
+ * @param filter Optional filter for indexed parameters
3279
+ * @returns Unwatch function to stop listening
3280
+ */
3281
+ UpdateExchangeRate: (callback: (event: {
3282
+ newRate: bigint;
3283
+ }) => void) => () => void;
3284
+ /**
3285
+ * Watch UpdateMaxDepositPerRequest events
3286
+ * @param callback Function to call when event is emitted
3287
+ * @param filter Optional filter for indexed parameters
3288
+ * @returns Unwatch function to stop listening
3289
+ */
3290
+ UpdateMaxDepositPerRequest: (callback: (event: {
3291
+ maxDepositPerRequest: bigint;
3292
+ }) => void) => () => void;
3293
+ /**
3294
+ * Watch UpdateMaxSupply events
3295
+ * @param callback Function to call when event is emitted
3296
+ * @param filter Optional filter for indexed parameters
3297
+ * @returns Unwatch function to stop listening
3298
+ */
3299
+ UpdateMaxSupply: (callback: (event: {
3300
+ newMaxSupply: bigint;
3301
+ }) => void) => () => void;
3302
+ /**
3303
+ * Watch UpdateMaxUnstakeRequest events
3304
+ * @param callback Function to call when event is emitted
3305
+ * @param filter Optional filter for indexed parameters
3306
+ * @returns Unwatch function to stop listening
3307
+ */
3308
+ UpdateMaxUnstakeRequest: (callback: (event: {
3309
+ maxUnstakeRequests: bigint;
3310
+ }) => void) => () => void;
3311
+ /**
3312
+ * Watch UpdateMinStakingAmt events
3313
+ * @param callback Function to call when event is emitted
3314
+ * @param filter Optional filter for indexed parameters
3315
+ * @returns Unwatch function to stop listening
3316
+ */
3317
+ UpdateMinStakingAmt: (callback: (event: {
3318
+ minStakingAmt: bigint;
3319
+ }) => void) => () => void;
3320
+ /**
3321
+ * Watch UpdateNativeFinneyReceiver events
3322
+ * @param callback Function to call when event is emitted
3323
+ * @param filter Optional filter for indexed parameters
3324
+ * @returns Unwatch function to stop listening
3325
+ */
3326
+ UpdateNativeFinneyReceiver: (callback: (event: {
3327
+ newNativeWalletReceiver: string;
3328
+ }) => void) => () => void;
3329
+ /**
3330
+ * Watch UpdateProtocolVault events
3331
+ * @param callback Function to call when event is emitted
3332
+ * @param filter Optional filter for indexed parameters
3333
+ * @returns Unwatch function to stop listening
3334
+ */
3335
+ UpdateProtocolVault: (callback: (event: {
3336
+ newProtocolVault: `0x${string}`;
3337
+ }) => void) => () => void;
3338
+ /**
3339
+ * Watch UpdateServiceFee events
3340
+ * @param callback Function to call when event is emitted
3341
+ * @param filter Optional filter for indexed parameters
3342
+ * @returns Unwatch function to stop listening
3343
+ */
3344
+ UpdateServiceFee: (callback: (event: {
3345
+ serviceFee: bigint;
3346
+ }) => void) => () => void;
3347
+ /**
3348
+ * Watch UpdateStakingFee events
3349
+ * @param callback Function to call when event is emitted
3350
+ * @param filter Optional filter for indexed parameters
3351
+ * @returns Unwatch function to stop listening
3352
+ */
3353
+ UpdateStakingFee: (callback: (event: {
3354
+ stakingFee: bigint;
3355
+ }) => void) => () => void;
3356
+ /**
3357
+ * Watch UpdateUnstakingFee events
3358
+ * @param callback Function to call when event is emitted
3359
+ * @param filter Optional filter for indexed parameters
3360
+ * @returns Unwatch function to stop listening
3361
+ */
3362
+ UpdateUnstakingFee: (callback: (event: {
3363
+ newUnstakingFee: bigint;
3364
+ }) => void) => () => void;
3365
+ /**
3366
+ * Watch UpdateWTao events
3367
+ * @param callback Function to call when event is emitted
3368
+ * @param filter Optional filter for indexed parameters
3369
+ * @returns Unwatch function to stop listening
3370
+ */
3371
+ UpdateWTao: (callback: (event: {
3372
+ newWTAO: `0x${string}`;
3373
+ }) => void) => () => void;
3374
+ /**
3375
+ * Watch UpdateWithdrawalManager events
3376
+ * @param callback Function to call when event is emitted
3377
+ * @param filter Optional filter for indexed parameters
3378
+ * @returns Unwatch function to stop listening
3379
+ */
3380
+ UpdateWithdrawalManager: (callback: (event: {
3381
+ withdrawalManager: `0x${string}`;
3382
+ }) => void) => () => void;
3383
+ /**
3384
+ * Watch UpperBoundUpdated events
3385
+ * @param callback Function to call when event is emitted
3386
+ * @param filter Optional filter for indexed parameters
3387
+ * @returns Unwatch function to stop listening
3388
+ */
3389
+ UpperBoundUpdated: (callback: (event: {
3390
+ newUpperBound: bigint;
3391
+ }) => void) => () => void;
3392
+ /**
3393
+ * Watch UserStake events
3394
+ * @param callback Function to call when event is emitted
3395
+ * @param filter Optional filter for indexed parameters
3396
+ * @returns Unwatch function to stop listening
3397
+ */
3398
+ UserStake: (callback: (event: {
3399
+ user: `0x${string}`;
3400
+ stakeTimestamp: bigint;
3401
+ inTaoAmt: bigint;
3402
+ wstAmount: bigint;
3403
+ }) => void, filter?: {
3404
+ user: `0x${string}`;
3405
+ }) => () => void;
3406
+ /**
3407
+ * Watch UserUnstake events
3408
+ * @param callback Function to call when event is emitted
3409
+ * @param filter Optional filter for indexed parameters
3410
+ * @returns Unwatch function to stop listening
3411
+ */
3412
+ UserUnstake: (callback: (event: {
3413
+ user: `0x${string}`;
3414
+ idx: bigint;
3415
+ unstakeTimestamp: bigint;
3416
+ }) => void, filter?: {
3417
+ user: `0x${string}`;
3418
+ }) => () => void;
3419
+ /**
3420
+ * Watch UserUnstakeRequested events
3421
+ * @param callback Function to call when event is emitted
3422
+ * @param filter Optional filter for indexed parameters
3423
+ * @returns Unwatch function to stop listening
3424
+ */
3425
+ UserUnstakeRequested: (callback: (event: {
3426
+ user: `0x${string}`;
3427
+ idx: bigint;
3428
+ requestTimestamp: bigint;
3429
+ wstAmount: bigint;
3430
+ outTaoAmt: bigint;
3431
+ wrappedToken: `0x${string}`;
3432
+ }) => void, filter?: {
3433
+ user: `0x${string}`;
3434
+ }) => () => void;
3435
+ };
3436
+ }