@gitmyabi/stakingmanager 1.0.3 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,14 +1,4 @@
1
1
  import type { Address, PublicClient, WalletClient } from 'viem';
2
- /**
3
- * stakingManagerV4.PoolStaker struct type
4
- */
5
- export type stakingManagerV4_PoolStaker = {
6
- amount: bigint;
7
- stakedTime: bigint;
8
- lastUpdatedBlock: bigint;
9
- Harvestedrewards: bigint;
10
- rewardDebt: bigint;
11
- };
12
2
  /**
13
3
  * stakingManagerV4_json ABI
14
4
  *
@@ -73,6 +63,46 @@ export declare const stakingManagerV4_jsonAbi: readonly [{
73
63
  }];
74
64
  readonly name: "OwnershipTransferred";
75
65
  readonly type: "event";
66
+ }, {
67
+ readonly anonymous: false;
68
+ readonly inputs: readonly [{
69
+ readonly indexed: true;
70
+ readonly internalType: "address";
71
+ readonly name: "user";
72
+ readonly type: "address";
73
+ }, {
74
+ readonly indexed: false;
75
+ readonly internalType: "uint256";
76
+ readonly name: "amount";
77
+ readonly type: "uint256";
78
+ }, {
79
+ readonly indexed: false;
80
+ readonly internalType: "uint256";
81
+ readonly name: "timestamp";
82
+ readonly type: "uint256";
83
+ }];
84
+ readonly name: "RestakePrincipal";
85
+ readonly type: "event";
86
+ }, {
87
+ readonly anonymous: false;
88
+ readonly inputs: readonly [{
89
+ readonly indexed: true;
90
+ readonly internalType: "address";
91
+ readonly name: "user";
92
+ readonly type: "address";
93
+ }, {
94
+ readonly indexed: false;
95
+ readonly internalType: "uint256";
96
+ readonly name: "amount";
97
+ readonly type: "uint256";
98
+ }, {
99
+ readonly indexed: false;
100
+ readonly internalType: "uint256";
101
+ readonly name: "timestamp";
102
+ readonly type: "uint256";
103
+ }];
104
+ readonly name: "RestakeRewards";
105
+ readonly type: "event";
76
106
  }, {
77
107
  readonly anonymous: false;
78
108
  readonly inputs: readonly [{
@@ -90,11 +120,11 @@ export declare const stakingManagerV4_jsonAbi: readonly [{
90
120
  readonly type: "event";
91
121
  }, {
92
122
  readonly inputs: readonly [];
93
- readonly name: "accShareOld";
123
+ readonly name: "DEV_WALLET";
94
124
  readonly outputs: readonly [{
95
- readonly internalType: "uint256";
125
+ readonly internalType: "address";
96
126
  readonly name: "";
97
- readonly type: "uint256";
127
+ readonly type: "address";
98
128
  }];
99
129
  readonly stateMutability: "view";
100
130
  readonly type: "function";
@@ -118,30 +148,6 @@ export declare const stakingManagerV4_jsonAbi: readonly [{
118
148
  }];
119
149
  readonly stateMutability: "view";
120
150
  readonly type: "function";
121
- }, {
122
- readonly inputs: readonly [{
123
- readonly internalType: "uint256";
124
- readonly name: "_amount";
125
- readonly type: "uint256";
126
- }];
127
- readonly name: "deposit";
128
- readonly outputs: readonly [];
129
- readonly stateMutability: "nonpayable";
130
- readonly type: "function";
131
- }, {
132
- readonly inputs: readonly [{
133
- readonly internalType: "address";
134
- readonly name: "_user";
135
- readonly type: "address";
136
- }, {
137
- readonly internalType: "uint256";
138
- readonly name: "_amount";
139
- readonly type: "uint256";
140
- }];
141
- readonly name: "depositByPresale";
142
- readonly outputs: readonly [];
143
- readonly stateMutability: "nonpayable";
144
- readonly type: "function";
145
151
  }, {
146
152
  readonly inputs: readonly [];
147
153
  readonly name: "endBlock";
@@ -206,6 +212,16 @@ export declare const stakingManagerV4_jsonAbi: readonly [{
206
212
  }];
207
213
  readonly stateMutability: "view";
208
214
  readonly type: "function";
215
+ }, {
216
+ readonly inputs: readonly [];
217
+ readonly name: "newStaking";
218
+ readonly outputs: readonly [{
219
+ readonly internalType: "contract INewStaking";
220
+ readonly name: "";
221
+ readonly type: "address";
222
+ }];
223
+ readonly stateMutability: "view";
224
+ readonly type: "function";
209
225
  }, {
210
226
  readonly inputs: readonly [];
211
227
  readonly name: "owner";
@@ -219,35 +235,30 @@ export declare const stakingManagerV4_jsonAbi: readonly [{
219
235
  }, {
220
236
  readonly inputs: readonly [{
221
237
  readonly internalType: "address";
222
- readonly name: "_user";
238
+ readonly name: "";
223
239
  readonly type: "address";
224
240
  }];
225
241
  readonly name: "poolStakers";
226
242
  readonly outputs: readonly [{
227
- readonly components: readonly [{
228
- readonly internalType: "uint256";
229
- readonly name: "amount";
230
- readonly type: "uint256";
231
- }, {
232
- readonly internalType: "uint256";
233
- readonly name: "stakedTime";
234
- readonly type: "uint256";
235
- }, {
236
- readonly internalType: "uint256";
237
- readonly name: "lastUpdatedBlock";
238
- readonly type: "uint256";
239
- }, {
240
- readonly internalType: "uint256";
241
- readonly name: "Harvestedrewards";
242
- readonly type: "uint256";
243
- }, {
244
- readonly internalType: "uint256";
245
- readonly name: "rewardDebt";
246
- readonly type: "uint256";
247
- }];
248
- readonly internalType: "struct stakingManagerV4.PoolStaker";
249
- readonly name: "";
250
- readonly type: "tuple";
243
+ readonly internalType: "uint256";
244
+ readonly name: "amount";
245
+ readonly type: "uint256";
246
+ }, {
247
+ readonly internalType: "uint256";
248
+ readonly name: "stakedTime";
249
+ readonly type: "uint256";
250
+ }, {
251
+ readonly internalType: "uint256";
252
+ readonly name: "lastUpdatedBlock";
253
+ readonly type: "uint256";
254
+ }, {
255
+ readonly internalType: "uint256";
256
+ readonly name: "Harvestedrewards";
257
+ readonly type: "uint256";
258
+ }, {
259
+ readonly internalType: "uint256";
260
+ readonly name: "rewardDebt";
261
+ readonly type: "uint256";
251
262
  }];
252
263
  readonly stateMutability: "view";
253
264
  readonly type: "function";
@@ -277,6 +288,12 @@ export declare const stakingManagerV4_jsonAbi: readonly [{
277
288
  readonly outputs: readonly [];
278
289
  readonly stateMutability: "nonpayable";
279
290
  readonly type: "function";
291
+ }, {
292
+ readonly inputs: readonly [];
293
+ readonly name: "restakeNew";
294
+ readonly outputs: readonly [];
295
+ readonly stateMutability: "nonpayable";
296
+ readonly type: "function";
280
297
  }, {
281
298
  readonly inputs: readonly [];
282
299
  readonly name: "rewardTokensPerBlock";
@@ -287,16 +304,6 @@ export declare const stakingManagerV4_jsonAbi: readonly [{
287
304
  }];
288
305
  readonly stateMutability: "view";
289
306
  readonly type: "function";
290
- }, {
291
- readonly inputs: readonly [{
292
- readonly internalType: "uint256";
293
- readonly name: "_claimStart";
294
- readonly type: "uint256";
295
- }];
296
- readonly name: "setClaimStart";
297
- readonly outputs: readonly [];
298
- readonly stateMutability: "nonpayable";
299
- readonly type: "function";
300
307
  }, {
301
308
  readonly inputs: readonly [{
302
309
  readonly internalType: "uint256";
@@ -307,33 +314,13 @@ export declare const stakingManagerV4_jsonAbi: readonly [{
307
314
  readonly outputs: readonly [];
308
315
  readonly stateMutability: "nonpayable";
309
316
  readonly type: "function";
310
- }, {
311
- readonly inputs: readonly [{
312
- readonly internalType: "bool";
313
- readonly name: "_harvestlock";
314
- readonly type: "bool";
315
- }];
316
- readonly name: "setHarvestLock";
317
- readonly outputs: readonly [];
318
- readonly stateMutability: "nonpayable";
319
- readonly type: "function";
320
- }, {
321
- readonly inputs: readonly [{
322
- readonly internalType: "uint256";
323
- readonly name: "_time";
324
- readonly type: "uint256";
325
- }];
326
- readonly name: "setLockedTime";
327
- readonly outputs: readonly [];
328
- readonly stateMutability: "nonpayable";
329
- readonly type: "function";
330
317
  }, {
331
318
  readonly inputs: readonly [{
332
319
  readonly internalType: "address";
333
- readonly name: "_presale";
320
+ readonly name: "_stakingContract";
334
321
  readonly type: "address";
335
322
  }];
336
- readonly name: "setPresale";
323
+ readonly name: "setNewStaking";
337
324
  readonly outputs: readonly [];
338
325
  readonly stateMutability: "nonpayable";
339
326
  readonly type: "function";
@@ -347,26 +334,6 @@ export declare const stakingManagerV4_jsonAbi: readonly [{
347
334
  readonly outputs: readonly [];
348
335
  readonly stateMutability: "nonpayable";
349
336
  readonly type: "function";
350
- }, {
351
- readonly inputs: readonly [{
352
- readonly internalType: "bool";
353
- readonly name: "_vestLock";
354
- readonly type: "bool";
355
- }];
356
- readonly name: "setVestLock";
357
- readonly outputs: readonly [];
358
- readonly stateMutability: "nonpayable";
359
- readonly type: "function";
360
- }, {
361
- readonly inputs: readonly [{
362
- readonly internalType: "uint256";
363
- readonly name: "_vestingEndTime";
364
- readonly type: "uint256";
365
- }];
366
- readonly name: "setVestingDetails";
367
- readonly outputs: readonly [];
368
- readonly stateMutability: "nonpayable";
369
- readonly type: "function";
370
337
  }, {
371
338
  readonly inputs: readonly [];
372
339
  readonly name: "stakeToken";
@@ -378,18 +345,18 @@ export declare const stakingManagerV4_jsonAbi: readonly [{
378
345
  readonly stateMutability: "view";
379
346
  readonly type: "function";
380
347
  }, {
381
- readonly inputs: readonly [];
382
- readonly name: "tokensStaked";
383
- readonly outputs: readonly [{
348
+ readonly inputs: readonly [{
384
349
  readonly internalType: "uint256";
385
- readonly name: "";
350
+ readonly name: "amount";
386
351
  readonly type: "uint256";
387
352
  }];
388
- readonly stateMutability: "view";
353
+ readonly name: "tokenTransfer";
354
+ readonly outputs: readonly [];
355
+ readonly stateMutability: "nonpayable";
389
356
  readonly type: "function";
390
357
  }, {
391
358
  readonly inputs: readonly [];
392
- readonly name: "tokensStakedByPresale";
359
+ readonly name: "tokensStaked";
393
360
  readonly outputs: readonly [{
394
361
  readonly internalType: "uint256";
395
362
  readonly name: "";
@@ -399,7 +366,7 @@ export declare const stakingManagerV4_jsonAbi: readonly [{
399
366
  readonly type: "function";
400
367
  }, {
401
368
  readonly inputs: readonly [];
402
- readonly name: "tokensStakedPrev";
369
+ readonly name: "tokensStakedByPresale";
403
370
  readonly outputs: readonly [{
404
371
  readonly internalType: "uint256";
405
372
  readonly name: "";
@@ -431,54 +398,6 @@ export declare const stakingManagerV4_jsonAbi: readonly [{
431
398
  }];
432
399
  readonly stateMutability: "view";
433
400
  readonly type: "function";
434
- }, {
435
- readonly inputs: readonly [{
436
- readonly internalType: "address";
437
- readonly name: "";
438
- readonly type: "address";
439
- }];
440
- readonly name: "userVestingDetails";
441
- readonly outputs: readonly [{
442
- readonly internalType: "uint256";
443
- readonly name: "totalVestedAmount";
444
- readonly type: "uint256";
445
- }, {
446
- readonly internalType: "uint256";
447
- readonly name: "totalAmountGivenOut";
448
- readonly type: "uint256";
449
- }];
450
- readonly stateMutability: "view";
451
- readonly type: "function";
452
- }, {
453
- readonly inputs: readonly [];
454
- readonly name: "vestLock";
455
- readonly outputs: readonly [{
456
- readonly internalType: "bool";
457
- readonly name: "";
458
- readonly type: "bool";
459
- }];
460
- readonly stateMutability: "view";
461
- readonly type: "function";
462
- }, {
463
- readonly inputs: readonly [];
464
- readonly name: "vestingEndTime";
465
- readonly outputs: readonly [{
466
- readonly internalType: "uint256";
467
- readonly name: "";
468
- readonly type: "uint256";
469
- }];
470
- readonly stateMutability: "view";
471
- readonly type: "function";
472
- }, {
473
- readonly inputs: readonly [];
474
- readonly name: "vestingStartBlock";
475
- readonly outputs: readonly [{
476
- readonly internalType: "uint256";
477
- readonly name: "";
478
- readonly type: "uint256";
479
- }];
480
- readonly stateMutability: "view";
481
- readonly type: "function";
482
401
  }, {
483
402
  readonly inputs: readonly [];
484
403
  readonly name: "withdraw";
@@ -543,10 +462,10 @@ export declare class stakingManagerV4_json {
543
462
  */
