@gitmyabi/pulse 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/Pulse3D_json.d.ts +1417 -0
- package/contracts/Pulse3D_json.js +1485 -0
- package/contracts/Pulse3D_json.ts +1905 -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,1417 @@
|
|
|
1
|
+
import type { Address, PublicClient, WalletClient } from 'viem';
|
|
2
|
+
/**
|
|
3
|
+
* Pulse3D_json ABI
|
|
4
|
+
*
|
|
5
|
+
* This ABI is typed using viem's type system for full type safety.
|
|
6
|
+
*/
|
|
7
|
+
export declare const Pulse3D_jsonAbi: readonly [{
|
|
8
|
+
readonly inputs: readonly [{
|
|
9
|
+
readonly internalType: "address";
|
|
10
|
+
readonly name: "_router";
|
|
11
|
+
readonly type: "address";
|
|
12
|
+
}, {
|
|
13
|
+
readonly internalType: "address";
|
|
14
|
+
readonly name: "_feeReceiver";
|
|
15
|
+
readonly type: "address";
|
|
16
|
+
}, {
|
|
17
|
+
readonly internalType: "uint256";
|
|
18
|
+
readonly name: "_initalLiquidity";
|
|
19
|
+
readonly type: "uint256";
|
|
20
|
+
}];
|
|
21
|
+
readonly stateMutability: "payable";
|
|
22
|
+
readonly type: "constructor";
|
|
23
|
+
}, {
|
|
24
|
+
readonly anonymous: false;
|
|
25
|
+
readonly inputs: readonly [{
|
|
26
|
+
readonly indexed: true;
|
|
27
|
+
readonly internalType: "address";
|
|
28
|
+
readonly name: "owner";
|
|
29
|
+
readonly type: "address";
|
|
30
|
+
}, {
|
|
31
|
+
readonly indexed: true;
|
|
32
|
+
readonly internalType: "address";
|
|
33
|
+
readonly name: "spender";
|
|
34
|
+
readonly type: "address";
|
|
35
|
+
}, {
|
|
36
|
+
readonly indexed: false;
|
|
37
|
+
readonly internalType: "uint256";
|
|
38
|
+
readonly name: "value";
|
|
39
|
+
readonly type: "uint256";
|
|
40
|
+
}];
|
|
41
|
+
readonly name: "Approval";
|
|
42
|
+
readonly type: "event";
|
|
43
|
+
}, {
|
|
44
|
+
readonly anonymous: false;
|
|
45
|
+
readonly inputs: readonly [{
|
|
46
|
+
readonly indexed: true;
|
|
47
|
+
readonly internalType: "address";
|
|
48
|
+
readonly name: "account";
|
|
49
|
+
readonly type: "address";
|
|
50
|
+
}, {
|
|
51
|
+
readonly indexed: false;
|
|
52
|
+
readonly internalType: "bool";
|
|
53
|
+
readonly name: "isExcluded";
|
|
54
|
+
readonly type: "bool";
|
|
55
|
+
}];
|
|
56
|
+
readonly name: "ExcludeFromFees";
|
|
57
|
+
readonly type: "event";
|
|
58
|
+
}, {
|
|
59
|
+
readonly anonymous: false;
|
|
60
|
+
readonly inputs: readonly [{
|
|
61
|
+
readonly indexed: false;
|
|
62
|
+
readonly internalType: "uint256";
|
|
63
|
+
readonly name: "_new";
|
|
64
|
+
readonly type: "uint256";
|
|
65
|
+
}];
|
|
66
|
+
readonly name: "FeesLowered";
|
|
67
|
+
readonly type: "event";
|
|
68
|
+
}, {
|
|
69
|
+
readonly anonymous: false;
|
|
70
|
+
readonly inputs: readonly [{
|
|
71
|
+
readonly indexed: false;
|
|
72
|
+
readonly internalType: "address";
|
|
73
|
+
readonly name: "marketingFeeReceiver";
|
|
74
|
+
readonly type: "address";
|
|
75
|
+
}];
|
|
76
|
+
readonly name: "MarketingFeeReceiverChanged";
|
|
77
|
+
readonly type: "event";
|
|
78
|
+
}, {
|
|
79
|
+
readonly anonymous: false;
|
|
80
|
+
readonly inputs: readonly [{
|
|
81
|
+
readonly indexed: false;
|
|
82
|
+
readonly internalType: "uint256";
|
|
83
|
+
readonly name: "_new";
|
|
84
|
+
readonly type: "uint256";
|
|
85
|
+
}];
|
|
86
|
+
readonly name: "MaxSwapThresholdUpdated";
|
|
87
|
+
readonly type: "event";
|
|
88
|
+
}, {
|
|
89
|
+
readonly anonymous: false;
|
|
90
|
+
readonly inputs: readonly [{
|
|
91
|
+
readonly indexed: false;
|
|
92
|
+
readonly internalType: "uint256";
|
|
93
|
+
readonly name: "_new";
|
|
94
|
+
readonly type: "uint256";
|
|
95
|
+
}];
|
|
96
|
+
readonly name: "MaxWalletSizeRaised";
|
|
97
|
+
readonly type: "event";
|
|
98
|
+
}, {
|
|
99
|
+
readonly anonymous: false;
|
|
100
|
+
readonly inputs: readonly [{
|
|
101
|
+
readonly indexed: true;
|
|
102
|
+
readonly internalType: "address";
|
|
103
|
+
readonly name: "previousOwner";
|
|
104
|
+
readonly type: "address";
|
|
105
|
+
}, {
|
|
106
|
+
readonly indexed: true;
|
|
107
|
+
readonly internalType: "address";
|
|
108
|
+
readonly name: "newOwner";
|
|
109
|
+
readonly type: "address";
|
|
110
|
+
}];
|
|
111
|
+
readonly name: "OwnershipTransferred";
|
|
112
|
+
readonly type: "event";
|
|
113
|
+
}, {
|
|
114
|
+
readonly anonymous: false;
|
|
115
|
+
readonly inputs: readonly [{
|
|
116
|
+
readonly indexed: false;
|
|
117
|
+
readonly internalType: "uint256";
|
|
118
|
+
readonly name: "tokensSwapped";
|
|
119
|
+
readonly type: "uint256";
|
|
120
|
+
}, {
|
|
121
|
+
readonly indexed: false;
|
|
122
|
+
readonly internalType: "uint256";
|
|
123
|
+
readonly name: "bnbReceived";
|
|
124
|
+
readonly type: "uint256";
|
|
125
|
+
}, {
|
|
126
|
+
readonly indexed: false;
|
|
127
|
+
readonly internalType: "uint256";
|
|
128
|
+
readonly name: "tokensIntoLiqudity";
|
|
129
|
+
readonly type: "uint256";
|
|
130
|
+
}];
|
|
131
|
+
readonly name: "SwapAndLiquify";
|
|
132
|
+
readonly type: "event";
|
|
133
|
+
}, {
|
|
134
|
+
readonly anonymous: false;
|
|
135
|
+
readonly inputs: readonly [{
|
|
136
|
+
readonly indexed: false;
|
|
137
|
+
readonly internalType: "uint256";
|
|
138
|
+
readonly name: "tokensSwapped";
|
|
139
|
+
readonly type: "uint256";
|
|
140
|
+
}, {
|
|
141
|
+
readonly indexed: false;
|
|
142
|
+
readonly internalType: "uint256";
|
|
143
|
+
readonly name: "bnbSend";
|
|
144
|
+
readonly type: "uint256";
|
|
145
|
+
}];
|
|
146
|
+
readonly name: "SwapAndSendFee";
|
|
147
|
+
readonly type: "event";
|
|
148
|
+
}, {
|
|
149
|
+
readonly anonymous: false;
|
|
150
|
+
readonly inputs: readonly [{
|
|
151
|
+
readonly indexed: false;
|
|
152
|
+
readonly internalType: "bool";
|
|
153
|
+
readonly name: "swapEnabled";
|
|
154
|
+
readonly type: "bool";
|
|
155
|
+
}];
|
|
156
|
+
readonly name: "ToggleSwapping";
|
|
157
|
+
readonly type: "event";
|
|
158
|
+
}, {
|
|
159
|
+
readonly anonymous: false;
|
|
160
|
+
readonly inputs: readonly [{
|
|
161
|
+
readonly indexed: false;
|
|
162
|
+
readonly internalType: "bool";
|
|
163
|
+
readonly name: "tradingEnabled";
|
|
164
|
+
readonly type: "bool";
|
|
165
|
+
}, {
|
|
166
|
+
readonly indexed: false;
|
|
167
|
+
readonly internalType: "uint256";
|
|
168
|
+
readonly name: "tradingEnabledTime";
|
|
169
|
+
readonly type: "uint256";
|
|
170
|
+
}];
|
|
171
|
+
readonly name: "TradingEnabled";
|
|
172
|
+
readonly type: "event";
|
|
173
|
+
}, {
|
|
174
|
+
readonly anonymous: false;
|
|
175
|
+
readonly inputs: readonly [{
|
|
176
|
+
readonly indexed: true;
|
|
177
|
+
readonly internalType: "address";
|
|
178
|
+
readonly name: "from";
|
|
179
|
+
readonly type: "address";
|
|
180
|
+
}, {
|
|
181
|
+
readonly indexed: true;
|
|
182
|
+
readonly internalType: "address";
|
|
183
|
+
readonly name: "to";
|
|
184
|
+
readonly type: "address";
|
|
185
|
+
}, {
|
|
186
|
+
readonly indexed: false;
|
|
187
|
+
readonly internalType: "uint256";
|
|
188
|
+
readonly name: "value";
|
|
189
|
+
readonly type: "uint256";
|
|
190
|
+
}];
|
|
191
|
+
readonly name: "Transfer";
|
|
192
|
+
readonly type: "event";
|
|
193
|
+
}, {
|
|
194
|
+
readonly inputs: readonly [{
|
|
195
|
+
readonly internalType: "address";
|
|
196
|
+
readonly name: "owner";
|
|
197
|
+
readonly type: "address";
|
|
198
|
+
}, {
|
|
199
|
+
readonly internalType: "address";
|
|
200
|
+
readonly name: "spender";
|
|
201
|
+
readonly type: "address";
|
|
202
|
+
}];
|
|
203
|
+
readonly name: "allowance";
|
|
204
|
+
readonly outputs: readonly [{
|
|
205
|
+
readonly internalType: "uint256";
|
|
206
|
+
readonly name: "";
|
|
207
|
+
readonly type: "uint256";
|
|
208
|
+
}];
|
|
209
|
+
readonly stateMutability: "view";
|
|
210
|
+
readonly type: "function";
|
|
211
|
+
}, {
|
|
212
|
+
readonly inputs: readonly [{
|
|
213
|
+
readonly internalType: "address";
|
|
214
|
+
readonly name: "spender";
|
|
215
|
+
readonly type: "address";
|
|
216
|
+
}, {
|
|
217
|
+
readonly internalType: "uint256";
|
|
218
|
+
readonly name: "amount";
|
|
219
|
+
readonly type: "uint256";
|
|
220
|
+
}];
|
|
221
|
+
readonly name: "approve";
|
|
222
|
+
readonly outputs: readonly [{
|
|
223
|
+
readonly internalType: "bool";
|
|
224
|
+
readonly name: "";
|
|
225
|
+
readonly type: "bool";
|
|
226
|
+
}];
|
|
227
|
+
readonly stateMutability: "nonpayable";
|
|
228
|
+
readonly type: "function";
|
|
229
|
+
}, {
|
|
230
|
+
readonly inputs: readonly [{
|
|
231
|
+
readonly internalType: "address";
|
|
232
|
+
readonly name: "account";
|
|
233
|
+
readonly type: "address";
|
|
234
|
+
}];
|
|
235
|
+
readonly name: "balanceOf";
|
|
236
|
+
readonly outputs: readonly [{
|
|
237
|
+
readonly internalType: "uint256";
|
|
238
|
+
readonly name: "";
|
|
239
|
+
readonly type: "uint256";
|
|
240
|
+
}];
|
|
241
|
+
readonly stateMutability: "view";
|
|
242
|
+
readonly type: "function";
|
|
243
|
+
}, {
|
|
244
|
+
readonly inputs: readonly [{
|
|
245
|
+
readonly internalType: "address";
|
|
246
|
+
readonly name: "_marketingFeeReceiver";
|
|
247
|
+
readonly type: "address";
|
|
248
|
+
}];
|
|
249
|
+
readonly name: "changeFeeReceiver";
|
|
250
|
+
readonly outputs: readonly [];
|
|
251
|
+
readonly stateMutability: "nonpayable";
|
|
252
|
+
readonly type: "function";
|
|
253
|
+
}, {
|
|
254
|
+
readonly inputs: readonly [{
|
|
255
|
+
readonly internalType: "address";
|
|
256
|
+
readonly name: "token";
|
|
257
|
+
readonly type: "address";
|
|
258
|
+
}];
|
|
259
|
+
readonly name: "claimStuckTokens";
|
|
260
|
+
readonly outputs: readonly [];
|
|
261
|
+
readonly stateMutability: "nonpayable";
|
|
262
|
+
readonly type: "function";
|
|
263
|
+
}, {
|
|
264
|
+
readonly inputs: readonly [];
|
|
265
|
+
readonly name: "decimals";
|
|
266
|
+
readonly outputs: readonly [{
|
|
267
|
+
readonly internalType: "uint8";
|
|
268
|
+
readonly name: "";
|
|
269
|
+
readonly type: "uint8";
|
|
270
|
+
}];
|
|
271
|
+
readonly stateMutability: "view";
|
|
272
|
+
readonly type: "function";
|
|
273
|
+
}, {
|
|
274
|
+
readonly inputs: readonly [{
|
|
275
|
+
readonly internalType: "address";
|
|
276
|
+
readonly name: "spender";
|
|
277
|
+
readonly type: "address";
|
|
278
|
+
}, {
|
|
279
|
+
readonly internalType: "uint256";
|
|
280
|
+
readonly name: "subtractedValue";
|
|
281
|
+
readonly type: "uint256";
|
|
282
|
+
}];
|
|
283
|
+
readonly name: "decreaseAllowance";
|
|
284
|
+
readonly outputs: readonly [{
|
|
285
|
+
readonly internalType: "bool";
|
|
286
|
+
readonly name: "";
|
|
287
|
+
readonly type: "bool";
|
|
288
|
+
}];
|
|
289
|
+
readonly stateMutability: "nonpayable";
|
|
290
|
+
readonly type: "function";
|
|
291
|
+
}, {
|
|
292
|
+
readonly inputs: readonly [];
|
|
293
|
+
readonly name: "enableTrading";
|
|
294
|
+
readonly outputs: readonly [];
|
|
295
|
+
readonly stateMutability: "nonpayable";
|
|
296
|
+
readonly type: "function";
|
|
297
|
+
}, {
|
|
298
|
+
readonly inputs: readonly [{
|
|
299
|
+
readonly internalType: "address";
|
|
300
|
+
readonly name: "account";
|
|
301
|
+
readonly type: "address";
|
|
302
|
+
}, {
|
|
303
|
+
readonly internalType: "bool";
|
|
304
|
+
readonly name: "excluded";
|
|
305
|
+
readonly type: "bool";
|
|
306
|
+
}];
|
|
307
|
+
readonly name: "excludeFromFees";
|
|
308
|
+
readonly outputs: readonly [];
|
|
309
|
+
readonly stateMutability: "nonpayable";
|
|
310
|
+
readonly type: "function";
|
|
311
|
+
}, {
|
|
312
|
+
readonly inputs: readonly [{
|
|
313
|
+
readonly internalType: "address";
|
|
314
|
+
readonly name: "spender";
|
|
315
|
+
readonly type: "address";
|
|
316
|
+
}, {
|
|
317
|
+
readonly internalType: "uint256";
|
|
318
|
+
readonly name: "addedValue";
|
|
319
|
+
readonly type: "uint256";
|
|
320
|
+
}];
|
|
321
|
+
readonly name: "increaseAllowance";
|
|
322
|
+
readonly outputs: readonly [{
|
|
323
|
+
readonly internalType: "bool";
|
|
324
|
+
readonly name: "";
|
|
325
|
+
readonly type: "bool";
|
|
326
|
+
}];
|
|
327
|
+
readonly stateMutability: "nonpayable";
|
|
328
|
+
readonly type: "function";
|
|
329
|
+
}, {
|
|
330
|
+
readonly inputs: readonly [{
|
|
331
|
+
readonly internalType: "address";
|
|
332
|
+
readonly name: "account";
|
|
333
|
+
readonly type: "address";
|
|
334
|
+
}];
|
|
335
|
+
readonly name: "isExcludedFromFees";
|
|
336
|
+
readonly outputs: readonly [{
|
|
337
|
+
readonly internalType: "bool";
|
|
338
|
+
readonly name: "";
|
|
339
|
+
readonly type: "bool";
|
|
340
|
+
}];
|
|
341
|
+
readonly stateMutability: "view";
|
|
342
|
+
readonly type: "function";
|
|
343
|
+
}, {
|
|
344
|
+
readonly inputs: readonly [{
|
|
345
|
+
readonly internalType: "uint256";
|
|
346
|
+
readonly name: "_newFee";
|
|
347
|
+
readonly type: "uint256";
|
|
348
|
+
}];
|
|
349
|
+
readonly name: "lowerFees";
|
|
350
|
+
readonly outputs: readonly [];
|
|
351
|
+
readonly stateMutability: "nonpayable";
|
|
352
|
+
readonly type: "function";
|
|
353
|
+
}, {
|
|
354
|
+
readonly inputs: readonly [];
|
|
355
|
+
readonly name: "marketingFee";
|
|
356
|
+
readonly outputs: readonly [{
|
|
357
|
+
readonly internalType: "uint256";
|
|
358
|
+
readonly name: "";
|
|
359
|
+
readonly type: "uint256";
|
|
360
|
+
}];
|
|
361
|
+
readonly stateMutability: "view";
|
|
362
|
+
readonly type: "function";
|
|
363
|
+
}, {
|
|
364
|
+
readonly inputs: readonly [];
|
|
365
|
+
readonly name: "marketingFeeReceiver";
|
|
366
|
+
readonly outputs: readonly [{
|
|
367
|
+
readonly internalType: "address";
|
|
368
|
+
readonly name: "";
|
|
369
|
+
readonly type: "address";
|
|
370
|
+
}];
|
|
371
|
+
readonly stateMutability: "view";
|
|
372
|
+
readonly type: "function";
|
|
373
|
+
}, {
|
|
374
|
+
readonly inputs: readonly [];
|
|
375
|
+
readonly name: "maxSwapThreshold";
|
|
376
|
+
readonly outputs: readonly [{
|
|
377
|
+
readonly internalType: "uint256";
|
|
378
|
+
readonly name: "";
|
|
379
|
+
readonly type: "uint256";
|
|
380
|
+
}];
|
|
381
|
+
readonly stateMutability: "view";
|
|
382
|
+
readonly type: "function";
|
|
383
|
+
}, {
|
|
384
|
+
readonly inputs: readonly [];
|
|
385
|
+
readonly name: "maxWalletSize";
|
|
386
|
+
readonly outputs: readonly [{
|
|
387
|
+
readonly internalType: "uint256";
|
|
388
|
+
readonly name: "";
|
|
389
|
+
readonly type: "uint256";
|
|
390
|
+
}];
|
|
391
|
+
readonly stateMutability: "view";
|
|
392
|
+
readonly type: "function";
|
|
393
|
+
}, {
|
|
394
|
+
readonly inputs: readonly [];
|
|
395
|
+
readonly name: "name";
|
|
396
|
+
readonly outputs: readonly [{
|
|
397
|
+
readonly internalType: "string";
|
|
398
|
+
readonly name: "";
|
|
399
|
+
readonly type: "string";
|
|
400
|
+
}];
|
|
401
|
+
readonly stateMutability: "view";
|
|
402
|
+
readonly type: "function";
|
|
403
|
+
}, {
|
|
404
|
+
readonly inputs: readonly [];
|
|
405
|
+
readonly name: "owner";
|
|
406
|
+
readonly outputs: readonly [{
|
|
407
|
+
readonly internalType: "address";
|
|
408
|
+
readonly name: "";
|
|
409
|
+
readonly type: "address";
|
|
410
|
+
}];
|
|
411
|
+
readonly stateMutability: "view";
|
|
412
|
+
readonly type: "function";
|
|
413
|
+
}, {
|
|
414
|
+
readonly inputs: readonly [{
|
|
415
|
+
readonly internalType: "uint256";
|
|
416
|
+
readonly name: "_newLimit";
|
|
417
|
+
readonly type: "uint256";
|
|
418
|
+
}];
|
|
419
|
+
readonly name: "raiseMaxLimit";
|
|
420
|
+
readonly outputs: readonly [];
|
|
421
|
+
readonly stateMutability: "nonpayable";
|
|
422
|
+
readonly type: "function";
|
|
423
|
+
}, {
|
|
424
|
+
readonly inputs: readonly [];
|
|
425
|
+
readonly name: "renounceOwnership";
|
|
426
|
+
readonly outputs: readonly [];
|
|
427
|
+
readonly stateMutability: "nonpayable";
|
|
428
|
+
readonly type: "function";
|
|
429
|
+
}, {
|
|
430
|
+
readonly inputs: readonly [];
|
|
431
|
+
readonly name: "sellFees";
|
|
432
|
+
readonly outputs: readonly [];
|
|
433
|
+
readonly stateMutability: "nonpayable";
|
|
434
|
+
readonly type: "function";
|
|
435
|
+
}, {
|
|
436
|
+
readonly inputs: readonly [{
|
|
437
|
+
readonly internalType: "uint256";
|
|
438
|
+
readonly name: "_newThreshold";
|
|
439
|
+
readonly type: "uint256";
|
|
440
|
+
}];
|
|
441
|
+
readonly name: "setSwapThreshold";
|
|
442
|
+
readonly outputs: readonly [];
|
|
443
|
+
readonly stateMutability: "nonpayable";
|
|
444
|
+
readonly type: "function";
|
|
445
|
+
}, {
|
|
446
|
+
readonly inputs: readonly [];
|
|
447
|
+
readonly name: "swapEnabled";
|
|
448
|
+
readonly outputs: readonly [{
|
|
449
|
+
readonly internalType: "bool";
|
|
450
|
+
readonly name: "";
|
|
451
|
+
readonly type: "bool";
|
|
452
|
+
}];
|
|
453
|
+
readonly stateMutability: "view";
|
|
454
|
+
readonly type: "function";
|
|
455
|
+
}, {
|
|
456
|
+
readonly inputs: readonly [];
|
|
457
|
+
readonly name: "symbol";
|
|
458
|
+
readonly outputs: readonly [{
|
|
459
|
+
readonly internalType: "string";
|
|
460
|
+
readonly name: "";
|
|
461
|
+
readonly type: "string";
|
|
462
|
+
}];
|
|
463
|
+
readonly stateMutability: "view";
|
|
464
|
+
readonly type: "function";
|
|
465
|
+
}, {
|
|
466
|
+
readonly inputs: readonly [{
|
|
467
|
+
readonly internalType: "bool";
|
|
468
|
+
readonly name: "_swapEnabled";
|
|
469
|
+
readonly type: "bool";
|
|
470
|
+
}];
|
|
471
|
+
readonly name: "toggleSwapping";
|
|
472
|
+
readonly outputs: readonly [];
|
|
473
|
+
readonly stateMutability: "nonpayable";
|
|
474
|
+
readonly type: "function";
|
|
475
|
+
}, {
|
|
476
|
+
readonly inputs: readonly [];
|
|
477
|
+
readonly name: "totalSupply";
|
|
478
|
+
readonly outputs: readonly [{
|
|
479
|
+
readonly internalType: "uint256";
|
|
480
|
+
readonly name: "";
|
|
481
|
+
readonly type: "uint256";
|
|
482
|
+
}];
|
|
483
|
+
readonly stateMutability: "view";
|
|
484
|
+
readonly type: "function";
|
|
485
|
+
}, {
|
|
486
|
+
readonly inputs: readonly [];
|
|
487
|
+
readonly name: "tradingEnabled";
|
|
488
|
+
readonly outputs: readonly [{
|
|
489
|
+
readonly internalType: "bool";
|
|
490
|
+
readonly name: "";
|
|
491
|
+
readonly type: "bool";
|
|
492
|
+
}];
|
|
493
|
+
readonly stateMutability: "view";
|
|
494
|
+
readonly type: "function";
|
|
495
|
+
}, {
|
|
496
|
+
readonly inputs: readonly [];
|
|
497
|
+
readonly name: "tradingEnabledTime";
|
|
498
|
+
readonly outputs: readonly [{
|
|
499
|
+
readonly internalType: "uint256";
|
|
500
|
+
readonly name: "";
|
|
501
|
+
readonly type: "uint256";
|
|
502
|
+
}];
|
|
503
|
+
readonly stateMutability: "view";
|
|
504
|
+
readonly type: "function";
|
|
505
|
+
}, {
|
|
506
|
+
readonly inputs: readonly [{
|
|
507
|
+
readonly internalType: "address";
|
|
508
|
+
readonly name: "recipient";
|
|
509
|
+
readonly type: "address";
|
|
510
|
+
}, {
|
|
511
|
+
readonly internalType: "uint256";
|
|
512
|
+
readonly name: "amount";
|
|
513
|
+
readonly type: "uint256";
|
|
514
|
+
}];
|
|
515
|
+
readonly name: "transfer";
|
|
516
|
+
readonly outputs: readonly [{
|
|
517
|
+
readonly internalType: "bool";
|
|
518
|
+
readonly name: "";
|
|
519
|
+
readonly type: "bool";
|
|
520
|
+
}];
|
|
521
|
+
readonly stateMutability: "nonpayable";
|
|
522
|
+
readonly type: "function";
|
|
523
|
+
}, {
|
|
524
|
+
readonly inputs: readonly [{
|
|
525
|
+
readonly internalType: "address";
|
|
526
|
+
readonly name: "sender";
|
|
527
|
+
readonly type: "address";
|
|
528
|
+
}, {
|
|
529
|
+
readonly internalType: "address";
|
|
530
|
+
readonly name: "recipient";
|
|
531
|
+
readonly type: "address";
|
|
532
|
+
}, {
|
|
533
|
+
readonly internalType: "uint256";
|
|
534
|
+
readonly name: "amount";
|
|
535
|
+
readonly type: "uint256";
|
|
536
|
+
}];
|
|
537
|
+
readonly name: "transferFrom";
|
|
538
|
+
readonly outputs: readonly [{
|
|
539
|
+
readonly internalType: "bool";
|
|
540
|
+
readonly name: "";
|
|
541
|
+
readonly type: "bool";
|
|
542
|
+
}];
|
|
543
|
+
readonly stateMutability: "nonpayable";
|
|
544
|
+
readonly type: "function";
|
|
545
|
+
}, {
|
|
546
|
+
readonly inputs: readonly [{
|
|
547
|
+
readonly internalType: "address";
|
|
548
|
+
readonly name: "newOwner";
|
|
549
|
+
readonly type: "address";
|
|
550
|
+
}];
|
|
551
|
+
readonly name: "transferOwnership";
|
|
552
|
+
readonly outputs: readonly [];
|
|
553
|
+
readonly stateMutability: "nonpayable";
|
|
554
|
+
readonly type: "function";
|
|
555
|
+
}, {
|
|
556
|
+
readonly inputs: readonly [];
|
|
557
|
+
readonly name: "uniswapV2Pair";
|
|
558
|
+
readonly outputs: readonly [{
|
|
559
|
+
readonly internalType: "address";
|
|
560
|
+
readonly name: "";
|
|
561
|
+
readonly type: "address";
|
|
562
|
+
}];
|
|
563
|
+
readonly stateMutability: "view";
|
|
564
|
+
readonly type: "function";
|
|
565
|
+
}, {
|
|
566
|
+
readonly inputs: readonly [];
|
|
567
|
+
readonly name: "uniswapV2Router";
|
|
568
|
+
readonly outputs: readonly [{
|
|
569
|
+
readonly internalType: "contract IUniswapV2Router02";
|
|
570
|
+
readonly name: "";
|
|
571
|
+
readonly type: "address";
|
|
572
|
+
}];
|
|
573
|
+
readonly stateMutability: "view";
|
|
574
|
+
readonly type: "function";
|
|
575
|
+
}, {
|
|
576
|
+
readonly stateMutability: "payable";
|
|
577
|
+
readonly type: "receive";
|
|
578
|
+
}];
|
|
579
|
+
/**
|
|
580
|
+
* Type-safe ABI for Pulse3D_json
|
|
581
|
+
*/
|
|
582
|
+
export type Pulse3D_jsonAbi = typeof Pulse3D_jsonAbi;
|
|
583
|
+
/**
|
|
584
|
+
* Contract instance type for Pulse3D_json
|
|
585
|
+
*/
|
|
586
|
+
export type Pulse3D_jsonContract = any;
|
|
587
|
+
/**
|
|
588
|
+
* Pulse3D_json Contract Class
|
|
589
|
+
*
|
|
590
|
+
* Provides a class-based API similar to TypeChain for interacting with the contract.
|
|
591
|
+
*
|
|
592
|
+
* @example
|
|
593
|
+
* ```typescript
|
|
594
|
+
* import { createPublicClient, createWalletClient, http } from 'viem';
|
|
595
|
+
* import { mainnet } from 'viem/chains';
|
|
596
|
+
* import { Pulse3D_json } from 'Pulse3D_json';
|
|
597
|
+
*
|
|
598
|
+
* const publicClient = createPublicClient({ chain: mainnet, transport: http() });
|
|
599
|
+
* const walletClient = createWalletClient({ chain: mainnet, transport: http() });
|
|
600
|
+
*
|
|
601
|
+
* const contract = new Pulse3D_json('0x...', { publicClient, walletClient });
|
|
602
|
+
*
|
|
603
|
+
* // Read functions
|
|
604
|
+
* const result = await contract.balanceOf('0x...');
|
|
605
|
+
*
|
|
606
|
+
* // Write functions
|
|
607
|
+
* const hash = await contract.transfer('0x...', 1000n);
|
|
608
|
+
*
|
|
609
|
+
* // Simulate transactions (dry-run)
|
|
610
|
+
* const simulation = await contract.simulate.transfer('0x...', 1000n);
|
|
611
|
+
* console.log('Gas estimate:', simulation.request.gas);
|
|
612
|
+
*
|
|
613
|
+
* // Watch events
|
|
614
|
+
* const unwatch = contract.watch.Transfer((event) => {
|
|
615
|
+
* console.log('Transfer event:', event);
|
|
616
|
+
* });
|
|
617
|
+
* ```
|
|
618
|
+
*/
|
|
619
|
+
export declare class Pulse3D_json {
|
|
620
|
+
private contract;
|
|
621
|
+
private contractAddress;
|
|
622
|
+
private publicClient;
|
|
623
|
+
constructor(address: Address, clients: {
|
|
624
|
+
publicClient: PublicClient;
|
|
625
|
+
walletClient?: WalletClient;
|
|
626
|
+
});
|
|
627
|
+
/**
|
|
628
|
+
* Get the contract address
|
|
629
|
+
*/
|
|
630
|
+
get address(): Address;
|
|
631
|
+
/**
|
|
632
|
+
* Get the underlying viem contract instance
|
|
633
|
+
*/
|
|
634
|
+
getContract(): Pulse3D_jsonContract;
|
|
635
|
+
/**
|
|
636
|
+
* allowance
|
|
637
|
+
* view
|
|
638
|
+
*/
|
|
639
|
+
allowance(owner: `0x${string}`, spender: `0x${string}`): Promise<bigint>;
|
|
640
|
+
/**
|
|
641
|
+
* balanceOf
|
|
642
|
+
* view
|
|
643
|
+
*/
|
|
644
|
+
balanceOf(account: `0x${string}`): Promise<bigint>;
|
|
645
|
+
/**
|
|
646
|
+
* decimals
|
|
647
|
+
* view
|
|
648
|
+
*/
|
|
649
|
+
decimals(): Promise<bigint>;
|
|
650
|
+
/**
|
|
651
|
+
* isExcludedFromFees
|
|
652
|
+
* view
|
|
653
|
+
*/
|
|
654
|
+
isExcludedFromFees(account: `0x${string}`): Promise<boolean>;
|
|
655
|
+
/**
|
|
656
|
+
* marketingFee
|
|
657
|
+
* view
|
|
658
|
+
*/
|
|
659
|
+
marketingFee(): Promise<bigint>;
|
|
660
|
+
/**
|
|
661
|
+
* marketingFeeReceiver
|
|
662
|
+
* view
|
|
663
|
+
*/
|
|
664
|
+
marketingFeeReceiver(): Promise<`0x${string}`>;
|
|
665
|
+
/**
|
|
666
|
+
* maxSwapThreshold
|
|
667
|
+
* view
|
|
668
|
+
*/
|
|
669
|
+
maxSwapThreshold(): Promise<bigint>;
|
|
670
|
+
/**
|
|
671
|
+
* maxWalletSize
|
|
672
|
+
* view
|
|
673
|
+
*/
|
|
674
|
+
maxWalletSize(): Promise<bigint>;
|
|
675
|
+
/**
|
|
676
|
+
* name
|
|
677
|
+
* view
|
|
678
|
+
*/
|
|
679
|
+
name(): Promise<string>;
|
|
680
|
+
/**
|
|
681
|
+
* owner
|
|
682
|
+
* view
|
|
683
|
+
*/
|
|
684
|
+
owner(): Promise<`0x${string}`>;
|
|
685
|
+
/**
|
|
686
|
+
* swapEnabled
|
|
687
|
+
* view
|
|
688
|
+
*/
|
|
689
|
+
swapEnabled(): Promise<boolean>;
|
|
690
|
+
/**
|
|
691
|
+
* symbol
|
|
692
|
+
* view
|
|
693
|
+
*/
|
|
694
|
+
symbol(): Promise<string>;
|
|
695
|
+
/**
|
|
696
|
+
* totalSupply
|
|
697
|
+
* view
|
|
698
|
+
*/
|
|
699
|
+
totalSupply(): Promise<bigint>;
|
|
700
|
+
/**
|
|
701
|
+
* tradingEnabled
|
|
702
|
+
* view
|
|
703
|
+
*/
|
|
704
|
+
tradingEnabled(): Promise<boolean>;
|
|
705
|
+
/**
|
|
706
|
+
* tradingEnabledTime
|
|
707
|
+
* view
|
|
708
|
+
*/
|
|
709
|
+
tradingEnabledTime(): Promise<bigint>;
|
|
710
|
+
/**
|
|
711
|
+
* uniswapV2Pair
|
|
712
|
+
* view
|
|
713
|
+
*/
|
|
714
|
+
uniswapV2Pair(): Promise<`0x${string}`>;
|
|
715
|
+
/**
|
|
716
|
+
* uniswapV2Router
|
|
717
|
+
* view
|
|
718
|
+
*/
|
|
719
|
+
uniswapV2Router(): Promise<`0x${string}`>;
|
|
720
|
+
/**
|
|
721
|
+
* approve
|
|
722
|
+
* nonpayable
|
|
723
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
724
|
+
*/
|
|
725
|
+
approve(spender: `0x${string}`, amount: bigint, options?: {
|
|
726
|
+
accessList?: import('viem').AccessList;
|
|
727
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
728
|
+
chain?: import('viem').Chain | null;
|
|
729
|
+
dataSuffix?: `0x${string}`;
|
|
730
|
+
gas?: bigint;
|
|
731
|
+
gasPrice?: bigint;
|
|
732
|
+
maxFeePerGas?: bigint;
|
|
733
|
+
maxPriorityFeePerGas?: bigint;
|
|
734
|
+
nonce?: number;
|
|
735
|
+
value?: bigint;
|
|
736
|
+
}): Promise<`0x${string}`>;
|
|
737
|
+
/**
|
|
738
|
+
* changeFeeReceiver
|
|
739
|
+
* nonpayable
|
|
740
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
741
|
+
*/
|
|
742
|
+
changeFeeReceiver(_marketingFeeReceiver: `0x${string}`, options?: {
|
|
743
|
+
accessList?: import('viem').AccessList;
|
|
744
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
745
|
+
chain?: import('viem').Chain | null;
|
|
746
|
+
dataSuffix?: `0x${string}`;
|
|
747
|
+
gas?: bigint;
|
|
748
|
+
gasPrice?: bigint;
|
|
749
|
+
maxFeePerGas?: bigint;
|
|
750
|
+
maxPriorityFeePerGas?: bigint;
|
|
751
|
+
nonce?: number;
|
|
752
|
+
value?: bigint;
|
|
753
|
+
}): Promise<`0x${string}`>;
|
|
754
|
+
/**
|
|
755
|
+
* claimStuckTokens
|
|
756
|
+
* nonpayable
|
|
757
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
758
|
+
*/
|
|
759
|
+
claimStuckTokens(token: `0x${string}`, options?: {
|
|
760
|
+
accessList?: import('viem').AccessList;
|
|
761
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
762
|
+
chain?: import('viem').Chain | null;
|
|
763
|
+
dataSuffix?: `0x${string}`;
|
|
764
|
+
gas?: bigint;
|
|
765
|
+
gasPrice?: bigint;
|
|
766
|
+
maxFeePerGas?: bigint;
|
|
767
|
+
maxPriorityFeePerGas?: bigint;
|
|
768
|
+
nonce?: number;
|
|
769
|
+
value?: bigint;
|
|
770
|
+
}): Promise<`0x${string}`>;
|
|
771
|
+
/**
|
|
772
|
+
* decreaseAllowance
|
|
773
|
+
* nonpayable
|
|
774
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
775
|
+
*/
|
|
776
|
+
decreaseAllowance(spender: `0x${string}`, subtractedValue: bigint, options?: {
|
|
777
|
+
accessList?: import('viem').AccessList;
|
|
778
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
779
|
+
chain?: import('viem').Chain | null;
|
|
780
|
+
dataSuffix?: `0x${string}`;
|
|
781
|
+
gas?: bigint;
|
|
782
|
+
gasPrice?: bigint;
|
|
783
|
+
maxFeePerGas?: bigint;
|
|
784
|
+
maxPriorityFeePerGas?: bigint;
|
|
785
|
+
nonce?: number;
|
|
786
|
+
value?: bigint;
|
|
787
|
+
}): Promise<`0x${string}`>;
|
|
788
|
+
/**
|
|
789
|
+
* enableTrading
|
|
790
|
+
* nonpayable
|
|
791
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
792
|
+
*/
|
|
793
|
+
enableTrading(options?: {
|
|
794
|
+
accessList?: import('viem').AccessList;
|
|
795
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
796
|
+
chain?: import('viem').Chain | null;
|
|
797
|
+
dataSuffix?: `0x${string}`;
|
|
798
|
+
gas?: bigint;
|
|
799
|
+
gasPrice?: bigint;
|
|
800
|
+
maxFeePerGas?: bigint;
|
|
801
|
+
maxPriorityFeePerGas?: bigint;
|
|
802
|
+
nonce?: number;
|
|
803
|
+
value?: bigint;
|
|
804
|
+
}): Promise<`0x${string}`>;
|
|
805
|
+
/**
|
|
806
|
+
* excludeFromFees
|
|
807
|
+
* nonpayable
|
|
808
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
809
|
+
*/
|
|
810
|
+
excludeFromFees(account: `0x${string}`, excluded: boolean, options?: {
|
|
811
|
+
accessList?: import('viem').AccessList;
|
|
812
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
813
|
+
chain?: import('viem').Chain | null;
|
|
814
|
+
dataSuffix?: `0x${string}`;
|
|
815
|
+
gas?: bigint;
|
|
816
|
+
gasPrice?: bigint;
|
|
817
|
+
maxFeePerGas?: bigint;
|
|
818
|
+
maxPriorityFeePerGas?: bigint;
|
|
819
|
+
nonce?: number;
|
|
820
|
+
value?: bigint;
|
|
821
|
+
}): Promise<`0x${string}`>;
|
|
822
|
+
/**
|
|
823
|
+
* increaseAllowance
|
|
824
|
+
* nonpayable
|
|
825
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
826
|
+
*/
|
|
827
|
+
increaseAllowance(spender: `0x${string}`, addedValue: bigint, options?: {
|
|
828
|
+
accessList?: import('viem').AccessList;
|
|
829
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
830
|
+
chain?: import('viem').Chain | null;
|
|
831
|
+
dataSuffix?: `0x${string}`;
|
|
832
|
+
gas?: bigint;
|
|
833
|
+
gasPrice?: bigint;
|
|
834
|
+
maxFeePerGas?: bigint;
|
|
835
|
+
maxPriorityFeePerGas?: bigint;
|
|
836
|
+
nonce?: number;
|
|
837
|
+
value?: bigint;
|
|
838
|
+
}): Promise<`0x${string}`>;
|
|
839
|
+
/**
|
|
840
|
+
* lowerFees
|
|
841
|
+
* nonpayable
|
|
842
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
843
|
+
*/
|
|
844
|
+
lowerFees(_newFee: bigint, options?: {
|
|
845
|
+
accessList?: import('viem').AccessList;
|
|
846
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
847
|
+
chain?: import('viem').Chain | null;
|
|
848
|
+
dataSuffix?: `0x${string}`;
|
|
849
|
+
gas?: bigint;
|
|
850
|
+
gasPrice?: bigint;
|
|
851
|
+
maxFeePerGas?: bigint;
|
|
852
|
+
maxPriorityFeePerGas?: bigint;
|
|
853
|
+
nonce?: number;
|
|
854
|
+
value?: bigint;
|
|
855
|
+
}): Promise<`0x${string}`>;
|
|
856
|
+
/**
|
|
857
|
+
* raiseMaxLimit
|
|
858
|
+
* nonpayable
|
|
859
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
860
|
+
*/
|
|
861
|
+
raiseMaxLimit(_newLimit: bigint, options?: {
|
|
862
|
+
accessList?: import('viem').AccessList;
|
|
863
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
864
|
+
chain?: import('viem').Chain | null;
|
|
865
|
+
dataSuffix?: `0x${string}`;
|
|
866
|
+
gas?: bigint;
|
|
867
|
+
gasPrice?: bigint;
|
|
868
|
+
maxFeePerGas?: bigint;
|
|
869
|
+
maxPriorityFeePerGas?: bigint;
|
|
870
|
+
nonce?: number;
|
|
871
|
+
value?: bigint;
|
|
872
|
+
}): Promise<`0x${string}`>;
|
|
873
|
+
/**
|
|
874
|
+
* renounceOwnership
|
|
875
|
+
* nonpayable
|
|
876
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
877
|
+
*/
|
|
878
|
+
renounceOwnership(options?: {
|
|
879
|
+
accessList?: import('viem').AccessList;
|
|
880
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
881
|
+
chain?: import('viem').Chain | null;
|
|
882
|
+
dataSuffix?: `0x${string}`;
|
|
883
|
+
gas?: bigint;
|
|
884
|
+
gasPrice?: bigint;
|
|
885
|
+
maxFeePerGas?: bigint;
|
|
886
|
+
maxPriorityFeePerGas?: bigint;
|
|
887
|
+
nonce?: number;
|
|
888
|
+
value?: bigint;
|
|
889
|
+
}): Promise<`0x${string}`>;
|
|
890
|
+
/**
|
|
891
|
+
* sellFees
|
|
892
|
+
* nonpayable
|
|
893
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
894
|
+
*/
|
|
895
|
+
sellFees(options?: {
|
|
896
|
+
accessList?: import('viem').AccessList;
|
|
897
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
898
|
+
chain?: import('viem').Chain | null;
|
|
899
|
+
dataSuffix?: `0x${string}`;
|
|
900
|
+
gas?: bigint;
|
|
901
|
+
gasPrice?: bigint;
|
|
902
|
+
maxFeePerGas?: bigint;
|
|
903
|
+
maxPriorityFeePerGas?: bigint;
|
|
904
|
+
nonce?: number;
|
|
905
|
+
value?: bigint;
|
|
906
|
+
}): Promise<`0x${string}`>;
|
|
907
|
+
/**
|
|
908
|
+
* setSwapThreshold
|
|
909
|
+
* nonpayable
|
|
910
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
911
|
+
*/
|
|
912
|
+
setSwapThreshold(_newThreshold: bigint, options?: {
|
|
913
|
+
accessList?: import('viem').AccessList;
|
|
914
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
915
|
+
chain?: import('viem').Chain | null;
|
|
916
|
+
dataSuffix?: `0x${string}`;
|
|
917
|
+
gas?: bigint;
|
|
918
|
+
gasPrice?: bigint;
|
|
919
|
+
maxFeePerGas?: bigint;
|
|
920
|
+
maxPriorityFeePerGas?: bigint;
|
|
921
|
+
nonce?: number;
|
|
922
|
+
value?: bigint;
|
|
923
|
+
}): Promise<`0x${string}`>;
|
|
924
|
+
/**
|
|
925
|
+
* toggleSwapping
|
|
926
|
+
* nonpayable
|
|
927
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
928
|
+
*/
|
|
929
|
+
toggleSwapping(_swapEnabled: boolean, options?: {
|
|
930
|
+
accessList?: import('viem').AccessList;
|
|
931
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
932
|
+
chain?: import('viem').Chain | null;
|
|
933
|
+
dataSuffix?: `0x${string}`;
|
|
934
|
+
gas?: bigint;
|
|
935
|
+
gasPrice?: bigint;
|
|
936
|
+
maxFeePerGas?: bigint;
|
|
937
|
+
maxPriorityFeePerGas?: bigint;
|
|
938
|
+
nonce?: number;
|
|
939
|
+
value?: bigint;
|
|
940
|
+
}): Promise<`0x${string}`>;
|
|
941
|
+
/**
|
|
942
|
+
* transfer
|
|
943
|
+
* nonpayable
|
|
944
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
945
|
+
*/
|
|
946
|
+
transfer(recipient: `0x${string}`, amount: bigint, options?: {
|
|
947
|
+
accessList?: import('viem').AccessList;
|
|
948
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
949
|
+
chain?: import('viem').Chain | null;
|
|
950
|
+
dataSuffix?: `0x${string}`;
|
|
951
|
+
gas?: bigint;
|
|
952
|
+
gasPrice?: bigint;
|
|
953
|
+
maxFeePerGas?: bigint;
|
|
954
|
+
maxPriorityFeePerGas?: bigint;
|
|
955
|
+
nonce?: number;
|
|
956
|
+
value?: bigint;
|
|
957
|
+
}): Promise<`0x${string}`>;
|
|
958
|
+
/**
|
|
959
|
+
* transferFrom
|
|
960
|
+
* nonpayable
|
|
961
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
962
|
+
*/
|
|
963
|
+
transferFrom(sender: `0x${string}`, recipient: `0x${string}`, amount: bigint, options?: {
|
|
964
|
+
accessList?: import('viem').AccessList;
|
|
965
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
966
|
+
chain?: import('viem').Chain | null;
|
|
967
|
+
dataSuffix?: `0x${string}`;
|
|
968
|
+
gas?: bigint;
|
|
969
|
+
gasPrice?: bigint;
|
|
970
|
+
maxFeePerGas?: bigint;
|
|
971
|
+
maxPriorityFeePerGas?: bigint;
|
|
972
|
+
nonce?: number;
|
|
973
|
+
value?: bigint;
|
|
974
|
+
}): Promise<`0x${string}`>;
|
|
975
|
+
/**
|
|
976
|
+
* transferOwnership
|
|
977
|
+
* nonpayable
|
|
978
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
979
|
+
*/
|
|
980
|
+
transferOwnership(newOwner: `0x${string}`, options?: {
|
|
981
|
+
accessList?: import('viem').AccessList;
|
|
982
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
983
|
+
chain?: import('viem').Chain | null;
|
|
984
|
+
dataSuffix?: `0x${string}`;
|
|
985
|
+
gas?: bigint;
|
|
986
|
+
gasPrice?: bigint;
|
|
987
|
+
maxFeePerGas?: bigint;
|
|
988
|
+
maxPriorityFeePerGas?: bigint;
|
|
989
|
+
nonce?: number;
|
|
990
|
+
value?: bigint;
|
|
991
|
+
}): Promise<`0x${string}`>;
|
|
992
|
+
/**
|
|
993
|
+
* Simulate contract write operations (dry-run without sending transaction)
|
|
994
|
+
*
|
|
995
|
+
* @example
|
|
996
|
+
* const result = await contract.simulate.transfer('0x...', 1000n);
|
|
997
|
+
* console.log('Gas estimate:', result.request.gas);
|
|
998
|
+
* console.log('Would succeed:', result.result);
|
|
999
|
+
*/
|
|
1000
|
+
get simulate(): {
|
|
1001
|
+
/**
|
|
1002
|
+
* Simulate approve
|
|
1003
|
+
* Returns gas estimate and result without sending transaction
|
|
1004
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1005
|
+
*/
|
|
1006
|
+
approve(spender: `0x${string}`, amount: bigint, options?: {
|
|
1007
|
+
accessList?: import("viem").AccessList;
|
|
1008
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1009
|
+
chain?: import("viem").Chain | null;
|
|
1010
|
+
dataSuffix?: `0x${string}`;
|
|
1011
|
+
gas?: bigint;
|
|
1012
|
+
gasPrice?: bigint;
|
|
1013
|
+
maxFeePerGas?: bigint;
|
|
1014
|
+
maxPriorityFeePerGas?: bigint;
|
|
1015
|
+
nonce?: number;
|
|
1016
|
+
value?: bigint;
|
|
1017
|
+
}): Promise<boolean>;
|
|
1018
|
+
/**
|
|
1019
|
+
* Simulate changeFeeReceiver
|
|
1020
|
+
* Returns gas estimate and result without sending transaction
|
|
1021
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1022
|
+
*/
|
|
1023
|
+
changeFeeReceiver(_marketingFeeReceiver: `0x${string}`, options?: {
|
|
1024
|
+
accessList?: import("viem").AccessList;
|
|
1025
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1026
|
+
chain?: import("viem").Chain | null;
|
|
1027
|
+
dataSuffix?: `0x${string}`;
|
|
1028
|
+
gas?: bigint;
|
|
1029
|
+
gasPrice?: bigint;
|
|
1030
|
+
maxFeePerGas?: bigint;
|
|
1031
|
+
maxPriorityFeePerGas?: bigint;
|
|
1032
|
+
nonce?: number;
|
|
1033
|
+
value?: bigint;
|
|
1034
|
+
}): Promise<void>;
|
|
1035
|
+
/**
|
|
1036
|
+
* Simulate claimStuckTokens
|
|
1037
|
+
* Returns gas estimate and result without sending transaction
|
|
1038
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1039
|
+
*/
|
|
1040
|
+
claimStuckTokens(token: `0x${string}`, options?: {
|
|
1041
|
+
accessList?: import("viem").AccessList;
|
|
1042
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1043
|
+
chain?: import("viem").Chain | null;
|
|
1044
|
+
dataSuffix?: `0x${string}`;
|
|
1045
|
+
gas?: bigint;
|
|
1046
|
+
gasPrice?: bigint;
|
|
1047
|
+
maxFeePerGas?: bigint;
|
|
1048
|
+
maxPriorityFeePerGas?: bigint;
|
|
1049
|
+
nonce?: number;
|
|
1050
|
+
value?: bigint;
|
|
1051
|
+
}): Promise<void>;
|
|
1052
|
+
/**
|
|
1053
|
+
* Simulate decreaseAllowance
|
|
1054
|
+
* Returns gas estimate and result without sending transaction
|
|
1055
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1056
|
+
*/
|
|
1057
|
+
decreaseAllowance(spender: `0x${string}`, subtractedValue: bigint, options?: {
|
|
1058
|
+
accessList?: import("viem").AccessList;
|
|
1059
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1060
|
+
chain?: import("viem").Chain | null;
|
|
1061
|
+
dataSuffix?: `0x${string}`;
|
|
1062
|
+
gas?: bigint;
|
|
1063
|
+
gasPrice?: bigint;
|
|
1064
|
+
maxFeePerGas?: bigint;
|
|
1065
|
+
maxPriorityFeePerGas?: bigint;
|
|
1066
|
+
nonce?: number;
|
|
1067
|
+
value?: bigint;
|
|
1068
|
+
}): Promise<boolean>;
|
|
1069
|
+
/**
|
|
1070
|
+
* Simulate enableTrading
|
|
1071
|
+
* Returns gas estimate and result without sending transaction
|
|
1072
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1073
|
+
*/
|
|
1074
|
+
enableTrading(options?: {
|
|
1075
|
+
accessList?: import("viem").AccessList;
|
|
1076
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1077
|
+
chain?: import("viem").Chain | null;
|
|
1078
|
+
dataSuffix?: `0x${string}`;
|
|
1079
|
+
gas?: bigint;
|
|
1080
|
+
gasPrice?: bigint;
|
|
1081
|
+
maxFeePerGas?: bigint;
|
|
1082
|
+
maxPriorityFeePerGas?: bigint;
|
|
1083
|
+
nonce?: number;
|
|
1084
|
+
value?: bigint;
|
|
1085
|
+
}): Promise<void>;
|
|
1086
|
+
/**
|
|
1087
|
+
* Simulate excludeFromFees
|
|
1088
|
+
* Returns gas estimate and result without sending transaction
|
|
1089
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1090
|
+
*/
|
|
1091
|
+
excludeFromFees(account: `0x${string}`, excluded: boolean, options?: {
|
|
1092
|
+
accessList?: import("viem").AccessList;
|
|
1093
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1094
|
+
chain?: import("viem").Chain | null;
|
|
1095
|
+
dataSuffix?: `0x${string}`;
|
|
1096
|
+
gas?: bigint;
|
|
1097
|
+
gasPrice?: bigint;
|
|
1098
|
+
maxFeePerGas?: bigint;
|
|
1099
|
+
maxPriorityFeePerGas?: bigint;
|
|
1100
|
+
nonce?: number;
|
|
1101
|
+
value?: bigint;
|
|
1102
|
+
}): Promise<void>;
|
|
1103
|
+
/**
|
|
1104
|
+
* Simulate increaseAllowance
|
|
1105
|
+
* Returns gas estimate and result without sending transaction
|
|
1106
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1107
|
+
*/
|
|
1108
|
+
increaseAllowance(spender: `0x${string}`, addedValue: bigint, options?: {
|
|
1109
|
+
accessList?: import("viem").AccessList;
|
|
1110
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1111
|
+
chain?: import("viem").Chain | null;
|
|
1112
|
+
dataSuffix?: `0x${string}`;
|
|
1113
|
+
gas?: bigint;
|
|
1114
|
+
gasPrice?: bigint;
|
|
1115
|
+
maxFeePerGas?: bigint;
|
|
1116
|
+
maxPriorityFeePerGas?: bigint;
|
|
1117
|
+
nonce?: number;
|
|
1118
|
+
value?: bigint;
|
|
1119
|
+
}): Promise<boolean>;
|
|
1120
|
+
/**
|
|
1121
|
+
* Simulate lowerFees
|
|
1122
|
+
* Returns gas estimate and result without sending transaction
|
|
1123
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1124
|
+
*/
|
|
1125
|
+
lowerFees(_newFee: bigint, options?: {
|
|
1126
|
+
accessList?: import("viem").AccessList;
|
|
1127
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1128
|
+
chain?: import("viem").Chain | null;
|
|
1129
|
+
dataSuffix?: `0x${string}`;
|
|
1130
|
+
gas?: bigint;
|
|
1131
|
+
gasPrice?: bigint;
|
|
1132
|
+
maxFeePerGas?: bigint;
|
|
1133
|
+
maxPriorityFeePerGas?: bigint;
|
|
1134
|
+
nonce?: number;
|
|
1135
|
+
value?: bigint;
|
|
1136
|
+
}): Promise<void>;
|
|
1137
|
+
/**
|
|
1138
|
+
* Simulate raiseMaxLimit
|
|
1139
|
+
* Returns gas estimate and result without sending transaction
|
|
1140
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1141
|
+
*/
|
|
1142
|
+
raiseMaxLimit(_newLimit: bigint, options?: {
|
|
1143
|
+
accessList?: import("viem").AccessList;
|
|
1144
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1145
|
+
chain?: import("viem").Chain | null;
|
|
1146
|
+
dataSuffix?: `0x${string}`;
|
|
1147
|
+
gas?: bigint;
|
|
1148
|
+
gasPrice?: bigint;
|
|
1149
|
+
maxFeePerGas?: bigint;
|
|
1150
|
+
maxPriorityFeePerGas?: bigint;
|
|
1151
|
+
nonce?: number;
|
|
1152
|
+
value?: bigint;
|
|
1153
|
+
}): Promise<void>;
|
|
1154
|
+
/**
|
|
1155
|
+
* Simulate renounceOwnership
|
|
1156
|
+
* Returns gas estimate and result without sending transaction
|
|
1157
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1158
|
+
*/
|
|
1159
|
+
renounceOwnership(options?: {
|
|
1160
|
+
accessList?: import("viem").AccessList;
|
|
1161
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1162
|
+
chain?: import("viem").Chain | null;
|
|
1163
|
+
dataSuffix?: `0x${string}`;
|
|
1164
|
+
gas?: bigint;
|
|
1165
|
+
gasPrice?: bigint;
|
|
1166
|
+
maxFeePerGas?: bigint;
|
|
1167
|
+
maxPriorityFeePerGas?: bigint;
|
|
1168
|
+
nonce?: number;
|
|
1169
|
+
value?: bigint;
|
|
1170
|
+
}): Promise<void>;
|
|
1171
|
+
/**
|
|
1172
|
+
* Simulate sellFees
|
|
1173
|
+
* Returns gas estimate and result without sending transaction
|
|
1174
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1175
|
+
*/
|
|
1176
|
+
sellFees(options?: {
|
|
1177
|
+
accessList?: import("viem").AccessList;
|
|
1178
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1179
|
+
chain?: import("viem").Chain | null;
|
|
1180
|
+
dataSuffix?: `0x${string}`;
|
|
1181
|
+
gas?: bigint;
|
|
1182
|
+
gasPrice?: bigint;
|
|
1183
|
+
maxFeePerGas?: bigint;
|
|
1184
|
+
maxPriorityFeePerGas?: bigint;
|
|
1185
|
+
nonce?: number;
|
|
1186
|
+
value?: bigint;
|
|
1187
|
+
}): Promise<void>;
|
|
1188
|
+
/**
|
|
1189
|
+
* Simulate setSwapThreshold
|
|
1190
|
+
* Returns gas estimate and result without sending transaction
|
|
1191
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1192
|
+
*/
|
|
1193
|
+
setSwapThreshold(_newThreshold: bigint, options?: {
|
|
1194
|
+
accessList?: import("viem").AccessList;
|
|
1195
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1196
|
+
chain?: import("viem").Chain | null;
|
|
1197
|
+
dataSuffix?: `0x${string}`;
|
|
1198
|
+
gas?: bigint;
|
|
1199
|
+
gasPrice?: bigint;
|
|
1200
|
+
maxFeePerGas?: bigint;
|
|
1201
|
+
maxPriorityFeePerGas?: bigint;
|
|
1202
|
+
nonce?: number;
|
|
1203
|
+
value?: bigint;
|
|
1204
|
+
}): Promise<void>;
|
|
1205
|
+
/**
|
|
1206
|
+
* Simulate toggleSwapping
|
|
1207
|
+
* Returns gas estimate and result without sending transaction
|
|
1208
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1209
|
+
*/
|
|
1210
|
+
toggleSwapping(_swapEnabled: boolean, options?: {
|
|
1211
|
+
accessList?: import("viem").AccessList;
|
|
1212
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1213
|
+
chain?: import("viem").Chain | null;
|
|
1214
|
+
dataSuffix?: `0x${string}`;
|
|
1215
|
+
gas?: bigint;
|
|
1216
|
+
gasPrice?: bigint;
|
|
1217
|
+
maxFeePerGas?: bigint;
|
|
1218
|
+
maxPriorityFeePerGas?: bigint;
|
|
1219
|
+
nonce?: number;
|
|
1220
|
+
value?: bigint;
|
|
1221
|
+
}): Promise<void>;
|
|
1222
|
+
/**
|
|
1223
|
+
* Simulate transfer
|
|
1224
|
+
* Returns gas estimate and result without sending transaction
|
|
1225
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1226
|
+
*/
|
|
1227
|
+
transfer(recipient: `0x${string}`, amount: bigint, options?: {
|
|
1228
|
+
accessList?: import("viem").AccessList;
|
|
1229
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1230
|
+
chain?: import("viem").Chain | null;
|
|
1231
|
+
dataSuffix?: `0x${string}`;
|
|
1232
|
+
gas?: bigint;
|
|
1233
|
+
gasPrice?: bigint;
|
|
1234
|
+
maxFeePerGas?: bigint;
|
|
1235
|
+
maxPriorityFeePerGas?: bigint;
|
|
1236
|
+
nonce?: number;
|
|
1237
|
+
value?: bigint;
|
|
1238
|
+
}): Promise<boolean>;
|
|
1239
|
+
/**
|
|
1240
|
+
* Simulate transferFrom
|
|
1241
|
+
* Returns gas estimate and result without sending transaction
|
|
1242
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1243
|
+
*/
|
|
1244
|
+
transferFrom(sender: `0x${string}`, recipient: `0x${string}`, amount: bigint, options?: {
|
|
1245
|
+
accessList?: import("viem").AccessList;
|
|
1246
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1247
|
+
chain?: import("viem").Chain | null;
|
|
1248
|
+
dataSuffix?: `0x${string}`;
|
|
1249
|
+
gas?: bigint;
|
|
1250
|
+
gasPrice?: bigint;
|
|
1251
|
+
maxFeePerGas?: bigint;
|
|
1252
|
+
maxPriorityFeePerGas?: bigint;
|
|
1253
|
+
nonce?: number;
|
|
1254
|
+
value?: bigint;
|
|
1255
|
+
}): Promise<boolean>;
|
|
1256
|
+
/**
|
|
1257
|
+
* Simulate transferOwnership
|
|
1258
|
+
* Returns gas estimate and result without sending transaction
|
|
1259
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1260
|
+
*/
|
|
1261
|
+
transferOwnership(newOwner: `0x${string}`, options?: {
|
|
1262
|
+
accessList?: import("viem").AccessList;
|
|
1263
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1264
|
+
chain?: import("viem").Chain | null;
|
|
1265
|
+
dataSuffix?: `0x${string}`;
|
|
1266
|
+
gas?: bigint;
|
|
1267
|
+
gasPrice?: bigint;
|
|
1268
|
+
maxFeePerGas?: bigint;
|
|
1269
|
+
maxPriorityFeePerGas?: bigint;
|
|
1270
|
+
nonce?: number;
|
|
1271
|
+
value?: bigint;
|
|
1272
|
+
}): Promise<void>;
|
|
1273
|
+
};
|
|
1274
|
+
/**
|
|
1275
|
+
* Watch contract events
|
|
1276
|
+
*
|
|
1277
|
+
* @example
|
|
1278
|
+
* // Watch all Transfer events
|
|
1279
|
+
* const unwatch = contract.watch.Transfer((event) => {
|
|
1280
|
+
* console.log('Transfer:', event);
|
|
1281
|
+
* });
|
|
1282
|
+
*
|
|
1283
|
+
* // Stop watching
|
|
1284
|
+
* unwatch();
|
|
1285
|
+
*/
|
|
1286
|
+
get watch(): {
|
|
1287
|
+
/**
|
|
1288
|
+
* Watch Approval events
|
|
1289
|
+
* @param callback Function to call when event is emitted
|
|
1290
|
+
* @param filter Optional filter for indexed parameters
|
|
1291
|
+
* @returns Unwatch function to stop listening
|
|
1292
|
+
*/
|
|
1293
|
+
Approval: (callback: (event: {
|
|
1294
|
+
owner: `0x${string}`;
|
|
1295
|
+
spender: `0x${string}`;
|
|
1296
|
+
value: bigint;
|
|
1297
|
+
}) => void, filter?: {
|
|
1298
|
+
owner: `0x${string}`;
|
|
1299
|
+
spender: `0x${string}`;
|
|
1300
|
+
}) => () => void;
|
|
1301
|
+
/**
|
|
1302
|
+
* Watch ExcludeFromFees events
|
|
1303
|
+
* @param callback Function to call when event is emitted
|
|
1304
|
+
* @param filter Optional filter for indexed parameters
|
|
1305
|
+
* @returns Unwatch function to stop listening
|
|
1306
|
+
*/
|
|
1307
|
+
ExcludeFromFees: (callback: (event: {
|
|
1308
|
+
account: `0x${string}`;
|
|
1309
|
+
isExcluded: boolean;
|
|
1310
|
+
}) => void, filter?: {
|
|
1311
|
+
account: `0x${string}`;
|
|
1312
|
+
}) => () => void;
|
|
1313
|
+
/**
|
|
1314
|
+
* Watch FeesLowered events
|
|
1315
|
+
* @param callback Function to call when event is emitted
|
|
1316
|
+
* @param filter Optional filter for indexed parameters
|
|
1317
|
+
* @returns Unwatch function to stop listening
|
|
1318
|
+
*/
|
|
1319
|
+
FeesLowered: (callback: (event: {
|
|
1320
|
+
_new: bigint;
|
|
1321
|
+
}) => void) => () => void;
|
|
1322
|
+
/**
|
|
1323
|
+
* Watch MarketingFeeReceiverChanged events
|
|
1324
|
+
* @param callback Function to call when event is emitted
|
|
1325
|
+
* @param filter Optional filter for indexed parameters
|
|
1326
|
+
* @returns Unwatch function to stop listening
|
|
1327
|
+
*/
|
|
1328
|
+
MarketingFeeReceiverChanged: (callback: (event: {
|
|
1329
|
+
marketingFeeReceiver: `0x${string}`;
|
|
1330
|
+
}) => void) => () => void;
|
|
1331
|
+
/**
|
|
1332
|
+
* Watch MaxSwapThresholdUpdated events
|
|
1333
|
+
* @param callback Function to call when event is emitted
|
|
1334
|
+
* @param filter Optional filter for indexed parameters
|
|
1335
|
+
* @returns Unwatch function to stop listening
|
|
1336
|
+
*/
|
|
1337
|
+
MaxSwapThresholdUpdated: (callback: (event: {
|
|
1338
|
+
_new: bigint;
|
|
1339
|
+
}) => void) => () => void;
|
|
1340
|
+
/**
|
|
1341
|
+
* Watch MaxWalletSizeRaised events
|
|
1342
|
+
* @param callback Function to call when event is emitted
|
|
1343
|
+
* @param filter Optional filter for indexed parameters
|
|
1344
|
+
* @returns Unwatch function to stop listening
|
|
1345
|
+
*/
|
|
1346
|
+
MaxWalletSizeRaised: (callback: (event: {
|
|
1347
|
+
_new: bigint;
|
|
1348
|
+
}) => void) => () => void;
|
|
1349
|
+
/**
|
|
1350
|
+
* Watch OwnershipTransferred events
|
|
1351
|
+
* @param callback Function to call when event is emitted
|
|
1352
|
+
* @param filter Optional filter for indexed parameters
|
|
1353
|
+
* @returns Unwatch function to stop listening
|
|
1354
|
+
*/
|
|
1355
|
+
OwnershipTransferred: (callback: (event: {
|
|
1356
|
+
previousOwner: `0x${string}`;
|
|
1357
|
+
newOwner: `0x${string}`;
|
|
1358
|
+
}) => void, filter?: {
|
|
1359
|
+
previousOwner: `0x${string}`;
|
|
1360
|
+
newOwner: `0x${string}`;
|
|
1361
|
+
}) => () => void;
|
|
1362
|
+
/**
|
|
1363
|
+
* Watch SwapAndLiquify events
|
|
1364
|
+
* @param callback Function to call when event is emitted
|
|
1365
|
+
* @param filter Optional filter for indexed parameters
|
|
1366
|
+
* @returns Unwatch function to stop listening
|
|
1367
|
+
*/
|
|
1368
|
+
SwapAndLiquify: (callback: (event: {
|
|
1369
|
+
tokensSwapped: bigint;
|
|
1370
|
+
bnbReceived: bigint;
|
|
1371
|
+
tokensIntoLiqudity: bigint;
|
|
1372
|
+
}) => void) => () => void;
|
|
1373
|
+
/**
|
|
1374
|
+
* Watch SwapAndSendFee events
|
|
1375
|
+
* @param callback Function to call when event is emitted
|
|
1376
|
+
* @param filter Optional filter for indexed parameters
|
|
1377
|
+
* @returns Unwatch function to stop listening
|
|
1378
|
+
*/
|
|
1379
|
+
SwapAndSendFee: (callback: (event: {
|
|
1380
|
+
tokensSwapped: bigint;
|
|
1381
|
+
bnbSend: bigint;
|
|
1382
|
+
}) => void) => () => void;
|
|
1383
|
+
/**
|
|
1384
|
+
* Watch ToggleSwapping events
|
|
1385
|
+
* @param callback Function to call when event is emitted
|
|
1386
|
+
* @param filter Optional filter for indexed parameters
|
|
1387
|
+
* @returns Unwatch function to stop listening
|
|
1388
|
+
*/
|
|
1389
|
+
ToggleSwapping: (callback: (event: {
|
|
1390
|
+
swapEnabled: boolean;
|
|
1391
|
+
}) => void) => () => void;
|
|
1392
|
+
/**
|
|
1393
|
+
* Watch TradingEnabled events
|
|
1394
|
+
* @param callback Function to call when event is emitted
|
|
1395
|
+
* @param filter Optional filter for indexed parameters
|
|
1396
|
+
* @returns Unwatch function to stop listening
|
|
1397
|
+
*/
|
|
1398
|
+
TradingEnabled: (callback: (event: {
|
|
1399
|
+
tradingEnabled: boolean;
|
|
1400
|
+
tradingEnabledTime: bigint;
|
|
1401
|
+
}) => void) => () => void;
|
|
1402
|
+
/**
|
|
1403
|
+
* Watch Transfer events
|
|
1404
|
+
* @param callback Function to call when event is emitted
|
|
1405
|
+
* @param filter Optional filter for indexed parameters
|
|
1406
|
+
* @returns Unwatch function to stop listening
|
|
1407
|
+
*/
|
|
1408
|
+
Transfer: (callback: (event: {
|
|
1409
|
+
from: `0x${string}`;
|
|
1410
|
+
to: `0x${string}`;
|
|
1411
|
+
value: bigint;
|
|
1412
|
+
}) => void, filter?: {
|
|
1413
|
+
from: `0x${string}`;
|
|
1414
|
+
to: `0x${string}`;
|
|
1415
|
+
}) => () => void;
|
|
1416
|
+
};
|
|
1417
|
+
}
|