@gitmyabi/mic 1.0.0 → 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.
- package/README.md +3 -3
- package/contracts/MIC_json.d.ts +2252 -0
- package/contracts/MIC_json.js +2345 -0
- package/contracts/MIC_json.ts +2992 -0
- package/contracts/index.d.ts +2 -2
- package/contracts/index.js +4 -4
- package/contracts/index.ts +2 -2
- package/package.json +3 -3
- package/contracts/Mindexcoin_json.d.ts +0 -569
- package/contracts/Mindexcoin_json.js +0 -589
- package/contracts/Mindexcoin_json.ts +0 -760
|
@@ -0,0 +1,2252 @@
|
|
|
1
|
+
import type { Address, PublicClient, WalletClient } from 'viem';
|
|
2
|
+
/**
|
|
3
|
+
* MIC_json ABI
|
|
4
|
+
*
|
|
5
|
+
* This ABI is typed using viem's type system for full type safety.
|
|
6
|
+
*/
|
|
7
|
+
export declare const MIC_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 name: "AutoNukeLP";
|
|
35
|
+
readonly type: "event";
|
|
36
|
+
}, {
|
|
37
|
+
readonly anonymous: false;
|
|
38
|
+
readonly inputs: readonly [{
|
|
39
|
+
readonly indexed: true;
|
|
40
|
+
readonly internalType: "address";
|
|
41
|
+
readonly name: "sniper";
|
|
42
|
+
readonly type: "address";
|
|
43
|
+
}];
|
|
44
|
+
readonly name: "BoughtEarly";
|
|
45
|
+
readonly type: "event";
|
|
46
|
+
}, {
|
|
47
|
+
readonly anonymous: false;
|
|
48
|
+
readonly inputs: readonly [{
|
|
49
|
+
readonly indexed: true;
|
|
50
|
+
readonly internalType: "address";
|
|
51
|
+
readonly name: "account";
|
|
52
|
+
readonly type: "address";
|
|
53
|
+
}, {
|
|
54
|
+
readonly indexed: false;
|
|
55
|
+
readonly internalType: "bool";
|
|
56
|
+
readonly name: "isExcluded";
|
|
57
|
+
readonly type: "bool";
|
|
58
|
+
}];
|
|
59
|
+
readonly name: "ExcludeFromFees";
|
|
60
|
+
readonly type: "event";
|
|
61
|
+
}, {
|
|
62
|
+
readonly anonymous: false;
|
|
63
|
+
readonly inputs: readonly [];
|
|
64
|
+
readonly name: "ManualNukeLP";
|
|
65
|
+
readonly type: "event";
|
|
66
|
+
}, {
|
|
67
|
+
readonly anonymous: false;
|
|
68
|
+
readonly inputs: readonly [{
|
|
69
|
+
readonly indexed: true;
|
|
70
|
+
readonly internalType: "address";
|
|
71
|
+
readonly name: "previousOwner";
|
|
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: true;
|
|
85
|
+
readonly internalType: "address";
|
|
86
|
+
readonly name: "pair";
|
|
87
|
+
readonly type: "address";
|
|
88
|
+
}, {
|
|
89
|
+
readonly indexed: true;
|
|
90
|
+
readonly internalType: "bool";
|
|
91
|
+
readonly name: "value";
|
|
92
|
+
readonly type: "bool";
|
|
93
|
+
}];
|
|
94
|
+
readonly name: "SetAutomatedMarketMakerPair";
|
|
95
|
+
readonly type: "event";
|
|
96
|
+
}, {
|
|
97
|
+
readonly anonymous: false;
|
|
98
|
+
readonly inputs: readonly [{
|
|
99
|
+
readonly indexed: false;
|
|
100
|
+
readonly internalType: "uint256";
|
|
101
|
+
readonly name: "tokensSwapped";
|
|
102
|
+
readonly type: "uint256";
|
|
103
|
+
}, {
|
|
104
|
+
readonly indexed: false;
|
|
105
|
+
readonly internalType: "uint256";
|
|
106
|
+
readonly name: "ethReceived";
|
|
107
|
+
readonly type: "uint256";
|
|
108
|
+
}, {
|
|
109
|
+
readonly indexed: false;
|
|
110
|
+
readonly internalType: "uint256";
|
|
111
|
+
readonly name: "tokensIntoLiquidity";
|
|
112
|
+
readonly type: "uint256";
|
|
113
|
+
}];
|
|
114
|
+
readonly name: "SwapAndLiquify";
|
|
115
|
+
readonly type: "event";
|
|
116
|
+
}, {
|
|
117
|
+
readonly anonymous: false;
|
|
118
|
+
readonly inputs: readonly [{
|
|
119
|
+
readonly indexed: true;
|
|
120
|
+
readonly internalType: "address";
|
|
121
|
+
readonly name: "from";
|
|
122
|
+
readonly type: "address";
|
|
123
|
+
}, {
|
|
124
|
+
readonly indexed: true;
|
|
125
|
+
readonly internalType: "address";
|
|
126
|
+
readonly name: "to";
|
|
127
|
+
readonly type: "address";
|
|
128
|
+
}, {
|
|
129
|
+
readonly indexed: false;
|
|
130
|
+
readonly internalType: "uint256";
|
|
131
|
+
readonly name: "value";
|
|
132
|
+
readonly type: "uint256";
|
|
133
|
+
}];
|
|
134
|
+
readonly name: "Transfer";
|
|
135
|
+
readonly type: "event";
|
|
136
|
+
}, {
|
|
137
|
+
readonly anonymous: false;
|
|
138
|
+
readonly inputs: readonly [{
|
|
139
|
+
readonly indexed: true;
|
|
140
|
+
readonly internalType: "address";
|
|
141
|
+
readonly name: "newAddress";
|
|
142
|
+
readonly type: "address";
|
|
143
|
+
}, {
|
|
144
|
+
readonly indexed: true;
|
|
145
|
+
readonly internalType: "address";
|
|
146
|
+
readonly name: "oldAddress";
|
|
147
|
+
readonly type: "address";
|
|
148
|
+
}];
|
|
149
|
+
readonly name: "UpdateUniswapV2Router";
|
|
150
|
+
readonly type: "event";
|
|
151
|
+
}, {
|
|
152
|
+
readonly anonymous: false;
|
|
153
|
+
readonly inputs: readonly [{
|
|
154
|
+
readonly indexed: true;
|
|
155
|
+
readonly internalType: "address";
|
|
156
|
+
readonly name: "newWallet";
|
|
157
|
+
readonly type: "address";
|
|
158
|
+
}, {
|
|
159
|
+
readonly indexed: true;
|
|
160
|
+
readonly internalType: "address";
|
|
161
|
+
readonly name: "oldWallet";
|
|
162
|
+
readonly type: "address";
|
|
163
|
+
}];
|
|
164
|
+
readonly name: "devWalletUpdated";
|
|
165
|
+
readonly type: "event";
|
|
166
|
+
}, {
|
|
167
|
+
readonly anonymous: false;
|
|
168
|
+
readonly inputs: readonly [{
|
|
169
|
+
readonly indexed: true;
|
|
170
|
+
readonly internalType: "address";
|
|
171
|
+
readonly name: "newWallet";
|
|
172
|
+
readonly type: "address";
|
|
173
|
+
}, {
|
|
174
|
+
readonly indexed: true;
|
|
175
|
+
readonly internalType: "address";
|
|
176
|
+
readonly name: "oldWallet";
|
|
177
|
+
readonly type: "address";
|
|
178
|
+
}];
|
|
179
|
+
readonly name: "marketingWalletUpdated";
|
|
180
|
+
readonly type: "event";
|
|
181
|
+
}, {
|
|
182
|
+
readonly inputs: readonly [{
|
|
183
|
+
readonly internalType: "address";
|
|
184
|
+
readonly name: "";
|
|
185
|
+
readonly type: "address";
|
|
186
|
+
}];
|
|
187
|
+
readonly name: "_isExcludedMaxTransactionAmount";
|
|
188
|
+
readonly outputs: readonly [{
|
|
189
|
+
readonly internalType: "bool";
|
|
190
|
+
readonly name: "";
|
|
191
|
+
readonly type: "bool";
|
|
192
|
+
}];
|
|
193
|
+
readonly stateMutability: "view";
|
|
194
|
+
readonly type: "function";
|
|
195
|
+
}, {
|
|
196
|
+
readonly inputs: readonly [{
|
|
197
|
+
readonly internalType: "address";
|
|
198
|
+
readonly name: "owner";
|
|
199
|
+
readonly type: "address";
|
|
200
|
+
}, {
|
|
201
|
+
readonly internalType: "address";
|
|
202
|
+
readonly name: "spender";
|
|
203
|
+
readonly type: "address";
|
|
204
|
+
}];
|
|
205
|
+
readonly name: "allowance";
|
|
206
|
+
readonly outputs: readonly [{
|
|
207
|
+
readonly internalType: "uint256";
|
|
208
|
+
readonly name: "";
|
|
209
|
+
readonly type: "uint256";
|
|
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: "amount";
|
|
221
|
+
readonly type: "uint256";
|
|
222
|
+
}];
|
|
223
|
+
readonly name: "approve";
|
|
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: "automatedMarketMakerPairs";
|
|
238
|
+
readonly outputs: readonly [{
|
|
239
|
+
readonly internalType: "bool";
|
|
240
|
+
readonly name: "";
|
|
241
|
+
readonly type: "bool";
|
|
242
|
+
}];
|
|
243
|
+
readonly stateMutability: "view";
|
|
244
|
+
readonly type: "function";
|
|
245
|
+
}, {
|
|
246
|
+
readonly inputs: readonly [{
|
|
247
|
+
readonly internalType: "address";
|
|
248
|
+
readonly name: "account";
|
|
249
|
+
readonly type: "address";
|
|
250
|
+
}];
|
|
251
|
+
readonly name: "balanceOf";
|
|
252
|
+
readonly outputs: readonly [{
|
|
253
|
+
readonly internalType: "uint256";
|
|
254
|
+
readonly name: "";
|
|
255
|
+
readonly type: "uint256";
|
|
256
|
+
}];
|
|
257
|
+
readonly stateMutability: "view";
|
|
258
|
+
readonly type: "function";
|
|
259
|
+
}, {
|
|
260
|
+
readonly inputs: readonly [{
|
|
261
|
+
readonly internalType: "address";
|
|
262
|
+
readonly name: "account";
|
|
263
|
+
readonly type: "address";
|
|
264
|
+
}, {
|
|
265
|
+
readonly internalType: "bool";
|
|
266
|
+
readonly name: "isBlacklisted";
|
|
267
|
+
readonly type: "bool";
|
|
268
|
+
}];
|
|
269
|
+
readonly name: "blacklistAccount";
|
|
270
|
+
readonly outputs: readonly [];
|
|
271
|
+
readonly stateMutability: "nonpayable";
|
|
272
|
+
readonly type: "function";
|
|
273
|
+
}, {
|
|
274
|
+
readonly inputs: readonly [];
|
|
275
|
+
readonly name: "buyDevFee";
|
|
276
|
+
readonly outputs: readonly [{
|
|
277
|
+
readonly internalType: "uint256";
|
|
278
|
+
readonly name: "";
|
|
279
|
+
readonly type: "uint256";
|
|
280
|
+
}];
|
|
281
|
+
readonly stateMutability: "view";
|
|
282
|
+
readonly type: "function";
|
|
283
|
+
}, {
|
|
284
|
+
readonly inputs: readonly [];
|
|
285
|
+
readonly name: "buyLiquidityFee";
|
|
286
|
+
readonly outputs: readonly [{
|
|
287
|
+
readonly internalType: "uint256";
|
|
288
|
+
readonly name: "";
|
|
289
|
+
readonly type: "uint256";
|
|
290
|
+
}];
|
|
291
|
+
readonly stateMutability: "view";
|
|
292
|
+
readonly type: "function";
|
|
293
|
+
}, {
|
|
294
|
+
readonly inputs: readonly [];
|
|
295
|
+
readonly name: "buyMarketingFee";
|
|
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: "buyTotalFees";
|
|
306
|
+
readonly outputs: readonly [{
|
|
307
|
+
readonly internalType: "uint256";
|
|
308
|
+
readonly name: "";
|
|
309
|
+
readonly type: "uint256";
|
|
310
|
+
}];
|
|
311
|
+
readonly stateMutability: "view";
|
|
312
|
+
readonly type: "function";
|
|
313
|
+
}, {
|
|
314
|
+
readonly inputs: readonly [];
|
|
315
|
+
readonly name: "deadAddress";
|
|
316
|
+
readonly outputs: readonly [{
|
|
317
|
+
readonly internalType: "address";
|
|
318
|
+
readonly name: "";
|
|
319
|
+
readonly type: "address";
|
|
320
|
+
}];
|
|
321
|
+
readonly stateMutability: "view";
|
|
322
|
+
readonly type: "function";
|
|
323
|
+
}, {
|
|
324
|
+
readonly inputs: readonly [];
|
|
325
|
+
readonly name: "decimals";
|
|
326
|
+
readonly outputs: readonly [{
|
|
327
|
+
readonly internalType: "uint8";
|
|
328
|
+
readonly name: "";
|
|
329
|
+
readonly type: "uint8";
|
|
330
|
+
}];
|
|
331
|
+
readonly stateMutability: "view";
|
|
332
|
+
readonly type: "function";
|
|
333
|
+
}, {
|
|
334
|
+
readonly inputs: readonly [{
|
|
335
|
+
readonly internalType: "address";
|
|
336
|
+
readonly name: "spender";
|
|
337
|
+
readonly type: "address";
|
|
338
|
+
}, {
|
|
339
|
+
readonly internalType: "uint256";
|
|
340
|
+
readonly name: "subtractedValue";
|
|
341
|
+
readonly type: "uint256";
|
|
342
|
+
}];
|
|
343
|
+
readonly name: "decreaseAllowance";
|
|
344
|
+
readonly outputs: readonly [{
|
|
345
|
+
readonly internalType: "bool";
|
|
346
|
+
readonly name: "";
|
|
347
|
+
readonly type: "bool";
|
|
348
|
+
}];
|
|
349
|
+
readonly stateMutability: "nonpayable";
|
|
350
|
+
readonly type: "function";
|
|
351
|
+
}, {
|
|
352
|
+
readonly inputs: readonly [];
|
|
353
|
+
readonly name: "devWallet";
|
|
354
|
+
readonly outputs: readonly [{
|
|
355
|
+
readonly internalType: "address";
|
|
356
|
+
readonly name: "";
|
|
357
|
+
readonly type: "address";
|
|
358
|
+
}];
|
|
359
|
+
readonly stateMutability: "view";
|
|
360
|
+
readonly type: "function";
|
|
361
|
+
}, {
|
|
362
|
+
readonly inputs: readonly [];
|
|
363
|
+
readonly name: "disableTransferDelay";
|
|
364
|
+
readonly outputs: readonly [{
|
|
365
|
+
readonly internalType: "bool";
|
|
366
|
+
readonly name: "";
|
|
367
|
+
readonly type: "bool";
|
|
368
|
+
}];
|
|
369
|
+
readonly stateMutability: "nonpayable";
|
|
370
|
+
readonly type: "function";
|
|
371
|
+
}, {
|
|
372
|
+
readonly inputs: readonly [];
|
|
373
|
+
readonly name: "earlySellLiquidityFee";
|
|
374
|
+
readonly outputs: readonly [{
|
|
375
|
+
readonly internalType: "uint256";
|
|
376
|
+
readonly name: "";
|
|
377
|
+
readonly type: "uint256";
|
|
378
|
+
}];
|
|
379
|
+
readonly stateMutability: "view";
|
|
380
|
+
readonly type: "function";
|
|
381
|
+
}, {
|
|
382
|
+
readonly inputs: readonly [];
|
|
383
|
+
readonly name: "earlySellMarketingFee";
|
|
384
|
+
readonly outputs: readonly [{
|
|
385
|
+
readonly internalType: "uint256";
|
|
386
|
+
readonly name: "";
|
|
387
|
+
readonly type: "uint256";
|
|
388
|
+
}];
|
|
389
|
+
readonly stateMutability: "view";
|
|
390
|
+
readonly type: "function";
|
|
391
|
+
}, {
|
|
392
|
+
readonly inputs: readonly [];
|
|
393
|
+
readonly name: "enableEarlySellTax";
|
|
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: "enableTrading";
|
|
404
|
+
readonly outputs: readonly [];
|
|
405
|
+
readonly stateMutability: "nonpayable";
|
|
406
|
+
readonly type: "function";
|
|
407
|
+
}, {
|
|
408
|
+
readonly inputs: readonly [{
|
|
409
|
+
readonly internalType: "address";
|
|
410
|
+
readonly name: "account";
|
|
411
|
+
readonly type: "address";
|
|
412
|
+
}, {
|
|
413
|
+
readonly internalType: "bool";
|
|
414
|
+
readonly name: "excluded";
|
|
415
|
+
readonly type: "bool";
|
|
416
|
+
}];
|
|
417
|
+
readonly name: "excludeFromFees";
|
|
418
|
+
readonly outputs: readonly [];
|
|
419
|
+
readonly stateMutability: "nonpayable";
|
|
420
|
+
readonly type: "function";
|
|
421
|
+
}, {
|
|
422
|
+
readonly inputs: readonly [{
|
|
423
|
+
readonly internalType: "address";
|
|
424
|
+
readonly name: "updAds";
|
|
425
|
+
readonly type: "address";
|
|
426
|
+
}, {
|
|
427
|
+
readonly internalType: "bool";
|
|
428
|
+
readonly name: "isEx";
|
|
429
|
+
readonly type: "bool";
|
|
430
|
+
}];
|
|
431
|
+
readonly name: "excludeFromMaxTransaction";
|
|
432
|
+
readonly outputs: readonly [];
|
|
433
|
+
readonly stateMutability: "nonpayable";
|
|
434
|
+
readonly type: "function";
|
|
435
|
+
}, {
|
|
436
|
+
readonly inputs: readonly [{
|
|
437
|
+
readonly internalType: "address";
|
|
438
|
+
readonly name: "spender";
|
|
439
|
+
readonly type: "address";
|
|
440
|
+
}, {
|
|
441
|
+
readonly internalType: "uint256";
|
|
442
|
+
readonly name: "addedValue";
|
|
443
|
+
readonly type: "uint256";
|
|
444
|
+
}];
|
|
445
|
+
readonly name: "increaseAllowance";
|
|
446
|
+
readonly outputs: readonly [{
|
|
447
|
+
readonly internalType: "bool";
|
|
448
|
+
readonly name: "";
|
|
449
|
+
readonly type: "bool";
|
|
450
|
+
}];
|
|
451
|
+
readonly stateMutability: "nonpayable";
|
|
452
|
+
readonly type: "function";
|
|
453
|
+
}, {
|
|
454
|
+
readonly inputs: readonly [{
|
|
455
|
+
readonly internalType: "address";
|
|
456
|
+
readonly name: "account";
|
|
457
|
+
readonly type: "address";
|
|
458
|
+
}];
|
|
459
|
+
readonly name: "isExcludedFromFees";
|
|
460
|
+
readonly outputs: readonly [{
|
|
461
|
+
readonly internalType: "bool";
|
|
462
|
+
readonly name: "";
|
|
463
|
+
readonly type: "bool";
|
|
464
|
+
}];
|
|
465
|
+
readonly stateMutability: "view";
|
|
466
|
+
readonly type: "function";
|
|
467
|
+
}, {
|
|
468
|
+
readonly inputs: readonly [];
|
|
469
|
+
readonly name: "lastLpBurnTime";
|
|
470
|
+
readonly outputs: readonly [{
|
|
471
|
+
readonly internalType: "uint256";
|
|
472
|
+
readonly name: "";
|
|
473
|
+
readonly type: "uint256";
|
|
474
|
+
}];
|
|
475
|
+
readonly stateMutability: "view";
|
|
476
|
+
readonly type: "function";
|
|
477
|
+
}, {
|
|
478
|
+
readonly inputs: readonly [];
|
|
479
|
+
readonly name: "lastManualLpBurnTime";
|
|
480
|
+
readonly outputs: readonly [{
|
|
481
|
+
readonly internalType: "uint256";
|
|
482
|
+
readonly name: "";
|
|
483
|
+
readonly type: "uint256";
|
|
484
|
+
}];
|
|
485
|
+
readonly stateMutability: "view";
|
|
486
|
+
readonly type: "function";
|
|
487
|
+
}, {
|
|
488
|
+
readonly inputs: readonly [];
|
|
489
|
+
readonly name: "limitsInEffect";
|
|
490
|
+
readonly outputs: readonly [{
|
|
491
|
+
readonly internalType: "bool";
|
|
492
|
+
readonly name: "";
|
|
493
|
+
readonly type: "bool";
|
|
494
|
+
}];
|
|
495
|
+
readonly stateMutability: "view";
|
|
496
|
+
readonly type: "function";
|
|
497
|
+
}, {
|
|
498
|
+
readonly inputs: readonly [];
|
|
499
|
+
readonly name: "lpBurnEnabled";
|
|
500
|
+
readonly outputs: readonly [{
|
|
501
|
+
readonly internalType: "bool";
|
|
502
|
+
readonly name: "";
|
|
503
|
+
readonly type: "bool";
|
|
504
|
+
}];
|
|
505
|
+
readonly stateMutability: "view";
|
|
506
|
+
readonly type: "function";
|
|
507
|
+
}, {
|
|
508
|
+
readonly inputs: readonly [];
|
|
509
|
+
readonly name: "lpBurnFrequency";
|
|
510
|
+
readonly outputs: readonly [{
|
|
511
|
+
readonly internalType: "uint256";
|
|
512
|
+
readonly name: "";
|
|
513
|
+
readonly type: "uint256";
|
|
514
|
+
}];
|
|
515
|
+
readonly stateMutability: "view";
|
|
516
|
+
readonly type: "function";
|
|
517
|
+
}, {
|
|
518
|
+
readonly inputs: readonly [];
|
|
519
|
+
readonly name: "manualBurnFrequency";
|
|
520
|
+
readonly outputs: readonly [{
|
|
521
|
+
readonly internalType: "uint256";
|
|
522
|
+
readonly name: "";
|
|
523
|
+
readonly type: "uint256";
|
|
524
|
+
}];
|
|
525
|
+
readonly stateMutability: "view";
|
|
526
|
+
readonly type: "function";
|
|
527
|
+
}, {
|
|
528
|
+
readonly inputs: readonly [{
|
|
529
|
+
readonly internalType: "uint256";
|
|
530
|
+
readonly name: "percent";
|
|
531
|
+
readonly type: "uint256";
|
|
532
|
+
}];
|
|
533
|
+
readonly name: "manualBurnLiquidityPairTokens";
|
|
534
|
+
readonly outputs: readonly [{
|
|
535
|
+
readonly internalType: "bool";
|
|
536
|
+
readonly name: "";
|
|
537
|
+
readonly type: "bool";
|
|
538
|
+
}];
|
|
539
|
+
readonly stateMutability: "nonpayable";
|
|
540
|
+
readonly type: "function";
|
|
541
|
+
}, {
|
|
542
|
+
readonly inputs: readonly [];
|
|
543
|
+
readonly name: "marketingWallet";
|
|
544
|
+
readonly outputs: readonly [{
|
|
545
|
+
readonly internalType: "address";
|
|
546
|
+
readonly name: "";
|
|
547
|
+
readonly type: "address";
|
|
548
|
+
}];
|
|
549
|
+
readonly stateMutability: "view";
|
|
550
|
+
readonly type: "function";
|
|
551
|
+
}, {
|
|
552
|
+
readonly inputs: readonly [];
|
|
553
|
+
readonly name: "maxTransactionAmount";
|
|
554
|
+
readonly outputs: readonly [{
|
|
555
|
+
readonly internalType: "uint256";
|
|
556
|
+
readonly name: "";
|
|
557
|
+
readonly type: "uint256";
|
|
558
|
+
}];
|
|
559
|
+
readonly stateMutability: "view";
|
|
560
|
+
readonly type: "function";
|
|
561
|
+
}, {
|
|
562
|
+
readonly inputs: readonly [];
|
|
563
|
+
readonly name: "maxWallet";
|
|
564
|
+
readonly outputs: readonly [{
|
|
565
|
+
readonly internalType: "uint256";
|
|
566
|
+
readonly name: "";
|
|
567
|
+
readonly type: "uint256";
|
|
568
|
+
}];
|
|
569
|
+
readonly stateMutability: "view";
|
|
570
|
+
readonly type: "function";
|
|
571
|
+
}, {
|
|
572
|
+
readonly inputs: readonly [];
|
|
573
|
+
readonly name: "name";
|
|
574
|
+
readonly outputs: readonly [{
|
|
575
|
+
readonly internalType: "string";
|
|
576
|
+
readonly name: "";
|
|
577
|
+
readonly type: "string";
|
|
578
|
+
}];
|
|
579
|
+
readonly stateMutability: "view";
|
|
580
|
+
readonly type: "function";
|
|
581
|
+
}, {
|
|
582
|
+
readonly inputs: readonly [];
|
|
583
|
+
readonly name: "owner";
|
|
584
|
+
readonly outputs: readonly [{
|
|
585
|
+
readonly internalType: "address";
|
|
586
|
+
readonly name: "";
|
|
587
|
+
readonly type: "address";
|
|
588
|
+
}];
|
|
589
|
+
readonly stateMutability: "view";
|
|
590
|
+
readonly type: "function";
|
|
591
|
+
}, {
|
|
592
|
+
readonly inputs: readonly [];
|
|
593
|
+
readonly name: "percentForLPBurn";
|
|
594
|
+
readonly outputs: readonly [{
|
|
595
|
+
readonly internalType: "uint256";
|
|
596
|
+
readonly name: "";
|
|
597
|
+
readonly type: "uint256";
|
|
598
|
+
}];
|
|
599
|
+
readonly stateMutability: "view";
|
|
600
|
+
readonly type: "function";
|
|
601
|
+
}, {
|
|
602
|
+
readonly inputs: readonly [];
|
|
603
|
+
readonly name: "removeLimits";
|
|
604
|
+
readonly outputs: readonly [{
|
|
605
|
+
readonly internalType: "bool";
|
|
606
|
+
readonly name: "";
|
|
607
|
+
readonly type: "bool";
|
|
608
|
+
}];
|
|
609
|
+
readonly stateMutability: "nonpayable";
|
|
610
|
+
readonly type: "function";
|
|
611
|
+
}, {
|
|
612
|
+
readonly inputs: readonly [];
|
|
613
|
+
readonly name: "renounceOwnership";
|
|
614
|
+
readonly outputs: readonly [];
|
|
615
|
+
readonly stateMutability: "nonpayable";
|
|
616
|
+
readonly type: "function";
|
|
617
|
+
}, {
|
|
618
|
+
readonly inputs: readonly [];
|
|
619
|
+
readonly name: "sellDevFee";
|
|
620
|
+
readonly outputs: readonly [{
|
|
621
|
+
readonly internalType: "uint256";
|
|
622
|
+
readonly name: "";
|
|
623
|
+
readonly type: "uint256";
|
|
624
|
+
}];
|
|
625
|
+
readonly stateMutability: "view";
|
|
626
|
+
readonly type: "function";
|
|
627
|
+
}, {
|
|
628
|
+
readonly inputs: readonly [];
|
|
629
|
+
readonly name: "sellLiquidityFee";
|
|
630
|
+
readonly outputs: readonly [{
|
|
631
|
+
readonly internalType: "uint256";
|
|
632
|
+
readonly name: "";
|
|
633
|
+
readonly type: "uint256";
|
|
634
|
+
}];
|
|
635
|
+
readonly stateMutability: "view";
|
|
636
|
+
readonly type: "function";
|
|
637
|
+
}, {
|
|
638
|
+
readonly inputs: readonly [];
|
|
639
|
+
readonly name: "sellMarketingFee";
|
|
640
|
+
readonly outputs: readonly [{
|
|
641
|
+
readonly internalType: "uint256";
|
|
642
|
+
readonly name: "";
|
|
643
|
+
readonly type: "uint256";
|
|
644
|
+
}];
|
|
645
|
+
readonly stateMutability: "view";
|
|
646
|
+
readonly type: "function";
|
|
647
|
+
}, {
|
|
648
|
+
readonly inputs: readonly [];
|
|
649
|
+
readonly name: "sellTotalFees";
|
|
650
|
+
readonly outputs: readonly [{
|
|
651
|
+
readonly internalType: "uint256";
|
|
652
|
+
readonly name: "";
|
|
653
|
+
readonly type: "uint256";
|
|
654
|
+
}];
|
|
655
|
+
readonly stateMutability: "view";
|
|
656
|
+
readonly type: "function";
|
|
657
|
+
}, {
|
|
658
|
+
readonly inputs: readonly [{
|
|
659
|
+
readonly internalType: "uint256";
|
|
660
|
+
readonly name: "_frequencyInSeconds";
|
|
661
|
+
readonly type: "uint256";
|
|
662
|
+
}, {
|
|
663
|
+
readonly internalType: "uint256";
|
|
664
|
+
readonly name: "_percent";
|
|
665
|
+
readonly type: "uint256";
|
|
666
|
+
}, {
|
|
667
|
+
readonly internalType: "bool";
|
|
668
|
+
readonly name: "_Enabled";
|
|
669
|
+
readonly type: "bool";
|
|
670
|
+
}];
|
|
671
|
+
readonly name: "setAutoLPBurnSettings";
|
|
672
|
+
readonly outputs: readonly [];
|
|
673
|
+
readonly stateMutability: "nonpayable";
|
|
674
|
+
readonly type: "function";
|
|
675
|
+
}, {
|
|
676
|
+
readonly inputs: readonly [{
|
|
677
|
+
readonly internalType: "address";
|
|
678
|
+
readonly name: "pair";
|
|
679
|
+
readonly type: "address";
|
|
680
|
+
}, {
|
|
681
|
+
readonly internalType: "bool";
|
|
682
|
+
readonly name: "value";
|
|
683
|
+
readonly type: "bool";
|
|
684
|
+
}];
|
|
685
|
+
readonly name: "setAutomatedMarketMakerPair";
|
|
686
|
+
readonly outputs: readonly [];
|
|
687
|
+
readonly stateMutability: "nonpayable";
|
|
688
|
+
readonly type: "function";
|
|
689
|
+
}, {
|
|
690
|
+
readonly inputs: readonly [{
|
|
691
|
+
readonly internalType: "bool";
|
|
692
|
+
readonly name: "onoff";
|
|
693
|
+
readonly type: "bool";
|
|
694
|
+
}];
|
|
695
|
+
readonly name: "setEarlySellTax";
|
|
696
|
+
readonly outputs: readonly [];
|
|
697
|
+
readonly stateMutability: "nonpayable";
|
|
698
|
+
readonly type: "function";
|
|
699
|
+
}, {
|
|
700
|
+
readonly inputs: readonly [];
|
|
701
|
+
readonly name: "swapEnabled";
|
|
702
|
+
readonly outputs: readonly [{
|
|
703
|
+
readonly internalType: "bool";
|
|
704
|
+
readonly name: "";
|
|
705
|
+
readonly type: "bool";
|
|
706
|
+
}];
|
|
707
|
+
readonly stateMutability: "view";
|
|
708
|
+
readonly type: "function";
|
|
709
|
+
}, {
|
|
710
|
+
readonly inputs: readonly [];
|
|
711
|
+
readonly name: "swapTokensAtAmount";
|
|
712
|
+
readonly outputs: readonly [{
|
|
713
|
+
readonly internalType: "uint256";
|
|
714
|
+
readonly name: "";
|
|
715
|
+
readonly type: "uint256";
|
|
716
|
+
}];
|
|
717
|
+
readonly stateMutability: "view";
|
|
718
|
+
readonly type: "function";
|
|
719
|
+
}, {
|
|
720
|
+
readonly inputs: readonly [];
|
|
721
|
+
readonly name: "symbol";
|
|
722
|
+
readonly outputs: readonly [{
|
|
723
|
+
readonly internalType: "string";
|
|
724
|
+
readonly name: "";
|
|
725
|
+
readonly type: "string";
|
|
726
|
+
}];
|
|
727
|
+
readonly stateMutability: "view";
|
|
728
|
+
readonly type: "function";
|
|
729
|
+
}, {
|
|
730
|
+
readonly inputs: readonly [];
|
|
731
|
+
readonly name: "tokensForDev";
|
|
732
|
+
readonly outputs: readonly [{
|
|
733
|
+
readonly internalType: "uint256";
|
|
734
|
+
readonly name: "";
|
|
735
|
+
readonly type: "uint256";
|
|
736
|
+
}];
|
|
737
|
+
readonly stateMutability: "view";
|
|
738
|
+
readonly type: "function";
|
|
739
|
+
}, {
|
|
740
|
+
readonly inputs: readonly [];
|
|
741
|
+
readonly name: "tokensForLiquidity";
|
|
742
|
+
readonly outputs: readonly [{
|
|
743
|
+
readonly internalType: "uint256";
|
|
744
|
+
readonly name: "";
|
|
745
|
+
readonly type: "uint256";
|
|
746
|
+
}];
|
|
747
|
+
readonly stateMutability: "view";
|
|
748
|
+
readonly type: "function";
|
|
749
|
+
}, {
|
|
750
|
+
readonly inputs: readonly [];
|
|
751
|
+
readonly name: "tokensForMarketing";
|
|
752
|
+
readonly outputs: readonly [{
|
|
753
|
+
readonly internalType: "uint256";
|
|
754
|
+
readonly name: "";
|
|
755
|
+
readonly type: "uint256";
|
|
756
|
+
}];
|
|
757
|
+
readonly stateMutability: "view";
|
|
758
|
+
readonly type: "function";
|
|
759
|
+
}, {
|
|
760
|
+
readonly inputs: readonly [];
|
|
761
|
+
readonly name: "totalSupply";
|
|
762
|
+
readonly outputs: readonly [{
|
|
763
|
+
readonly internalType: "uint256";
|
|
764
|
+
readonly name: "";
|
|
765
|
+
readonly type: "uint256";
|
|
766
|
+
}];
|
|
767
|
+
readonly stateMutability: "view";
|
|
768
|
+
readonly type: "function";
|
|
769
|
+
}, {
|
|
770
|
+
readonly inputs: readonly [];
|
|
771
|
+
readonly name: "tradingActive";
|
|
772
|
+
readonly outputs: readonly [{
|
|
773
|
+
readonly internalType: "bool";
|
|
774
|
+
readonly name: "";
|
|
775
|
+
readonly type: "bool";
|
|
776
|
+
}];
|
|
777
|
+
readonly stateMutability: "view";
|
|
778
|
+
readonly type: "function";
|
|
779
|
+
}, {
|
|
780
|
+
readonly inputs: readonly [{
|
|
781
|
+
readonly internalType: "address";
|
|
782
|
+
readonly name: "recipient";
|
|
783
|
+
readonly type: "address";
|
|
784
|
+
}, {
|
|
785
|
+
readonly internalType: "uint256";
|
|
786
|
+
readonly name: "amount";
|
|
787
|
+
readonly type: "uint256";
|
|
788
|
+
}];
|
|
789
|
+
readonly name: "transfer";
|
|
790
|
+
readonly outputs: readonly [{
|
|
791
|
+
readonly internalType: "bool";
|
|
792
|
+
readonly name: "";
|
|
793
|
+
readonly type: "bool";
|
|
794
|
+
}];
|
|
795
|
+
readonly stateMutability: "nonpayable";
|
|
796
|
+
readonly type: "function";
|
|
797
|
+
}, {
|
|
798
|
+
readonly inputs: readonly [];
|
|
799
|
+
readonly name: "transferDelayEnabled";
|
|
800
|
+
readonly outputs: readonly [{
|
|
801
|
+
readonly internalType: "bool";
|
|
802
|
+
readonly name: "";
|
|
803
|
+
readonly type: "bool";
|
|
804
|
+
}];
|
|
805
|
+
readonly stateMutability: "view";
|
|
806
|
+
readonly type: "function";
|
|
807
|
+
}, {
|
|
808
|
+
readonly inputs: readonly [{
|
|
809
|
+
readonly internalType: "address";
|
|
810
|
+
readonly name: "sender";
|
|
811
|
+
readonly type: "address";
|
|
812
|
+
}, {
|
|
813
|
+
readonly internalType: "address";
|
|
814
|
+
readonly name: "recipient";
|
|
815
|
+
readonly type: "address";
|
|
816
|
+
}, {
|
|
817
|
+
readonly internalType: "uint256";
|
|
818
|
+
readonly name: "amount";
|
|
819
|
+
readonly type: "uint256";
|
|
820
|
+
}];
|
|
821
|
+
readonly name: "transferFrom";
|
|
822
|
+
readonly outputs: readonly [{
|
|
823
|
+
readonly internalType: "bool";
|
|
824
|
+
readonly name: "";
|
|
825
|
+
readonly type: "bool";
|
|
826
|
+
}];
|
|
827
|
+
readonly stateMutability: "nonpayable";
|
|
828
|
+
readonly type: "function";
|
|
829
|
+
}, {
|
|
830
|
+
readonly inputs: readonly [{
|
|
831
|
+
readonly internalType: "address";
|
|
832
|
+
readonly name: "newOwner";
|
|
833
|
+
readonly type: "address";
|
|
834
|
+
}];
|
|
835
|
+
readonly name: "transferOwnership";
|
|
836
|
+
readonly outputs: readonly [];
|
|
837
|
+
readonly stateMutability: "nonpayable";
|
|
838
|
+
readonly type: "function";
|
|
839
|
+
}, {
|
|
840
|
+
readonly inputs: readonly [];
|
|
841
|
+
readonly name: "uniswapV2Pair";
|
|
842
|
+
readonly outputs: readonly [{
|
|
843
|
+
readonly internalType: "address";
|
|
844
|
+
readonly name: "";
|
|
845
|
+
readonly type: "address";
|
|
846
|
+
}];
|
|
847
|
+
readonly stateMutability: "view";
|
|
848
|
+
readonly type: "function";
|
|
849
|
+
}, {
|
|
850
|
+
readonly inputs: readonly [];
|
|
851
|
+
readonly name: "uniswapV2Router";
|
|
852
|
+
readonly outputs: readonly [{
|
|
853
|
+
readonly internalType: "contract IUniswapV2Router02";
|
|
854
|
+
readonly name: "";
|
|
855
|
+
readonly type: "address";
|
|
856
|
+
}];
|
|
857
|
+
readonly stateMutability: "view";
|
|
858
|
+
readonly type: "function";
|
|
859
|
+
}, {
|
|
860
|
+
readonly inputs: readonly [{
|
|
861
|
+
readonly internalType: "uint256";
|
|
862
|
+
readonly name: "_marketingFee";
|
|
863
|
+
readonly type: "uint256";
|
|
864
|
+
}, {
|
|
865
|
+
readonly internalType: "uint256";
|
|
866
|
+
readonly name: "_liquidityFee";
|
|
867
|
+
readonly type: "uint256";
|
|
868
|
+
}, {
|
|
869
|
+
readonly internalType: "uint256";
|
|
870
|
+
readonly name: "_devFee";
|
|
871
|
+
readonly type: "uint256";
|
|
872
|
+
}];
|
|
873
|
+
readonly name: "updateBuyFees";
|
|
874
|
+
readonly outputs: readonly [];
|
|
875
|
+
readonly stateMutability: "nonpayable";
|
|
876
|
+
readonly type: "function";
|
|
877
|
+
}, {
|
|
878
|
+
readonly inputs: readonly [{
|
|
879
|
+
readonly internalType: "address";
|
|
880
|
+
readonly name: "newWallet";
|
|
881
|
+
readonly type: "address";
|
|
882
|
+
}];
|
|
883
|
+
readonly name: "updateDevWallet";
|
|
884
|
+
readonly outputs: readonly [];
|
|
885
|
+
readonly stateMutability: "nonpayable";
|
|
886
|
+
readonly type: "function";
|
|
887
|
+
}, {
|
|
888
|
+
readonly inputs: readonly [{
|
|
889
|
+
readonly internalType: "address";
|
|
890
|
+
readonly name: "newMarketingWallet";
|
|
891
|
+
readonly type: "address";
|
|
892
|
+
}];
|
|
893
|
+
readonly name: "updateMarketingWallet";
|
|
894
|
+
readonly outputs: readonly [];
|
|
895
|
+
readonly stateMutability: "nonpayable";
|
|
896
|
+
readonly type: "function";
|
|
897
|
+
}, {
|
|
898
|
+
readonly inputs: readonly [{
|
|
899
|
+
readonly internalType: "uint256";
|
|
900
|
+
readonly name: "newNum";
|
|
901
|
+
readonly type: "uint256";
|
|
902
|
+
}];
|
|
903
|
+
readonly name: "updateMaxTxnAmount";
|
|
904
|
+
readonly outputs: readonly [];
|
|
905
|
+
readonly stateMutability: "nonpayable";
|
|
906
|
+
readonly type: "function";
|
|
907
|
+
}, {
|
|
908
|
+
readonly inputs: readonly [{
|
|
909
|
+
readonly internalType: "uint256";
|
|
910
|
+
readonly name: "newNum";
|
|
911
|
+
readonly type: "uint256";
|
|
912
|
+
}];
|
|
913
|
+
readonly name: "updateMaxWalletAmount";
|
|
914
|
+
readonly outputs: readonly [];
|
|
915
|
+
readonly stateMutability: "nonpayable";
|
|
916
|
+
readonly type: "function";
|
|
917
|
+
}, {
|
|
918
|
+
readonly inputs: readonly [{
|
|
919
|
+
readonly internalType: "uint256";
|
|
920
|
+
readonly name: "_marketingFee";
|
|
921
|
+
readonly type: "uint256";
|
|
922
|
+
}, {
|
|
923
|
+
readonly internalType: "uint256";
|
|
924
|
+
readonly name: "_liquidityFee";
|
|
925
|
+
readonly type: "uint256";
|
|
926
|
+
}, {
|
|
927
|
+
readonly internalType: "uint256";
|
|
928
|
+
readonly name: "_devFee";
|
|
929
|
+
readonly type: "uint256";
|
|
930
|
+
}, {
|
|
931
|
+
readonly internalType: "uint256";
|
|
932
|
+
readonly name: "_earlySellLiquidityFee";
|
|
933
|
+
readonly type: "uint256";
|
|
934
|
+
}, {
|
|
935
|
+
readonly internalType: "uint256";
|
|
936
|
+
readonly name: "_earlySellMarketingFee";
|
|
937
|
+
readonly type: "uint256";
|
|
938
|
+
}];
|
|
939
|
+
readonly name: "updateSellFees";
|
|
940
|
+
readonly outputs: readonly [];
|
|
941
|
+
readonly stateMutability: "nonpayable";
|
|
942
|
+
readonly type: "function";
|
|
943
|
+
}, {
|
|
944
|
+
readonly inputs: readonly [{
|
|
945
|
+
readonly internalType: "bool";
|
|
946
|
+
readonly name: "enabled";
|
|
947
|
+
readonly type: "bool";
|
|
948
|
+
}];
|
|
949
|
+
readonly name: "updateSwapEnabled";
|
|
950
|
+
readonly outputs: readonly [];
|
|
951
|
+
readonly stateMutability: "nonpayable";
|
|
952
|
+
readonly type: "function";
|
|
953
|
+
}, {
|
|
954
|
+
readonly inputs: readonly [{
|
|
955
|
+
readonly internalType: "uint256";
|
|
956
|
+
readonly name: "newAmount";
|
|
957
|
+
readonly type: "uint256";
|
|
958
|
+
}];
|
|
959
|
+
readonly name: "updateSwapTokensAtAmount";
|
|
960
|
+
readonly outputs: readonly [{
|
|
961
|
+
readonly internalType: "bool";
|
|
962
|
+
readonly name: "";
|
|
963
|
+
readonly type: "bool";
|
|
964
|
+
}];
|
|
965
|
+
readonly stateMutability: "nonpayable";
|
|
966
|
+
readonly type: "function";
|
|
967
|
+
}, {
|
|
968
|
+
readonly stateMutability: "payable";
|
|
969
|
+
readonly type: "receive";
|
|
970
|
+
}];
|
|
971
|
+
/**
|
|
972
|
+
* Type-safe ABI for MIC_json
|
|
973
|
+
*/
|
|
974
|
+
export type MIC_jsonAbi = typeof MIC_jsonAbi;
|
|
975
|
+
/**
|
|
976
|
+
* Contract instance type for MIC_json
|
|
977
|
+
*/
|
|
978
|
+
export type MIC_jsonContract = any;
|
|
979
|
+
/**
|
|
980
|
+
* MIC_json Contract Class
|
|
981
|
+
*
|
|
982
|
+
* Provides a class-based API similar to TypeChain for interacting with the contract.
|
|
983
|
+
*
|
|
984
|
+
* @example
|
|
985
|
+
* ```typescript
|
|
986
|
+
* import { createPublicClient, createWalletClient, http } from 'viem';
|
|
987
|
+
* import { mainnet } from 'viem/chains';
|
|
988
|
+
* import { MIC_json } from 'MIC_json';
|
|
989
|
+
*
|
|
990
|
+
* const publicClient = createPublicClient({ chain: mainnet, transport: http() });
|
|
991
|
+
* const walletClient = createWalletClient({ chain: mainnet, transport: http() });
|
|
992
|
+
*
|
|
993
|
+
* const contract = new MIC_json('0x...', { publicClient, walletClient });
|
|
994
|
+
*
|
|
995
|
+
* // Read functions
|
|
996
|
+
* const result = await contract.balanceOf('0x...');
|
|
997
|
+
*
|
|
998
|
+
* // Write functions
|
|
999
|
+
* const hash = await contract.transfer('0x...', 1000n);
|
|
1000
|
+
*
|
|
1001
|
+
* // Simulate transactions (dry-run)
|
|
1002
|
+
* const simulation = await contract.simulate.transfer('0x...', 1000n);
|
|
1003
|
+
* console.log('Gas estimate:', simulation.request.gas);
|
|
1004
|
+
*
|
|
1005
|
+
* // Watch events
|
|
1006
|
+
* const unwatch = contract.watch.Transfer((event) => {
|
|
1007
|
+
* console.log('Transfer event:', event);
|
|
1008
|
+
* });
|
|
1009
|
+
* ```
|
|
1010
|
+
*/
|
|
1011
|
+
export declare class MIC_json {
|
|
1012
|
+
private contract;
|
|
1013
|
+
private contractAddress;
|
|
1014
|
+
private publicClient;
|
|
1015
|
+
constructor(address: Address, clients: {
|
|
1016
|
+
publicClient: PublicClient;
|
|
1017
|
+
walletClient?: WalletClient;
|
|
1018
|
+
});
|
|
1019
|
+
/**
|
|
1020
|
+
* Get the contract address
|
|
1021
|
+
*/
|
|
1022
|
+
get address(): Address;
|
|
1023
|
+
/**
|
|
1024
|
+
* Get the underlying viem contract instance
|
|
1025
|
+
*/
|
|
1026
|
+
getContract(): MIC_jsonContract;
|
|
1027
|
+
/**
|
|
1028
|
+
* _isExcludedMaxTransactionAmount
|
|
1029
|
+
* view
|
|
1030
|
+
*/
|
|
1031
|
+
_isExcludedMaxTransactionAmount(arg0: `0x${string}`): Promise<boolean>;
|
|
1032
|
+
/**
|
|
1033
|
+
* allowance
|
|
1034
|
+
* view
|
|
1035
|
+
*/
|
|
1036
|
+
allowance(owner: `0x${string}`, spender: `0x${string}`): Promise<bigint>;
|
|
1037
|
+
/**
|
|
1038
|
+
* automatedMarketMakerPairs
|
|
1039
|
+
* view
|
|
1040
|
+
*/
|
|
1041
|
+
automatedMarketMakerPairs(arg0: `0x${string}`): Promise<boolean>;
|
|
1042
|
+
/**
|
|
1043
|
+
* balanceOf
|
|
1044
|
+
* view
|
|
1045
|
+
*/
|
|
1046
|
+
balanceOf(account: `0x${string}`): Promise<bigint>;
|
|
1047
|
+
/**
|
|
1048
|
+
* buyDevFee
|
|
1049
|
+
* view
|
|
1050
|
+
*/
|
|
1051
|
+
buyDevFee(): Promise<bigint>;
|
|
1052
|
+
/**
|
|
1053
|
+
* buyLiquidityFee
|
|
1054
|
+
* view
|
|
1055
|
+
*/
|
|
1056
|
+
buyLiquidityFee(): Promise<bigint>;
|
|
1057
|
+
/**
|
|
1058
|
+
* buyMarketingFee
|
|
1059
|
+
* view
|
|
1060
|
+
*/
|
|
1061
|
+
buyMarketingFee(): Promise<bigint>;
|
|
1062
|
+
/**
|
|
1063
|
+
* buyTotalFees
|
|
1064
|
+
* view
|
|
1065
|
+
*/
|
|
1066
|
+
buyTotalFees(): Promise<bigint>;
|
|
1067
|
+
/**
|
|
1068
|
+
* deadAddress
|
|
1069
|
+
* view
|
|
1070
|
+
*/
|
|
1071
|
+
deadAddress(): Promise<`0x${string}`>;
|
|
1072
|
+
/**
|
|
1073
|
+
* decimals
|
|
1074
|
+
* view
|
|
1075
|
+
*/
|
|
1076
|
+
decimals(): Promise<bigint>;
|
|
1077
|
+
/**
|
|
1078
|
+
* devWallet
|
|
1079
|
+
* view
|
|
1080
|
+
*/
|
|
1081
|
+
devWallet(): Promise<`0x${string}`>;
|
|
1082
|
+
/**
|
|
1083
|
+
* earlySellLiquidityFee
|
|
1084
|
+
* view
|
|
1085
|
+
*/
|
|
1086
|
+
earlySellLiquidityFee(): Promise<bigint>;
|
|
1087
|
+
/**
|
|
1088
|
+
* earlySellMarketingFee
|
|
1089
|
+
* view
|
|
1090
|
+
*/
|
|
1091
|
+
earlySellMarketingFee(): Promise<bigint>;
|
|
1092
|
+
/**
|
|
1093
|
+
* enableEarlySellTax
|
|
1094
|
+
* view
|
|
1095
|
+
*/
|
|
1096
|
+
enableEarlySellTax(): Promise<boolean>;
|
|
1097
|
+
/**
|
|
1098
|
+
* isExcludedFromFees
|
|
1099
|
+
* view
|
|
1100
|
+
*/
|
|
1101
|
+
isExcludedFromFees(account: `0x${string}`): Promise<boolean>;
|
|
1102
|
+
/**
|
|
1103
|
+
* lastLpBurnTime
|
|
1104
|
+
* view
|
|
1105
|
+
*/
|
|
1106
|
+
lastLpBurnTime(): Promise<bigint>;
|
|
1107
|
+
/**
|
|
1108
|
+
* lastManualLpBurnTime
|
|
1109
|
+
* view
|
|
1110
|
+
*/
|
|
1111
|
+
lastManualLpBurnTime(): Promise<bigint>;
|
|
1112
|
+
/**
|
|
1113
|
+
* limitsInEffect
|
|
1114
|
+
* view
|
|
1115
|
+
*/
|
|
1116
|
+
limitsInEffect(): Promise<boolean>;
|
|
1117
|
+
/**
|
|
1118
|
+
* lpBurnEnabled
|
|
1119
|
+
* view
|
|
1120
|
+
*/
|
|
1121
|
+
lpBurnEnabled(): Promise<boolean>;
|
|
1122
|
+
/**
|
|
1123
|
+
* lpBurnFrequency
|
|
1124
|
+
* view
|
|
1125
|
+
*/
|
|
1126
|
+
lpBurnFrequency(): Promise<bigint>;
|
|
1127
|
+
/**
|
|
1128
|
+
* manualBurnFrequency
|
|
1129
|
+
* view
|
|
1130
|
+
*/
|
|
1131
|
+
manualBurnFrequency(): Promise<bigint>;
|
|
1132
|
+
/**
|
|
1133
|
+
* marketingWallet
|
|
1134
|
+
* view
|
|
1135
|
+
*/
|
|
1136
|
+
marketingWallet(): Promise<`0x${string}`>;
|
|
1137
|
+
/**
|
|
1138
|
+
* maxTransactionAmount
|
|
1139
|
+
* view
|
|
1140
|
+
*/
|
|
1141
|
+
maxTransactionAmount(): Promise<bigint>;
|
|
1142
|
+
/**
|
|
1143
|
+
* maxWallet
|
|
1144
|
+
* view
|
|
1145
|
+
*/
|
|
1146
|
+
maxWallet(): Promise<bigint>;
|
|
1147
|
+
/**
|
|
1148
|
+
* name
|
|
1149
|
+
* view
|
|
1150
|
+
*/
|
|
1151
|
+
name(): Promise<string>;
|
|
1152
|
+
/**
|
|
1153
|
+
* owner
|
|
1154
|
+
* view
|
|
1155
|
+
*/
|
|
1156
|
+
owner(): Promise<`0x${string}`>;
|
|
1157
|
+
/**
|
|
1158
|
+
* percentForLPBurn
|
|
1159
|
+
* view
|
|
1160
|
+
*/
|
|
1161
|
+
percentForLPBurn(): Promise<bigint>;
|
|
1162
|
+
/**
|
|
1163
|
+
* sellDevFee
|
|
1164
|
+
* view
|
|
1165
|
+
*/
|
|
1166
|
+
sellDevFee(): Promise<bigint>;
|
|
1167
|
+
/**
|
|
1168
|
+
* sellLiquidityFee
|
|
1169
|
+
* view
|
|
1170
|
+
*/
|
|
1171
|
+
sellLiquidityFee(): Promise<bigint>;
|
|
1172
|
+
/**
|
|
1173
|
+
* sellMarketingFee
|
|
1174
|
+
* view
|
|
1175
|
+
*/
|
|
1176
|
+
sellMarketingFee(): Promise<bigint>;
|
|
1177
|
+
/**
|
|
1178
|
+
* sellTotalFees
|
|
1179
|
+
* view
|
|
1180
|
+
*/
|
|
1181
|
+
sellTotalFees(): Promise<bigint>;
|
|
1182
|
+
/**
|
|
1183
|
+
* swapEnabled
|
|
1184
|
+
* view
|
|
1185
|
+
*/
|
|
1186
|
+
swapEnabled(): Promise<boolean>;
|
|
1187
|
+
/**
|
|
1188
|
+
* swapTokensAtAmount
|
|
1189
|
+
* view
|
|
1190
|
+
*/
|
|
1191
|
+
swapTokensAtAmount(): Promise<bigint>;
|
|
1192
|
+
/**
|
|
1193
|
+
* symbol
|
|
1194
|
+
* view
|
|
1195
|
+
*/
|
|
1196
|
+
symbol(): Promise<string>;
|
|
1197
|
+
/**
|
|
1198
|
+
* tokensForDev
|
|
1199
|
+
* view
|
|
1200
|
+
*/
|
|
1201
|
+
tokensForDev(): Promise<bigint>;
|
|
1202
|
+
/**
|
|
1203
|
+
* tokensForLiquidity
|
|
1204
|
+
* view
|
|
1205
|
+
*/
|
|
1206
|
+
tokensForLiquidity(): Promise<bigint>;
|
|
1207
|
+
/**
|
|
1208
|
+
* tokensForMarketing
|
|
1209
|
+
* view
|
|
1210
|
+
*/
|
|
1211
|
+
tokensForMarketing(): Promise<bigint>;
|
|
1212
|
+
/**
|
|
1213
|
+
* totalSupply
|
|
1214
|
+
* view
|
|
1215
|
+
*/
|
|
1216
|
+
totalSupply(): Promise<bigint>;
|
|
1217
|
+
/**
|
|
1218
|
+
* tradingActive
|
|
1219
|
+
* view
|
|
1220
|
+
*/
|
|
1221
|
+
tradingActive(): Promise<boolean>;
|
|
1222
|
+
/**
|
|
1223
|
+
* transferDelayEnabled
|
|
1224
|
+
* view
|
|
1225
|
+
*/
|
|
1226
|
+
transferDelayEnabled(): Promise<boolean>;
|
|
1227
|
+
/**
|
|
1228
|
+
* uniswapV2Pair
|
|
1229
|
+
* view
|
|
1230
|
+
*/
|
|
1231
|
+
uniswapV2Pair(): Promise<`0x${string}`>;
|
|
1232
|
+
/**
|
|
1233
|
+
* uniswapV2Router
|
|
1234
|
+
* view
|
|
1235
|
+
*/
|
|
1236
|
+
uniswapV2Router(): Promise<`0x${string}`>;
|
|
1237
|
+
/**
|
|
1238
|
+
* approve
|
|
1239
|
+
* nonpayable
|
|
1240
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1241
|
+
*/
|
|
1242
|
+
approve(spender: `0x${string}`, amount: bigint, options?: {
|
|
1243
|
+
accessList?: import('viem').AccessList;
|
|
1244
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1245
|
+
chain?: import('viem').Chain | null;
|
|
1246
|
+
dataSuffix?: `0x${string}`;
|
|
1247
|
+
gas?: bigint;
|
|
1248
|
+
gasPrice?: bigint;
|
|
1249
|
+
maxFeePerGas?: bigint;
|
|
1250
|
+
maxPriorityFeePerGas?: bigint;
|
|
1251
|
+
nonce?: number;
|
|
1252
|
+
value?: bigint;
|
|
1253
|
+
}): Promise<`0x${string}`>;
|
|
1254
|
+
/**
|
|
1255
|
+
* blacklistAccount
|
|
1256
|
+
* nonpayable
|
|
1257
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1258
|
+
*/
|
|
1259
|
+
blacklistAccount(account: `0x${string}`, isBlacklisted: boolean, options?: {
|
|
1260
|
+
accessList?: import('viem').AccessList;
|
|
1261
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1262
|
+
chain?: import('viem').Chain | null;
|
|
1263
|
+
dataSuffix?: `0x${string}`;
|
|
1264
|
+
gas?: bigint;
|
|
1265
|
+
gasPrice?: bigint;
|
|
1266
|
+
maxFeePerGas?: bigint;
|
|
1267
|
+
maxPriorityFeePerGas?: bigint;
|
|
1268
|
+
nonce?: number;
|
|
1269
|
+
value?: bigint;
|
|
1270
|
+
}): Promise<`0x${string}`>;
|
|
1271
|
+
/**
|
|
1272
|
+
* decreaseAllowance
|
|
1273
|
+
* nonpayable
|
|
1274
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1275
|
+
*/
|
|
1276
|
+
decreaseAllowance(spender: `0x${string}`, subtractedValue: bigint, options?: {
|
|
1277
|
+
accessList?: import('viem').AccessList;
|
|
1278
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1279
|
+
chain?: import('viem').Chain | null;
|
|
1280
|
+
dataSuffix?: `0x${string}`;
|
|
1281
|
+
gas?: bigint;
|
|
1282
|
+
gasPrice?: bigint;
|
|
1283
|
+
maxFeePerGas?: bigint;
|
|
1284
|
+
maxPriorityFeePerGas?: bigint;
|
|
1285
|
+
nonce?: number;
|
|
1286
|
+
value?: bigint;
|
|
1287
|
+
}): Promise<`0x${string}`>;
|
|
1288
|
+
/**
|
|
1289
|
+
* disableTransferDelay
|
|
1290
|
+
* nonpayable
|
|
1291
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1292
|
+
*/
|
|
1293
|
+
disableTransferDelay(options?: {
|
|
1294
|
+
accessList?: import('viem').AccessList;
|
|
1295
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1296
|
+
chain?: import('viem').Chain | null;
|
|
1297
|
+
dataSuffix?: `0x${string}`;
|
|
1298
|
+
gas?: bigint;
|
|
1299
|
+
gasPrice?: bigint;
|
|
1300
|
+
maxFeePerGas?: bigint;
|
|
1301
|
+
maxPriorityFeePerGas?: bigint;
|
|
1302
|
+
nonce?: number;
|
|
1303
|
+
value?: bigint;
|
|
1304
|
+
}): Promise<`0x${string}`>;
|
|
1305
|
+
/**
|
|
1306
|
+
* enableTrading
|
|
1307
|
+
* nonpayable
|
|
1308
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1309
|
+
*/
|
|
1310
|
+
enableTrading(options?: {
|
|
1311
|
+
accessList?: import('viem').AccessList;
|
|
1312
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1313
|
+
chain?: import('viem').Chain | null;
|
|
1314
|
+
dataSuffix?: `0x${string}`;
|
|
1315
|
+
gas?: bigint;
|
|
1316
|
+
gasPrice?: bigint;
|
|
1317
|
+
maxFeePerGas?: bigint;
|
|
1318
|
+
maxPriorityFeePerGas?: bigint;
|
|
1319
|
+
nonce?: number;
|
|
1320
|
+
value?: bigint;
|
|
1321
|
+
}): Promise<`0x${string}`>;
|
|
1322
|
+
/**
|
|
1323
|
+
* excludeFromFees
|
|
1324
|
+
* nonpayable
|
|
1325
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1326
|
+
*/
|
|
1327
|
+
excludeFromFees(account: `0x${string}`, excluded: boolean, options?: {
|
|
1328
|
+
accessList?: import('viem').AccessList;
|
|
1329
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1330
|
+
chain?: import('viem').Chain | null;
|
|
1331
|
+
dataSuffix?: `0x${string}`;
|
|
1332
|
+
gas?: bigint;
|
|
1333
|
+
gasPrice?: bigint;
|
|
1334
|
+
maxFeePerGas?: bigint;
|
|
1335
|
+
maxPriorityFeePerGas?: bigint;
|
|
1336
|
+
nonce?: number;
|
|
1337
|
+
value?: bigint;
|
|
1338
|
+
}): Promise<`0x${string}`>;
|
|
1339
|
+
/**
|
|
1340
|
+
* excludeFromMaxTransaction
|
|
1341
|
+
* nonpayable
|
|
1342
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1343
|
+
*/
|
|
1344
|
+
excludeFromMaxTransaction(updAds: `0x${string}`, isEx: boolean, options?: {
|
|
1345
|
+
accessList?: import('viem').AccessList;
|
|
1346
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1347
|
+
chain?: import('viem').Chain | null;
|
|
1348
|
+
dataSuffix?: `0x${string}`;
|
|
1349
|
+
gas?: bigint;
|
|
1350
|
+
gasPrice?: bigint;
|
|
1351
|
+
maxFeePerGas?: bigint;
|
|
1352
|
+
maxPriorityFeePerGas?: bigint;
|
|
1353
|
+
nonce?: number;
|
|
1354
|
+
value?: bigint;
|
|
1355
|
+
}): Promise<`0x${string}`>;
|
|
1356
|
+
/**
|
|
1357
|
+
* increaseAllowance
|
|
1358
|
+
* nonpayable
|
|
1359
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1360
|
+
*/
|
|
1361
|
+
increaseAllowance(spender: `0x${string}`, addedValue: bigint, options?: {
|
|
1362
|
+
accessList?: import('viem').AccessList;
|
|
1363
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1364
|
+
chain?: import('viem').Chain | null;
|
|
1365
|
+
dataSuffix?: `0x${string}`;
|
|
1366
|
+
gas?: bigint;
|
|
1367
|
+
gasPrice?: bigint;
|
|
1368
|
+
maxFeePerGas?: bigint;
|
|
1369
|
+
maxPriorityFeePerGas?: bigint;
|
|
1370
|
+
nonce?: number;
|
|
1371
|
+
value?: bigint;
|
|
1372
|
+
}): Promise<`0x${string}`>;
|
|
1373
|
+
/**
|
|
1374
|
+
* manualBurnLiquidityPairTokens
|
|
1375
|
+
* nonpayable
|
|
1376
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1377
|
+
*/
|
|
1378
|
+
manualBurnLiquidityPairTokens(percent: bigint, options?: {
|
|
1379
|
+
accessList?: import('viem').AccessList;
|
|
1380
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1381
|
+
chain?: import('viem').Chain | null;
|
|
1382
|
+
dataSuffix?: `0x${string}`;
|
|
1383
|
+
gas?: bigint;
|
|
1384
|
+
gasPrice?: bigint;
|
|
1385
|
+
maxFeePerGas?: bigint;
|
|
1386
|
+
maxPriorityFeePerGas?: bigint;
|
|
1387
|
+
nonce?: number;
|
|
1388
|
+
value?: bigint;
|
|
1389
|
+
}): Promise<`0x${string}`>;
|
|
1390
|
+
/**
|
|
1391
|
+
* removeLimits
|
|
1392
|
+
* nonpayable
|
|
1393
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1394
|
+
*/
|
|
1395
|
+
removeLimits(options?: {
|
|
1396
|
+
accessList?: import('viem').AccessList;
|
|
1397
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1398
|
+
chain?: import('viem').Chain | null;
|
|
1399
|
+
dataSuffix?: `0x${string}`;
|
|
1400
|
+
gas?: bigint;
|
|
1401
|
+
gasPrice?: bigint;
|
|
1402
|
+
maxFeePerGas?: bigint;
|
|
1403
|
+
maxPriorityFeePerGas?: bigint;
|
|
1404
|
+
nonce?: number;
|
|
1405
|
+
value?: bigint;
|
|
1406
|
+
}): Promise<`0x${string}`>;
|
|
1407
|
+
/**
|
|
1408
|
+
* renounceOwnership
|
|
1409
|
+
* nonpayable
|
|
1410
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1411
|
+
*/
|
|
1412
|
+
renounceOwnership(options?: {
|
|
1413
|
+
accessList?: import('viem').AccessList;
|
|
1414
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1415
|
+
chain?: import('viem').Chain | null;
|
|
1416
|
+
dataSuffix?: `0x${string}`;
|
|
1417
|
+
gas?: bigint;
|
|
1418
|
+
gasPrice?: bigint;
|
|
1419
|
+
maxFeePerGas?: bigint;
|
|
1420
|
+
maxPriorityFeePerGas?: bigint;
|
|
1421
|
+
nonce?: number;
|
|
1422
|
+
value?: bigint;
|
|
1423
|
+
}): Promise<`0x${string}`>;
|
|
1424
|
+
/**
|
|
1425
|
+
* setAutoLPBurnSettings
|
|
1426
|
+
* nonpayable
|
|
1427
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1428
|
+
*/
|
|
1429
|
+
setAutoLPBurnSettings(_frequencyInSeconds: bigint, _percent: bigint, _Enabled: boolean, options?: {
|
|
1430
|
+
accessList?: import('viem').AccessList;
|
|
1431
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1432
|
+
chain?: import('viem').Chain | null;
|
|
1433
|
+
dataSuffix?: `0x${string}`;
|
|
1434
|
+
gas?: bigint;
|
|
1435
|
+
gasPrice?: bigint;
|
|
1436
|
+
maxFeePerGas?: bigint;
|
|
1437
|
+
maxPriorityFeePerGas?: bigint;
|
|
1438
|
+
nonce?: number;
|
|
1439
|
+
value?: bigint;
|
|
1440
|
+
}): Promise<`0x${string}`>;
|
|
1441
|
+
/**
|
|
1442
|
+
* setAutomatedMarketMakerPair
|
|
1443
|
+
* nonpayable
|
|
1444
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1445
|
+
*/
|
|
1446
|
+
setAutomatedMarketMakerPair(pair: `0x${string}`, value: boolean, options?: {
|
|
1447
|
+
accessList?: import('viem').AccessList;
|
|
1448
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1449
|
+
chain?: import('viem').Chain | null;
|
|
1450
|
+
dataSuffix?: `0x${string}`;
|
|
1451
|
+
gas?: bigint;
|
|
1452
|
+
gasPrice?: bigint;
|
|
1453
|
+
maxFeePerGas?: bigint;
|
|
1454
|
+
maxPriorityFeePerGas?: bigint;
|
|
1455
|
+
nonce?: number;
|
|
1456
|
+
value?: bigint;
|
|
1457
|
+
}): Promise<`0x${string}`>;
|
|
1458
|
+
/**
|
|
1459
|
+
* setEarlySellTax
|
|
1460
|
+
* nonpayable
|
|
1461
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1462
|
+
*/
|
|
1463
|
+
setEarlySellTax(onoff: boolean, options?: {
|
|
1464
|
+
accessList?: import('viem').AccessList;
|
|
1465
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1466
|
+
chain?: import('viem').Chain | null;
|
|
1467
|
+
dataSuffix?: `0x${string}`;
|
|
1468
|
+
gas?: bigint;
|
|
1469
|
+
gasPrice?: bigint;
|
|
1470
|
+
maxFeePerGas?: bigint;
|
|
1471
|
+
maxPriorityFeePerGas?: bigint;
|
|
1472
|
+
nonce?: number;
|
|
1473
|
+
value?: bigint;
|
|
1474
|
+
}): Promise<`0x${string}`>;
|
|
1475
|
+
/**
|
|
1476
|
+
* transfer
|
|
1477
|
+
* nonpayable
|
|
1478
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1479
|
+
*/
|
|
1480
|
+
transfer(recipient: `0x${string}`, amount: bigint, options?: {
|
|
1481
|
+
accessList?: import('viem').AccessList;
|
|
1482
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1483
|
+
chain?: import('viem').Chain | null;
|
|
1484
|
+
dataSuffix?: `0x${string}`;
|
|
1485
|
+
gas?: bigint;
|
|
1486
|
+
gasPrice?: bigint;
|
|
1487
|
+
maxFeePerGas?: bigint;
|
|
1488
|
+
maxPriorityFeePerGas?: bigint;
|
|
1489
|
+
nonce?: number;
|
|
1490
|
+
value?: bigint;
|
|
1491
|
+
}): Promise<`0x${string}`>;
|
|
1492
|
+
/**
|
|
1493
|
+
* transferFrom
|
|
1494
|
+
* nonpayable
|
|
1495
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1496
|
+
*/
|
|
1497
|
+
transferFrom(sender: `0x${string}`, recipient: `0x${string}`, amount: bigint, options?: {
|
|
1498
|
+
accessList?: import('viem').AccessList;
|
|
1499
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1500
|
+
chain?: import('viem').Chain | null;
|
|
1501
|
+
dataSuffix?: `0x${string}`;
|
|
1502
|
+
gas?: bigint;
|
|
1503
|
+
gasPrice?: bigint;
|
|
1504
|
+
maxFeePerGas?: bigint;
|
|
1505
|
+
maxPriorityFeePerGas?: bigint;
|
|
1506
|
+
nonce?: number;
|
|
1507
|
+
value?: bigint;
|
|
1508
|
+
}): Promise<`0x${string}`>;
|
|
1509
|
+
/**
|
|
1510
|
+
* transferOwnership
|
|
1511
|
+
* nonpayable
|
|
1512
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1513
|
+
*/
|
|
1514
|
+
transferOwnership(newOwner: `0x${string}`, options?: {
|
|
1515
|
+
accessList?: import('viem').AccessList;
|
|
1516
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1517
|
+
chain?: import('viem').Chain | null;
|
|
1518
|
+
dataSuffix?: `0x${string}`;
|
|
1519
|
+
gas?: bigint;
|
|
1520
|
+
gasPrice?: bigint;
|
|
1521
|
+
maxFeePerGas?: bigint;
|
|
1522
|
+
maxPriorityFeePerGas?: bigint;
|
|
1523
|
+
nonce?: number;
|
|
1524
|
+
value?: bigint;
|
|
1525
|
+
}): Promise<`0x${string}`>;
|
|
1526
|
+
/**
|
|
1527
|
+
* updateBuyFees
|
|
1528
|
+
* nonpayable
|
|
1529
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1530
|
+
*/
|
|
1531
|
+
updateBuyFees(_marketingFee: bigint, _liquidityFee: bigint, _devFee: bigint, options?: {
|
|
1532
|
+
accessList?: import('viem').AccessList;
|
|
1533
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1534
|
+
chain?: import('viem').Chain | null;
|
|
1535
|
+
dataSuffix?: `0x${string}`;
|
|
1536
|
+
gas?: bigint;
|
|
1537
|
+
gasPrice?: bigint;
|
|
1538
|
+
maxFeePerGas?: bigint;
|
|
1539
|
+
maxPriorityFeePerGas?: bigint;
|
|
1540
|
+
nonce?: number;
|
|
1541
|
+
value?: bigint;
|
|
1542
|
+
}): Promise<`0x${string}`>;
|
|
1543
|
+
/**
|
|
1544
|
+
* updateDevWallet
|
|
1545
|
+
* nonpayable
|
|
1546
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1547
|
+
*/
|
|
1548
|
+
updateDevWallet(newWallet: `0x${string}`, options?: {
|
|
1549
|
+
accessList?: import('viem').AccessList;
|
|
1550
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1551
|
+
chain?: import('viem').Chain | null;
|
|
1552
|
+
dataSuffix?: `0x${string}`;
|
|
1553
|
+
gas?: bigint;
|
|
1554
|
+
gasPrice?: bigint;
|
|
1555
|
+
maxFeePerGas?: bigint;
|
|
1556
|
+
maxPriorityFeePerGas?: bigint;
|
|
1557
|
+
nonce?: number;
|
|
1558
|
+
value?: bigint;
|
|
1559
|
+
}): Promise<`0x${string}`>;
|
|
1560
|
+
/**
|
|
1561
|
+
* updateMarketingWallet
|
|
1562
|
+
* nonpayable
|
|
1563
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1564
|
+
*/
|
|
1565
|
+
updateMarketingWallet(newMarketingWallet: `0x${string}`, options?: {
|
|
1566
|
+
accessList?: import('viem').AccessList;
|
|
1567
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1568
|
+
chain?: import('viem').Chain | null;
|
|
1569
|
+
dataSuffix?: `0x${string}`;
|
|
1570
|
+
gas?: bigint;
|
|
1571
|
+
gasPrice?: bigint;
|
|
1572
|
+
maxFeePerGas?: bigint;
|
|
1573
|
+
maxPriorityFeePerGas?: bigint;
|
|
1574
|
+
nonce?: number;
|
|
1575
|
+
value?: bigint;
|
|
1576
|
+
}): Promise<`0x${string}`>;
|
|
1577
|
+
/**
|
|
1578
|
+
* updateMaxTxnAmount
|
|
1579
|
+
* nonpayable
|
|
1580
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1581
|
+
*/
|
|
1582
|
+
updateMaxTxnAmount(newNum: bigint, options?: {
|
|
1583
|
+
accessList?: import('viem').AccessList;
|
|
1584
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1585
|
+
chain?: import('viem').Chain | null;
|
|
1586
|
+
dataSuffix?: `0x${string}`;
|
|
1587
|
+
gas?: bigint;
|
|
1588
|
+
gasPrice?: bigint;
|
|
1589
|
+
maxFeePerGas?: bigint;
|
|
1590
|
+
maxPriorityFeePerGas?: bigint;
|
|
1591
|
+
nonce?: number;
|
|
1592
|
+
value?: bigint;
|
|
1593
|
+
}): Promise<`0x${string}`>;
|
|
1594
|
+
/**
|
|
1595
|
+
* updateMaxWalletAmount
|
|
1596
|
+
* nonpayable
|
|
1597
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1598
|
+
*/
|
|
1599
|
+
updateMaxWalletAmount(newNum: bigint, options?: {
|
|
1600
|
+
accessList?: import('viem').AccessList;
|
|
1601
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1602
|
+
chain?: import('viem').Chain | null;
|
|
1603
|
+
dataSuffix?: `0x${string}`;
|
|
1604
|
+
gas?: bigint;
|
|
1605
|
+
gasPrice?: bigint;
|
|
1606
|
+
maxFeePerGas?: bigint;
|
|
1607
|
+
maxPriorityFeePerGas?: bigint;
|
|
1608
|
+
nonce?: number;
|
|
1609
|
+
value?: bigint;
|
|
1610
|
+
}): Promise<`0x${string}`>;
|
|
1611
|
+
/**
|
|
1612
|
+
* updateSellFees
|
|
1613
|
+
* nonpayable
|
|
1614
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1615
|
+
*/
|
|
1616
|
+
updateSellFees(_marketingFee: bigint, _liquidityFee: bigint, _devFee: bigint, _earlySellLiquidityFee: bigint, _earlySellMarketingFee: bigint, options?: {
|
|
1617
|
+
accessList?: import('viem').AccessList;
|
|
1618
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1619
|
+
chain?: import('viem').Chain | null;
|
|
1620
|
+
dataSuffix?: `0x${string}`;
|
|
1621
|
+
gas?: bigint;
|
|
1622
|
+
gasPrice?: bigint;
|
|
1623
|
+
maxFeePerGas?: bigint;
|
|
1624
|
+
maxPriorityFeePerGas?: bigint;
|
|
1625
|
+
nonce?: number;
|
|
1626
|
+
value?: bigint;
|
|
1627
|
+
}): Promise<`0x${string}`>;
|
|
1628
|
+
/**
|
|
1629
|
+
* updateSwapEnabled
|
|
1630
|
+
* nonpayable
|
|
1631
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1632
|
+
*/
|
|
1633
|
+
updateSwapEnabled(enabled: boolean, options?: {
|
|
1634
|
+
accessList?: import('viem').AccessList;
|
|
1635
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1636
|
+
chain?: import('viem').Chain | null;
|
|
1637
|
+
dataSuffix?: `0x${string}`;
|
|
1638
|
+
gas?: bigint;
|
|
1639
|
+
gasPrice?: bigint;
|
|
1640
|
+
maxFeePerGas?: bigint;
|
|
1641
|
+
maxPriorityFeePerGas?: bigint;
|
|
1642
|
+
nonce?: number;
|
|
1643
|
+
value?: bigint;
|
|
1644
|
+
}): Promise<`0x${string}`>;
|
|
1645
|
+
/**
|
|
1646
|
+
* updateSwapTokensAtAmount
|
|
1647
|
+
* nonpayable
|
|
1648
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1649
|
+
*/
|
|
1650
|
+
updateSwapTokensAtAmount(newAmount: bigint, options?: {
|
|
1651
|
+
accessList?: import('viem').AccessList;
|
|
1652
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1653
|
+
chain?: import('viem').Chain | null;
|
|
1654
|
+
dataSuffix?: `0x${string}`;
|
|
1655
|
+
gas?: bigint;
|
|
1656
|
+
gasPrice?: bigint;
|
|
1657
|
+
maxFeePerGas?: bigint;
|
|
1658
|
+
maxPriorityFeePerGas?: bigint;
|
|
1659
|
+
nonce?: number;
|
|
1660
|
+
value?: bigint;
|
|
1661
|
+
}): Promise<`0x${string}`>;
|
|
1662
|
+
/**
|
|
1663
|
+
* Simulate contract write operations (dry-run without sending transaction)
|
|
1664
|
+
*
|
|
1665
|
+
* @example
|
|
1666
|
+
* const result = await contract.simulate.transfer('0x...', 1000n);
|
|
1667
|
+
* console.log('Gas estimate:', result.request.gas);
|
|
1668
|
+
* console.log('Would succeed:', result.result);
|
|
1669
|
+
*/
|
|
1670
|
+
get simulate(): {
|
|
1671
|
+
/**
|
|
1672
|
+
* Simulate approve
|
|
1673
|
+
* Returns gas estimate and result without sending transaction
|
|
1674
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1675
|
+
*/
|
|
1676
|
+
approve(spender: `0x${string}`, amount: bigint, options?: {
|
|
1677
|
+
accessList?: import("viem").AccessList;
|
|
1678
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1679
|
+
chain?: import("viem").Chain | null;
|
|
1680
|
+
dataSuffix?: `0x${string}`;
|
|
1681
|
+
gas?: bigint;
|
|
1682
|
+
gasPrice?: bigint;
|
|
1683
|
+
maxFeePerGas?: bigint;
|
|
1684
|
+
maxPriorityFeePerGas?: bigint;
|
|
1685
|
+
nonce?: number;
|
|
1686
|
+
value?: bigint;
|
|
1687
|
+
}): Promise<boolean>;
|
|
1688
|
+
/**
|
|
1689
|
+
* Simulate blacklistAccount
|
|
1690
|
+
* Returns gas estimate and result without sending transaction
|
|
1691
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1692
|
+
*/
|
|
1693
|
+
blacklistAccount(account: `0x${string}`, isBlacklisted: boolean, options?: {
|
|
1694
|
+
accessList?: import("viem").AccessList;
|
|
1695
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1696
|
+
chain?: import("viem").Chain | null;
|
|
1697
|
+
dataSuffix?: `0x${string}`;
|
|
1698
|
+
gas?: bigint;
|
|
1699
|
+
gasPrice?: bigint;
|
|
1700
|
+
maxFeePerGas?: bigint;
|
|
1701
|
+
maxPriorityFeePerGas?: bigint;
|
|
1702
|
+
nonce?: number;
|
|
1703
|
+
value?: bigint;
|
|
1704
|
+
}): Promise<void>;
|
|
1705
|
+
/**
|
|
1706
|
+
* Simulate decreaseAllowance
|
|
1707
|
+
* Returns gas estimate and result without sending transaction
|
|
1708
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1709
|
+
*/
|
|
1710
|
+
decreaseAllowance(spender: `0x${string}`, subtractedValue: bigint, options?: {
|
|
1711
|
+
accessList?: import("viem").AccessList;
|
|
1712
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1713
|
+
chain?: import("viem").Chain | null;
|
|
1714
|
+
dataSuffix?: `0x${string}`;
|
|
1715
|
+
gas?: bigint;
|
|
1716
|
+
gasPrice?: bigint;
|
|
1717
|
+
maxFeePerGas?: bigint;
|
|
1718
|
+
maxPriorityFeePerGas?: bigint;
|
|
1719
|
+
nonce?: number;
|
|
1720
|
+
value?: bigint;
|
|
1721
|
+
}): Promise<boolean>;
|
|
1722
|
+
/**
|
|
1723
|
+
* Simulate disableTransferDelay
|
|
1724
|
+
* Returns gas estimate and result without sending transaction
|
|
1725
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1726
|
+
*/
|
|
1727
|
+
disableTransferDelay(options?: {
|
|
1728
|
+
accessList?: import("viem").AccessList;
|
|
1729
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1730
|
+
chain?: import("viem").Chain | null;
|
|
1731
|
+
dataSuffix?: `0x${string}`;
|
|
1732
|
+
gas?: bigint;
|
|
1733
|
+
gasPrice?: bigint;
|
|
1734
|
+
maxFeePerGas?: bigint;
|
|
1735
|
+
maxPriorityFeePerGas?: bigint;
|
|
1736
|
+
nonce?: number;
|
|
1737
|
+
value?: bigint;
|
|
1738
|
+
}): Promise<boolean>;
|
|
1739
|
+
/**
|
|
1740
|
+
* Simulate enableTrading
|
|
1741
|
+
* Returns gas estimate and result without sending transaction
|
|
1742
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1743
|
+
*/
|
|
1744
|
+
enableTrading(options?: {
|
|
1745
|
+
accessList?: import("viem").AccessList;
|
|
1746
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1747
|
+
chain?: import("viem").Chain | null;
|
|
1748
|
+
dataSuffix?: `0x${string}`;
|
|
1749
|
+
gas?: bigint;
|
|
1750
|
+
gasPrice?: bigint;
|
|
1751
|
+
maxFeePerGas?: bigint;
|
|
1752
|
+
maxPriorityFeePerGas?: bigint;
|
|
1753
|
+
nonce?: number;
|
|
1754
|
+
value?: bigint;
|
|
1755
|
+
}): Promise<void>;
|
|
1756
|
+
/**
|
|
1757
|
+
* Simulate excludeFromFees
|
|
1758
|
+
* Returns gas estimate and result without sending transaction
|
|
1759
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1760
|
+
*/
|
|
1761
|
+
excludeFromFees(account: `0x${string}`, excluded: boolean, options?: {
|
|
1762
|
+
accessList?: import("viem").AccessList;
|
|
1763
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1764
|
+
chain?: import("viem").Chain | null;
|
|
1765
|
+
dataSuffix?: `0x${string}`;
|
|
1766
|
+
gas?: bigint;
|
|
1767
|
+
gasPrice?: bigint;
|
|
1768
|
+
maxFeePerGas?: bigint;
|
|
1769
|
+
maxPriorityFeePerGas?: bigint;
|
|
1770
|
+
nonce?: number;
|
|
1771
|
+
value?: bigint;
|
|
1772
|
+
}): Promise<void>;
|
|
1773
|
+
/**
|
|
1774
|
+
* Simulate excludeFromMaxTransaction
|
|
1775
|
+
* Returns gas estimate and result without sending transaction
|
|
1776
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1777
|
+
*/
|
|
1778
|
+
excludeFromMaxTransaction(updAds: `0x${string}`, isEx: boolean, options?: {
|
|
1779
|
+
accessList?: import("viem").AccessList;
|
|
1780
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1781
|
+
chain?: import("viem").Chain | null;
|
|
1782
|
+
dataSuffix?: `0x${string}`;
|
|
1783
|
+
gas?: bigint;
|
|
1784
|
+
gasPrice?: bigint;
|
|
1785
|
+
maxFeePerGas?: bigint;
|
|
1786
|
+
maxPriorityFeePerGas?: bigint;
|
|
1787
|
+
nonce?: number;
|
|
1788
|
+
value?: bigint;
|
|
1789
|
+
}): Promise<void>;
|
|
1790
|
+
/**
|
|
1791
|
+
* Simulate increaseAllowance
|
|
1792
|
+
* Returns gas estimate and result without sending transaction
|
|
1793
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1794
|
+
*/
|
|
1795
|
+
increaseAllowance(spender: `0x${string}`, addedValue: bigint, options?: {
|
|
1796
|
+
accessList?: import("viem").AccessList;
|
|
1797
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1798
|
+
chain?: import("viem").Chain | null;
|
|
1799
|
+
dataSuffix?: `0x${string}`;
|
|
1800
|
+
gas?: bigint;
|
|
1801
|
+
gasPrice?: bigint;
|
|
1802
|
+
maxFeePerGas?: bigint;
|
|
1803
|
+
maxPriorityFeePerGas?: bigint;
|
|
1804
|
+
nonce?: number;
|
|
1805
|
+
value?: bigint;
|
|
1806
|
+
}): Promise<boolean>;
|
|
1807
|
+
/**
|
|
1808
|
+
* Simulate manualBurnLiquidityPairTokens
|
|
1809
|
+
* Returns gas estimate and result without sending transaction
|
|
1810
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1811
|
+
*/
|
|
1812
|
+
manualBurnLiquidityPairTokens(percent: bigint, options?: {
|
|
1813
|
+
accessList?: import("viem").AccessList;
|
|
1814
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1815
|
+
chain?: import("viem").Chain | null;
|
|
1816
|
+
dataSuffix?: `0x${string}`;
|
|
1817
|
+
gas?: bigint;
|
|
1818
|
+
gasPrice?: bigint;
|
|
1819
|
+
maxFeePerGas?: bigint;
|
|
1820
|
+
maxPriorityFeePerGas?: bigint;
|
|
1821
|
+
nonce?: number;
|
|
1822
|
+
value?: bigint;
|
|
1823
|
+
}): Promise<boolean>;
|
|
1824
|
+
/**
|
|
1825
|
+
* Simulate removeLimits
|
|
1826
|
+
* Returns gas estimate and result without sending transaction
|
|
1827
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1828
|
+
*/
|
|
1829
|
+
removeLimits(options?: {
|
|
1830
|
+
accessList?: import("viem").AccessList;
|
|
1831
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1832
|
+
chain?: import("viem").Chain | null;
|
|
1833
|
+
dataSuffix?: `0x${string}`;
|
|
1834
|
+
gas?: bigint;
|
|
1835
|
+
gasPrice?: bigint;
|
|
1836
|
+
maxFeePerGas?: bigint;
|
|
1837
|
+
maxPriorityFeePerGas?: bigint;
|
|
1838
|
+
nonce?: number;
|
|
1839
|
+
value?: bigint;
|
|
1840
|
+
}): Promise<boolean>;
|
|
1841
|
+
/**
|
|
1842
|
+
* Simulate renounceOwnership
|
|
1843
|
+
* Returns gas estimate and result without sending transaction
|
|
1844
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1845
|
+
*/
|
|
1846
|
+
renounceOwnership(options?: {
|
|
1847
|
+
accessList?: import("viem").AccessList;
|
|
1848
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1849
|
+
chain?: import("viem").Chain | null;
|
|
1850
|
+
dataSuffix?: `0x${string}`;
|
|
1851
|
+
gas?: bigint;
|
|
1852
|
+
gasPrice?: bigint;
|
|
1853
|
+
maxFeePerGas?: bigint;
|
|
1854
|
+
maxPriorityFeePerGas?: bigint;
|
|
1855
|
+
nonce?: number;
|
|
1856
|
+
value?: bigint;
|
|
1857
|
+
}): Promise<void>;
|
|
1858
|
+
/**
|
|
1859
|
+
* Simulate setAutoLPBurnSettings
|
|
1860
|
+
* Returns gas estimate and result without sending transaction
|
|
1861
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1862
|
+
*/
|
|
1863
|
+
setAutoLPBurnSettings(_frequencyInSeconds: bigint, _percent: bigint, _Enabled: boolean, options?: {
|
|
1864
|
+
accessList?: import("viem").AccessList;
|
|
1865
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1866
|
+
chain?: import("viem").Chain | null;
|
|
1867
|
+
dataSuffix?: `0x${string}`;
|
|
1868
|
+
gas?: bigint;
|
|
1869
|
+
gasPrice?: bigint;
|
|
1870
|
+
maxFeePerGas?: bigint;
|
|
1871
|
+
maxPriorityFeePerGas?: bigint;
|
|
1872
|
+
nonce?: number;
|
|
1873
|
+
value?: bigint;
|
|
1874
|
+
}): Promise<void>;
|
|
1875
|
+
/**
|
|
1876
|
+
* Simulate setAutomatedMarketMakerPair
|
|
1877
|
+
* Returns gas estimate and result without sending transaction
|
|
1878
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1879
|
+
*/
|
|
1880
|
+
setAutomatedMarketMakerPair(pair: `0x${string}`, value: boolean, options?: {
|
|
1881
|
+
accessList?: import("viem").AccessList;
|
|
1882
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1883
|
+
chain?: import("viem").Chain | null;
|
|
1884
|
+
dataSuffix?: `0x${string}`;
|
|
1885
|
+
gas?: bigint;
|
|
1886
|
+
gasPrice?: bigint;
|
|
1887
|
+
maxFeePerGas?: bigint;
|
|
1888
|
+
maxPriorityFeePerGas?: bigint;
|
|
1889
|
+
nonce?: number;
|
|
1890
|
+
value?: bigint;
|
|
1891
|
+
}): Promise<void>;
|
|
1892
|
+
/**
|
|
1893
|
+
* Simulate setEarlySellTax
|
|
1894
|
+
* Returns gas estimate and result without sending transaction
|
|
1895
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1896
|
+
*/
|
|
1897
|
+
setEarlySellTax(onoff: boolean, options?: {
|
|
1898
|
+
accessList?: import("viem").AccessList;
|
|
1899
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1900
|
+
chain?: import("viem").Chain | null;
|
|
1901
|
+
dataSuffix?: `0x${string}`;
|
|
1902
|
+
gas?: bigint;
|
|
1903
|
+
gasPrice?: bigint;
|
|
1904
|
+
maxFeePerGas?: bigint;
|
|
1905
|
+
maxPriorityFeePerGas?: bigint;
|
|
1906
|
+
nonce?: number;
|
|
1907
|
+
value?: bigint;
|
|
1908
|
+
}): Promise<void>;
|
|
1909
|
+
/**
|
|
1910
|
+
* Simulate transfer
|
|
1911
|
+
* Returns gas estimate and result without sending transaction
|
|
1912
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1913
|
+
*/
|
|
1914
|
+
transfer(recipient: `0x${string}`, amount: bigint, options?: {
|
|
1915
|
+
accessList?: import("viem").AccessList;
|
|
1916
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1917
|
+
chain?: import("viem").Chain | null;
|
|
1918
|
+
dataSuffix?: `0x${string}`;
|
|
1919
|
+
gas?: bigint;
|
|
1920
|
+
gasPrice?: bigint;
|
|
1921
|
+
maxFeePerGas?: bigint;
|
|
1922
|
+
maxPriorityFeePerGas?: bigint;
|
|
1923
|
+
nonce?: number;
|
|
1924
|
+
value?: bigint;
|
|
1925
|
+
}): Promise<boolean>;
|
|
1926
|
+
/**
|
|
1927
|
+
* Simulate transferFrom
|
|
1928
|
+
* Returns gas estimate and result without sending transaction
|
|
1929
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1930
|
+
*/
|
|
1931
|
+
transferFrom(sender: `0x${string}`, recipient: `0x${string}`, amount: bigint, options?: {
|
|
1932
|
+
accessList?: import("viem").AccessList;
|
|
1933
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1934
|
+
chain?: import("viem").Chain | null;
|
|
1935
|
+
dataSuffix?: `0x${string}`;
|
|
1936
|
+
gas?: bigint;
|
|
1937
|
+
gasPrice?: bigint;
|
|
1938
|
+
maxFeePerGas?: bigint;
|
|
1939
|
+
maxPriorityFeePerGas?: bigint;
|
|
1940
|
+
nonce?: number;
|
|
1941
|
+
value?: bigint;
|
|
1942
|
+
}): Promise<boolean>;
|
|
1943
|
+
/**
|
|
1944
|
+
* Simulate transferOwnership
|
|
1945
|
+
* Returns gas estimate and result without sending transaction
|
|
1946
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1947
|
+
*/
|
|
1948
|
+
transferOwnership(newOwner: `0x${string}`, options?: {
|
|
1949
|
+
accessList?: import("viem").AccessList;
|
|
1950
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1951
|
+
chain?: import("viem").Chain | null;
|
|
1952
|
+
dataSuffix?: `0x${string}`;
|
|
1953
|
+
gas?: bigint;
|
|
1954
|
+
gasPrice?: bigint;
|
|
1955
|
+
maxFeePerGas?: bigint;
|
|
1956
|
+
maxPriorityFeePerGas?: bigint;
|
|
1957
|
+
nonce?: number;
|
|
1958
|
+
value?: bigint;
|
|
1959
|
+
}): Promise<void>;
|
|
1960
|
+
/**
|
|
1961
|
+
* Simulate updateBuyFees
|
|
1962
|
+
* Returns gas estimate and result without sending transaction
|
|
1963
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1964
|
+
*/
|
|
1965
|
+
updateBuyFees(_marketingFee: bigint, _liquidityFee: bigint, _devFee: bigint, options?: {
|
|
1966
|
+
accessList?: import("viem").AccessList;
|
|
1967
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1968
|
+
chain?: import("viem").Chain | null;
|
|
1969
|
+
dataSuffix?: `0x${string}`;
|
|
1970
|
+
gas?: bigint;
|
|
1971
|
+
gasPrice?: bigint;
|
|
1972
|
+
maxFeePerGas?: bigint;
|
|
1973
|
+
maxPriorityFeePerGas?: bigint;
|
|
1974
|
+
nonce?: number;
|
|
1975
|
+
value?: bigint;
|
|
1976
|
+
}): Promise<void>;
|
|
1977
|
+
/**
|
|
1978
|
+
* Simulate updateDevWallet
|
|
1979
|
+
* Returns gas estimate and result without sending transaction
|
|
1980
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1981
|
+
*/
|
|
1982
|
+
updateDevWallet(newWallet: `0x${string}`, options?: {
|
|
1983
|
+
accessList?: import("viem").AccessList;
|
|
1984
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1985
|
+
chain?: import("viem").Chain | null;
|
|
1986
|
+
dataSuffix?: `0x${string}`;
|
|
1987
|
+
gas?: bigint;
|
|
1988
|
+
gasPrice?: bigint;
|
|
1989
|
+
maxFeePerGas?: bigint;
|
|
1990
|
+
maxPriorityFeePerGas?: bigint;
|
|
1991
|
+
nonce?: number;
|
|
1992
|
+
value?: bigint;
|
|
1993
|
+
}): Promise<void>;
|
|
1994
|
+
/**
|
|
1995
|
+
* Simulate updateMarketingWallet
|
|
1996
|
+
* Returns gas estimate and result without sending transaction
|
|
1997
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1998
|
+
*/
|
|
1999
|
+
updateMarketingWallet(newMarketingWallet: `0x${string}`, options?: {
|
|
2000
|
+
accessList?: import("viem").AccessList;
|
|
2001
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2002
|
+
chain?: import("viem").Chain | null;
|
|
2003
|
+
dataSuffix?: `0x${string}`;
|
|
2004
|
+
gas?: bigint;
|
|
2005
|
+
gasPrice?: bigint;
|
|
2006
|
+
maxFeePerGas?: bigint;
|
|
2007
|
+
maxPriorityFeePerGas?: bigint;
|
|
2008
|
+
nonce?: number;
|
|
2009
|
+
value?: bigint;
|
|
2010
|
+
}): Promise<void>;
|
|
2011
|
+
/**
|
|
2012
|
+
* Simulate updateMaxTxnAmount
|
|
2013
|
+
* Returns gas estimate and result without sending transaction
|
|
2014
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2015
|
+
*/
|
|
2016
|
+
updateMaxTxnAmount(newNum: bigint, options?: {
|
|
2017
|
+
accessList?: import("viem").AccessList;
|
|
2018
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2019
|
+
chain?: import("viem").Chain | null;
|
|
2020
|
+
dataSuffix?: `0x${string}`;
|
|
2021
|
+
gas?: bigint;
|
|
2022
|
+
gasPrice?: bigint;
|
|
2023
|
+
maxFeePerGas?: bigint;
|
|
2024
|
+
maxPriorityFeePerGas?: bigint;
|
|
2025
|
+
nonce?: number;
|
|
2026
|
+
value?: bigint;
|
|
2027
|
+
}): Promise<void>;
|
|
2028
|
+
/**
|
|
2029
|
+
* Simulate updateMaxWalletAmount
|
|
2030
|
+
* Returns gas estimate and result without sending transaction
|
|
2031
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2032
|
+
*/
|
|
2033
|
+
updateMaxWalletAmount(newNum: bigint, options?: {
|
|
2034
|
+
accessList?: import("viem").AccessList;
|
|
2035
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2036
|
+
chain?: import("viem").Chain | null;
|
|
2037
|
+
dataSuffix?: `0x${string}`;
|
|
2038
|
+
gas?: bigint;
|
|
2039
|
+
gasPrice?: bigint;
|
|
2040
|
+
maxFeePerGas?: bigint;
|
|
2041
|
+
maxPriorityFeePerGas?: bigint;
|
|
2042
|
+
nonce?: number;
|
|
2043
|
+
value?: bigint;
|
|
2044
|
+
}): Promise<void>;
|
|
2045
|
+
/**
|
|
2046
|
+
* Simulate updateSellFees
|
|
2047
|
+
* Returns gas estimate and result without sending transaction
|
|
2048
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2049
|
+
*/
|
|
2050
|
+
updateSellFees(_marketingFee: bigint, _liquidityFee: bigint, _devFee: bigint, _earlySellLiquidityFee: bigint, _earlySellMarketingFee: bigint, options?: {
|
|
2051
|
+
accessList?: import("viem").AccessList;
|
|
2052
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2053
|
+
chain?: import("viem").Chain | null;
|
|
2054
|
+
dataSuffix?: `0x${string}`;
|
|
2055
|
+
gas?: bigint;
|
|
2056
|
+
gasPrice?: bigint;
|
|
2057
|
+
maxFeePerGas?: bigint;
|
|
2058
|
+
maxPriorityFeePerGas?: bigint;
|
|
2059
|
+
nonce?: number;
|
|
2060
|
+
value?: bigint;
|
|
2061
|
+
}): Promise<void>;
|
|
2062
|
+
/**
|
|
2063
|
+
* Simulate updateSwapEnabled
|
|
2064
|
+
* Returns gas estimate and result without sending transaction
|
|
2065
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2066
|
+
*/
|
|
2067
|
+
updateSwapEnabled(enabled: boolean, options?: {
|
|
2068
|
+
accessList?: import("viem").AccessList;
|
|
2069
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2070
|
+
chain?: import("viem").Chain | null;
|
|
2071
|
+
dataSuffix?: `0x${string}`;
|
|
2072
|
+
gas?: bigint;
|
|
2073
|
+
gasPrice?: bigint;
|
|
2074
|
+
maxFeePerGas?: bigint;
|
|
2075
|
+
maxPriorityFeePerGas?: bigint;
|
|
2076
|
+
nonce?: number;
|
|
2077
|
+
value?: bigint;
|
|
2078
|
+
}): Promise<void>;
|
|
2079
|
+
/**
|
|
2080
|
+
* Simulate updateSwapTokensAtAmount
|
|
2081
|
+
* Returns gas estimate and result without sending transaction
|
|
2082
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2083
|
+
*/
|
|
2084
|
+
updateSwapTokensAtAmount(newAmount: bigint, options?: {
|
|
2085
|
+
accessList?: import("viem").AccessList;
|
|
2086
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2087
|
+
chain?: import("viem").Chain | null;
|
|
2088
|
+
dataSuffix?: `0x${string}`;
|
|
2089
|
+
gas?: bigint;
|
|
2090
|
+
gasPrice?: bigint;
|
|
2091
|
+
maxFeePerGas?: bigint;
|
|
2092
|
+
maxPriorityFeePerGas?: bigint;
|
|
2093
|
+
nonce?: number;
|
|
2094
|
+
value?: bigint;
|
|
2095
|
+
}): Promise<boolean>;
|
|
2096
|
+
};
|
|
2097
|
+
/**
|
|
2098
|
+
* Watch contract events
|
|
2099
|
+
*
|
|
2100
|
+
* @example
|
|
2101
|
+
* // Watch all Transfer events
|
|
2102
|
+
* const unwatch = contract.watch.Transfer((event) => {
|
|
2103
|
+
* console.log('Transfer:', event);
|
|
2104
|
+
* });
|
|
2105
|
+
*
|
|
2106
|
+
* // Stop watching
|
|
2107
|
+
* unwatch();
|
|
2108
|
+
*/
|
|
2109
|
+
get watch(): {
|
|
2110
|
+
/**
|
|
2111
|
+
* Watch Approval events
|
|
2112
|
+
* @param callback Function to call when event is emitted
|
|
2113
|
+
* @param filter Optional filter for indexed parameters
|
|
2114
|
+
* @returns Unwatch function to stop listening
|
|
2115
|
+
*/
|
|
2116
|
+
Approval: (callback: (event: {
|
|
2117
|
+
owner: `0x${string}`;
|
|
2118
|
+
spender: `0x${string}`;
|
|
2119
|
+
value: bigint;
|
|
2120
|
+
}) => void, filter?: {
|
|
2121
|
+
owner: `0x${string}`;
|
|
2122
|
+
spender: `0x${string}`;
|
|
2123
|
+
}) => () => void;
|
|
2124
|
+
/**
|
|
2125
|
+
* Watch AutoNukeLP events
|
|
2126
|
+
* @param callback Function to call when event is emitted
|
|
2127
|
+
* @param filter Optional filter for indexed parameters
|
|
2128
|
+
* @returns Unwatch function to stop listening
|
|
2129
|
+
*/
|
|
2130
|
+
AutoNukeLP: (callback: (event: {}) => void) => () => void;
|
|
2131
|
+
/**
|
|
2132
|
+
* Watch BoughtEarly events
|
|
2133
|
+
* @param callback Function to call when event is emitted
|
|
2134
|
+
* @param filter Optional filter for indexed parameters
|
|
2135
|
+
* @returns Unwatch function to stop listening
|
|
2136
|
+
*/
|
|
2137
|
+
BoughtEarly: (callback: (event: {
|
|
2138
|
+
sniper: `0x${string}`;
|
|
2139
|
+
}) => void, filter?: {
|
|
2140
|
+
sniper: `0x${string}`;
|
|
2141
|
+
}) => () => void;
|
|
2142
|
+
/**
|
|
2143
|
+
* Watch ExcludeFromFees events
|
|
2144
|
+
* @param callback Function to call when event is emitted
|
|
2145
|
+
* @param filter Optional filter for indexed parameters
|
|
2146
|
+
* @returns Unwatch function to stop listening
|
|
2147
|
+
*/
|
|
2148
|
+
ExcludeFromFees: (callback: (event: {
|
|
2149
|
+
account: `0x${string}`;
|
|
2150
|
+
isExcluded: boolean;
|
|
2151
|
+
}) => void, filter?: {
|
|
2152
|
+
account: `0x${string}`;
|
|
2153
|
+
}) => () => void;
|
|
2154
|
+
/**
|
|
2155
|
+
* Watch ManualNukeLP events
|
|
2156
|
+
* @param callback Function to call when event is emitted
|
|
2157
|
+
* @param filter Optional filter for indexed parameters
|
|
2158
|
+
* @returns Unwatch function to stop listening
|
|
2159
|
+
*/
|
|
2160
|
+
ManualNukeLP: (callback: (event: {}) => void) => () => void;
|
|
2161
|
+
/**
|
|
2162
|
+
* Watch OwnershipTransferred events
|
|
2163
|
+
* @param callback Function to call when event is emitted
|
|
2164
|
+
* @param filter Optional filter for indexed parameters
|
|
2165
|
+
* @returns Unwatch function to stop listening
|
|
2166
|
+
*/
|
|
2167
|
+
OwnershipTransferred: (callback: (event: {
|
|
2168
|
+
previousOwner: `0x${string}`;
|
|
2169
|
+
newOwner: `0x${string}`;
|
|
2170
|
+
}) => void, filter?: {
|
|
2171
|
+
previousOwner: `0x${string}`;
|
|
2172
|
+
newOwner: `0x${string}`;
|
|
2173
|
+
}) => () => void;
|
|
2174
|
+
/**
|
|
2175
|
+
* Watch SetAutomatedMarketMakerPair events
|
|
2176
|
+
* @param callback Function to call when event is emitted
|
|
2177
|
+
* @param filter Optional filter for indexed parameters
|
|
2178
|
+
* @returns Unwatch function to stop listening
|
|
2179
|
+
*/
|
|
2180
|
+
SetAutomatedMarketMakerPair: (callback: (event: {
|
|
2181
|
+
pair: `0x${string}`;
|
|
2182
|
+
value: boolean;
|
|
2183
|
+
}) => void, filter?: {
|
|
2184
|
+
pair: `0x${string}`;
|
|
2185
|
+
value: boolean;
|
|
2186
|
+
}) => () => void;
|
|
2187
|
+
/**
|
|
2188
|
+
* Watch SwapAndLiquify events
|
|
2189
|
+
* @param callback Function to call when event is emitted
|
|
2190
|
+
* @param filter Optional filter for indexed parameters
|
|
2191
|
+
* @returns Unwatch function to stop listening
|
|
2192
|
+
*/
|
|
2193
|
+
SwapAndLiquify: (callback: (event: {
|
|
2194
|
+
tokensSwapped: bigint;
|
|
2195
|
+
ethReceived: bigint;
|
|
2196
|
+
tokensIntoLiquidity: bigint;
|
|
2197
|
+
}) => void) => () => void;
|
|
2198
|
+
/**
|
|
2199
|
+
* Watch Transfer events
|
|
2200
|
+
* @param callback Function to call when event is emitted
|
|
2201
|
+
* @param filter Optional filter for indexed parameters
|
|
2202
|
+
* @returns Unwatch function to stop listening
|
|
2203
|
+
*/
|
|
2204
|
+
Transfer: (callback: (event: {
|
|
2205
|
+
from: `0x${string}`;
|
|
2206
|
+
to: `0x${string}`;
|
|
2207
|
+
value: bigint;
|
|
2208
|
+
}) => void, filter?: {
|
|
2209
|
+
from: `0x${string}`;
|
|
2210
|
+
to: `0x${string}`;
|
|
2211
|
+
}) => () => void;
|
|
2212
|
+
/**
|
|
2213
|
+
* Watch UpdateUniswapV2Router events
|
|
2214
|
+
* @param callback Function to call when event is emitted
|
|
2215
|
+
* @param filter Optional filter for indexed parameters
|
|
2216
|
+
* @returns Unwatch function to stop listening
|
|
2217
|
+
*/
|
|
2218
|
+
UpdateUniswapV2Router: (callback: (event: {
|
|
2219
|
+
newAddress: `0x${string}`;
|
|
2220
|
+
oldAddress: `0x${string}`;
|
|
2221
|
+
}) => void, filter?: {
|
|
2222
|
+
newAddress: `0x${string}`;
|
|
2223
|
+
oldAddress: `0x${string}`;
|
|
2224
|
+
}) => () => void;
|
|
2225
|
+
/**
|
|
2226
|
+
* Watch devWalletUpdated events
|
|
2227
|
+
* @param callback Function to call when event is emitted
|
|
2228
|
+
* @param filter Optional filter for indexed parameters
|
|
2229
|
+
* @returns Unwatch function to stop listening
|
|
2230
|
+
*/
|
|
2231
|
+
devWalletUpdated: (callback: (event: {
|
|
2232
|
+
newWallet: `0x${string}`;
|
|
2233
|
+
oldWallet: `0x${string}`;
|
|
2234
|
+
}) => void, filter?: {
|
|
2235
|
+
newWallet: `0x${string}`;
|
|
2236
|
+
oldWallet: `0x${string}`;
|
|
2237
|
+
}) => () => void;
|
|
2238
|
+
/**
|
|
2239
|
+
* Watch marketingWalletUpdated events
|
|
2240
|
+
* @param callback Function to call when event is emitted
|
|
2241
|
+
* @param filter Optional filter for indexed parameters
|
|
2242
|
+
* @returns Unwatch function to stop listening
|
|
2243
|
+
*/
|
|
2244
|
+
marketingWalletUpdated: (callback: (event: {
|
|
2245
|
+
newWallet: `0x${string}`;
|
|
2246
|
+
oldWallet: `0x${string}`;
|
|
2247
|
+
}) => void, filter?: {
|
|
2248
|
+
newWallet: `0x${string}`;
|
|
2249
|
+
oldWallet: `0x${string}`;
|
|
2250
|
+
}) => () => void;
|
|
2251
|
+
};
|
|
2252
|
+
}
|