544
463
  getContract(): stakingManagerV4_jsonContract;
545
464
  /**
546
- * accShareOld
465
+ * DEV_WALLET
547
466
  * view
548
467
  */
549
- accShareOld(): Promise<bigint>;
468
+ DEV_WALLET(): Promise<`0x${string}`>;
550
469
  /**
551
470
  * claimStart
552
471
  * view
@@ -577,6 +496,11 @@ export declare class stakingManagerV4_json {
577
496
  * view
578
497
  */
579
498
  lockedTime(): Promise<bigint>;
499
+ /**
500
+ * newStaking
501
+ * view
502
+ */
503
+ newStaking(): Promise<`0x${string}`>;
580
504
  /**
581
505
  * owner
582
506
  * view
@@ -586,7 +510,7 @@ export declare class stakingManagerV4_json {
586
510
  * poolStakers
587
511
  * view
588
512
  */
589
- poolStakers(_user: `0x${string}`): Promise<stakingManagerV4_PoolStaker>;
513
+ poolStakers(arg0: `0x${string}`): Promise<[bigint, bigint, bigint, bigint, bigint]>;
590
514
  /**
591
515
  * presaleContract
592
516
  * view
@@ -612,36 +536,11 @@ export declare class stakingManagerV4_json {
612
536
  * view
613
537
  */
