@gitmyabi/stakingmanager 1.0.6 → 1.0.7

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.
@@ -77,76 +77,6 @@ export const TransparentUpgradeableProxy_jsonAbi = [
77
77
  "stateMutability": "payable",
78
78
  "type": "fallback"
79
79
  },
80
- {
81
- "inputs": [],
82
- "name": "admin",
83
- "outputs": [
84
- {
85
- "internalType": "address",
86
- "name": "admin_",
87
- "type": "address"
88
- }
89
- ],
90
- "stateMutability": "nonpayable",
91
- "type": "function"
92
- },
93
- {
94
- "inputs": [
95
- {
96
- "internalType": "address",
97
- "name": "newAdmin",
98
- "type": "address"
99
- }
100
- ],
101
- "name": "changeAdmin",
102
- "outputs": [],
103
- "stateMutability": "nonpayable",
104
- "type": "function"
105
- },
106
- {
107
- "inputs": [],
108
- "name": "implementation",
109
- "outputs": [
110
- {
111
- "internalType": "address",
112
- "name": "implementation_",
113
- "type": "address"
114
- }
115
- ],
116
- "stateMutability": "nonpayable",
117
- "type": "function"
118
- },
119
- {
120
- "inputs": [
121
- {
122
- "internalType": "address",
123
- "name": "newImplementation",
124
- "type": "address"
125
- }
126
- ],
127
- "name": "upgradeTo",
128
- "outputs": [],
129
- "stateMutability": "nonpayable",
130
- "type": "function"
131
- },
132
- {
133
- "inputs": [
134
- {
135
- "internalType": "address",
136
- "name": "newImplementation",
137
- "type": "address"
138
- },
139
- {
140
- "internalType": "bytes",
141
- "name": "data",
142
- "type": "bytes"
143
- }
144
- ],
145
- "name": "upgradeToAndCall",
146
- "outputs": [],
147
- "stateMutability": "payable",
148
- "type": "function"
149
- },
150
80
  {
151
81
  "stateMutability": "payable",
152
82
  "type": "receive"
@@ -237,233 +167,17 @@ export class TransparentUpgradeableProxy_json {
237
167
 
238
168
  // No read functions
239
169
 
240
- /**
241
- * admin
242
- * nonpayable
243
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
244
- */
245
- async admin(options?: {
246
- accessList?: import('viem').AccessList;
247
- authorizationList?: import('viem').AuthorizationList;
248
- chain?: import('viem').Chain | null;
249
- dataSuffix?: `0x${string}`;
250
- gas?: bigint;
251
- gasPrice?: bigint;
252
- maxFeePerGas?: bigint;
253
- maxPriorityFeePerGas?: bigint;
254
- nonce?: number;
255
- value?: bigint;
256
- }): Promise<`0x${string}`> {
257
- if (!this.contract.write) {
258
- throw new Error('Wallet client is required for write operations');
259
- }
260
- return this.contract.write.admin(options) as Promise<`0x${string}`>;
261
- }
262
-
263
- /**
264
- * changeAdmin
265
- * nonpayable
266
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
267
- */
268
- async changeAdmin(newAdmin: `0x${string}`, options?: {
269
- accessList?: import('viem').AccessList;
270
- authorizationList?: import('viem').AuthorizationList;
271
- chain?: import('viem').Chain | null;
272
- dataSuffix?: `0x${string}`;
273
- gas?: bigint;
274
- gasPrice?: bigint;
275
- maxFeePerGas?: bigint;
276
- maxPriorityFeePerGas?: bigint;
277
- nonce?: number;
278
- value?: bigint;
279
- }): Promise<`0x${string}`> {
280
- if (!this.contract.write) {
281
- throw new Error('Wallet client is required for write operations');
282
- }
283
- return this.contract.write.changeAdmin([newAdmin] as const, options) as Promise<`0x${string}`>;
284
- }
285
-
286
- /**
287
- * implementation
288
- * nonpayable
289
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
290
- */
291
- async implementation(options?: {
292
- accessList?: import('viem').AccessList;
293
- authorizationList?: import('viem').AuthorizationList;
294
- chain?: import('viem').Chain | null;
295
- dataSuffix?: `0x${string}`;
296
- gas?: bigint;
297
- gasPrice?: bigint;
298
- maxFeePerGas?: bigint;
299
- maxPriorityFeePerGas?: bigint;
300
- nonce?: number;
301
- value?: bigint;
302
- }): Promise<`0x${string}`> {
303
- if (!this.contract.write) {
304
- throw new Error('Wallet client is required for write operations');
305
- }
306
- return this.contract.write.implementation(options) as Promise<`0x${string}`>;
307
- }
308
-
309
- /**
310
- * upgradeTo
311
- * nonpayable
312
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
313
- */
314
- async upgradeTo(newImplementation: `0x${string}`, options?: {
315
- accessList?: import('viem').AccessList;
316
- authorizationList?: import('viem').AuthorizationList;
317
- chain?: import('viem').Chain | null;
318
- dataSuffix?: `0x${string}`;
319
- gas?: bigint;
320
- gasPrice?: bigint;
321
- maxFeePerGas?: bigint;
322
- maxPriorityFeePerGas?: bigint;
323
- nonce?: number;
324
- value?: bigint;
325
- }): Promise<`0x${string}`> {
326
- if (!this.contract.write) {
327
- throw new Error('Wallet client is required for write operations');
328
- }
329
- return this.contract.write.upgradeTo([newImplementation] as const, options) as Promise<`0x${string}`>;
330
- }
331
-
332
- /**
333
- * upgradeToAndCall
334
- * payable
335
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
336
- */
337
- async upgradeToAndCall(newImplementation: `0x${string}`, data: `0x${string}`, options?: {
338
- accessList?: import('viem').AccessList;
339
- authorizationList?: import('viem').AuthorizationList;
340
- chain?: import('viem').Chain | null;
341
- dataSuffix?: `0x${string}`;
342
- gas?: bigint;
343
- gasPrice?: bigint;
344
- maxFeePerGas?: bigint;
345
- maxPriorityFeePerGas?: bigint;
346
- nonce?: number;
347
- value?: bigint;
348
- }): Promise<`0x${string}`> {
349
- if (!this.contract.write) {
350
- throw new Error('Wallet client is required for write operations');
351
- }
352
- return this.contract.write.upgradeToAndCall([newImplementation, data] as const, options) as Promise<`0x${string}`>;
353
- }
170
+ // No write functions
354
171
 
355
172
 
356
173
 
357
174
  /**
358
175
  * Simulate contract write operations (dry-run without sending transaction)
359
176
  *
360
- * @example
361
- * const result = await contract.simulate.transfer('0x...', 1000n);
362
- * console.log('Gas estimate:', result.request.gas);
363
- * console.log('Would succeed:', result.result);
177
+ * Note: This contract has no write functions, so simulate returns an empty object.
364
178
  */
365
179
  get simulate() {
366
- const contract = this.contract;
367
- if (!contract.simulate) {
368
- throw new Error('Public client is required for simulation');
369
- }
370
- return {
371
- /**
372
- * Simulate admin
373
- * Returns gas estimate and result without sending transaction
374
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
375
- */
376
- async admin(options?: {
377
- accessList?: import('viem').AccessList;
378
- authorizationList?: import('viem').AuthorizationList;
379
- chain?: import('viem').Chain | null;
380
- dataSuffix?: `0x${string}`;
381
- gas?: bigint;
382
- gasPrice?: bigint;
383
- maxFeePerGas?: bigint;
384
- maxPriorityFeePerGas?: bigint;
385
- nonce?: number;
386
- value?: bigint;
387
- }): Promise<`0x${string}`> {
388
- return contract.simulate.admin(options) as Promise<`0x${string}`>;
389
- },
390
- /**
391
- * Simulate changeAdmin
392
- * Returns gas estimate and result without sending transaction
393
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
394
- */
395
- async changeAdmin(newAdmin: `0x${string}`, options?: {
396
- accessList?: import('viem').AccessList;
397
- authorizationList?: import('viem').AuthorizationList;
398
- chain?: import('viem').Chain | null;
399
- dataSuffix?: `0x${string}`;
400
- gas?: bigint;
401
- gasPrice?: bigint;
402
- maxFeePerGas?: bigint;
403
- maxPriorityFeePerGas?: bigint;
404
- nonce?: number;
405
- value?: bigint;
406
- }): Promise<void> {
407
- return contract.simulate.changeAdmin([newAdmin] as const, options) as Promise<void>;
408
- },
409
- /**
410
- * Simulate implementation
411
- * Returns gas estimate and result without sending transaction
412
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
413
- */
414
- async implementation(options?: {
415
- accessList?: import('viem').AccessList;
416
- authorizationList?: import('viem').AuthorizationList;
417
- chain?: import('viem').Chain | null;
418
- dataSuffix?: `0x${string}`;
419
- gas?: bigint;
420
- gasPrice?: bigint;
421
- maxFeePerGas?: bigint;
422
- maxPriorityFeePerGas?: bigint;
423
- nonce?: number;
424
- value?: bigint;
425
- }): Promise<`0x${string}`> {
426
- return contract.simulate.implementation(options) as Promise<`0x${string}`>;
427
- },
428
- /**
429
- * Simulate upgradeTo
430
- * Returns gas estimate and result without sending transaction
431
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
432
- */
433
- async upgradeTo(newImplementation: `0x${string}`, options?: {
434
- accessList?: import('viem').AccessList;
435
- authorizationList?: import('viem').AuthorizationList;
436
- chain?: import('viem').Chain | null;
437
- dataSuffix?: `0x${string}`;
438
- gas?: bigint;
439
- gasPrice?: bigint;
440
- maxFeePerGas?: bigint;
441
- maxPriorityFeePerGas?: bigint;
442
- nonce?: number;
443
- value?: bigint;
444
- }): Promise<void> {
445
- return contract.simulate.upgradeTo([newImplementation] as const, options) as Promise<void>;
446
- },
447
- /**
448
- * Simulate upgradeToAndCall
449
- * Returns gas estimate and result without sending transaction
450
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
451
- */
452
- async upgradeToAndCall(newImplementation: `0x${string}`, data: `0x${string}`, options?: {
453
- accessList?: import('viem').AccessList;
454
- authorizationList?: import('viem').AuthorizationList;
455
- chain?: import('viem').Chain | null;
456
- dataSuffix?: `0x${string}`;
457
- gas?: bigint;
458
- gasPrice?: bigint;
459
- maxFeePerGas?: bigint;
460
- maxPriorityFeePerGas?: bigint;
461
- nonce?: number;
462
- value?: bigint;
463
- }): Promise<void> {
464
- return contract.simulate.upgradeToAndCall([newImplementation, data] as const, options) as Promise<void>;
465
- }
466
- };
180
+ return {};
467
181
  }
468
182
 
469
183
  /**
@@ -78,6 +78,32 @@ export declare const stakingManager_jsonAbi: readonly [{
78
78
  }];
79
79
  readonly name: "Withdraw";
80
80
  readonly type: "event";
81
+ }, {
82
+ readonly inputs: readonly [{
83
+ readonly internalType: "address";
84
+ readonly name: "_rewardTokenAddress";
85
+ readonly type: "address";
86
+ }, {
87
+ readonly internalType: "address";
88
+ readonly name: "_presale";
89
+ readonly type: "address";
90
+ }, {
91
+ readonly internalType: "uint256";
92
+ readonly name: "_rewardTokensPerBlock";
93
+ readonly type: "uint256";
94
+ }, {
95
+ readonly internalType: "uint256";
96
+ readonly name: "_lockTime";
97
+ readonly type: "uint256";
98
+ }, {
99
+ readonly internalType: "uint256";
100
+ readonly name: "_endBlock";
101
+ readonly type: "uint256";
102
+ }];
103
+ readonly name: "__stakingManager_init";
104
+ readonly outputs: readonly [];
105
+ readonly stateMutability: "nonpayable";
106
+ readonly type: "function";
81
107
  }, {
82
108
  readonly inputs: readonly [{
83
109
  readonly internalType: "address[]";
@@ -162,32 +188,6 @@ export declare const stakingManager_jsonAbi: readonly [{
162
188
  readonly outputs: readonly [];
163
189
  readonly stateMutability: "nonpayable";
164
190
  readonly type: "function";
165
- }, {
166
- readonly inputs: readonly [{
167
- readonly internalType: "address";
168
- readonly name: "_rewardTokenAddress";
169
- readonly type: "address";
170
- }, {
171
- readonly internalType: "address";
172
- readonly name: "_presale";
173
- readonly type: "address";
174
- }, {
175
- readonly internalType: "uint256";
176
- readonly name: "_rewardTokensPerBlock";
177
- readonly type: "uint256";
178
- }, {
179
- readonly internalType: "uint256";
180
- readonly name: "_lockTime";
181
- readonly type: "uint256";
182
- }, {
183
- readonly internalType: "uint256";
184
- readonly name: "_endBlock";
185
- readonly type: "uint256";
186
- }];
187
- readonly name: "initialize";
188
- readonly outputs: readonly [];
189
- readonly stateMutability: "nonpayable";
190
- readonly type: "function";
191
191
  }, {
192
192
  readonly inputs: readonly [{
193
193
  readonly internalType: "address";
@@ -536,11 +536,11 @@ export declare class stakingManager_json {
536
536
  */
537
537
  userLockedRewards(arg0: `0x${string}`): Promise<bigint>;
538
538
  /**
539
- * blacklistUsers
539
+ * __stakingManager_init
540
540
  * nonpayable
541
541
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
542
542
  */
543
- blacklistUsers(_usersToBlacklist: `0x${string}`[], options?: {
543
+ __stakingManager_init(_rewardTokenAddress: `0x${string}`, _presale: `0x${string}`, _rewardTokensPerBlock: bigint, _lockTime: bigint, _endBlock: bigint, options?: {
544
544
  accessList?: import('viem').AccessList;
545
545
  authorizationList?: import('viem').AuthorizationList;
546
546
  chain?: import('viem').Chain | null;
@@ -553,11 +553,11 @@ export declare class stakingManager_json {
553
553
  value?: bigint;
554
554
  }): Promise<`0x${string}`>;
555
555
  /**
556
- * deposit
556
+ * blacklistUsers
557
557
  * nonpayable
558
558
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
559
559
  */
560
- deposit(_amount: bigint, options?: {
560
+ blacklistUsers(_usersToBlacklist: `0x${string}`[], options?: {
561
561
  accessList?: import('viem').AccessList;
562
562
  authorizationList?: import('viem').AuthorizationList;
563
563
  chain?: import('viem').Chain | null;
@@ -570,11 +570,11 @@ export declare class stakingManager_json {
570
570
  value?: bigint;
571
571
  }): Promise<`0x${string}`>;
572
572
  /**
573
- * depositByPresale
573
+ * deposit
574
574
  * nonpayable
575
575
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
576
576
  */
577
- depositByPresale(_user: `0x${string}`, _amount: bigint, options?: {
577
+ deposit(_amount: bigint, options?: {
578
578
  accessList?: import('viem').AccessList;
579
579
  authorizationList?: import('viem').AuthorizationList;
580
580
  chain?: import('viem').Chain | null;
@@ -587,11 +587,11 @@ export declare class stakingManager_json {
587
587
  value?: bigint;
588
588
  }): Promise<`0x${string}`>;
589
589
  /**
590
- * harvestRewards
590
+ * depositByPresale
591
591
  * nonpayable
592
592
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
593
593
  */
594
- harvestRewards(options?: {
594
+ depositByPresale(_user: `0x${string}`, _amount: bigint, options?: {
595
595
  accessList?: import('viem').AccessList;
596
596
  authorizationList?: import('viem').AuthorizationList;
597
597
  chain?: import('viem').Chain | null;
@@ -604,11 +604,11 @@ export declare class stakingManager_json {
604
604
  value?: bigint;
605
605
  }): Promise<`0x${string}`>;
606
606
  /**
607
- * initialize
607
+ * harvestRewards
608
608
  * nonpayable
609
609
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
610
610
  */
611
- initialize(_rewardTokenAddress: `0x${string}`, _presale: `0x${string}`, _rewardTokensPerBlock: bigint, _lockTime: bigint, _endBlock: bigint, options?: {
611
+ harvestRewards(options?: {
612
612
  accessList?: import('viem').AccessList;
613
613
  authorizationList?: import('viem').AuthorizationList;
614
614
  chain?: import('viem').Chain | null;
@@ -800,11 +800,11 @@ export declare class stakingManager_json {
800
800
  */
801
801
  get simulate(): {
802
802
  /**
803
- * Simulate blacklistUsers
803
+ * Simulate __stakingManager_init
804
804
  * Returns gas estimate and result without sending transaction
805
805
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
806
806
  */
807
- blacklistUsers(_usersToBlacklist: `0x${string}`[], options?: {
807
+ __stakingManager_init(_rewardTokenAddress: `0x${string}`, _presale: `0x${string}`, _rewardTokensPerBlock: bigint, _lockTime: bigint, _endBlock: bigint, options?: {
808
808
  accessList?: import("viem").AccessList;
809
809
  authorizationList?: import("viem").AuthorizationList;
810
810
  chain?: import("viem").Chain | null;
@@ -817,11 +817,11 @@ export declare class stakingManager_json {
817
817
  value?: bigint;
818
818
  }): Promise<void>;
819
819
  /**
820
- * Simulate deposit
820
+ * Simulate blacklistUsers
821
821
  * Returns gas estimate and result without sending transaction
822
822
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
823
823
  */
824
- deposit(_amount: bigint, options?: {
824
+ blacklistUsers(_usersToBlacklist: `0x${string}`[], options?: {
825
825
  accessList?: import("viem").AccessList;
826
826
  authorizationList?: import("viem").AuthorizationList;
827
827
  chain?: import("viem").Chain | null;
@@ -834,11 +834,11 @@ export declare class stakingManager_json {
834
834
  value?: bigint;
835
835
  }): Promise<void>;
836
836
  /**
837
- * Simulate depositByPresale
837
+ * Simulate deposit
838
838
  * Returns gas estimate and result without sending transaction
839
839
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
840
840
  */
841
- depositByPresale(_user: `0x${string}`, _amount: bigint, options?: {
841
+ deposit(_amount: bigint, options?: {
842
842
  accessList?: import("viem").AccessList;
843
843
  authorizationList?: import("viem").AuthorizationList;
844
844
  chain?: import("viem").Chain | null;
@@ -851,11 +851,11 @@ export declare class stakingManager_json {
851
851
  value?: bigint;
852
852
  }): Promise<void>;
853
853
  /**
854
- * Simulate harvestRewards
854
+ * Simulate depositByPresale
855
855
  * Returns gas estimate and result without sending transaction
856
856
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
857
857
  */
858
- harvestRewards(options?: {
858
+ depositByPresale(_user: `0x${string}`, _amount: bigint, options?: {
859
859
  accessList?: import("viem").AccessList;
860
860
  authorizationList?: import("viem").AuthorizationList;
861
861
  chain?: import("viem").Chain | null;
@@ -868,11 +868,11 @@ export declare class stakingManager_json {
868
868
  value?: bigint;
869
869
  }): Promise<void>;
870
870
  /**
871
- * Simulate initialize
871
+ * Simulate harvestRewards
872
872
  * Returns gas estimate and result without sending transaction
873
873
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
874
874
  */
875
- initialize(_rewardTokenAddress: `0x${string}`, _presale: `0x${string}`, _rewardTokensPerBlock: bigint, _lockTime: bigint, _endBlock: bigint, options?: {
875
+ harvestRewards(options?: {
876
876
  accessList?: import("viem").AccessList;
877
877
  authorizationList?: import("viem").AuthorizationList;
878
878
  chain?: import("viem").Chain | null;
@@ -102,6 +102,39 @@ exports.stakingManager_jsonAbi = [
102
102
  "name": "Withdraw",
103
103
  "type": "event"
104
104
  },
105
+ {
106
+ "inputs": [
107
+ {
108
+ "internalType": "address",
109
+ "name": "_rewardTokenAddress",
110
+ "type": "address"
111
+ },
112
+ {
113
+ "internalType": "address",
114
+ "name": "_presale",
115
+ "type": "address"
116
+ },
117
+ {
118
+ "internalType": "uint256",
119
+ "name": "_rewardTokensPerBlock",
120
+ "type": "uint256"
121
+ },
122
+ {
123
+ "internalType": "uint256",
124
+ "name": "_lockTime",
125
+ "type": "uint256"
126
+ },
127
+ {
128
+ "internalType": "uint256",
129
+ "name": "_endBlock",
130
+ "type": "uint256"
131
+ }
132
+ ],
133
+ "name": "__stakingManager_init",
134
+ "outputs": [],
135
+ "stateMutability": "nonpayable",
136
+ "type": "function"
137
+ },
105
138
  {
106
139
  "inputs": [
107
140
  {
@@ -211,39 +244,6 @@ exports.stakingManager_jsonAbi = [
211
244
  "stateMutability": "nonpayable",
212
245
  "type": "function"
213
246
  },
214
- {
215
- "inputs": [
216
- {
217
- "internalType": "address",
218
- "name": "_rewardTokenAddress",
219
- "type": "address"
220
- },
221
- {
222
- "internalType": "address",
223
- "name": "_presale",
224
- "type": "address"
225
- },
226
- {
227
- "internalType": "uint256",
228
- "name": "_rewardTokensPerBlock",
229
- "type": "uint256"
230
- },
231
- {
232
- "internalType": "uint256",
233
- "name": "_lockTime",
234
- "type": "uint256"
235
- },
236
- {
237
- "internalType": "uint256",
238
- "name": "_endBlock",
239
- "type": "uint256"
240
- }
241
- ],
242
- "name": "initialize",
243
- "outputs": [],
244
- "stateMutability": "nonpayable",
245
- "type": "function"
246
- },
247
247
  {
248
248
  "inputs": [
249
249
  {
@@ -686,6 +686,17 @@ class stakingManager_json {
686
686
  async userLockedRewards(arg0) {
687
687
  return this.contract.read.userLockedRewards([arg0]);
688
688
  }
689
+ /**
690
+ * __stakingManager_init
691
+ * nonpayable
692
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
693
+ */
694
+ async __stakingManager_init(_rewardTokenAddress, _presale, _rewardTokensPerBlock, _lockTime, _endBlock, options) {
695
+ if (!this.contract.write) {
696
+ throw new Error('Wallet client is required for write operations');
697
+ }
698
+ return this.contract.write.__stakingManager_init([_rewardTokenAddress, _presale, _rewardTokensPerBlock, _lockTime, _endBlock], options);
699
+ }
689
700
  /**
690
701
  * blacklistUsers
691
702
  * nonpayable
@@ -730,17 +741,6 @@ class stakingManager_json {
730
741
  }
731
742
  return this.contract.write.harvestRewards(options);
732
743
  }
733
- /**
734
- * initialize
735
- * nonpayable
736
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
737
- */
738
- async initialize(_rewardTokenAddress, _presale, _rewardTokensPerBlock, _lockTime, _endBlock, options) {
739
- if (!this.contract.write) {
740
- throw new Error('Wallet client is required for write operations');
741
- }
742
- return this.contract.write.initialize([_rewardTokenAddress, _presale, _rewardTokensPerBlock, _lockTime, _endBlock], options);
743
- }
744
744
  /**
745
745
  * removeFromBlacklist
746
746
  * nonpayable
@@ -865,6 +865,14 @@ class stakingManager_json {
865
865
  throw new Error('Public client is required for simulation');
866
866
  }
867
867
  return {
868
+ /**
869
+ * Simulate __stakingManager_init
870
+ * Returns gas estimate and result without sending transaction
871
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
872
+ */
873
+ async __stakingManager_init(_rewardTokenAddress, _presale, _rewardTokensPerBlock, _lockTime, _endBlock, options) {
874
+ return contract.simulate.__stakingManager_init([_rewardTokenAddress, _presale, _rewardTokensPerBlock, _lockTime, _endBlock], options);
875
+ },
868
876
  /**
869
877
  * Simulate blacklistUsers
870
878
  * Returns gas estimate and result without sending transaction
@@ -897,14 +905,6 @@ class stakingManager_json {
897
905
  async harvestRewards(options) {
898
906
  return contract.simulate.harvestRewards(options);
899
907
  },
900
- /**
901
- * Simulate initialize
902
- * Returns gas estimate and result without sending transaction
903
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
904
- */
905
- async initialize(_rewardTokenAddress, _presale, _rewardTokensPerBlock, _lockTime, _endBlock, options) {
906
- return contract.simulate.initialize([_rewardTokenAddress, _presale, _rewardTokensPerBlock, _lockTime, _endBlock], options);
907
- },
908
908
  /**
909
909
  * Simulate removeFromBlacklist
910
910
  * Returns gas estimate and result without sending transaction