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