614
538
  tokensStakedByPresale(): Promise<bigint>;
615
- /**
616
- * tokensStakedPrev
617
- * view
618
- */
619
- tokensStakedPrev(): Promise<bigint>;
620
539
  /**
621
540
  * userLockedRewards
622
541
  * view
623
542
  */
624
543
  userLockedRewards(arg0: `0x${string}`): Promise<bigint>;
625
- /**
626
- * userVestingDetails
627
- * view
628
- */
629
- userVestingDetails(arg0: `0x${string}`): Promise<[bigint, bigint]>;
630
- /**
631
- * vestLock
632
- * view
633
- */
634
- vestLock(): Promise<boolean>;
635
- /**
636
- * vestingEndTime
637
- * view
638
- */
639
- vestingEndTime(): Promise<bigint>;
640
- /**
641
- * vestingStartBlock
642
- * view
643
- */
644
- vestingStartBlock(): Promise<bigint>;
645
544
  /**
646
545
  * blacklistUsers
647
546
  * nonpayable
@@ -659,40 +558,6 @@ export declare class stakingManagerV4_json {
659
558
  nonce?: number;
660
559
  value?: bigint;
661
560
  }): Promise<`0x${string}`>;
662
- /**
663
- * deposit
664
- * nonpayable
665
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
666
- */
667
- deposit(_amount: bigint, options?: {
668
- accessList?: import('viem').AccessList;
669
- authorizationList?: import('viem').AuthorizationList;
670
- chain?: import('viem').Chain | null;
671
- dataSuffix?: `0x${string}`;
672
- gas?: bigint;
673
- gasPrice?: bigint;
674
- maxFeePerGas?: bigint;
675
- maxPriorityFeePerGas?: bigint;
676
- nonce?: number;
677
- value?: bigint;
678
- }): Promise<`0x${string}`>;
679
- /**
680
- * depositByPresale
681
- * nonpayable
682
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
683
- */
684
- depositByPresale(_user: `0x${string}`, _amount: bigint, options?: {
685
- accessList?: import('viem').AccessList;
686
- authorizationList?: import('viem').AuthorizationList;
687
- chain?: import('viem').Chain | null;
688
- dataSuffix?: `0x${string}`;
689
- gas?: bigint;
690
- gasPrice?: bigint;
691
- maxFeePerGas?: bigint;
692
- maxPriorityFeePerGas?: bigint;
693
- nonce?: number;
694
- value?: bigint;
695
- }): Promise<`0x${string}`>;
696
561
  /**
697
562
  * harvestRewards
698
563
  * nonpayable
@@ -745,11 +610,11 @@ export declare class stakingManagerV4_json {
745
610
  value?: bigint;
746
611
  }): Promise<`0x${string}`>;
747
612
  /**
748
- * setClaimStart
613
+ * restakeNew
749
614
  * nonpayable
750
615
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
751
616
  */
