@gitmyabi/oracle 0.0.0-stage → 1.0.1

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,1852 @@
1
+ import type { Address, PublicClient, WalletClient } from 'viem';
2
+ /**
3
+ * Oracle ABI
4
+ *
5
+ * This ABI is typed using viem's type system for full type safety.
6
+ */
7
+ export declare const OracleAbi: readonly [{
8
+ readonly inputs: readonly [];
9
+ readonly stateMutability: "payable";
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: false;
35
+ readonly internalType: "uint256";
36
+ readonly name: "amountCurrency";
37
+ readonly type: "uint256";
38
+ }, {
39
+ readonly indexed: false;
40
+ readonly internalType: "uint256";
41
+ readonly name: "amountTokens";
42
+ readonly type: "uint256";
43
+ }];
44
+ readonly name: "AutoLiquify";
45
+ readonly type: "event";
46
+ }, {
47
+ readonly anonymous: false;
48
+ readonly inputs: readonly [{
49
+ readonly indexed: false;
50
+ readonly internalType: "bool";
51
+ readonly name: "enabled";
52
+ readonly type: "bool";
53
+ }];
54
+ readonly name: "ContractSwapEnabledUpdated";
55
+ readonly type: "event";
56
+ }, {
57
+ readonly anonymous: false;
58
+ readonly inputs: readonly [{
59
+ readonly indexed: false;
60
+ readonly internalType: "uint256";
61
+ readonly name: "amount";
62
+ readonly type: "uint256";
63
+ }];
64
+ readonly name: "MaxTransactionAmountUpdated";
65
+ readonly type: "event";
66
+ }, {
67
+ readonly anonymous: false;
68
+ readonly inputs: readonly [{
69
+ readonly indexed: true;
70
+ readonly internalType: "address";
71
+ readonly name: "pastOwner";
72
+ readonly type: "address";
73
+ }, {
74
+ readonly indexed: true;
75
+ readonly internalType: "address";
76
+ readonly name: "newOwner";
77
+ readonly type: "address";
78
+ }];
79
+ readonly name: "OwnershipTransferred";
80
+ readonly type: "event";
81
+ }, {
82
+ readonly anonymous: false;
83
+ readonly inputs: readonly [{
84
+ readonly indexed: false;
85
+ readonly internalType: "uint256";
86
+ readonly name: "threshold";
87
+ readonly type: "uint256";
88
+ }, {
89
+ readonly indexed: false;
90
+ readonly internalType: "uint256";
91
+ readonly name: "time";
92
+ readonly type: "uint256";
93
+ }];
94
+ readonly name: "SwapSettingsUpdated";
95
+ readonly type: "event";
96
+ }, {
97
+ readonly anonymous: false;
98
+ readonly inputs: readonly [{
99
+ readonly indexed: false;
100
+ readonly internalType: "uint256";
101
+ readonly name: "marketing";
102
+ readonly type: "uint256";
103
+ }, {
104
+ readonly indexed: false;
105
+ readonly internalType: "uint256";
106
+ readonly name: "dev";
107
+ readonly type: "uint256";
108
+ }];
109
+ readonly name: "TaxDistributionPercentageUpdated";
110
+ readonly type: "event";
111
+ }, {
112
+ readonly anonymous: false;
113
+ readonly inputs: readonly [{
114
+ readonly indexed: false;
115
+ readonly internalType: "uint256";
116
+ readonly name: "buy";
117
+ readonly type: "uint256";
118
+ }, {
119
+ readonly indexed: false;
120
+ readonly internalType: "uint256";
121
+ readonly name: "sell";
122
+ readonly type: "uint256";
123
+ }, {
124
+ readonly indexed: false;
125
+ readonly internalType: "uint256";
126
+ readonly name: "transfer";
127
+ readonly type: "uint256";
128
+ }];
129
+ readonly name: "TaxUpdated";
130
+ readonly type: "event";
131
+ }, {
132
+ readonly anonymous: false;
133
+ readonly inputs: readonly [{
134
+ readonly indexed: true;
135
+ readonly internalType: "address";
136
+ readonly name: "from";
137
+ readonly type: "address";
138
+ }, {
139
+ readonly indexed: true;
140
+ readonly internalType: "address";
141
+ readonly name: "to";
142
+ readonly type: "address";
143
+ }, {
144
+ readonly indexed: false;
145
+ readonly internalType: "uint256";
146
+ readonly name: "value";
147
+ readonly type: "uint256";
148
+ }];
149
+ readonly name: "Transfer";
150
+ readonly type: "event";
151
+ }, {
152
+ readonly inputs: readonly [];
153
+ readonly name: "DEAD";
154
+ readonly outputs: readonly [{
155
+ readonly internalType: "address";
156
+ readonly name: "";
157
+ readonly type: "address";
158
+ }];
159
+ readonly stateMutability: "view";
160
+ readonly type: "function";
161
+ }, {
162
+ readonly inputs: readonly [];
163
+ readonly name: "_hasLiquidityBeenAdded";
164
+ readonly outputs: readonly [{
165
+ readonly internalType: "bool";
166
+ readonly name: "";
167
+ readonly type: "bool";
168
+ }];
169
+ readonly stateMutability: "view";
170
+ readonly type: "function";
171
+ }, {
172
+ readonly inputs: readonly [];
173
+ readonly name: "_taxPercentages";
174
+ readonly outputs: readonly [{
175
+ readonly internalType: "uint16";
176
+ readonly name: "marketing";
177
+ readonly type: "uint16";
178
+ }, {
179
+ readonly internalType: "uint16";
180
+ readonly name: "dev";
181
+ readonly type: "uint16";
182
+ }];
183
+ readonly stateMutability: "view";
184
+ readonly type: "function";
185
+ }, {
186
+ readonly inputs: readonly [];
187
+ readonly name: "_taxRates";
188
+ readonly outputs: readonly [{
189
+ readonly internalType: "uint16";
190
+ readonly name: "buyFee";
191
+ readonly type: "uint16";
192
+ }, {
193
+ readonly internalType: "uint16";
194
+ readonly name: "sellFee";
195
+ readonly type: "uint16";
196
+ }, {
197
+ readonly internalType: "uint16";
198
+ readonly name: "transferFee";
199
+ readonly type: "uint16";
200
+ }];
201
+ readonly stateMutability: "view";
202
+ readonly type: "function";
203
+ }, {
204
+ readonly inputs: readonly [];
205
+ readonly name: "_taxWallets";
206
+ readonly outputs: readonly [{
207
+ readonly internalType: "address payable";
208
+ readonly name: "marketing";
209
+ readonly type: "address";
210
+ }, {
211
+ readonly internalType: "address payable";
212
+ readonly name: "dev";
213
+ readonly type: "address";
214
+ }];
215
+ readonly stateMutability: "view";
216
+ readonly type: "function";
217
+ }, {
218
+ readonly inputs: readonly [{
219
+ readonly internalType: "address";
220
+ readonly name: "holder";
221
+ readonly type: "address";
222
+ }, {
223
+ readonly internalType: "address";
224
+ readonly name: "spender";
225
+ readonly type: "address";
226
+ }];
227
+ readonly name: "allowance";
228
+ readonly outputs: readonly [{
229
+ readonly internalType: "uint256";
230
+ readonly name: "";
231
+ readonly type: "uint256";
232
+ }];
233
+ readonly stateMutability: "view";
234
+ readonly type: "function";
235
+ }, {
236
+ readonly inputs: readonly [{
237
+ readonly internalType: "address";
238
+ readonly name: "spender";
239
+ readonly type: "address";
240
+ }, {
241
+ readonly internalType: "uint256";
242
+ readonly name: "amount";
243
+ readonly type: "uint256";
244
+ }];
245
+ readonly name: "approve";
246
+ readonly outputs: readonly [{
247
+ readonly internalType: "bool";
248
+ readonly name: "";
249
+ readonly type: "bool";
250
+ }];
251
+ readonly stateMutability: "nonpayable";
252
+ readonly type: "function";
253
+ }, {
254
+ readonly inputs: readonly [];
255
+ readonly name: "approveContractContingency";
256
+ readonly outputs: readonly [{
257
+ readonly internalType: "bool";
258
+ readonly name: "";
259
+ readonly type: "bool";
260
+ }];
261
+ readonly stateMutability: "nonpayable";
262
+ readonly type: "function";
263
+ }, {
264
+ readonly inputs: readonly [{
265
+ readonly internalType: "address";
266
+ readonly name: "account";
267
+ readonly type: "address";
268
+ }];
269
+ readonly name: "balanceOf";
270
+ readonly outputs: readonly [{
271
+ readonly internalType: "uint256";
272
+ readonly name: "";
273
+ readonly type: "uint256";
274
+ }];
275
+ readonly stateMutability: "view";
276
+ readonly type: "function";
277
+ }, {
278
+ readonly inputs: readonly [];
279
+ readonly name: "confirmLP";
280
+ readonly outputs: readonly [];
281
+ readonly stateMutability: "nonpayable";
282
+ readonly type: "function";
283
+ }, {
284
+ readonly inputs: readonly [];
285
+ readonly name: "contractSwapEnabled";
286
+ readonly outputs: readonly [{
287
+ readonly internalType: "bool";
288
+ readonly name: "";
289
+ readonly type: "bool";
290
+ }];
291
+ readonly stateMutability: "view";
292
+ readonly type: "function";
293
+ }, {
294
+ readonly inputs: readonly [];
295
+ readonly name: "contractSwapTimer";
296
+ readonly outputs: readonly [{
297
+ readonly internalType: "uint256";
298
+ readonly name: "";
299
+ readonly type: "uint256";
300
+ }];
301
+ readonly stateMutability: "view";
302
+ readonly type: "function";
303
+ }, {
304
+ readonly inputs: readonly [];
305
+ readonly name: "decimals";
306
+ readonly outputs: readonly [{
307
+ readonly internalType: "uint8";
308
+ readonly name: "";
309
+ readonly type: "uint8";
310
+ }];
311
+ readonly stateMutability: "view";
312
+ readonly type: "function";
313
+ }, {
314
+ readonly inputs: readonly [];
315
+ readonly name: "dexRouter";
316
+ readonly outputs: readonly [{
317
+ readonly internalType: "contract IRouter02";
318
+ readonly name: "";
319
+ readonly type: "address";
320
+ }];
321
+ readonly stateMutability: "view";
322
+ readonly type: "function";
323
+ }, {
324
+ readonly inputs: readonly [];
325
+ readonly name: "distributeTax";
326
+ readonly outputs: readonly [];
327
+ readonly stateMutability: "nonpayable";
328
+ readonly type: "function";
329
+ }, {
330
+ readonly inputs: readonly [];
331
+ readonly name: "getMaxTransaction";
332
+ readonly outputs: readonly [{
333
+ readonly internalType: "uint256";
334
+ readonly name: "";
335
+ readonly type: "uint256";
336
+ }];
337
+ readonly stateMutability: "view";
338
+ readonly type: "function";
339
+ }, {
340
+ readonly inputs: readonly [];
341
+ readonly name: "getMaxWallet";
342
+ readonly outputs: readonly [{
343
+ readonly internalType: "uint256";
344
+ readonly name: "";
345
+ readonly type: "uint256";
346
+ }];
347
+ readonly stateMutability: "view";
348
+ readonly type: "function";
349
+ }, {
350
+ readonly inputs: readonly [];
351
+ readonly name: "getOwner";
352
+ readonly outputs: readonly [{
353
+ readonly internalType: "address";
354
+ readonly name: "";
355
+ readonly type: "address";
356
+ }];
357
+ readonly stateMutability: "view";
358
+ readonly type: "function";
359
+ }, {
360
+ readonly inputs: readonly [{
361
+ readonly internalType: "address";
362
+ readonly name: "_addr";
363
+ readonly type: "address";
364
+ }];
365
+ readonly name: "isContract";
366
+ readonly outputs: readonly [{
367
+ readonly internalType: "bool";
368
+ readonly name: "";
369
+ readonly type: "bool";
370
+ }];
371
+ readonly stateMutability: "view";
372
+ readonly type: "function";
373
+ }, {
374
+ readonly inputs: readonly [{
375
+ readonly internalType: "address";
376
+ readonly name: "account";
377
+ readonly type: "address";
378
+ }];
379
+ readonly name: "isExcludedFromFees";
380
+ readonly outputs: readonly [{
381
+ readonly internalType: "bool";
382
+ readonly name: "";
383
+ readonly type: "bool";
384
+ }];
385
+ readonly stateMutability: "view";
386
+ readonly type: "function";
387
+ }, {
388
+ readonly inputs: readonly [{
389
+ readonly internalType: "address";
390
+ readonly name: "account";
391
+ readonly type: "address";
392
+ }];
393
+ readonly name: "isExcludedFromLimits";
394
+ readonly outputs: readonly [{
395
+ readonly internalType: "bool";
396
+ readonly name: "";
397
+ readonly type: "bool";
398
+ }];
399
+ readonly stateMutability: "view";
400
+ readonly type: "function";
401
+ }, {
402
+ readonly inputs: readonly [];
403
+ readonly name: "liquidityPoolInitialized";
404
+ readonly outputs: readonly [{
405
+ readonly internalType: "bool";
406
+ readonly name: "";
407
+ readonly type: "bool";
408
+ }];
409
+ readonly stateMutability: "view";
410
+ readonly type: "function";
411
+ }, {
412
+ readonly inputs: readonly [];
413
+ readonly name: "lpPair";
414
+ readonly outputs: readonly [{
415
+ readonly internalType: "address";
416
+ readonly name: "";
417
+ readonly type: "address";
418
+ }];
419
+ readonly stateMutability: "view";
420
+ readonly type: "function";
421
+ }, {
422
+ readonly inputs: readonly [];
423
+ readonly name: "maxBuyTaxes";
424
+ readonly outputs: readonly [{
425
+ readonly internalType: "uint256";
426
+ readonly name: "";
427
+ readonly type: "uint256";
428
+ }];
429
+ readonly stateMutability: "view";
430
+ readonly type: "function";
431
+ }, {
432
+ readonly inputs: readonly [];
433
+ readonly name: "maxSellTaxes";
434
+ readonly outputs: readonly [{
435
+ readonly internalType: "uint256";
436
+ readonly name: "";
437
+ readonly type: "uint256";
438
+ }];
439
+ readonly stateMutability: "view";
440
+ readonly type: "function";
441
+ }, {
442
+ readonly inputs: readonly [];
443
+ readonly name: "maxTransferTaxes";
444
+ readonly outputs: readonly [{
445
+ readonly internalType: "uint256";
446
+ readonly name: "";
447
+ readonly type: "uint256";
448
+ }];
449
+ readonly stateMutability: "view";
450
+ readonly type: "function";
451
+ }, {
452
+ readonly inputs: readonly [];
453
+ readonly name: "name";
454
+ readonly outputs: readonly [{
455
+ readonly internalType: "string";
456
+ readonly name: "";
457
+ readonly type: "string";
458
+ }];
459
+ readonly stateMutability: "view";
460
+ readonly type: "function";
461
+ }, {
462
+ readonly inputs: readonly [{
463
+ readonly internalType: "address";
464
+ readonly name: "to";
465
+ readonly type: "address";
466
+ }, {
467
+ readonly internalType: "uint256";
468
+ readonly name: "amount";
469
+ readonly type: "uint256";
470
+ }];
471
+ readonly name: "preInitializeTransfer";
472
+ readonly outputs: readonly [];
473
+ readonly stateMutability: "nonpayable";
474
+ readonly type: "function";
475
+ }, {
476
+ readonly inputs: readonly [{
477
+ readonly internalType: "address[]";
478
+ readonly name: "accounts";
479
+ readonly type: "address[]";
480
+ }, {
481
+ readonly internalType: "uint256[]";
482
+ readonly name: "amounts";
483
+ readonly type: "uint256[]";
484
+ }];
485
+ readonly name: "preInitializeTransferMultiple";
486
+ readonly outputs: readonly [];
487
+ readonly stateMutability: "nonpayable";
488
+ readonly type: "function";
489
+ }, {
490
+ readonly inputs: readonly [];
491
+ readonly name: "renounceOwnership";
492
+ readonly outputs: readonly [];
493
+ readonly stateMutability: "nonpayable";
494
+ readonly type: "function";
495
+ }, {
496
+ readonly inputs: readonly [{
497
+ readonly internalType: "bool";
498
+ readonly name: "enabled";
499
+ readonly type: "bool";
500
+ }];
501
+ readonly name: "setContractSwapEnabled";
502
+ readonly outputs: readonly [];
503
+ readonly stateMutability: "nonpayable";
504
+ readonly type: "function";
505
+ }, {
506
+ readonly inputs: readonly [{
507
+ readonly internalType: "address";
508
+ readonly name: "account";
509
+ readonly type: "address";
510
+ }, {
511
+ readonly internalType: "bool";
512
+ readonly name: "enabled";
513
+ readonly type: "bool";
514
+ }];
515
+ readonly name: "setExcludedFromFees";
516
+ readonly outputs: readonly [];
517
+ readonly stateMutability: "nonpayable";
518
+ readonly type: "function";
519
+ }, {
520
+ readonly inputs: readonly [{
521
+ readonly internalType: "address";
522
+ readonly name: "account";
523
+ readonly type: "address";
524
+ }, {
525
+ readonly internalType: "bool";
526
+ readonly name: "enabled";
527
+ readonly type: "bool";
528
+ }];
529
+ readonly name: "setExcludedFromLimits";
530
+ readonly outputs: readonly [];
531
+ readonly stateMutability: "nonpayable";
532
+ readonly type: "function";
533
+ }, {
534
+ readonly inputs: readonly [{
535
+ readonly internalType: "address";
536
+ readonly name: "pair";
537
+ readonly type: "address";
538
+ }, {
539
+ readonly internalType: "bool";
540
+ readonly name: "enabled";
541
+ readonly type: "bool";
542
+ }];
543
+ readonly name: "setLiquidityPoolPair";
544
+ readonly outputs: readonly [];
545
+ readonly stateMutability: "nonpayable";
546
+ readonly type: "function";
547
+ }, {
548
+ readonly inputs: readonly [{
549
+ readonly internalType: "uint256";
550
+ readonly name: "percent";
551
+ readonly type: "uint256";
552
+ }, {
553
+ readonly internalType: "uint256";
554
+ readonly name: "divisor";
555
+ readonly type: "uint256";
556
+ }];
557
+ readonly name: "setMaxTxPercent";
558
+ readonly outputs: readonly [];
559
+ readonly stateMutability: "nonpayable";
560
+ readonly type: "function";
561
+ }, {
562
+ readonly inputs: readonly [{
563
+ readonly internalType: "uint256";
564
+ readonly name: "percent";
565
+ readonly type: "uint256";
566
+ }, {
567
+ readonly internalType: "uint256";
568
+ readonly name: "divisor";
569
+ readonly type: "uint256";
570
+ }];
571
+ readonly name: "setMaxWalletSize";
572
+ readonly outputs: readonly [];
573
+ readonly stateMutability: "nonpayable";
574
+ readonly type: "function";
575
+ }, {
576
+ readonly inputs: readonly [{
577
+ readonly internalType: "address";
578
+ readonly name: "newRouter";
579
+ readonly type: "address";
580
+ }];
581
+ readonly name: "setNewRouter";
582
+ readonly outputs: readonly [];
583
+ readonly stateMutability: "nonpayable";
584
+ readonly type: "function";
585
+ }, {
586
+ readonly inputs: readonly [{
587
+ readonly internalType: "address";
588
+ readonly name: "pair";
589
+ readonly type: "address";
590
+ }];
591
+ readonly name: "setPairAddress";
592
+ readonly outputs: readonly [];
593
+ readonly stateMutability: "nonpayable";
594
+ readonly type: "function";
595
+ }, {
596
+ readonly inputs: readonly [{
597
+ readonly internalType: "uint256";
598
+ readonly name: "threshold";
599
+ readonly type: "uint256";
600
+ }, {
601
+ readonly internalType: "uint256";
602
+ readonly name: "thresholdDivisor";
603
+ readonly type: "uint256";
604
+ }, {
605
+ readonly internalType: "uint256";
606
+ readonly name: "time";
607
+ readonly type: "uint256";
608
+ }];
609
+ readonly name: "setSwapSettings";
610
+ readonly outputs: readonly [];
611
+ readonly stateMutability: "nonpayable";
612
+ readonly type: "function";
613
+ }, {
614
+ readonly inputs: readonly [{
615
+ readonly internalType: "uint16";
616
+ readonly name: "marketing";
617
+ readonly type: "uint16";
618
+ }];
619
+ readonly name: "setTaxPercentages";
620
+ readonly outputs: readonly [];
621
+ readonly stateMutability: "nonpayable";
622
+ readonly type: "function";
623
+ }, {
624
+ readonly inputs: readonly [{
625
+ readonly internalType: "uint16";
626
+ readonly name: "buyFee";
627
+ readonly type: "uint16";
628
+ }, {
629
+ readonly internalType: "uint16";
630
+ readonly name: "sellFee";
631
+ readonly type: "uint16";
632
+ }, {
633
+ readonly internalType: "uint16";
634
+ readonly name: "transferFee";
635
+ readonly type: "uint16";
636
+ }];
637
+ readonly name: "setTaxes";
638
+ readonly outputs: readonly [];
639
+ readonly stateMutability: "nonpayable";
640
+ readonly type: "function";
641
+ }, {
642
+ readonly inputs: readonly [{
643
+ readonly internalType: "address payable";
644
+ readonly name: "marketing";
645
+ readonly type: "address";
646
+ }, {
647
+ readonly internalType: "address payable";
648
+ readonly name: "dev";
649
+ readonly type: "address";
650
+ }];
651
+ readonly name: "setWallets";
652
+ readonly outputs: readonly [];
653
+ readonly stateMutability: "nonpayable";
654
+ readonly type: "function";
655
+ }, {
656
+ readonly inputs: readonly [];
657
+ readonly name: "swapThreshold";
658
+ readonly outputs: readonly [{
659
+ readonly internalType: "uint256";
660
+ readonly name: "";
661
+ readonly type: "uint256";
662
+ }];
663
+ readonly stateMutability: "view";
664
+ readonly type: "function";
665
+ }, {
666
+ readonly inputs: readonly [];
667
+ readonly name: "sweepContingency";
668
+ readonly outputs: readonly [];
669
+ readonly stateMutability: "nonpayable";
670
+ readonly type: "function";
671
+ }, {
672
+ readonly inputs: readonly [];
673
+ readonly name: "symbol";
674
+ readonly outputs: readonly [{
675
+ readonly internalType: "string";
676
+ readonly name: "";
677
+ readonly type: "string";
678
+ }];
679
+ readonly stateMutability: "view";
680
+ readonly type: "function";
681
+ }, {
682
+ readonly inputs: readonly [];
683
+ readonly name: "totalSupply";
684
+ readonly outputs: readonly [{
685
+ readonly internalType: "uint256";
686
+ readonly name: "";
687
+ readonly type: "uint256";
688
+ }];
689
+ readonly stateMutability: "view";
690
+ readonly type: "function";
691
+ }, {
692
+ readonly inputs: readonly [];
693
+ readonly name: "tradingEnabled";
694
+ readonly outputs: readonly [{
695
+ readonly internalType: "bool";
696
+ readonly name: "";
697
+ readonly type: "bool";
698
+ }];
699
+ readonly stateMutability: "view";
700
+ readonly type: "function";
701
+ }, {
702
+ readonly inputs: readonly [{
703
+ readonly internalType: "address";
704
+ readonly name: "recipient";
705
+ readonly type: "address";
706
+ }, {
707
+ readonly internalType: "uint256";
708
+ readonly name: "amount";
709
+ readonly type: "uint256";
710
+ }];
711
+ readonly name: "transfer";
712
+ readonly outputs: readonly [{
713
+ readonly internalType: "bool";
714
+ readonly name: "";
715
+ readonly type: "bool";
716
+ }];
717
+ readonly stateMutability: "nonpayable";
718
+ readonly type: "function";
719
+ }, {
720
+ readonly inputs: readonly [{
721
+ readonly internalType: "address";
722
+ readonly name: "sender";
723
+ readonly type: "address";
724
+ }, {
725
+ readonly internalType: "address";
726
+ readonly name: "recipient";
727
+ readonly type: "address";
728
+ }, {
729
+ readonly internalType: "uint256";
730
+ readonly name: "amount";
731
+ readonly type: "uint256";
732
+ }];
733
+ readonly name: "transferFrom";
734
+ readonly outputs: readonly [{
735
+ readonly internalType: "bool";
736
+ readonly name: "";
737
+ readonly type: "bool";
738
+ }];
739
+ readonly stateMutability: "nonpayable";
740
+ readonly type: "function";
741
+ }, {
742
+ readonly inputs: readonly [{
743
+ readonly internalType: "address";
744
+ readonly name: "newOwner";
745
+ readonly type: "address";
746
+ }];
747
+ readonly name: "transferOwner";
748
+ readonly outputs: readonly [];
749
+ readonly stateMutability: "nonpayable";
750
+ readonly type: "function";
751
+ }, {
752
+ readonly stateMutability: "payable";
753
+ readonly type: "receive";
754
+ }];
755
+ /**
756
+ * Type-safe ABI for Oracle
757
+ */
758
+ export type OracleAbi = typeof OracleAbi;
759
+ /**
760
+ * Contract instance type for Oracle
761
+ */
762
+ export type OracleContract = any;
763
+ /**
764
+ * Oracle Contract Class
765
+ *
766
+ * Provides a class-based API similar to TypeChain for interacting with the contract.
767
+ *
768
+ * @example
769
+ * ```typescript
770
+ * import { createPublicClient, createWalletClient, http } from 'viem';
771
+ * import { mainnet } from 'viem/chains';
772
+ * import { Oracle } from 'Oracle';
773
+ *
774
+ * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
775
+ * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
776
+ *
777
+ * const contract = new Oracle('0x...', { publicClient, walletClient });
778
+ *
779
+ * // Read functions
780
+ * const result = await contract.balanceOf('0x...');
781
+ *
782
+ * // Write functions
783
+ * const hash = await contract.transfer('0x...', 1000n);
784
+ *
785
+ * // Simulate transactions (dry-run)
786
+ * const simulation = await contract.simulate.transfer('0x...', 1000n);
787
+ * console.log('Gas estimate:', simulation.request.gas);
788
+ *
789
+ * // Watch events
790
+ * const unwatch = contract.watch.Transfer((event) => {
791
+ * console.log('Transfer event:', event);
792
+ * });
793
+ * ```
794
+ */
795
+ export declare class Oracle {
796
+ private contract;
797
+ private contractAddress;
798
+ private publicClient;
799
+ constructor(address: Address, clients: {
800
+ publicClient: PublicClient;
801
+ walletClient?: WalletClient;
802
+ });
803
+ /**
804
+ * Get the contract address
805
+ */
806
+ get address(): Address;
807
+ /**
808
+ * Get the underlying viem contract instance.
809
+ */
810
+ getContract(): OracleContract;
811
+ /**
812
+ * DEAD
813
+ * view
814
+ */
815
+ DEAD(): Promise<`0x${string}`>;
816
+ /**
817
+ * _hasLiquidityBeenAdded
818
+ * view
819
+ */
820
+ _hasLiquidityBeenAdded(): Promise<boolean>;
821
+ /**
822
+ * _taxPercentages
823
+ * view
824
+ */
825
+ _taxPercentages(): Promise<[bigint, bigint]>;
826
+ /**
827
+ * _taxRates
828
+ * view
829
+ */
830
+ _taxRates(): Promise<[bigint, bigint, bigint]>;
831
+ /**
832
+ * _taxWallets
833
+ * view
834
+ */
835
+ _taxWallets(): Promise<[`0x${string}`, `0x${string}`]>;
836
+ /**
837
+ * allowance
838
+ * view
839
+ */
840
+ allowance(holder: `0x${string}`, spender: `0x${string}`): Promise<bigint>;
841
+ /**
842
+ * balanceOf
843
+ * view
844
+ */
845
+ balanceOf(account: `0x${string}`): Promise<bigint>;
846
+ /**
847
+ * contractSwapEnabled
848
+ * view
849
+ */
850
+ contractSwapEnabled(): Promise<boolean>;
851
+ /**
852
+ * contractSwapTimer
853
+ * view
854
+ */
855
+ contractSwapTimer(): Promise<bigint>;
856
+ /**
857
+ * decimals
858
+ * view
859
+ */
860
+ decimals(): Promise<bigint>;
861
+ /**
862
+ * dexRouter
863
+ * view
864
+ */
865
+ dexRouter(): Promise<`0x${string}`>;
866
+ /**
867
+ * getMaxTransaction
868
+ * view
869
+ */
870
+ getMaxTransaction(): Promise<bigint>;
871
+ /**
872
+ * getMaxWallet
873
+ * view
874
+ */
875
+ getMaxWallet(): Promise<bigint>;
876
+ /**
877
+ * getOwner
878
+ * view
879
+ */
880
+ getOwner(): Promise<`0x${string}`>;
881
+ /**
882
+ * isContract
883
+ * view
884
+ */
885
+ isContract(_addr: `0x${string}`): Promise<boolean>;
886
+ /**
887
+ * isExcludedFromFees
888
+ * view
889
+ */
890
+ isExcludedFromFees(account: `0x${string}`): Promise<boolean>;
891
+ /**
892
+ * isExcludedFromLimits
893
+ * view
894
+ */
895
+ isExcludedFromLimits(account: `0x${string}`): Promise<boolean>;
896
+ /**
897
+ * liquidityPoolInitialized
898
+ * view
899
+ */
900
+ liquidityPoolInitialized(): Promise<boolean>;
901
+ /**
902
+ * lpPair
903
+ * view
904
+ */
905
+ lpPair(): Promise<`0x${string}`>;
906
+ /**
907
+ * maxBuyTaxes
908
+ * view
909
+ */
910
+ maxBuyTaxes(): Promise<bigint>;
911
+ /**
912
+ * maxSellTaxes
913
+ * view
914
+ */
915
+ maxSellTaxes(): Promise<bigint>;
916
+ /**
917
+ * maxTransferTaxes
918
+ * view
919
+ */
920
+ maxTransferTaxes(): Promise<bigint>;
921
+ /**
922
+ * name
923
+ * view
924
+ */
925
+ name(): Promise<string>;
926
+ /**
927
+ * swapThreshold
928
+ * view
929
+ */
930
+ swapThreshold(): Promise<bigint>;
931
+ /**
932
+ * symbol
933
+ * view
934
+ */
935
+ symbol(): Promise<string>;
936
+ /**
937
+ * totalSupply
938
+ * view
939
+ */
940
+ totalSupply(): Promise<bigint>;
941
+ /**
942
+ * tradingEnabled
943
+ * view
944
+ */
945
+ tradingEnabled(): Promise<boolean>;
946
+ /**
947
+ * approve
948
+ * nonpayable
949
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
950
+ */
951
+ approve(spender: `0x${string}`, amount: bigint, options?: {
952
+ accessList?: import('viem').AccessList;
953
+ authorizationList?: import('viem').AuthorizationList;
954
+ chain?: import('viem').Chain | null;
955
+ dataSuffix?: `0x${string}`;
956
+ gas?: bigint;
957
+ gasPrice?: bigint;
958
+ maxFeePerGas?: bigint;
959
+ maxPriorityFeePerGas?: bigint;
960
+ nonce?: number;
961
+ value?: bigint;
962
+ }): Promise<`0x${string}`>;
963
+ /**
964
+ * approveContractContingency
965
+ * nonpayable
966
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
967
+ */
968
+ approveContractContingency(options?: {
969
+ accessList?: import('viem').AccessList;
970
+ authorizationList?: import('viem').AuthorizationList;
971
+ chain?: import('viem').Chain | null;
972
+ dataSuffix?: `0x${string}`;
973
+ gas?: bigint;
974
+ gasPrice?: bigint;
975
+ maxFeePerGas?: bigint;
976
+ maxPriorityFeePerGas?: bigint;
977
+ nonce?: number;
978
+ value?: bigint;
979
+ }): Promise<`0x${string}`>;
980
+ /**
981
+ * confirmLP
982
+ * nonpayable
983
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
984
+ */
985
+ confirmLP(options?: {
986
+ accessList?: import('viem').AccessList;
987
+ authorizationList?: import('viem').AuthorizationList;
988
+ chain?: import('viem').Chain | null;
989
+ dataSuffix?: `0x${string}`;
990
+ gas?: bigint;
991
+ gasPrice?: bigint;
992
+ maxFeePerGas?: bigint;
993
+ maxPriorityFeePerGas?: bigint;
994
+ nonce?: number;
995
+ value?: bigint;
996
+ }): Promise<`0x${string}`>;
997
+ /**
998
+ * distributeTax
999
+ * nonpayable
1000
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1001
+ */
1002
+ distributeTax(options?: {
1003
+ accessList?: import('viem').AccessList;
1004
+ authorizationList?: import('viem').AuthorizationList;
1005
+ chain?: import('viem').Chain | null;
1006
+ dataSuffix?: `0x${string}`;
1007
+ gas?: bigint;
1008
+ gasPrice?: bigint;
1009
+ maxFeePerGas?: bigint;
1010
+ maxPriorityFeePerGas?: bigint;
1011
+ nonce?: number;
1012
+ value?: bigint;
1013
+ }): Promise<`0x${string}`>;
1014
+ /**
1015
+ * preInitializeTransfer
1016
+ * nonpayable
1017
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1018
+ */
1019
+ preInitializeTransfer(to: `0x${string}`, amount: bigint, options?: {
1020
+ accessList?: import('viem').AccessList;
1021
+ authorizationList?: import('viem').AuthorizationList;
1022
+ chain?: import('viem').Chain | null;
1023
+ dataSuffix?: `0x${string}`;
1024
+ gas?: bigint;
1025
+ gasPrice?: bigint;
1026
+ maxFeePerGas?: bigint;
1027
+ maxPriorityFeePerGas?: bigint;
1028
+ nonce?: number;
1029
+ value?: bigint;
1030
+ }): Promise<`0x${string}`>;
1031
+ /**
1032
+ * preInitializeTransferMultiple
1033
+ * nonpayable
1034
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1035
+ */
1036
+ preInitializeTransferMultiple(accounts: `0x${string}`[], amounts: bigint[], options?: {
1037
+ accessList?: import('viem').AccessList;
1038
+ authorizationList?: import('viem').AuthorizationList;
1039
+ chain?: import('viem').Chain | null;
1040
+ dataSuffix?: `0x${string}`;
1041
+ gas?: bigint;
1042
+ gasPrice?: bigint;
1043
+ maxFeePerGas?: bigint;
1044
+ maxPriorityFeePerGas?: bigint;
1045
+ nonce?: number;
1046
+ value?: bigint;
1047
+ }): Promise<`0x${string}`>;
1048
+ /**
1049
+ * renounceOwnership
1050
+ * nonpayable
1051
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1052
+ */
1053
+ renounceOwnership(options?: {
1054
+ accessList?: import('viem').AccessList;
1055
+ authorizationList?: import('viem').AuthorizationList;
1056
+ chain?: import('viem').Chain | null;
1057
+ dataSuffix?: `0x${string}`;
1058
+ gas?: bigint;
1059
+ gasPrice?: bigint;
1060
+ maxFeePerGas?: bigint;
1061
+ maxPriorityFeePerGas?: bigint;
1062
+ nonce?: number;
1063
+ value?: bigint;
1064
+ }): Promise<`0x${string}`>;
1065
+ /**
1066
+ * setContractSwapEnabled
1067
+ * nonpayable
1068
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1069
+ */
1070
+ setContractSwapEnabled(enabled: boolean, options?: {
1071
+ accessList?: import('viem').AccessList;
1072
+ authorizationList?: import('viem').AuthorizationList;
1073
+ chain?: import('viem').Chain | null;
1074
+ dataSuffix?: `0x${string}`;
1075
+ gas?: bigint;
1076
+ gasPrice?: bigint;
1077
+ maxFeePerGas?: bigint;
1078
+ maxPriorityFeePerGas?: bigint;
1079
+ nonce?: number;
1080
+ value?: bigint;
1081
+ }): Promise<`0x${string}`>;
1082
+ /**
1083
+ * setExcludedFromFees
1084
+ * nonpayable
1085
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1086
+ */
1087
+ setExcludedFromFees(account: `0x${string}`, enabled: boolean, options?: {
1088
+ accessList?: import('viem').AccessList;
1089
+ authorizationList?: import('viem').AuthorizationList;
1090
+ chain?: import('viem').Chain | null;
1091
+ dataSuffix?: `0x${string}`;
1092
+ gas?: bigint;
1093
+ gasPrice?: bigint;
1094
+ maxFeePerGas?: bigint;
1095
+ maxPriorityFeePerGas?: bigint;
1096
+ nonce?: number;
1097
+ value?: bigint;
1098
+ }): Promise<`0x${string}`>;
1099
+ /**
1100
+ * setExcludedFromLimits
1101
+ * nonpayable
1102
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1103
+ */
1104
+ setExcludedFromLimits(account: `0x${string}`, enabled: boolean, options?: {
1105
+ accessList?: import('viem').AccessList;
1106
+ authorizationList?: import('viem').AuthorizationList;
1107
+ chain?: import('viem').Chain | null;
1108
+ dataSuffix?: `0x${string}`;
1109
+ gas?: bigint;
1110
+ gasPrice?: bigint;
1111
+ maxFeePerGas?: bigint;
1112
+ maxPriorityFeePerGas?: bigint;
1113
+ nonce?: number;
1114
+ value?: bigint;
1115
+ }): Promise<`0x${string}`>;
1116
+ /**
1117
+ * setLiquidityPoolPair
1118
+ * nonpayable
1119
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1120
+ */
1121
+ setLiquidityPoolPair(pair: `0x${string}`, enabled: boolean, options?: {
1122
+ accessList?: import('viem').AccessList;
1123
+ authorizationList?: import('viem').AuthorizationList;
1124
+ chain?: import('viem').Chain | null;
1125
+ dataSuffix?: `0x${string}`;
1126
+ gas?: bigint;
1127
+ gasPrice?: bigint;
1128
+ maxFeePerGas?: bigint;
1129
+ maxPriorityFeePerGas?: bigint;
1130
+ nonce?: number;
1131
+ value?: bigint;
1132
+ }): Promise<`0x${string}`>;
1133
+ /**
1134
+ * setMaxTxPercent
1135
+ * nonpayable
1136
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1137
+ */
1138
+ setMaxTxPercent(percent: bigint, divisor: bigint, options?: {
1139
+ accessList?: import('viem').AccessList;
1140
+ authorizationList?: import('viem').AuthorizationList;
1141
+ chain?: import('viem').Chain | null;
1142
+ dataSuffix?: `0x${string}`;
1143
+ gas?: bigint;
1144
+ gasPrice?: bigint;
1145
+ maxFeePerGas?: bigint;
1146
+ maxPriorityFeePerGas?: bigint;
1147
+ nonce?: number;
1148
+ value?: bigint;
1149
+ }): Promise<`0x${string}`>;
1150
+ /**
1151
+ * setMaxWalletSize
1152
+ * nonpayable
1153
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1154
+ */
1155
+ setMaxWalletSize(percent: bigint, divisor: bigint, options?: {
1156
+ accessList?: import('viem').AccessList;
1157
+ authorizationList?: import('viem').AuthorizationList;
1158
+ chain?: import('viem').Chain | null;
1159
+ dataSuffix?: `0x${string}`;
1160
+ gas?: bigint;
1161
+ gasPrice?: bigint;
1162
+ maxFeePerGas?: bigint;
1163
+ maxPriorityFeePerGas?: bigint;
1164
+ nonce?: number;
1165
+ value?: bigint;
1166
+ }): Promise<`0x${string}`>;
1167
+ /**
1168
+ * setNewRouter
1169
+ * nonpayable
1170
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1171
+ */
1172
+ setNewRouter(newRouter: `0x${string}`, options?: {
1173
+ accessList?: import('viem').AccessList;
1174
+ authorizationList?: import('viem').AuthorizationList;
1175
+ chain?: import('viem').Chain | null;
1176
+ dataSuffix?: `0x${string}`;
1177
+ gas?: bigint;
1178
+ gasPrice?: bigint;
1179
+ maxFeePerGas?: bigint;
1180
+ maxPriorityFeePerGas?: bigint;
1181
+ nonce?: number;
1182
+ value?: bigint;
1183
+ }): Promise<`0x${string}`>;
1184
+ /**
1185
+ * setPairAddress
1186
+ * nonpayable
1187
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1188
+ */
1189
+ setPairAddress(pair: `0x${string}`, options?: {
1190
+ accessList?: import('viem').AccessList;
1191
+ authorizationList?: import('viem').AuthorizationList;
1192
+ chain?: import('viem').Chain | null;
1193
+ dataSuffix?: `0x${string}`;
1194
+ gas?: bigint;
1195
+ gasPrice?: bigint;
1196
+ maxFeePerGas?: bigint;
1197
+ maxPriorityFeePerGas?: bigint;
1198
+ nonce?: number;
1199
+ value?: bigint;
1200
+ }): Promise<`0x${string}`>;
1201
+ /**
1202
+ * setSwapSettings
1203
+ * nonpayable
1204
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1205
+ */
1206
+ setSwapSettings(threshold: bigint, thresholdDivisor: bigint, time: bigint, options?: {
1207
+ accessList?: import('viem').AccessList;
1208
+ authorizationList?: import('viem').AuthorizationList;
1209
+ chain?: import('viem').Chain | null;
1210
+ dataSuffix?: `0x${string}`;
1211
+ gas?: bigint;
1212
+ gasPrice?: bigint;
1213
+ maxFeePerGas?: bigint;
1214
+ maxPriorityFeePerGas?: bigint;
1215
+ nonce?: number;
1216
+ value?: bigint;
1217
+ }): Promise<`0x${string}`>;
1218
+ /**
1219
+ * setTaxPercentages
1220
+ * nonpayable
1221
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1222
+ */
1223
+ setTaxPercentages(marketing: bigint, options?: {
1224
+ accessList?: import('viem').AccessList;
1225
+ authorizationList?: import('viem').AuthorizationList;
1226
+ chain?: import('viem').Chain | null;
1227
+ dataSuffix?: `0x${string}`;
1228
+ gas?: bigint;
1229
+ gasPrice?: bigint;
1230
+ maxFeePerGas?: bigint;
1231
+ maxPriorityFeePerGas?: bigint;
1232
+ nonce?: number;
1233
+ value?: bigint;
1234
+ }): Promise<`0x${string}`>;
1235
+ /**
1236
+ * setTaxes
1237
+ * nonpayable
1238
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1239
+ */
1240
+ setTaxes(buyFee: bigint, sellFee: bigint, transferFee: bigint, options?: {
1241
+ accessList?: import('viem').AccessList;
1242
+ authorizationList?: import('viem').AuthorizationList;
1243
+ chain?: import('viem').Chain | null;
1244
+ dataSuffix?: `0x${string}`;
1245
+ gas?: bigint;
1246
+ gasPrice?: bigint;
1247
+ maxFeePerGas?: bigint;
1248
+ maxPriorityFeePerGas?: bigint;
1249
+ nonce?: number;
1250
+ value?: bigint;
1251
+ }): Promise<`0x${string}`>;
1252
+ /**
1253
+ * setWallets
1254
+ * nonpayable
1255
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1256
+ */
1257
+ setWallets(marketing: `0x${string}`, dev: `0x${string}`, options?: {
1258
+ accessList?: import('viem').AccessList;
1259
+ authorizationList?: import('viem').AuthorizationList;
1260
+ chain?: import('viem').Chain | null;
1261
+ dataSuffix?: `0x${string}`;
1262
+ gas?: bigint;
1263
+ gasPrice?: bigint;
1264
+ maxFeePerGas?: bigint;
1265
+ maxPriorityFeePerGas?: bigint;
1266
+ nonce?: number;
1267
+ value?: bigint;
1268
+ }): Promise<`0x${string}`>;
1269
+ /**
1270
+ * sweepContingency
1271
+ * nonpayable
1272
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1273
+ */
1274
+ sweepContingency(options?: {
1275
+ accessList?: import('viem').AccessList;
1276
+ authorizationList?: import('viem').AuthorizationList;
1277
+ chain?: import('viem').Chain | null;
1278
+ dataSuffix?: `0x${string}`;
1279
+ gas?: bigint;
1280
+ gasPrice?: bigint;
1281
+ maxFeePerGas?: bigint;
1282
+ maxPriorityFeePerGas?: bigint;
1283
+ nonce?: number;
1284
+ value?: bigint;
1285
+ }): Promise<`0x${string}`>;
1286
+ /**
1287
+ * transfer
1288
+ * nonpayable
1289
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1290
+ */
1291
+ transfer(recipient: `0x${string}`, amount: bigint, options?: {
1292
+ accessList?: import('viem').AccessList;
1293
+ authorizationList?: import('viem').AuthorizationList;
1294
+ chain?: import('viem').Chain | null;
1295
+ dataSuffix?: `0x${string}`;
1296
+ gas?: bigint;
1297
+ gasPrice?: bigint;
1298
+ maxFeePerGas?: bigint;
1299
+ maxPriorityFeePerGas?: bigint;
1300
+ nonce?: number;
1301
+ value?: bigint;
1302
+ }): Promise<`0x${string}`>;
1303
+ /**
1304
+ * transferFrom
1305
+ * nonpayable
1306
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1307
+ */
1308
+ transferFrom(sender: `0x${string}`, recipient: `0x${string}`, amount: bigint, options?: {
1309
+ accessList?: import('viem').AccessList;
1310
+ authorizationList?: import('viem').AuthorizationList;
1311
+ chain?: import('viem').Chain | null;
1312
+ dataSuffix?: `0x${string}`;
1313
+ gas?: bigint;
1314
+ gasPrice?: bigint;
1315
+ maxFeePerGas?: bigint;
1316
+ maxPriorityFeePerGas?: bigint;
1317
+ nonce?: number;
1318
+ value?: bigint;
1319
+ }): Promise<`0x${string}`>;
1320
+ /**
1321
+ * transferOwner
1322
+ * nonpayable
1323
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1324
+ */
1325
+ transferOwner(newOwner: `0x${string}`, options?: {
1326
+ accessList?: import('viem').AccessList;
1327
+ authorizationList?: import('viem').AuthorizationList;
1328
+ chain?: import('viem').Chain | null;
1329
+ dataSuffix?: `0x${string}`;
1330
+ gas?: bigint;
1331
+ gasPrice?: bigint;
1332
+ maxFeePerGas?: bigint;
1333
+ maxPriorityFeePerGas?: bigint;
1334
+ nonce?: number;
1335
+ value?: bigint;
1336
+ }): Promise<`0x${string}`>;
1337
+ /**
1338
+ * Simulate contract write operations (dry-run without sending transaction)
1339
+ *
1340
+ * @example
1341
+ * const result = await contract.simulate.transfer('0x...', 1000n);
1342
+ * console.log('Gas estimate:', result.request.gas);
1343
+ * console.log('Would succeed:', result.result);
1344
+ */
1345
+ get simulate(): {
1346
+ /**
1347
+ * Simulate approve
1348
+ * Returns gas estimate and result without sending transaction
1349
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1350
+ */
1351
+ approve(spender: `0x${string}`, amount: bigint, options?: {
1352
+ accessList?: import("viem").AccessList;
1353
+ authorizationList?: import("viem").AuthorizationList;
1354
+ chain?: import("viem").Chain | null;
1355
+ dataSuffix?: `0x${string}`;
1356
+ gas?: bigint;
1357
+ gasPrice?: bigint;
1358
+ maxFeePerGas?: bigint;
1359
+ maxPriorityFeePerGas?: bigint;
1360
+ nonce?: number;
1361
+ value?: bigint;
1362
+ }): Promise<boolean>;
1363
+ /**
1364
+ * Simulate approveContractContingency
1365
+ * Returns gas estimate and result without sending transaction
1366
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1367
+ */
1368
+ approveContractContingency(options?: {
1369
+ accessList?: import("viem").AccessList;
1370
+ authorizationList?: import("viem").AuthorizationList;
1371
+ chain?: import("viem").Chain | null;
1372
+ dataSuffix?: `0x${string}`;
1373
+ gas?: bigint;
1374
+ gasPrice?: bigint;
1375
+ maxFeePerGas?: bigint;
1376
+ maxPriorityFeePerGas?: bigint;
1377
+ nonce?: number;
1378
+ value?: bigint;
1379
+ }): Promise<boolean>;
1380
+ /**
1381
+ * Simulate confirmLP
1382
+ * Returns gas estimate and result without sending transaction
1383
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1384
+ */
1385
+ confirmLP(options?: {
1386
+ accessList?: import("viem").AccessList;
1387
+ authorizationList?: import("viem").AuthorizationList;
1388
+ chain?: import("viem").Chain | null;
1389
+ dataSuffix?: `0x${string}`;
1390
+ gas?: bigint;
1391
+ gasPrice?: bigint;
1392
+ maxFeePerGas?: bigint;
1393
+ maxPriorityFeePerGas?: bigint;
1394
+ nonce?: number;
1395
+ value?: bigint;
1396
+ }): Promise<void>;
1397
+ /**
1398
+ * Simulate distributeTax
1399
+ * Returns gas estimate and result without sending transaction
1400
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1401
+ */
1402
+ distributeTax(options?: {
1403
+ accessList?: import("viem").AccessList;
1404
+ authorizationList?: import("viem").AuthorizationList;
1405
+ chain?: import("viem").Chain | null;
1406
+ dataSuffix?: `0x${string}`;
1407
+ gas?: bigint;
1408
+ gasPrice?: bigint;
1409
+ maxFeePerGas?: bigint;
1410
+ maxPriorityFeePerGas?: bigint;
1411
+ nonce?: number;
1412
+ value?: bigint;
1413
+ }): Promise<void>;
1414
+ /**
1415
+ * Simulate preInitializeTransfer
1416
+ * Returns gas estimate and result without sending transaction
1417
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1418
+ */
1419
+ preInitializeTransfer(to: `0x${string}`, amount: bigint, options?: {
1420
+ accessList?: import("viem").AccessList;
1421
+ authorizationList?: import("viem").AuthorizationList;
1422
+ chain?: import("viem").Chain | null;
1423
+ dataSuffix?: `0x${string}`;
1424
+ gas?: bigint;
1425
+ gasPrice?: bigint;
1426
+ maxFeePerGas?: bigint;
1427
+ maxPriorityFeePerGas?: bigint;
1428
+ nonce?: number;
1429
+ value?: bigint;
1430
+ }): Promise<void>;
1431
+ /**
1432
+ * Simulate preInitializeTransferMultiple
1433
+ * Returns gas estimate and result without sending transaction
1434
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1435
+ */
1436
+ preInitializeTransferMultiple(accounts: `0x${string}`[], amounts: bigint[], options?: {
1437
+ accessList?: import("viem").AccessList;
1438
+ authorizationList?: import("viem").AuthorizationList;
1439
+ chain?: import("viem").Chain | null;
1440
+ dataSuffix?: `0x${string}`;
1441
+ gas?: bigint;
1442
+ gasPrice?: bigint;
1443
+ maxFeePerGas?: bigint;
1444
+ maxPriorityFeePerGas?: bigint;
1445
+ nonce?: number;
1446
+ value?: bigint;
1447
+ }): Promise<void>;
1448
+ /**
1449
+ * Simulate renounceOwnership
1450
+ * Returns gas estimate and result without sending transaction
1451
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1452
+ */
1453
+ renounceOwnership(options?: {
1454
+ accessList?: import("viem").AccessList;
1455
+ authorizationList?: import("viem").AuthorizationList;
1456
+ chain?: import("viem").Chain | null;
1457
+ dataSuffix?: `0x${string}`;
1458
+ gas?: bigint;
1459
+ gasPrice?: bigint;
1460
+ maxFeePerGas?: bigint;
1461
+ maxPriorityFeePerGas?: bigint;
1462
+ nonce?: number;
1463
+ value?: bigint;
1464
+ }): Promise<void>;
1465
+ /**
1466
+ * Simulate setContractSwapEnabled
1467
+ * Returns gas estimate and result without sending transaction
1468
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1469
+ */
1470
+ setContractSwapEnabled(enabled: boolean, options?: {
1471
+ accessList?: import("viem").AccessList;
1472
+ authorizationList?: import("viem").AuthorizationList;
1473
+ chain?: import("viem").Chain | null;
1474
+ dataSuffix?: `0x${string}`;
1475
+ gas?: bigint;
1476
+ gasPrice?: bigint;
1477
+ maxFeePerGas?: bigint;
1478
+ maxPriorityFeePerGas?: bigint;
1479
+ nonce?: number;
1480
+ value?: bigint;
1481
+ }): Promise<void>;
1482
+ /**
1483
+ * Simulate setExcludedFromFees
1484
+ * Returns gas estimate and result without sending transaction
1485
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1486
+ */
1487
+ setExcludedFromFees(account: `0x${string}`, enabled: boolean, options?: {
1488
+ accessList?: import("viem").AccessList;
1489
+ authorizationList?: import("viem").AuthorizationList;
1490
+ chain?: import("viem").Chain | null;
1491
+ dataSuffix?: `0x${string}`;
1492
+ gas?: bigint;
1493
+ gasPrice?: bigint;
1494
+ maxFeePerGas?: bigint;
1495
+ maxPriorityFeePerGas?: bigint;
1496
+ nonce?: number;
1497
+ value?: bigint;
1498
+ }): Promise<void>;
1499
+ /**
1500
+ * Simulate setExcludedFromLimits
1501
+ * Returns gas estimate and result without sending transaction
1502
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1503
+ */
1504
+ setExcludedFromLimits(account: `0x${string}`, enabled: boolean, options?: {
1505
+ accessList?: import("viem").AccessList;
1506
+ authorizationList?: import("viem").AuthorizationList;
1507
+ chain?: import("viem").Chain | null;
1508
+ dataSuffix?: `0x${string}`;
1509
+ gas?: bigint;
1510
+ gasPrice?: bigint;
1511
+ maxFeePerGas?: bigint;
1512
+ maxPriorityFeePerGas?: bigint;
1513
+ nonce?: number;
1514
+ value?: bigint;
1515
+ }): Promise<void>;
1516
+ /**
1517
+ * Simulate setLiquidityPoolPair
1518
+ * Returns gas estimate and result without sending transaction
1519
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1520
+ */
1521
+ setLiquidityPoolPair(pair: `0x${string}`, enabled: boolean, options?: {
1522
+ accessList?: import("viem").AccessList;
1523
+ authorizationList?: import("viem").AuthorizationList;
1524
+ chain?: import("viem").Chain | null;
1525
+ dataSuffix?: `0x${string}`;
1526
+ gas?: bigint;
1527
+ gasPrice?: bigint;
1528
+ maxFeePerGas?: bigint;
1529
+ maxPriorityFeePerGas?: bigint;
1530
+ nonce?: number;
1531
+ value?: bigint;
1532
+ }): Promise<void>;
1533
+ /**
1534
+ * Simulate setMaxTxPercent
1535
+ * Returns gas estimate and result without sending transaction
1536
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1537
+ */
1538
+ setMaxTxPercent(percent: bigint, divisor: bigint, options?: {
1539
+ accessList?: import("viem").AccessList;
1540
+ authorizationList?: import("viem").AuthorizationList;
1541
+ chain?: import("viem").Chain | null;
1542
+ dataSuffix?: `0x${string}`;
1543
+ gas?: bigint;
1544
+ gasPrice?: bigint;
1545
+ maxFeePerGas?: bigint;
1546
+ maxPriorityFeePerGas?: bigint;
1547
+ nonce?: number;
1548
+ value?: bigint;
1549
+ }): Promise<void>;
1550
+ /**
1551
+ * Simulate setMaxWalletSize
1552
+ * Returns gas estimate and result without sending transaction
1553
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1554
+ */
1555
+ setMaxWalletSize(percent: bigint, divisor: bigint, options?: {
1556
+ accessList?: import("viem").AccessList;
1557
+ authorizationList?: import("viem").AuthorizationList;
1558
+ chain?: import("viem").Chain | null;
1559
+ dataSuffix?: `0x${string}`;
1560
+ gas?: bigint;
1561
+ gasPrice?: bigint;
1562
+ maxFeePerGas?: bigint;
1563
+ maxPriorityFeePerGas?: bigint;
1564
+ nonce?: number;
1565
+ value?: bigint;
1566
+ }): Promise<void>;
1567
+ /**
1568
+ * Simulate setNewRouter
1569
+ * Returns gas estimate and result without sending transaction
1570
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1571
+ */
1572
+ setNewRouter(newRouter: `0x${string}`, options?: {
1573
+ accessList?: import("viem").AccessList;
1574
+ authorizationList?: import("viem").AuthorizationList;
1575
+ chain?: import("viem").Chain | null;
1576
+ dataSuffix?: `0x${string}`;
1577
+ gas?: bigint;
1578
+ gasPrice?: bigint;
1579
+ maxFeePerGas?: bigint;
1580
+ maxPriorityFeePerGas?: bigint;
1581
+ nonce?: number;
1582
+ value?: bigint;
1583
+ }): Promise<void>;
1584
+ /**
1585
+ * Simulate setPairAddress
1586
+ * Returns gas estimate and result without sending transaction
1587
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1588
+ */
1589
+ setPairAddress(pair: `0x${string}`, options?: {
1590
+ accessList?: import("viem").AccessList;
1591
+ authorizationList?: import("viem").AuthorizationList;
1592
+ chain?: import("viem").Chain | null;
1593
+ dataSuffix?: `0x${string}`;
1594
+ gas?: bigint;
1595
+ gasPrice?: bigint;
1596
+ maxFeePerGas?: bigint;
1597
+ maxPriorityFeePerGas?: bigint;
1598
+ nonce?: number;
1599
+ value?: bigint;
1600
+ }): Promise<void>;
1601
+ /**
1602
+ * Simulate setSwapSettings
1603
+ * Returns gas estimate and result without sending transaction
1604
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1605
+ */
1606
+ setSwapSettings(threshold: bigint, thresholdDivisor: bigint, time: bigint, options?: {
1607
+ accessList?: import("viem").AccessList;
1608
+ authorizationList?: import("viem").AuthorizationList;
1609
+ chain?: import("viem").Chain | null;
1610
+ dataSuffix?: `0x${string}`;
1611
+ gas?: bigint;
1612
+ gasPrice?: bigint;
1613
+ maxFeePerGas?: bigint;
1614
+ maxPriorityFeePerGas?: bigint;
1615
+ nonce?: number;
1616
+ value?: bigint;
1617
+ }): Promise<void>;
1618
+ /**
1619
+ * Simulate setTaxPercentages
1620
+ * Returns gas estimate and result without sending transaction
1621
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1622
+ */
1623
+ setTaxPercentages(marketing: bigint, options?: {
1624
+ accessList?: import("viem").AccessList;
1625
+ authorizationList?: import("viem").AuthorizationList;
1626
+ chain?: import("viem").Chain | null;
1627
+ dataSuffix?: `0x${string}`;
1628
+ gas?: bigint;
1629
+ gasPrice?: bigint;
1630
+ maxFeePerGas?: bigint;
1631
+ maxPriorityFeePerGas?: bigint;
1632
+ nonce?: number;
1633
+ value?: bigint;
1634
+ }): Promise<void>;
1635
+ /**
1636
+ * Simulate setTaxes
1637
+ * Returns gas estimate and result without sending transaction
1638
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1639
+ */
1640
+ setTaxes(buyFee: bigint, sellFee: bigint, transferFee: bigint, options?: {
1641
+ accessList?: import("viem").AccessList;
1642
+ authorizationList?: import("viem").AuthorizationList;
1643
+ chain?: import("viem").Chain | null;
1644
+ dataSuffix?: `0x${string}`;
1645
+ gas?: bigint;
1646
+ gasPrice?: bigint;
1647
+ maxFeePerGas?: bigint;
1648
+ maxPriorityFeePerGas?: bigint;
1649
+ nonce?: number;
1650
+ value?: bigint;
1651
+ }): Promise<void>;
1652
+ /**
1653
+ * Simulate setWallets
1654
+ * Returns gas estimate and result without sending transaction
1655
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1656
+ */
1657
+ setWallets(marketing: `0x${string}`, dev: `0x${string}`, options?: {
1658
+ accessList?: import("viem").AccessList;
1659
+ authorizationList?: import("viem").AuthorizationList;
1660
+ chain?: import("viem").Chain | null;
1661
+ dataSuffix?: `0x${string}`;
1662
+ gas?: bigint;
1663
+ gasPrice?: bigint;
1664
+ maxFeePerGas?: bigint;
1665
+ maxPriorityFeePerGas?: bigint;
1666
+ nonce?: number;
1667
+ value?: bigint;
1668
+ }): Promise<void>;
1669
+ /**
1670
+ * Simulate sweepContingency
1671
+ * Returns gas estimate and result without sending transaction
1672
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1673
+ */
1674
+ sweepContingency(options?: {
1675
+ accessList?: import("viem").AccessList;
1676
+ authorizationList?: import("viem").AuthorizationList;
1677
+ chain?: import("viem").Chain | null;
1678
+ dataSuffix?: `0x${string}`;
1679
+ gas?: bigint;
1680
+ gasPrice?: bigint;
1681
+ maxFeePerGas?: bigint;
1682
+ maxPriorityFeePerGas?: bigint;
1683
+ nonce?: number;
1684
+ value?: bigint;
1685
+ }): Promise<void>;
1686
+ /**
1687
+ * Simulate transfer
1688
+ * Returns gas estimate and result without sending transaction
1689
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1690
+ */
1691
+ transfer(recipient: `0x${string}`, amount: bigint, options?: {
1692
+ accessList?: import("viem").AccessList;
1693
+ authorizationList?: import("viem").AuthorizationList;
1694
+ chain?: import("viem").Chain | null;
1695
+ dataSuffix?: `0x${string}`;
1696
+ gas?: bigint;
1697
+ gasPrice?: bigint;
1698
+ maxFeePerGas?: bigint;
1699
+ maxPriorityFeePerGas?: bigint;
1700
+ nonce?: number;
1701
+ value?: bigint;
1702
+ }): Promise<boolean>;
1703
+ /**
1704
+ * Simulate transferFrom
1705
+ * Returns gas estimate and result without sending transaction
1706
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1707
+ */
1708
+ transferFrom(sender: `0x${string}`, recipient: `0x${string}`, amount: bigint, options?: {
1709
+ accessList?: import("viem").AccessList;
1710
+ authorizationList?: import("viem").AuthorizationList;
1711
+ chain?: import("viem").Chain | null;
1712
+ dataSuffix?: `0x${string}`;
1713
+ gas?: bigint;
1714
+ gasPrice?: bigint;
1715
+ maxFeePerGas?: bigint;
1716
+ maxPriorityFeePerGas?: bigint;
1717
+ nonce?: number;
1718
+ value?: bigint;
1719
+ }): Promise<boolean>;
1720
+ /**
1721
+ * Simulate transferOwner
1722
+ * Returns gas estimate and result without sending transaction
1723
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1724
+ */
1725
+ transferOwner(newOwner: `0x${string}`, options?: {
1726
+ accessList?: import("viem").AccessList;
1727
+ authorizationList?: import("viem").AuthorizationList;
1728
+ chain?: import("viem").Chain | null;
1729
+ dataSuffix?: `0x${string}`;
1730
+ gas?: bigint;
1731
+ gasPrice?: bigint;
1732
+ maxFeePerGas?: bigint;
1733
+ maxPriorityFeePerGas?: bigint;
1734
+ nonce?: number;
1735
+ value?: bigint;
1736
+ }): Promise<void>;
1737
+ };
1738
+ /**
1739
+ * Watch contract events
1740
+ *
1741
+ * @example
1742
+ * // Watch all Transfer events
1743
+ * const unwatch = contract.watch.Transfer((event) => {
1744
+ * console.log('Transfer:', event);
1745
+ * });
1746
+ *
1747
+ * // Stop watching
1748
+ * unwatch();
1749
+ */
1750
+ get watch(): {
1751
+ /**
1752
+ * Watch Approval events
1753
+ * @param callback Function to call when event is emitted
1754
+ * @param filter Optional filter for indexed parameters
1755
+ * @returns Unwatch function to stop listening
1756
+ */
1757
+ Approval: (callback: (event: {
1758
+ owner: `0x${string}`;
1759
+ spender: `0x${string}`;
1760
+ value: bigint;
1761
+ }) => void, filter?: {
1762
+ owner?: `0x${string}` | `0x${string}`[] | null;
1763
+ spender?: `0x${string}` | `0x${string}`[] | null;
1764
+ }) => () => void;
1765
+ /**
1766
+ * Watch AutoLiquify events
1767
+ * @param callback Function to call when event is emitted
1768
+ * @param filter Optional filter for indexed parameters
1769
+ * @returns Unwatch function to stop listening
1770
+ */
1771
+ AutoLiquify: (callback: (event: {
1772
+ amountCurrency: bigint;
1773
+ amountTokens: bigint;
1774
+ }) => void) => () => void;
1775
+ /**
1776
+ * Watch ContractSwapEnabledUpdated events
1777
+ * @param callback Function to call when event is emitted
1778
+ * @param filter Optional filter for indexed parameters
1779
+ * @returns Unwatch function to stop listening
1780
+ */
1781
+ ContractSwapEnabledUpdated: (callback: (event: {
1782
+ enabled: boolean;
1783
+ }) => void) => () => void;
1784
+ /**
1785
+ * Watch MaxTransactionAmountUpdated events
1786
+ * @param callback Function to call when event is emitted
1787
+ * @param filter Optional filter for indexed parameters
1788
+ * @returns Unwatch function to stop listening
1789
+ */
1790
+ MaxTransactionAmountUpdated: (callback: (event: {
1791
+ amount: bigint;
1792
+ }) => void) => () => void;
1793
+ /**
1794
+ * Watch OwnershipTransferred events
1795
+ * @param callback Function to call when event is emitted
1796
+ * @param filter Optional filter for indexed parameters
1797
+ * @returns Unwatch function to stop listening
1798
+ */
1799
+ OwnershipTransferred: (callback: (event: {
1800
+ pastOwner: `0x${string}`;
1801
+ newOwner: `0x${string}`;
1802
+ }) => void, filter?: {
1803
+ pastOwner?: `0x${string}` | `0x${string}`[] | null;
1804
+ newOwner?: `0x${string}` | `0x${string}`[] | null;
1805
+ }) => () => void;
1806
+ /**
1807
+ * Watch SwapSettingsUpdated events
1808
+ * @param callback Function to call when event is emitted
1809
+ * @param filter Optional filter for indexed parameters
1810
+ * @returns Unwatch function to stop listening
1811
+ */
1812
+ SwapSettingsUpdated: (callback: (event: {
1813
+ threshold: bigint;
1814
+ time: bigint;
1815
+ }) => void) => () => void;
1816
+ /**
1817
+ * Watch TaxDistributionPercentageUpdated events
1818
+ * @param callback Function to call when event is emitted
1819
+ * @param filter Optional filter for indexed parameters
1820
+ * @returns Unwatch function to stop listening
1821
+ */
1822
+ TaxDistributionPercentageUpdated: (callback: (event: {
1823
+ marketing: bigint;
1824
+ dev: bigint;
1825
+ }) => void) => () => void;
1826
+ /**
1827
+ * Watch TaxUpdated events
1828
+ * @param callback Function to call when event is emitted
1829
+ * @param filter Optional filter for indexed parameters
1830
+ * @returns Unwatch function to stop listening
1831
+ */
1832
+ TaxUpdated: (callback: (event: {
1833
+ buy: bigint;
1834
+ sell: bigint;
1835
+ transfer: bigint;
1836
+ }) => void) => () => void;
1837
+ /**
1838
+ * Watch Transfer events
1839
+ * @param callback Function to call when event is emitted
1840
+ * @param filter Optional filter for indexed parameters
1841
+ * @returns Unwatch function to stop listening
1842
+ */
1843
+ Transfer: (callback: (event: {
1844
+ from: `0x${string}`;
1845
+ to: `0x${string}`;
1846
+ value: bigint;
1847
+ }) => void, filter?: {
1848
+ from?: `0x${string}` | `0x${string}`[] | null;
1849
+ to?: `0x${string}` | `0x${string}`[] | null;
1850
+ }) => () => void;
1851
+ };
1852
+ }