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