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