752
- setClaimStart(_claimStart: bigint, options?: {
617
+ restakeNew(options?: {
753
618
  accessList?: import('viem').AccessList;
754
619
  authorizationList?: import('viem').AuthorizationList;
755
620
  chain?: import('viem').Chain | null;
@@ -779,45 +644,11 @@ export declare class stakingManagerV4_json {
779
644
  value?: bigint;
780
645
  }): Promise<`0x${string}`>;
781
646
  /**
782
- * setHarvestLock
647
+ * setNewStaking
783
648
  * nonpayable
784
649
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
785
650
  */
786
- setHarvestLock(_harvestlock: boolean, options?: {
787
- accessList?: import('viem').AccessList;
788
- authorizationList?: import('viem').AuthorizationList;
789
- chain?: import('viem').Chain | null;
790
- dataSuffix?: `0x${string}`;
791
- gas?: bigint;
792
- gasPrice?: bigint;
793
- maxFeePerGas?: bigint;
794
- maxPriorityFeePerGas?: bigint;
795
- nonce?: number;
796
- value?: bigint;
797
- }): Promise<`0x${string}`>;
798
- /**
799
- * setLockedTime
800
- * nonpayable
801
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
802
- */
803
- setLockedTime(_time: bigint, options?: {
804
- accessList?: import('viem').AccessList;
805
- authorizationList?: import('viem').AuthorizationList;
806
- chain?: import('viem').Chain | null;
807
- dataSuffix?: `0x${string}`;
808
- gas?: bigint;
809
- gasPrice?: bigint;
810
- maxFeePerGas?: bigint;
811
- maxPriorityFeePerGas?: bigint;
812
- nonce?: number;
813
- value?: bigint;
814
- }): Promise<`0x${string}`>;
815
- /**
816
- * setPresale
817
- * nonpayable
818
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
819
- */
820
- setPresale(_presale: `0x${string}`, options?: {
651
+ setNewStaking(_stakingContract: `0x${string}`, options?: {
821
652
  accessList?: import('viem').AccessList;
822
653
  authorizationList?: import('viem').AuthorizationList;
823
654
  chain?: import('viem').Chain | null;
@@ -847,28 +678,11 @@ export declare class stakingManagerV4_json {
847
678
  value?: bigint;
848
679
  }): Promise<`0x${string}`>;
849
680
  /**
850
- * setVestLock
681
+ * tokenTransfer
851
682
  * nonpayable
852
683
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
853
684
  */
854
- setVestLock(_vestLock: boolean, options?: {
855
- accessList?: import('viem').AccessList;
856
- authorizationList?: import('viem').AuthorizationList;
857
- chain?: import('viem').Chain | null;
858
- dataSuffix?: `0x${string}`;
859
- gas?: bigint;
860
- gasPrice?: bigint;
861
- maxFeePerGas?: bigint;
862
- maxPriorityFeePerGas?: bigint;
863
- nonce?: number;
864
- value?: bigint;
865
- }): Promise<`0x${string}`>;
866
- /**
867
- * setVestingDetails
868
- * nonpayable
869
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
870
- */
871
- setVestingDetails(_vestingEndTime: bigint, options?: {
685
+ tokenTransfer(amount: bigint, options?: {
872
686
  accessList?: import('viem').AccessList;
873
687
  authorizationList?: import('viem').AuthorizationList;
874
688
  chain?: import('viem').Chain | null;
@@ -940,40 +754,6 @@ export declare class stakingManagerV4_json {
940
754
  nonce?: number;
941
755
  value?: bigint;
942
756
  }): Promise<void>;
943
- /**
944
- * Simulate deposit
945
- * Returns gas estimate and result without sending transaction
946
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
947
- */
948
- deposit(_amount: bigint, options?: {
949
- accessList?: import("viem").AccessList;
950
- authorizationList?: import("viem").AuthorizationList;
951
- chain?: import("viem").Chain | null;
952
- dataSuffix?: `0x${string}`;
953
- gas?: bigint;
954
- gasPrice?: bigint;
955
- maxFeePerGas?: bigint;
956
- maxPriorityFeePerGas?: bigint;
957
- nonce?: number;
958
- value?: bigint;
959
- }): Promise<void>;
960
- /**
961
- * Simulate depositByPresale
962
- * Returns gas estimate and result without sending transaction
963
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
964
- */
965
- depositByPresale(_user: `0x${string}`, _amount: bigint, options?: {
966
- accessList?: import("viem").AccessList;
967
- authorizationList?: import("viem").AuthorizationList;
968
- chain?: import("viem").Chain | null;
969
- dataSuffix?: `0x${string}`;
970
- gas?: bigint;
971
- gasPrice?: bigint;
972
- maxFeePerGas?: bigint;
973
- maxPriorityFeePerGas?: bigint;
974
- nonce?: number;
975
- value?: bigint;
976
- }): Promise<void>;
977
757
  /**
978
758
  * Simulate harvestRewards
979
759
  * Returns gas estimate and result without sending transaction
@@ -1026,11 +806,11 @@ export declare class stakingManagerV4_json {
1026
806
  value?: bigint;
1027
807
  }): Promise<void>;
1028
808
  /**
1029
- * Simulate setClaimStart
809
+ * Simulate restakeNew
1030
810
  * Returns gas estimate and result without sending transaction
1031
811
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1032
812
  */
1033
- setClaimStart(_claimStart: bigint, options?: {
813
+ restakeNew(options?: {
1034
814
  accessList?: import("viem").AccessList;
1035
815
  authorizationList?: import("viem").AuthorizationList;
1036
816
  chain?: import("viem").Chain | null;
@@ -1060,45 +840,11 @@ export declare class stakingManagerV4_json {
1060
840
  value?: bigint;
1061
841
  }): Promise<void>;
1062
842
  /**
1063
- * Simulate setHarvestLock
843
+ * Simulate setNewStaking
1064
844
  * Returns gas estimate and result without sending transaction
1065
845
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1066
846
  */
1067
- setHarvestLock(_harvestlock: boolean, options?: {
1068
- accessList?: import("viem").AccessList;
1069
- authorizationList?: import("viem").AuthorizationList;
1070
- chain?: import("viem").Chain | null;
1071
- dataSuffix?: `0x${string}`;
1072
- gas?: bigint;
1073
- gasPrice?: bigint;
1074
- maxFeePerGas?: bigint;
1075
- maxPriorityFeePerGas?: bigint;
1076
- nonce?: number;
1077
- value?: bigint;
1078
- }): Promise<void>;
1079
- /**
1080
- * Simulate setLockedTime
1081
- * Returns gas estimate and result without sending transaction
1082
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
1083
- */
1084
- setLockedTime(_time: bigint, options?: {
1085
- accessList?: import("viem").AccessList;
1086
- authorizationList?: import("viem").AuthorizationList;
1087
- chain?: import("viem").Chain | null;
1088
- dataSuffix?: `0x${string}`;
1089
- gas?: bigint;
1090
- gasPrice?: bigint;
1091
- maxFeePerGas?: bigint;
1092
- maxPriorityFeePerGas?: bigint;
1093
- nonce?: number;
1094
- value?: bigint;
1095
- }): Promise<void>;
1096
- /**
1097
- * Simulate setPresale
1098
- * Returns gas estimate and result without sending transaction
1099
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
1100
- */
1101
- setPresale(_presale: `0x${string}`, options?: {
847
+ setNewStaking(_stakingContract: `0x${string}`, options?: {
1102
848
  accessList?: import("viem").AccessList;
1103
849
  authorizationList?: import("viem").AuthorizationList;
1104
850
  chain?: import("viem").Chain | null;
@@ -1128,28 +874,11 @@ export declare class stakingManagerV4_json {
1128
874
  value?: bigint;
1129
875
  }): Promise<void>;
1130
876
  /**
1131
- * Simulate setVestLock
1132
- * Returns gas estimate and result without sending transaction
1133
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
1134
- */
1135
- setVestLock(_vestLock: boolean, options?: {
1136
- accessList?: import("viem").AccessList;
1137
- authorizationList?: import("viem").AuthorizationList;
1138
- chain?: import("viem").Chain | null;
1139
- dataSuffix?: `0x${string}`;
1140
- gas?: bigint;
1141
- gasPrice?: bigint;
1142
- maxFeePerGas?: bigint;
1143
- maxPriorityFeePerGas?: bigint;
1144
- nonce?: number;
1145
- value?: bigint;
1146
- }): Promise<void>;
1147
- /**
1148
- * Simulate setVestingDetails
877
+ * Simulate tokenTransfer
1149
878
  * Returns gas estimate and result without sending transaction
1150
879
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1151
880
  */
1152
- setVestingDetails(_vestingEndTime: bigint, options?: {
881
+ tokenTransfer(amount: bigint, options?: {
1153
882
  accessList?: import("viem").AccessList;
1154
883
  authorizationList?: import("viem").AuthorizationList;
1155
884
  chain?: import("viem").Chain | null;
@@ -1255,6 +984,32 @@ export declare class stakingManagerV4_json {
1255
984
  previousOwner: `0x${string}`;
1256
985
  newOwner: `0x${string}`;
1257
986
  }) => () => void;
987
+ /**
988
+ * Watch RestakePrincipal events
989
+ * @param callback Function to call when event is emitted
990
+ * @param filter Optional filter for indexed parameters
991
+ * @returns Unwatch function to stop listening
992
+ */
993
+ RestakePrincipal: (callback: (event: {
994
+ user: `0x${string}`;
995
+ amount: bigint;
996
+ timestamp: bigint;
997
+ }) => void, filter?: {
998
+ user: `0x${string}`;
999
+ }) => () => void;
1000
+ /**
1001
+ * Watch RestakeRewards events
1002
+ * @param callback Function to call when event is emitted
1003
+ * @param filter Optional filter for indexed parameters
1004
+ * @returns Unwatch function to stop listening
1005
+ */
1006
+ RestakeRewards: (callback: (event: {
1007
+ user: `0x${string}`;
1008
+ amount: bigint;
1009
+ timestamp: bigint;
1010
+ }) => void, filter?: {
1011
+ user: `0x${string}`;
1012
+ }) => () => void;
1258
1013
  /**
1259
1014
  * Watch Withdraw events
1260
1015
  * @param callback Function to call when event is emitted