@gitmyabi/agb 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,846 @@
1
+ import type { Address, PublicClient, WalletClient } from 'viem';
2
+ /**
3
+ * ALGEBA_json ABI
4
+ *
5
+ * This ABI is typed using viem's type system for full type safety.
6
+ */
7
+ export declare const ALGEBA_jsonAbi: readonly [{
8
+ readonly inputs: readonly [{
9
+ readonly internalType: "address";
10
+ readonly name: "initialHolder";
11
+ readonly type: "address";
12
+ }];
13
+ readonly stateMutability: "nonpayable";
14
+ readonly type: "constructor";
15
+ }, {
16
+ readonly inputs: readonly [];
17
+ readonly name: "CapExceeded";
18
+ readonly type: "error";
19
+ }, {
20
+ readonly inputs: readonly [{
21
+ readonly internalType: "address";
22
+ readonly name: "spender";
23
+ readonly type: "address";
24
+ }, {
25
+ readonly internalType: "uint256";
26
+ readonly name: "allowance";
27
+ readonly type: "uint256";
28
+ }, {
29
+ readonly internalType: "uint256";
30
+ readonly name: "needed";
31
+ readonly type: "uint256";
32
+ }];
33
+ readonly name: "ERC20InsufficientAllowance";
34
+ readonly type: "error";
35
+ }, {
36
+ readonly inputs: readonly [{
37
+ readonly internalType: "address";
38
+ readonly name: "sender";
39
+ readonly type: "address";
40
+ }, {
41
+ readonly internalType: "uint256";
42
+ readonly name: "balance";
43
+ readonly type: "uint256";
44
+ }, {
45
+ readonly internalType: "uint256";
46
+ readonly name: "needed";
47
+ readonly type: "uint256";
48
+ }];
49
+ readonly name: "ERC20InsufficientBalance";
50
+ readonly type: "error";
51
+ }, {
52
+ readonly inputs: readonly [{
53
+ readonly internalType: "address";
54
+ readonly name: "approver";
55
+ readonly type: "address";
56
+ }];
57
+ readonly name: "ERC20InvalidApprover";
58
+ readonly type: "error";
59
+ }, {
60
+ readonly inputs: readonly [{
61
+ readonly internalType: "address";
62
+ readonly name: "receiver";
63
+ readonly type: "address";
64
+ }];
65
+ readonly name: "ERC20InvalidReceiver";
66
+ readonly type: "error";
67
+ }, {
68
+ readonly inputs: readonly [{
69
+ readonly internalType: "address";
70
+ readonly name: "sender";
71
+ readonly type: "address";
72
+ }];
73
+ readonly name: "ERC20InvalidSender";
74
+ readonly type: "error";
75
+ }, {
76
+ readonly inputs: readonly [{
77
+ readonly internalType: "address";
78
+ readonly name: "spender";
79
+ readonly type: "address";
80
+ }];
81
+ readonly name: "ERC20InvalidSpender";
82
+ readonly type: "error";
83
+ }, {
84
+ readonly inputs: readonly [];
85
+ readonly name: "InvalidAddress";
86
+ readonly type: "error";
87
+ }, {
88
+ readonly inputs: readonly [];
89
+ readonly name: "OnlyStaking";
90
+ readonly type: "error";
91
+ }, {
92
+ readonly inputs: readonly [{
93
+ readonly internalType: "address";
94
+ readonly name: "owner";
95
+ readonly type: "address";
96
+ }];
97
+ readonly name: "OwnableInvalidOwner";
98
+ readonly type: "error";
99
+ }, {
100
+ readonly inputs: readonly [{
101
+ readonly internalType: "address";
102
+ readonly name: "account";
103
+ readonly type: "address";
104
+ }];
105
+ readonly name: "OwnableUnauthorizedAccount";
106
+ readonly type: "error";
107
+ }, {
108
+ readonly inputs: readonly [];
109
+ readonly name: "StakingAlreadySet";
110
+ readonly type: "error";
111
+ }, {
112
+ readonly anonymous: false;
113
+ readonly inputs: readonly [{
114
+ readonly indexed: true;
115
+ readonly internalType: "address";
116
+ readonly name: "owner";
117
+ readonly type: "address";
118
+ }, {
119
+ readonly indexed: true;
120
+ readonly internalType: "address";
121
+ readonly name: "spender";
122
+ readonly type: "address";
123
+ }, {
124
+ readonly indexed: false;
125
+ readonly internalType: "uint256";
126
+ readonly name: "value";
127
+ readonly type: "uint256";
128
+ }];
129
+ readonly name: "Approval";
130
+ readonly type: "event";
131
+ }, {
132
+ readonly anonymous: false;
133
+ readonly inputs: readonly [{
134
+ readonly indexed: true;
135
+ readonly internalType: "address";
136
+ readonly name: "previousOwner";
137
+ readonly type: "address";
138
+ }, {
139
+ readonly indexed: true;
140
+ readonly internalType: "address";
141
+ readonly name: "newOwner";
142
+ readonly type: "address";
143
+ }];
144
+ readonly name: "OwnershipTransferred";
145
+ readonly type: "event";
146
+ }, {
147
+ readonly anonymous: false;
148
+ readonly inputs: readonly [{
149
+ readonly indexed: true;
150
+ readonly internalType: "address";
151
+ readonly name: "from";
152
+ readonly type: "address";
153
+ }, {
154
+ readonly indexed: true;
155
+ readonly internalType: "address";
156
+ readonly name: "to";
157
+ readonly type: "address";
158
+ }, {
159
+ readonly indexed: false;
160
+ readonly internalType: "uint256";
161
+ readonly name: "value";
162
+ readonly type: "uint256";
163
+ }];
164
+ readonly name: "Transfer";
165
+ readonly type: "event";
166
+ }, {
167
+ readonly inputs: readonly [];
168
+ readonly name: "GENESIS_ALLOCATION";
169
+ readonly outputs: readonly [{
170
+ readonly internalType: "uint256";
171
+ readonly name: "";
172
+ readonly type: "uint256";
173
+ }];
174
+ readonly stateMutability: "view";
175
+ readonly type: "function";
176
+ }, {
177
+ readonly inputs: readonly [];
178
+ readonly name: "MAX_SUPPLY";
179
+ readonly outputs: readonly [{
180
+ readonly internalType: "uint256";
181
+ readonly name: "";
182
+ readonly type: "uint256";
183
+ }];
184
+ readonly stateMutability: "view";
185
+ readonly type: "function";
186
+ }, {
187
+ readonly inputs: readonly [];
188
+ readonly name: "STAKING_ALLOCATION";
189
+ readonly outputs: readonly [{
190
+ readonly internalType: "uint256";
191
+ readonly name: "";
192
+ readonly type: "uint256";
193
+ }];
194
+ readonly stateMutability: "view";
195
+ readonly type: "function";
196
+ }, {
197
+ readonly inputs: readonly [{
198
+ readonly internalType: "address";
199
+ readonly name: "owner";
200
+ readonly type: "address";
201
+ }, {
202
+ readonly internalType: "address";
203
+ readonly name: "spender";
204
+ readonly type: "address";
205
+ }];
206
+ readonly name: "allowance";
207
+ readonly outputs: readonly [{
208
+ readonly internalType: "uint256";
209
+ readonly name: "";
210
+ readonly type: "uint256";
211
+ }];
212
+ readonly stateMutability: "view";
213
+ readonly type: "function";
214
+ }, {
215
+ readonly inputs: readonly [{
216
+ readonly internalType: "address";
217
+ readonly name: "spender";
218
+ readonly type: "address";
219
+ }, {
220
+ readonly internalType: "uint256";
221
+ readonly name: "value";
222
+ readonly type: "uint256";
223
+ }];
224
+ readonly name: "approve";
225
+ readonly outputs: readonly [{
226
+ readonly internalType: "bool";
227
+ readonly name: "";
228
+ readonly type: "bool";
229
+ }];
230
+ readonly stateMutability: "nonpayable";
231
+ readonly type: "function";
232
+ }, {
233
+ readonly inputs: readonly [{
234
+ readonly internalType: "address";
235
+ readonly name: "account";
236
+ readonly type: "address";
237
+ }];
238
+ readonly name: "balanceOf";
239
+ readonly outputs: readonly [{
240
+ readonly internalType: "uint256";
241
+ readonly name: "";
242
+ readonly type: "uint256";
243
+ }];
244
+ readonly stateMutability: "view";
245
+ readonly type: "function";
246
+ }, {
247
+ readonly inputs: readonly [];
248
+ readonly name: "decimals";
249
+ readonly outputs: readonly [{
250
+ readonly internalType: "uint8";
251
+ readonly name: "";
252
+ readonly type: "uint8";
253
+ }];
254
+ readonly stateMutability: "view";
255
+ readonly type: "function";
256
+ }, {
257
+ readonly inputs: readonly [];
258
+ readonly name: "emittedSupply";
259
+ readonly outputs: readonly [{
260
+ readonly internalType: "uint256";
261
+ readonly name: "";
262
+ readonly type: "uint256";
263
+ }];
264
+ readonly stateMutability: "view";
265
+ readonly type: "function";
266
+ }, {
267
+ readonly inputs: readonly [{
268
+ readonly internalType: "address";
269
+ readonly name: "to";
270
+ readonly type: "address";
271
+ }, {
272
+ readonly internalType: "uint256";
273
+ readonly name: "amount";
274
+ readonly type: "uint256";
275
+ }];
276
+ readonly name: "mintStakingReward";
277
+ readonly outputs: readonly [];
278
+ readonly stateMutability: "nonpayable";
279
+ readonly type: "function";
280
+ }, {
281
+ readonly inputs: readonly [];
282
+ readonly name: "name";
283
+ readonly outputs: readonly [{
284
+ readonly internalType: "string";
285
+ readonly name: "";
286
+ readonly type: "string";
287
+ }];
288
+ readonly stateMutability: "view";
289
+ readonly type: "function";
290
+ }, {
291
+ readonly inputs: readonly [];
292
+ readonly name: "owner";
293
+ readonly outputs: readonly [{
294
+ readonly internalType: "address";
295
+ readonly name: "";
296
+ readonly type: "address";
297
+ }];
298
+ readonly stateMutability: "view";
299
+ readonly type: "function";
300
+ }, {
301
+ readonly inputs: readonly [];
302
+ readonly name: "remainingStakingEmission";
303
+ readonly outputs: readonly [{
304
+ readonly internalType: "uint256";
305
+ readonly name: "";
306
+ readonly type: "uint256";
307
+ }];
308
+ readonly stateMutability: "view";
309
+ readonly type: "function";
310
+ }, {
311
+ readonly inputs: readonly [];
312
+ readonly name: "renounceOwnership";
313
+ readonly outputs: readonly [];
314
+ readonly stateMutability: "nonpayable";
315
+ readonly type: "function";
316
+ }, {
317
+ readonly inputs: readonly [{
318
+ readonly internalType: "address";
319
+ readonly name: "staking_";
320
+ readonly type: "address";
321
+ }];
322
+ readonly name: "setStaking";
323
+ readonly outputs: readonly [];
324
+ readonly stateMutability: "nonpayable";
325
+ readonly type: "function";
326
+ }, {
327
+ readonly inputs: readonly [];
328
+ readonly name: "staking";
329
+ readonly outputs: readonly [{
330
+ readonly internalType: "address";
331
+ readonly name: "";
332
+ readonly type: "address";
333
+ }];
334
+ readonly stateMutability: "view";
335
+ readonly type: "function";
336
+ }, {
337
+ readonly inputs: readonly [];
338
+ readonly name: "stakingMinted";
339
+ readonly outputs: readonly [{
340
+ readonly internalType: "uint256";
341
+ readonly name: "";
342
+ readonly type: "uint256";
343
+ }];
344
+ readonly stateMutability: "view";
345
+ readonly type: "function";
346
+ }, {
347
+ readonly inputs: readonly [];
348
+ readonly name: "symbol";
349
+ readonly outputs: readonly [{
350
+ readonly internalType: "string";
351
+ readonly name: "";
352
+ readonly type: "string";
353
+ }];
354
+ readonly stateMutability: "view";
355
+ readonly type: "function";
356
+ }, {
357
+ readonly inputs: readonly [];
358
+ readonly name: "totalSupply";
359
+ readonly outputs: readonly [{
360
+ readonly internalType: "uint256";
361
+ readonly name: "";
362
+ readonly type: "uint256";
363
+ }];
364
+ readonly stateMutability: "view";
365
+ readonly type: "function";
366
+ }, {
367
+ readonly inputs: readonly [{
368
+ readonly internalType: "address";
369
+ readonly name: "to";
370
+ readonly type: "address";
371
+ }, {
372
+ readonly internalType: "uint256";
373
+ readonly name: "value";
374
+ readonly type: "uint256";
375
+ }];
376
+ readonly name: "transfer";
377
+ readonly outputs: readonly [{
378
+ readonly internalType: "bool";
379
+ readonly name: "";
380
+ readonly type: "bool";
381
+ }];
382
+ readonly stateMutability: "nonpayable";
383
+ readonly type: "function";
384
+ }, {
385
+ readonly inputs: readonly [{
386
+ readonly internalType: "address";
387
+ readonly name: "from";
388
+ readonly type: "address";
389
+ }, {
390
+ readonly internalType: "address";
391
+ readonly name: "to";
392
+ readonly type: "address";
393
+ }, {
394
+ readonly internalType: "uint256";
395
+ readonly name: "value";
396
+ readonly type: "uint256";
397
+ }];
398
+ readonly name: "transferFrom";
399
+ readonly outputs: readonly [{
400
+ readonly internalType: "bool";
401
+ readonly name: "";
402
+ readonly type: "bool";
403
+ }];
404
+ readonly stateMutability: "nonpayable";
405
+ readonly type: "function";
406
+ }, {
407
+ readonly inputs: readonly [{
408
+ readonly internalType: "address";
409
+ readonly name: "newOwner";
410
+ readonly type: "address";
411
+ }];
412
+ readonly name: "transferOwnership";
413
+ readonly outputs: readonly [];
414
+ readonly stateMutability: "nonpayable";
415
+ readonly type: "function";
416
+ }];
417
+ /**
418
+ * Type-safe ABI for ALGEBA_json
419
+ */
420
+ export type ALGEBA_jsonAbi = typeof ALGEBA_jsonAbi;
421
+ /**
422
+ * Contract instance type for ALGEBA_json
423
+ */
424
+ export type ALGEBA_jsonContract = any;
425
+ /**
426
+ * ALGEBA_json Contract Class
427
+ *
428
+ * Provides a class-based API similar to TypeChain for interacting with the contract.
429
+ *
430
+ * @example
431
+ * ```typescript
432
+ * import { createPublicClient, createWalletClient, http } from 'viem';
433
+ * import { mainnet } from 'viem/chains';
434
+ * import { ALGEBA_json } from 'ALGEBA_json';
435
+ *
436
+ * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
437
+ * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
438
+ *
439
+ * const contract = new ALGEBA_json('0x...', { publicClient, walletClient });
440
+ *
441
+ * // Read functions
442
+ * const result = await contract.balanceOf('0x...');
443
+ *
444
+ * // Write functions
445
+ * const hash = await contract.transfer('0x...', 1000n);
446
+ *
447
+ * // Simulate transactions (dry-run)
448
+ * const simulation = await contract.simulate.transfer('0x...', 1000n);
449
+ * console.log('Gas estimate:', simulation.request.gas);
450
+ *
451
+ * // Watch events
452
+ * const unwatch = contract.watch.Transfer((event) => {
453
+ * console.log('Transfer event:', event);
454
+ * });
455
+ * ```
456
+ */
457
+ export declare class ALGEBA_json {
458
+ private contract;
459
+ private contractAddress;
460
+ private publicClient;
461
+ constructor(address: Address, clients: {
462
+ publicClient: PublicClient;
463
+ walletClient?: WalletClient;
464
+ });
465
+ /**
466
+ * Get the contract address
467
+ */
468
+ get address(): Address;
469
+ /**
470
+ * Get the underlying viem contract instance
471
+ */
472
+ getContract(): ALGEBA_jsonContract;
473
+ /**
474
+ * GENESIS_ALLOCATION
475
+ * view
476
+ */
477
+ GENESIS_ALLOCATION(): Promise<bigint>;
478
+ /**
479
+ * MAX_SUPPLY
480
+ * view
481
+ */
482
+ MAX_SUPPLY(): Promise<bigint>;
483
+ /**
484
+ * STAKING_ALLOCATION
485
+ * view
486
+ */
487
+ STAKING_ALLOCATION(): Promise<bigint>;
488
+ /**
489
+ * allowance
490
+ * view
491
+ */
492
+ allowance(owner: `0x${string}`, spender: `0x${string}`): Promise<bigint>;
493
+ /**
494
+ * balanceOf
495
+ * view
496
+ */
497
+ balanceOf(account: `0x${string}`): Promise<bigint>;
498
+ /**
499
+ * decimals
500
+ * view
501
+ */
502
+ decimals(): Promise<bigint>;
503
+ /**
504
+ * emittedSupply
505
+ * view
506
+ */
507
+ emittedSupply(): Promise<bigint>;
508
+ /**
509
+ * name
510
+ * view
511
+ */
512
+ name(): Promise<string>;
513
+ /**
514
+ * owner
515
+ * view
516
+ */
517
+ owner(): Promise<`0x${string}`>;
518
+ /**
519
+ * remainingStakingEmission
520
+ * view
521
+ */
522
+ remainingStakingEmission(): Promise<bigint>;
523
+ /**
524
+ * staking
525
+ * view
526
+ */
527
+ staking(): Promise<`0x${string}`>;
528
+ /**
529
+ * stakingMinted
530
+ * view
531
+ */
532
+ stakingMinted(): Promise<bigint>;
533
+ /**
534
+ * symbol
535
+ * view
536
+ */
537
+ symbol(): Promise<string>;
538
+ /**
539
+ * totalSupply
540
+ * view
541
+ */
542
+ totalSupply(): Promise<bigint>;
543
+ /**
544
+ * approve
545
+ * nonpayable
546
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
547
+ */
548
+ approve(spender: `0x${string}`, value: bigint, options?: {
549
+ accessList?: import('viem').AccessList;
550
+ authorizationList?: import('viem').AuthorizationList;
551
+ chain?: import('viem').Chain | null;
552
+ dataSuffix?: `0x${string}`;
553
+ gas?: bigint;
554
+ gasPrice?: bigint;
555
+ maxFeePerGas?: bigint;
556
+ maxPriorityFeePerGas?: bigint;
557
+ nonce?: number;
558
+ value?: bigint;
559
+ }): Promise<`0x${string}`>;
560
+ /**
561
+ * mintStakingReward
562
+ * nonpayable
563
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
564
+ */
565
+ mintStakingReward(to: `0x${string}`, amount: bigint, options?: {
566
+ accessList?: import('viem').AccessList;
567
+ authorizationList?: import('viem').AuthorizationList;
568
+ chain?: import('viem').Chain | null;
569
+ dataSuffix?: `0x${string}`;
570
+ gas?: bigint;
571
+ gasPrice?: bigint;
572
+ maxFeePerGas?: bigint;
573
+ maxPriorityFeePerGas?: bigint;
574
+ nonce?: number;
575
+ value?: bigint;
576
+ }): Promise<`0x${string}`>;
577
+ /**
578
+ * renounceOwnership
579
+ * nonpayable
580
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
581
+ */
582
+ renounceOwnership(options?: {
583
+ accessList?: import('viem').AccessList;
584
+ authorizationList?: import('viem').AuthorizationList;
585
+ chain?: import('viem').Chain | null;
586
+ dataSuffix?: `0x${string}`;
587
+ gas?: bigint;
588
+ gasPrice?: bigint;
589
+ maxFeePerGas?: bigint;
590
+ maxPriorityFeePerGas?: bigint;
591
+ nonce?: number;
592
+ value?: bigint;
593
+ }): Promise<`0x${string}`>;
594
+ /**
595
+ * setStaking
596
+ * nonpayable
597
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
598
+ */
599
+ setStaking(staking_: `0x${string}`, options?: {
600
+ accessList?: import('viem').AccessList;
601
+ authorizationList?: import('viem').AuthorizationList;
602
+ chain?: import('viem').Chain | null;
603
+ dataSuffix?: `0x${string}`;
604
+ gas?: bigint;
605
+ gasPrice?: bigint;
606
+ maxFeePerGas?: bigint;
607
+ maxPriorityFeePerGas?: bigint;
608
+ nonce?: number;
609
+ value?: bigint;
610
+ }): Promise<`0x${string}`>;
611
+ /**
612
+ * transfer
613
+ * nonpayable
614
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
615
+ */
616
+ transfer(to: `0x${string}`, value: bigint, options?: {
617
+ accessList?: import('viem').AccessList;
618
+ authorizationList?: import('viem').AuthorizationList;
619
+ chain?: import('viem').Chain | null;
620
+ dataSuffix?: `0x${string}`;
621
+ gas?: bigint;
622
+ gasPrice?: bigint;
623
+ maxFeePerGas?: bigint;
624
+ maxPriorityFeePerGas?: bigint;
625
+ nonce?: number;
626
+ value?: bigint;
627
+ }): Promise<`0x${string}`>;
628
+ /**
629
+ * transferFrom
630
+ * nonpayable
631
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
632
+ */
633
+ transferFrom(from: `0x${string}`, to: `0x${string}`, value: bigint, options?: {
634
+ accessList?: import('viem').AccessList;
635
+ authorizationList?: import('viem').AuthorizationList;
636
+ chain?: import('viem').Chain | null;
637
+ dataSuffix?: `0x${string}`;
638
+ gas?: bigint;
639
+ gasPrice?: bigint;
640
+ maxFeePerGas?: bigint;
641
+ maxPriorityFeePerGas?: bigint;
642
+ nonce?: number;
643
+ value?: bigint;
644
+ }): Promise<`0x${string}`>;
645
+ /**
646
+ * transferOwnership
647
+ * nonpayable
648
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
649
+ */
650
+ transferOwnership(newOwner: `0x${string}`, options?: {
651
+ accessList?: import('viem').AccessList;
652
+ authorizationList?: import('viem').AuthorizationList;
653
+ chain?: import('viem').Chain | null;
654
+ dataSuffix?: `0x${string}`;
655
+ gas?: bigint;
656
+ gasPrice?: bigint;
657
+ maxFeePerGas?: bigint;
658
+ maxPriorityFeePerGas?: bigint;
659
+ nonce?: number;
660
+ value?: bigint;
661
+ }): Promise<`0x${string}`>;
662
+ /**
663
+ * Simulate contract write operations (dry-run without sending transaction)
664
+ *
665
+ * @example
666
+ * const result = await contract.simulate.transfer('0x...', 1000n);
667
+ * console.log('Gas estimate:', result.request.gas);
668
+ * console.log('Would succeed:', result.result);
669
+ */
670
+ get simulate(): {
671
+ /**
672
+ * Simulate approve
673
+ * Returns gas estimate and result without sending transaction
674
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
675
+ */
676
+ approve(spender: `0x${string}`, value: bigint, options?: {
677
+ accessList?: import("viem").AccessList;
678
+ authorizationList?: import("viem").AuthorizationList;
679
+ chain?: import("viem").Chain | null;
680
+ dataSuffix?: `0x${string}`;
681
+ gas?: bigint;
682
+ gasPrice?: bigint;
683
+ maxFeePerGas?: bigint;
684
+ maxPriorityFeePerGas?: bigint;
685
+ nonce?: number;
686
+ value?: bigint;
687
+ }): Promise<boolean>;
688
+ /**
689
+ * Simulate mintStakingReward
690
+ * Returns gas estimate and result without sending transaction
691
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
692
+ */
693
+ mintStakingReward(to: `0x${string}`, amount: bigint, options?: {
694
+ accessList?: import("viem").AccessList;
695
+ authorizationList?: import("viem").AuthorizationList;
696
+ chain?: import("viem").Chain | null;
697
+ dataSuffix?: `0x${string}`;
698
+ gas?: bigint;
699
+ gasPrice?: bigint;
700
+ maxFeePerGas?: bigint;
701
+ maxPriorityFeePerGas?: bigint;
702
+ nonce?: number;
703
+ value?: bigint;
704
+ }): Promise<void>;
705
+ /**
706
+ * Simulate renounceOwnership
707
+ * Returns gas estimate and result without sending transaction
708
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
709
+ */
710
+ renounceOwnership(options?: {
711
+ accessList?: import("viem").AccessList;
712
+ authorizationList?: import("viem").AuthorizationList;
713
+ chain?: import("viem").Chain | null;
714
+ dataSuffix?: `0x${string}`;
715
+ gas?: bigint;
716
+ gasPrice?: bigint;
717
+ maxFeePerGas?: bigint;
718
+ maxPriorityFeePerGas?: bigint;
719
+ nonce?: number;
720
+ value?: bigint;
721
+ }): Promise<void>;
722
+ /**
723
+ * Simulate setStaking
724
+ * Returns gas estimate and result without sending transaction
725
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
726
+ */
727
+ setStaking(staking_: `0x${string}`, options?: {
728
+ accessList?: import("viem").AccessList;
729
+ authorizationList?: import("viem").AuthorizationList;
730
+ chain?: import("viem").Chain | null;
731
+ dataSuffix?: `0x${string}`;
732
+ gas?: bigint;
733
+ gasPrice?: bigint;
734
+ maxFeePerGas?: bigint;
735
+ maxPriorityFeePerGas?: bigint;
736
+ nonce?: number;
737
+ value?: bigint;
738
+ }): Promise<void>;
739
+ /**
740
+ * Simulate transfer
741
+ * Returns gas estimate and result without sending transaction
742
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
743
+ */
744
+ transfer(to: `0x${string}`, value: bigint, options?: {
745
+ accessList?: import("viem").AccessList;
746
+ authorizationList?: import("viem").AuthorizationList;
747
+ chain?: import("viem").Chain | null;
748
+ dataSuffix?: `0x${string}`;
749
+ gas?: bigint;
750
+ gasPrice?: bigint;
751
+ maxFeePerGas?: bigint;
752
+ maxPriorityFeePerGas?: bigint;
753
+ nonce?: number;
754
+ value?: bigint;
755
+ }): Promise<boolean>;
756
+ /**
757
+ * Simulate transferFrom
758
+ * Returns gas estimate and result without sending transaction
759
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
760
+ */
761
+ transferFrom(from: `0x${string}`, to: `0x${string}`, value: bigint, options?: {
762
+ accessList?: import("viem").AccessList;
763
+ authorizationList?: import("viem").AuthorizationList;
764
+ chain?: import("viem").Chain | null;
765
+ dataSuffix?: `0x${string}`;
766
+ gas?: bigint;
767
+ gasPrice?: bigint;
768
+ maxFeePerGas?: bigint;
769
+ maxPriorityFeePerGas?: bigint;
770
+ nonce?: number;
771
+ value?: bigint;
772
+ }): Promise<boolean>;
773
+ /**
774
+ * Simulate transferOwnership
775
+ * Returns gas estimate and result without sending transaction
776
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
777
+ */
778
+ transferOwnership(newOwner: `0x${string}`, options?: {
779
+ accessList?: import("viem").AccessList;
780
+ authorizationList?: import("viem").AuthorizationList;
781
+ chain?: import("viem").Chain | null;
782
+ dataSuffix?: `0x${string}`;
783
+ gas?: bigint;
784
+ gasPrice?: bigint;
785
+ maxFeePerGas?: bigint;
786
+ maxPriorityFeePerGas?: bigint;
787
+ nonce?: number;
788
+ value?: bigint;
789
+ }): Promise<void>;
790
+ };
791
+ /**
792
+ * Watch contract events
793
+ *
794
+ * @example
795
+ * // Watch all Transfer events
796
+ * const unwatch = contract.watch.Transfer((event) => {
797
+ * console.log('Transfer:', event);
798
+ * });
799
+ *
800
+ * // Stop watching
801
+ * unwatch();
802
+ */
803
+ get watch(): {
804
+ /**
805
+ * Watch Approval events
806
+ * @param callback Function to call when event is emitted
807
+ * @param filter Optional filter for indexed parameters
808
+ * @returns Unwatch function to stop listening
809
+ */
810
+ Approval: (callback: (event: {
811
+ owner: `0x${string}`;
812
+ spender: `0x${string}`;
813
+ value: bigint;
814
+ }) => void, filter?: {
815
+ owner: `0x${string}`;
816
+ spender: `0x${string}`;
817
+ }) => () => void;
818
+ /**
819
+ * Watch OwnershipTransferred events
820
+ * @param callback Function to call when event is emitted
821
+ * @param filter Optional filter for indexed parameters
822
+ * @returns Unwatch function to stop listening
823
+ */
824
+ OwnershipTransferred: (callback: (event: {
825
+ previousOwner: `0x${string}`;
826
+ newOwner: `0x${string}`;
827
+ }) => void, filter?: {
828
+ previousOwner: `0x${string}`;
829
+ newOwner: `0x${string}`;
830
+ }) => () => void;
831
+ /**
832
+ * Watch Transfer events
833
+ * @param callback Function to call when event is emitted
834
+ * @param filter Optional filter for indexed parameters
835
+ * @returns Unwatch function to stop listening
836
+ */
837
+ Transfer: (callback: (event: {
838
+ from: `0x${string}`;
839
+ to: `0x${string}`;
840
+ value: bigint;
841
+ }) => void, filter?: {
842
+ from: `0x${string}`;
843
+ to: `0x${string}`;
844
+ }) => () => void;
845
+ };
846
+ }