@gitmyabi/xai 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/contracts/XAI_json.d.ts +70 -628
- package/contracts/XAI_json.js +66 -574
- package/contracts/XAI_json.ts +87 -811
- package/package.json +3 -3
package/contracts/XAI_json.d.ts
CHANGED
|
@@ -28,31 +28,6 @@ export declare const XAI_jsonAbi: readonly [{
|
|
|
28
28
|
}];
|
|
29
29
|
readonly name: "Approval";
|
|
30
30
|
readonly type: "event";
|
|
31
|
-
}, {
|
|
32
|
-
readonly anonymous: false;
|
|
33
|
-
readonly inputs: readonly [{
|
|
34
|
-
readonly indexed: false;
|
|
35
|
-
readonly internalType: "uint256";
|
|
36
|
-
readonly name: "_maxTxAmount";
|
|
37
|
-
readonly type: "uint256";
|
|
38
|
-
}];
|
|
39
|
-
readonly name: "MaxTxAmountUpdated";
|
|
40
|
-
readonly type: "event";
|
|
41
|
-
}, {
|
|
42
|
-
readonly anonymous: false;
|
|
43
|
-
readonly inputs: readonly [{
|
|
44
|
-
readonly indexed: true;
|
|
45
|
-
readonly internalType: "address";
|
|
46
|
-
readonly name: "previousOwner";
|
|
47
|
-
readonly type: "address";
|
|
48
|
-
}, {
|
|
49
|
-
readonly indexed: true;
|
|
50
|
-
readonly internalType: "address";
|
|
51
|
-
readonly name: "newOwner";
|
|
52
|
-
readonly type: "address";
|
|
53
|
-
}];
|
|
54
|
-
readonly name: "OwnershipTransferred";
|
|
55
|
-
readonly type: "event";
|
|
56
31
|
}, {
|
|
57
32
|
readonly anonymous: false;
|
|
58
33
|
readonly inputs: readonly [{
|
|
@@ -73,50 +48,6 @@ export declare const XAI_jsonAbi: readonly [{
|
|
|
73
48
|
}];
|
|
74
49
|
readonly name: "Transfer";
|
|
75
50
|
readonly type: "event";
|
|
76
|
-
}, {
|
|
77
|
-
readonly inputs: readonly [{
|
|
78
|
-
readonly internalType: "address";
|
|
79
|
-
readonly name: "";
|
|
80
|
-
readonly type: "address";
|
|
81
|
-
}];
|
|
82
|
-
readonly name: "_buyMap";
|
|
83
|
-
readonly outputs: readonly [{
|
|
84
|
-
readonly internalType: "uint256";
|
|
85
|
-
readonly name: "";
|
|
86
|
-
readonly type: "uint256";
|
|
87
|
-
}];
|
|
88
|
-
readonly stateMutability: "view";
|
|
89
|
-
readonly type: "function";
|
|
90
|
-
}, {
|
|
91
|
-
readonly inputs: readonly [];
|
|
92
|
-
readonly name: "_maxTxAmount";
|
|
93
|
-
readonly outputs: readonly [{
|
|
94
|
-
readonly internalType: "uint256";
|
|
95
|
-
readonly name: "";
|
|
96
|
-
readonly type: "uint256";
|
|
97
|
-
}];
|
|
98
|
-
readonly stateMutability: "view";
|
|
99
|
-
readonly type: "function";
|
|
100
|
-
}, {
|
|
101
|
-
readonly inputs: readonly [];
|
|
102
|
-
readonly name: "_maxWalletSize";
|
|
103
|
-
readonly outputs: readonly [{
|
|
104
|
-
readonly internalType: "uint256";
|
|
105
|
-
readonly name: "";
|
|
106
|
-
readonly type: "uint256";
|
|
107
|
-
}];
|
|
108
|
-
readonly stateMutability: "view";
|
|
109
|
-
readonly type: "function";
|
|
110
|
-
}, {
|
|
111
|
-
readonly inputs: readonly [];
|
|
112
|
-
readonly name: "_swapTokensAtAmount";
|
|
113
|
-
readonly outputs: readonly [{
|
|
114
|
-
readonly internalType: "uint256";
|
|
115
|
-
readonly name: "";
|
|
116
|
-
readonly type: "uint256";
|
|
117
|
-
}];
|
|
118
|
-
readonly stateMutability: "view";
|
|
119
|
-
readonly type: "function";
|
|
120
51
|
}, {
|
|
121
52
|
readonly inputs: readonly [{
|
|
122
53
|
readonly internalType: "address";
|
|
@@ -169,27 +100,27 @@ export declare const XAI_jsonAbi: readonly [{
|
|
|
169
100
|
readonly type: "function";
|
|
170
101
|
}, {
|
|
171
102
|
readonly inputs: readonly [{
|
|
172
|
-
readonly internalType: "
|
|
173
|
-
readonly name: "
|
|
174
|
-
readonly type: "
|
|
103
|
+
readonly internalType: "uint256";
|
|
104
|
+
readonly name: "amount";
|
|
105
|
+
readonly type: "uint256";
|
|
175
106
|
}];
|
|
176
|
-
readonly name: "
|
|
107
|
+
readonly name: "burn";
|
|
177
108
|
readonly outputs: readonly [];
|
|
178
109
|
readonly stateMutability: "nonpayable";
|
|
179
110
|
readonly type: "function";
|
|
180
111
|
}, {
|
|
181
112
|
readonly inputs: readonly [{
|
|
182
113
|
readonly internalType: "address";
|
|
183
|
-
readonly name: "";
|
|
114
|
+
readonly name: "account";
|
|
184
115
|
readonly type: "address";
|
|
116
|
+
}, {
|
|
117
|
+
readonly internalType: "uint256";
|
|
118
|
+
readonly name: "amount";
|
|
119
|
+
readonly type: "uint256";
|
|
185
120
|
}];
|
|
186
|
-
readonly name: "
|
|
187
|
-
readonly outputs: readonly [
|
|
188
|
-
|
|
189
|
-
readonly name: "";
|
|
190
|
-
readonly type: "bool";
|
|
191
|
-
}];
|
|
192
|
-
readonly stateMutability: "view";
|
|
121
|
+
readonly name: "burnFrom";
|
|
122
|
+
readonly outputs: readonly [];
|
|
123
|
+
readonly stateMutability: "nonpayable";
|
|
193
124
|
readonly type: "function";
|
|
194
125
|
}, {
|
|
195
126
|
readonly inputs: readonly [];
|
|
@@ -199,141 +130,63 @@ export declare const XAI_jsonAbi: readonly [{
|
|
|
199
130
|
readonly name: "";
|
|
200
131
|
readonly type: "uint8";
|
|
201
132
|
}];
|
|
202
|
-
readonly stateMutability: "
|
|
133
|
+
readonly stateMutability: "view";
|
|
203
134
|
readonly type: "function";
|
|
204
135
|
}, {
|
|
205
136
|
readonly inputs: readonly [{
|
|
206
|
-
readonly internalType: "address[]";
|
|
207
|
-
readonly name: "accounts";
|
|
208
|
-
readonly type: "address[]";
|
|
209
|
-
}, {
|
|
210
|
-
readonly internalType: "bool";
|
|
211
|
-
readonly name: "excluded";
|
|
212
|
-
readonly type: "bool";
|
|
213
|
-
}];
|
|
214
|
-
readonly name: "excludeMultipleAccountsFromFees";
|
|
215
|
-
readonly outputs: readonly [];
|
|
216
|
-
readonly stateMutability: "nonpayable";
|
|
217
|
-
readonly type: "function";
|
|
218
|
-
}, {
|
|
219
|
-
readonly inputs: readonly [];
|
|
220
|
-
readonly name: "manualsend";
|
|
221
|
-
readonly outputs: readonly [];
|
|
222
|
-
readonly stateMutability: "nonpayable";
|
|
223
|
-
readonly type: "function";
|
|
224
|
-
}, {
|
|
225
|
-
readonly inputs: readonly [];
|
|
226
|
-
readonly name: "manualswap";
|
|
227
|
-
readonly outputs: readonly [];
|
|
228
|
-
readonly stateMutability: "nonpayable";
|
|
229
|
-
readonly type: "function";
|
|
230
|
-
}, {
|
|
231
|
-
readonly inputs: readonly [];
|
|
232
|
-
readonly name: "name";
|
|
233
|
-
readonly outputs: readonly [{
|
|
234
|
-
readonly internalType: "string";
|
|
235
|
-
readonly name: "";
|
|
236
|
-
readonly type: "string";
|
|
237
|
-
}];
|
|
238
|
-
readonly stateMutability: "pure";
|
|
239
|
-
readonly type: "function";
|
|
240
|
-
}, {
|
|
241
|
-
readonly inputs: readonly [];
|
|
242
|
-
readonly name: "owner";
|
|
243
|
-
readonly outputs: readonly [{
|
|
244
137
|
readonly internalType: "address";
|
|
245
|
-
readonly name: "";
|
|
138
|
+
readonly name: "spender";
|
|
246
139
|
readonly type: "address";
|
|
247
|
-
}];
|
|
248
|
-
readonly stateMutability: "view";
|
|
249
|
-
readonly type: "function";
|
|
250
|
-
}, {
|
|
251
|
-
readonly inputs: readonly [];
|
|
252
|
-
readonly name: "renounceOwnership";
|
|
253
|
-
readonly outputs: readonly [];
|
|
254
|
-
readonly stateMutability: "nonpayable";
|
|
255
|
-
readonly type: "function";
|
|
256
|
-
}, {
|
|
257
|
-
readonly inputs: readonly [{
|
|
258
|
-
readonly internalType: "uint256";
|
|
259
|
-
readonly name: "redisFeeOnBuy";
|
|
260
|
-
readonly type: "uint256";
|
|
261
|
-
}, {
|
|
262
|
-
readonly internalType: "uint256";
|
|
263
|
-
readonly name: "redisFeeOnSell";
|
|
264
|
-
readonly type: "uint256";
|
|
265
140
|
}, {
|
|
266
141
|
readonly internalType: "uint256";
|
|
267
|
-
readonly name: "
|
|
268
|
-
readonly type: "uint256";
|
|
269
|
-
}, {
|
|
270
|
-
readonly internalType: "uint256";
|
|
271
|
-
readonly name: "taxFeeOnSell";
|
|
272
|
-
readonly type: "uint256";
|
|
273
|
-
}];
|
|
274
|
-
readonly name: "setFee";
|
|
275
|
-
readonly outputs: readonly [];
|
|
276
|
-
readonly stateMutability: "nonpayable";
|
|
277
|
-
readonly type: "function";
|
|
278
|
-
}, {
|
|
279
|
-
readonly inputs: readonly [{
|
|
280
|
-
readonly internalType: "uint256";
|
|
281
|
-
readonly name: "maxTxAmount";
|
|
142
|
+
readonly name: "subtractedValue";
|
|
282
143
|
readonly type: "uint256";
|
|
283
144
|
}];
|
|
284
|
-
readonly name: "
|
|
285
|
-
readonly outputs: readonly [
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
readonly inputs: readonly [{
|
|
290
|
-
readonly internalType: "uint256";
|
|
291
|
-
readonly name: "maxWalletSize";
|
|
292
|
-
readonly type: "uint256";
|
|
145
|
+
readonly name: "decreaseAllowance";
|
|
146
|
+
readonly outputs: readonly [{
|
|
147
|
+
readonly internalType: "bool";
|
|
148
|
+
readonly name: "";
|
|
149
|
+
readonly type: "bool";
|
|
293
150
|
}];
|
|
294
|
-
readonly name: "setMaxWalletSize";
|
|
295
|
-
readonly outputs: readonly [];
|
|
296
151
|
readonly stateMutability: "nonpayable";
|
|
297
152
|
readonly type: "function";
|
|
298
153
|
}, {
|
|
299
154
|
readonly inputs: readonly [{
|
|
155
|
+
readonly internalType: "address";
|
|
156
|
+
readonly name: "spender";
|
|
157
|
+
readonly type: "address";
|
|
158
|
+
}, {
|
|
300
159
|
readonly internalType: "uint256";
|
|
301
|
-
readonly name: "
|
|
160
|
+
readonly name: "addedValue";
|
|
302
161
|
readonly type: "uint256";
|
|
303
162
|
}];
|
|
304
|
-
readonly name: "
|
|
305
|
-
readonly outputs: readonly [
|
|
306
|
-
readonly stateMutability: "nonpayable";
|
|
307
|
-
readonly type: "function";
|
|
308
|
-
}, {
|
|
309
|
-
readonly inputs: readonly [{
|
|
163
|
+
readonly name: "increaseAllowance";
|
|
164
|
+
readonly outputs: readonly [{
|
|
310
165
|
readonly internalType: "bool";
|
|
311
|
-
readonly name: "
|
|
166
|
+
readonly name: "";
|
|
312
167
|
readonly type: "bool";
|
|
313
168
|
}];
|
|
314
|
-
readonly name: "setTrading";
|
|
315
|
-
readonly outputs: readonly [];
|
|
316
169
|
readonly stateMutability: "nonpayable";
|
|
317
170
|
readonly type: "function";
|
|
318
171
|
}, {
|
|
319
172
|
readonly inputs: readonly [];
|
|
320
|
-
readonly name: "
|
|
173
|
+
readonly name: "name";
|
|
321
174
|
readonly outputs: readonly [{
|
|
322
175
|
readonly internalType: "string";
|
|
323
176
|
readonly name: "";
|
|
324
177
|
readonly type: "string";
|
|
325
178
|
}];
|
|
326
|
-
readonly stateMutability: "
|
|
179
|
+
readonly stateMutability: "view";
|
|
327
180
|
readonly type: "function";
|
|
328
181
|
}, {
|
|
329
|
-
readonly inputs: readonly [
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
readonly
|
|
182
|
+
readonly inputs: readonly [];
|
|
183
|
+
readonly name: "symbol";
|
|
184
|
+
readonly outputs: readonly [{
|
|
185
|
+
readonly internalType: "string";
|
|
186
|
+
readonly name: "";
|
|
187
|
+
readonly type: "string";
|
|
333
188
|
}];
|
|
334
|
-
readonly
|
|
335
|
-
readonly outputs: readonly [];
|
|
336
|
-
readonly stateMutability: "nonpayable";
|
|
189
|
+
readonly stateMutability: "view";
|
|
337
190
|
readonly type: "function";
|
|
338
191
|
}, {
|
|
339
192
|
readonly inputs: readonly [];
|
|
@@ -343,7 +196,7 @@ export declare const XAI_jsonAbi: readonly [{
|
|
|
343
196
|
readonly name: "";
|
|
344
197
|
readonly type: "uint256";
|
|
345
198
|
}];
|
|
346
|
-
readonly stateMutability: "
|
|
199
|
+
readonly stateMutability: "view";
|
|
347
200
|
readonly type: "function";
|
|
348
201
|
}, {
|
|
349
202
|
readonly inputs: readonly [{
|
|
@@ -385,49 +238,6 @@ export declare const XAI_jsonAbi: readonly [{
|
|
|
385
238
|
}];
|
|
386
239
|
readonly stateMutability: "nonpayable";
|
|
387
240
|
readonly type: "function";
|
|
388
|
-
}, {
|
|
389
|
-
readonly inputs: readonly [{
|
|
390
|
-
readonly internalType: "address";
|
|
391
|
-
readonly name: "newOwner";
|
|
392
|
-
readonly type: "address";
|
|
393
|
-
}];
|
|
394
|
-
readonly name: "transferOwnership";
|
|
395
|
-
readonly outputs: readonly [];
|
|
396
|
-
readonly stateMutability: "nonpayable";
|
|
397
|
-
readonly type: "function";
|
|
398
|
-
}, {
|
|
399
|
-
readonly inputs: readonly [{
|
|
400
|
-
readonly internalType: "address";
|
|
401
|
-
readonly name: "notbot";
|
|
402
|
-
readonly type: "address";
|
|
403
|
-
}];
|
|
404
|
-
readonly name: "unblockBot";
|
|
405
|
-
readonly outputs: readonly [];
|
|
406
|
-
readonly stateMutability: "nonpayable";
|
|
407
|
-
readonly type: "function";
|
|
408
|
-
}, {
|
|
409
|
-
readonly inputs: readonly [];
|
|
410
|
-
readonly name: "uniswapV2Pair";
|
|
411
|
-
readonly outputs: readonly [{
|
|
412
|
-
readonly internalType: "address";
|
|
413
|
-
readonly name: "";
|
|
414
|
-
readonly type: "address";
|
|
415
|
-
}];
|
|
416
|
-
readonly stateMutability: "view";
|
|
417
|
-
readonly type: "function";
|
|
418
|
-
}, {
|
|
419
|
-
readonly inputs: readonly [];
|
|
420
|
-
readonly name: "uniswapV2Router";
|
|
421
|
-
readonly outputs: readonly [{
|
|
422
|
-
readonly internalType: "contract IUniswapV2Router02";
|
|
423
|
-
readonly name: "";
|
|
424
|
-
readonly type: "address";
|
|
425
|
-
}];
|
|
426
|
-
readonly stateMutability: "view";
|
|
427
|
-
readonly type: "function";
|
|
428
|
-
}, {
|
|
429
|
-
readonly stateMutability: "payable";
|
|
430
|
-
readonly type: "receive";
|
|
431
241
|
}];
|
|
432
242
|
/**
|
|
433
243
|
* Type-safe ABI for XAI_json
|
|
@@ -485,26 +295,6 @@ export declare class XAI_json {
|
|
|
485
295
|
* Get the underlying viem contract instance
|
|
486
296
|
*/
|
|
487
297
|
getContract(): XAI_jsonContract;
|
|
488
|
-
/**
|
|
489
|
-
* _buyMap
|
|
490
|
-
* view
|
|
491
|
-
*/
|
|
492
|
-
_buyMap(arg0: `0x${string}`): Promise<bigint>;
|
|
493
|
-
/**
|
|
494
|
-
* _maxTxAmount
|
|
495
|
-
* view
|
|
496
|
-
*/
|
|
497
|
-
_maxTxAmount(): Promise<bigint>;
|
|
498
|
-
/**
|
|
499
|
-
* _maxWalletSize
|
|
500
|
-
* view
|
|
501
|
-
*/
|
|
502
|
-
_maxWalletSize(): Promise<bigint>;
|
|
503
|
-
/**
|
|
504
|
-
* _swapTokensAtAmount
|
|
505
|
-
* view
|
|
506
|
-
*/
|
|
507
|
-
_swapTokensAtAmount(): Promise<bigint>;
|
|
508
298
|
/**
|
|
509
299
|
* allowance
|
|
510
300
|
* view
|
|
@@ -515,46 +305,26 @@ export declare class XAI_json {
|
|
|
515
305
|
* view
|
|
516
306
|
*/
|
|
517
307
|
balanceOf(account: `0x${string}`): Promise<bigint>;
|
|
518
|
-
/**
|
|
519
|
-
* bots
|
|
520
|
-
* view
|
|
521
|
-
*/
|
|
522
|
-
bots(arg0: `0x${string}`): Promise<boolean>;
|
|
523
308
|
/**
|
|
524
309
|
* decimals
|
|
525
|
-
*
|
|
310
|
+
* view
|
|
526
311
|
*/
|
|
527
312
|
decimals(): Promise<bigint>;
|
|
528
313
|
/**
|
|
529
314
|
* name
|
|
530
|
-
* pure
|
|
531
|
-
*/
|
|
532
|
-
name(): Promise<string>;
|
|
533
|
-
/**
|
|
534
|
-
* owner
|
|
535
315
|
* view
|
|
536
316
|
*/
|
|
537
|
-
|
|
317
|
+
name(): Promise<string>;
|
|
538
318
|
/**
|
|
539
319
|
* symbol
|
|
540
|
-
*
|
|
320
|
+
* view
|
|
541
321
|
*/
|
|
542
322
|
symbol(): Promise<string>;
|
|
543
323
|
/**
|
|
544
324
|
* totalSupply
|
|
545
|
-
* pure
|
|
546
|
-
*/
|
|
547
|
-
totalSupply(): Promise<bigint>;
|
|
548
|
-
/**
|
|
549
|
-
* uniswapV2Pair
|
|
550
|
-
* view
|
|
551
|
-
*/
|
|
552
|
-
uniswapV2Pair(): Promise<`0x${string}`>;
|
|
553
|
-
/**
|
|
554
|
-
* uniswapV2Router
|
|
555
325
|
* view
|
|
556
326
|
*/
|
|
557
|
-
|
|
327
|
+
totalSupply(): Promise<bigint>;
|
|
558
328
|
/**
|
|
559
329
|
* approve
|
|
560
330
|
* nonpayable
|
|
@@ -573,11 +343,11 @@ export declare class XAI_json {
|
|
|
573
343
|
value?: bigint;
|
|
574
344
|
}): Promise<`0x${string}`>;
|
|
575
345
|
/**
|
|
576
|
-
*
|
|
346
|
+
* burn
|
|
577
347
|
* nonpayable
|
|
578
348
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
579
349
|
*/
|
|
580
|
-
|
|
350
|
+
burn(amount: bigint, options?: {
|
|
581
351
|
accessList?: import('viem').AccessList;
|
|
582
352
|
authorizationList?: import('viem').AuthorizationList;
|
|
583
353
|
chain?: import('viem').Chain | null;
|
|
@@ -590,11 +360,11 @@ export declare class XAI_json {
|
|
|
590
360
|
value?: bigint;
|
|
591
361
|
}): Promise<`0x${string}`>;
|
|
592
362
|
/**
|
|
593
|
-
*
|
|
363
|
+
* burnFrom
|
|
594
364
|
* nonpayable
|
|
595
365
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
596
366
|
*/
|
|
597
|
-
|
|
367
|
+
burnFrom(account: `0x${string}`, amount: bigint, options?: {
|
|
598
368
|
accessList?: import('viem').AccessList;
|
|
599
369
|
authorizationList?: import('viem').AuthorizationList;
|
|
600
370
|
chain?: import('viem').Chain | null;
|
|
@@ -607,11 +377,11 @@ export declare class XAI_json {
|
|
|
607
377
|
value?: bigint;
|
|
608
378
|
}): Promise<`0x${string}`>;
|
|
609
379
|
/**
|
|
610
|
-
*
|
|
380
|
+
* decreaseAllowance
|
|
611
381
|
* nonpayable
|
|
612
382
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
613
383
|
*/
|
|
614
|
-
|
|
384
|
+
decreaseAllowance(spender: `0x${string}`, subtractedValue: bigint, options?: {
|
|
615
385
|
accessList?: import('viem').AccessList;
|
|
616
386
|
authorizationList?: import('viem').AuthorizationList;
|
|
617
387
|
chain?: import('viem').Chain | null;
|
|
@@ -624,11 +394,11 @@ export declare class XAI_json {
|
|
|
624
394
|
value?: bigint;
|
|
625
395
|
}): Promise<`0x${string}`>;
|
|
626
396
|
/**
|
|
627
|
-
*
|
|
397
|
+
* increaseAllowance
|
|
628
398
|
* nonpayable
|
|
629
399
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
630
400
|
*/
|
|
631
|
-
|
|
401
|
+
increaseAllowance(spender: `0x${string}`, addedValue: bigint, options?: {
|
|
632
402
|
accessList?: import('viem').AccessList;
|
|
633
403
|
authorizationList?: import('viem').AuthorizationList;
|
|
634
404
|
chain?: import('viem').Chain | null;
|
|
@@ -641,11 +411,11 @@ export declare class XAI_json {
|
|
|
641
411
|
value?: bigint;
|
|
642
412
|
}): Promise<`0x${string}`>;
|
|
643
413
|
/**
|
|
644
|
-
*
|
|
414
|
+
* transfer
|
|
645
415
|
* nonpayable
|
|
646
416
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
647
417
|
*/
|
|
648
|
-
|
|
418
|
+
transfer(recipient: `0x${string}`, amount: bigint, options?: {
|
|
649
419
|
accessList?: import('viem').AccessList;
|
|
650
420
|
authorizationList?: import('viem').AuthorizationList;
|
|
651
421
|
chain?: import('viem').Chain | null;
|
|
@@ -658,11 +428,11 @@ export declare class XAI_json {
|
|
|
658
428
|
value?: bigint;
|
|
659
429
|
}): Promise<`0x${string}`>;
|
|
660
430
|
/**
|
|
661
|
-
*
|
|
431
|
+
* transferFrom
|
|
662
432
|
* nonpayable
|
|
663
433
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
664
434
|
*/
|
|
665
|
-
|
|
435
|
+
transferFrom(sender: `0x${string}`, recipient: `0x${string}`, amount: bigint, options?: {
|
|
666
436
|
accessList?: import('viem').AccessList;
|
|
667
437
|
authorizationList?: import('viem').AuthorizationList;
|
|
668
438
|
chain?: import('viem').Chain | null;
|
|
@@ -675,165 +445,12 @@ export declare class XAI_json {
|
|
|
675
445
|
value?: bigint;
|
|
676
446
|
}): Promise<`0x${string}`>;
|
|
677
447
|
/**
|
|
678
|
-
*
|
|
679
|
-
*
|
|
680
|
-
* @
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
685
|
-
chain?: import('viem').Chain | null;
|
|
686
|
-
dataSuffix?: `0x${string}`;
|
|
687
|
-
gas?: bigint;
|
|
688
|
-
gasPrice?: bigint;
|
|
689
|
-
maxFeePerGas?: bigint;
|
|
690
|
-
maxPriorityFeePerGas?: bigint;
|
|
691
|
-
nonce?: number;
|
|
692
|
-
value?: bigint;
|
|
693
|
-
}): Promise<`0x${string}`>;
|
|
694
|
-
/**
|
|
695
|
-
* setMaxWalletSize
|
|
696
|
-
* nonpayable
|
|
697
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
698
|
-
*/
|
|
699
|
-
setMaxWalletSize(maxWalletSize: bigint, options?: {
|
|
700
|
-
accessList?: import('viem').AccessList;
|
|
701
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
702
|
-
chain?: import('viem').Chain | null;
|
|
703
|
-
dataSuffix?: `0x${string}`;
|
|
704
|
-
gas?: bigint;
|
|
705
|
-
gasPrice?: bigint;
|
|
706
|
-
maxFeePerGas?: bigint;
|
|
707
|
-
maxPriorityFeePerGas?: bigint;
|
|
708
|
-
nonce?: number;
|
|
709
|
-
value?: bigint;
|
|
710
|
-
}): Promise<`0x${string}`>;
|
|
711
|
-
/**
|
|
712
|
-
* setMinSwapTokensThreshold
|
|
713
|
-
* nonpayable
|
|
714
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
715
|
-
*/
|
|
716
|
-
setMinSwapTokensThreshold(swapTokensAtAmount: bigint, options?: {
|
|
717
|
-
accessList?: import('viem').AccessList;
|
|
718
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
719
|
-
chain?: import('viem').Chain | null;
|
|
720
|
-
dataSuffix?: `0x${string}`;
|
|
721
|
-
gas?: bigint;
|
|
722
|
-
gasPrice?: bigint;
|
|
723
|
-
maxFeePerGas?: bigint;
|
|
724
|
-
maxPriorityFeePerGas?: bigint;
|
|
725
|
-
nonce?: number;
|
|
726
|
-
value?: bigint;
|
|
727
|
-
}): Promise<`0x${string}`>;
|
|
728
|
-
/**
|
|
729
|
-
* setTrading
|
|
730
|
-
* nonpayable
|
|
731
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
732
|
-
*/
|
|
733
|
-
setTrading(_tradingOpen: boolean, options?: {
|
|
734
|
-
accessList?: import('viem').AccessList;
|
|
735
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
736
|
-
chain?: import('viem').Chain | null;
|
|
737
|
-
dataSuffix?: `0x${string}`;
|
|
738
|
-
gas?: bigint;
|
|
739
|
-
gasPrice?: bigint;
|
|
740
|
-
maxFeePerGas?: bigint;
|
|
741
|
-
maxPriorityFeePerGas?: bigint;
|
|
742
|
-
nonce?: number;
|
|
743
|
-
value?: bigint;
|
|
744
|
-
}): Promise<`0x${string}`>;
|
|
745
|
-
/**
|
|
746
|
-
* toggleSwap
|
|
747
|
-
* nonpayable
|
|
748
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
749
|
-
*/
|
|
750
|
-
toggleSwap(_swapEnabled: boolean, options?: {
|
|
751
|
-
accessList?: import('viem').AccessList;
|
|
752
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
753
|
-
chain?: import('viem').Chain | null;
|
|
754
|
-
dataSuffix?: `0x${string}`;
|
|
755
|
-
gas?: bigint;
|
|
756
|
-
gasPrice?: bigint;
|
|
757
|
-
maxFeePerGas?: bigint;
|
|
758
|
-
maxPriorityFeePerGas?: bigint;
|
|
759
|
-
nonce?: number;
|
|
760
|
-
value?: bigint;
|
|
761
|
-
}): Promise<`0x${string}`>;
|
|
762
|
-
/**
|
|
763
|
-
* transfer
|
|
764
|
-
* nonpayable
|
|
765
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
766
|
-
*/
|
|
767
|
-
transfer(recipient: `0x${string}`, amount: bigint, options?: {
|
|
768
|
-
accessList?: import('viem').AccessList;
|
|
769
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
770
|
-
chain?: import('viem').Chain | null;
|
|
771
|
-
dataSuffix?: `0x${string}`;
|
|
772
|
-
gas?: bigint;
|
|
773
|
-
gasPrice?: bigint;
|
|
774
|
-
maxFeePerGas?: bigint;
|
|
775
|
-
maxPriorityFeePerGas?: bigint;
|
|
776
|
-
nonce?: number;
|
|
777
|
-
value?: bigint;
|
|
778
|
-
}): Promise<`0x${string}`>;
|
|
779
|
-
/**
|
|
780
|
-
* transferFrom
|
|
781
|
-
* nonpayable
|
|
782
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
783
|
-
*/
|
|
784
|
-
transferFrom(sender: `0x${string}`, recipient: `0x${string}`, amount: bigint, options?: {
|
|
785
|
-
accessList?: import('viem').AccessList;
|
|
786
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
787
|
-
chain?: import('viem').Chain | null;
|
|
788
|
-
dataSuffix?: `0x${string}`;
|
|
789
|
-
gas?: bigint;
|
|
790
|
-
gasPrice?: bigint;
|
|
791
|
-
maxFeePerGas?: bigint;
|
|
792
|
-
maxPriorityFeePerGas?: bigint;
|
|
793
|
-
nonce?: number;
|
|
794
|
-
value?: bigint;
|
|
795
|
-
}): Promise<`0x${string}`>;
|
|
796
|
-
/**
|
|
797
|
-
* transferOwnership
|
|
798
|
-
* nonpayable
|
|
799
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
800
|
-
*/
|
|
801
|
-
transferOwnership(newOwner: `0x${string}`, options?: {
|
|
802
|
-
accessList?: import('viem').AccessList;
|
|
803
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
804
|
-
chain?: import('viem').Chain | null;
|
|
805
|
-
dataSuffix?: `0x${string}`;
|
|
806
|
-
gas?: bigint;
|
|
807
|
-
gasPrice?: bigint;
|
|
808
|
-
maxFeePerGas?: bigint;
|
|
809
|
-
maxPriorityFeePerGas?: bigint;
|
|
810
|
-
nonce?: number;
|
|
811
|
-
value?: bigint;
|
|
812
|
-
}): Promise<`0x${string}`>;
|
|
813
|
-
/**
|
|
814
|
-
* unblockBot
|
|
815
|
-
* nonpayable
|
|
816
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
817
|
-
*/
|
|
818
|
-
unblockBot(notbot: `0x${string}`, options?: {
|
|
819
|
-
accessList?: import('viem').AccessList;
|
|
820
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
821
|
-
chain?: import('viem').Chain | null;
|
|
822
|
-
dataSuffix?: `0x${string}`;
|
|
823
|
-
gas?: bigint;
|
|
824
|
-
gasPrice?: bigint;
|
|
825
|
-
maxFeePerGas?: bigint;
|
|
826
|
-
maxPriorityFeePerGas?: bigint;
|
|
827
|
-
nonce?: number;
|
|
828
|
-
value?: bigint;
|
|
829
|
-
}): Promise<`0x${string}`>;
|
|
830
|
-
/**
|
|
831
|
-
* Simulate contract write operations (dry-run without sending transaction)
|
|
832
|
-
*
|
|
833
|
-
* @example
|
|
834
|
-
* const result = await contract.simulate.transfer('0x...', 1000n);
|
|
835
|
-
* console.log('Gas estimate:', result.request.gas);
|
|
836
|
-
* console.log('Would succeed:', result.result);
|
|
448
|
+
* Simulate contract write operations (dry-run without sending transaction)
|
|
449
|
+
*
|
|
450
|
+
* @example
|
|
451
|
+
* const result = await contract.simulate.transfer('0x...', 1000n);
|
|
452
|
+
* console.log('Gas estimate:', result.request.gas);
|
|
453
|
+
* console.log('Would succeed:', result.result);
|
|
837
454
|
*/
|
|
838
455
|
get simulate(): {
|
|
839
456
|
/**
|
|
@@ -854,11 +471,11 @@ export declare class XAI_json {
|
|
|
854
471
|
value?: bigint;
|
|
855
472
|
}): Promise<boolean>;
|
|
856
473
|
/**
|
|
857
|
-
* Simulate
|
|
474
|
+
* Simulate burn
|
|
858
475
|
* Returns gas estimate and result without sending transaction
|
|
859
476
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
860
477
|
*/
|
|
861
|
-
|
|
478
|
+
burn(amount: bigint, options?: {
|
|
862
479
|
accessList?: import("viem").AccessList;
|
|
863
480
|
authorizationList?: import("viem").AuthorizationList;
|
|
864
481
|
chain?: import("viem").Chain | null;
|
|
@@ -871,11 +488,11 @@ export declare class XAI_json {
|
|
|
871
488
|
value?: bigint;
|
|
872
489
|
}): Promise<void>;
|
|
873
490
|
/**
|
|
874
|
-
* Simulate
|
|
491
|
+
* Simulate burnFrom
|
|
875
492
|
* Returns gas estimate and result without sending transaction
|
|
876
493
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
877
494
|
*/
|
|
878
|
-
|
|
495
|
+
burnFrom(account: `0x${string}`, amount: bigint, options?: {
|
|
879
496
|
accessList?: import("viem").AccessList;
|
|
880
497
|
authorizationList?: import("viem").AuthorizationList;
|
|
881
498
|
chain?: import("viem").Chain | null;
|
|
@@ -888,11 +505,11 @@ export declare class XAI_json {
|
|
|
888
505
|
value?: bigint;
|
|
889
506
|
}): Promise<void>;
|
|
890
507
|
/**
|
|
891
|
-
* Simulate
|
|
508
|
+
* Simulate decreaseAllowance
|
|
892
509
|
* Returns gas estimate and result without sending transaction
|
|
893
510
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
894
511
|
*/
|
|
895
|
-
|
|
512
|
+
decreaseAllowance(spender: `0x${string}`, subtractedValue: bigint, options?: {
|
|
896
513
|
accessList?: import("viem").AccessList;
|
|
897
514
|
authorizationList?: import("viem").AuthorizationList;
|
|
898
515
|
chain?: import("viem").Chain | null;
|
|
@@ -903,132 +520,13 @@ export declare class XAI_json {
|
|
|
903
520
|
maxPriorityFeePerGas?: bigint;
|
|
904
521
|
nonce?: number;
|
|
905
522
|
value?: bigint;
|
|
906
|
-
}): Promise<
|
|
907
|
-
/**
|
|
908
|
-
* Simulate manualswap
|
|
909
|
-
* Returns gas estimate and result without sending transaction
|
|
910
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
911
|
-
*/
|
|
912
|
-
manualswap(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<void>;
|
|
924
|
-
/**
|
|
925
|
-
* Simulate renounceOwnership
|
|
926
|
-
* Returns gas estimate and result without sending transaction
|
|
927
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
928
|
-
*/
|
|
929
|
-
renounceOwnership(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<void>;
|
|
941
|
-
/**
|
|
942
|
-
* Simulate setFee
|
|
943
|
-
* Returns gas estimate and result without sending transaction
|
|
944
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
945
|
-
*/
|
|
946
|
-
setFee(redisFeeOnBuy: bigint, redisFeeOnSell: bigint, taxFeeOnBuy: bigint, taxFeeOnSell: 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<void>;
|
|
958
|
-
/**
|
|
959
|
-
* Simulate setMaxTxnAmount
|
|
960
|
-
* Returns gas estimate and result without sending transaction
|
|
961
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
962
|
-
*/
|
|
963
|
-
setMaxTxnAmount(maxTxAmount: 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<void>;
|
|
975
|
-
/**
|
|
976
|
-
* Simulate setMaxWalletSize
|
|
977
|
-
* Returns gas estimate and result without sending transaction
|
|
978
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
979
|
-
*/
|
|
980
|
-
setMaxWalletSize(maxWalletSize: bigint, 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<void>;
|
|
992
|
-
/**
|
|
993
|
-
* Simulate setMinSwapTokensThreshold
|
|
994
|
-
* Returns gas estimate and result without sending transaction
|
|
995
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
996
|
-
*/
|
|
997
|
-
setMinSwapTokensThreshold(swapTokensAtAmount: bigint, options?: {
|
|
998
|
-
accessList?: import("viem").AccessList;
|
|
999
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
1000
|
-
chain?: import("viem").Chain | null;
|
|
1001
|
-
dataSuffix?: `0x${string}`;
|
|
1002
|
-
gas?: bigint;
|
|
1003
|
-
gasPrice?: bigint;
|
|
1004
|
-
maxFeePerGas?: bigint;
|
|
1005
|
-
maxPriorityFeePerGas?: bigint;
|
|
1006
|
-
nonce?: number;
|
|
1007
|
-
value?: bigint;
|
|
1008
|
-
}): Promise<void>;
|
|
1009
|
-
/**
|
|
1010
|
-
* Simulate setTrading
|
|
1011
|
-
* Returns gas estimate and result without sending transaction
|
|
1012
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1013
|
-
*/
|
|
1014
|
-
setTrading(_tradingOpen: boolean, options?: {
|
|
1015
|
-
accessList?: import("viem").AccessList;
|
|
1016
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
1017
|
-
chain?: import("viem").Chain | null;
|
|
1018
|
-
dataSuffix?: `0x${string}`;
|
|
1019
|
-
gas?: bigint;
|
|
1020
|
-
gasPrice?: bigint;
|
|
1021
|
-
maxFeePerGas?: bigint;
|
|
1022
|
-
maxPriorityFeePerGas?: bigint;
|
|
1023
|
-
nonce?: number;
|
|
1024
|
-
value?: bigint;
|
|
1025
|
-
}): Promise<void>;
|
|
523
|
+
}): Promise<boolean>;
|
|
1026
524
|
/**
|
|
1027
|
-
* Simulate
|
|
525
|
+
* Simulate increaseAllowance
|
|
1028
526
|
* Returns gas estimate and result without sending transaction
|
|
1029
527
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1030
528
|
*/
|
|
1031
|
-
|
|
529
|
+
increaseAllowance(spender: `0x${string}`, addedValue: bigint, options?: {
|
|
1032
530
|
accessList?: import("viem").AccessList;
|
|
1033
531
|
authorizationList?: import("viem").AuthorizationList;
|
|
1034
532
|
chain?: import("viem").Chain | null;
|
|
@@ -1039,7 +537,7 @@ export declare class XAI_json {
|
|
|
1039
537
|
maxPriorityFeePerGas?: bigint;
|
|
1040
538
|
nonce?: number;
|
|
1041
539
|
value?: bigint;
|
|
1042
|
-
}): Promise<
|
|
540
|
+
}): Promise<boolean>;
|
|
1043
541
|
/**
|
|
1044
542
|
* Simulate transfer
|
|
1045
543
|
* Returns gas estimate and result without sending transaction
|
|
@@ -1074,40 +572,6 @@ export declare class XAI_json {
|
|
|
1074
572
|
nonce?: number;
|
|
1075
573
|
value?: bigint;
|
|
1076
574
|
}): Promise<boolean>;
|
|
1077
|
-
/**
|
|
1078
|
-
* Simulate transferOwnership
|
|
1079
|
-
* Returns gas estimate and result without sending transaction
|
|
1080
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1081
|
-
*/
|
|
1082
|
-
transferOwnership(newOwner: `0x${string}`, options?: {
|
|
1083
|
-
accessList?: import("viem").AccessList;
|
|
1084
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
1085
|
-
chain?: import("viem").Chain | null;
|
|
1086
|
-
dataSuffix?: `0x${string}`;
|
|
1087
|
-
gas?: bigint;
|
|
1088
|
-
gasPrice?: bigint;
|
|
1089
|
-
maxFeePerGas?: bigint;
|
|
1090
|
-
maxPriorityFeePerGas?: bigint;
|
|
1091
|
-
nonce?: number;
|
|
1092
|
-
value?: bigint;
|
|
1093
|
-
}): Promise<void>;
|
|
1094
|
-
/**
|
|
1095
|
-
* Simulate unblockBot
|
|
1096
|
-
* Returns gas estimate and result without sending transaction
|
|
1097
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1098
|
-
*/
|
|
1099
|
-
unblockBot(notbot: `0x${string}`, options?: {
|
|
1100
|
-
accessList?: import("viem").AccessList;
|
|
1101
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
1102
|
-
chain?: import("viem").Chain | null;
|
|
1103
|
-
dataSuffix?: `0x${string}`;
|
|
1104
|
-
gas?: bigint;
|
|
1105
|
-
gasPrice?: bigint;
|
|
1106
|
-
maxFeePerGas?: bigint;
|
|
1107
|
-
maxPriorityFeePerGas?: bigint;
|
|
1108
|
-
nonce?: number;
|
|
1109
|
-
value?: bigint;
|
|
1110
|
-
}): Promise<void>;
|
|
1111
575
|
};
|
|
1112
576
|
/**
|
|
1113
577
|
* Watch contract events
|
|
@@ -1136,28 +600,6 @@ export declare class XAI_json {
|
|
|
1136
600
|
owner: `0x${string}`;
|
|
1137
601
|
spender: `0x${string}`;
|
|
1138
602
|
}) => () => void;
|
|
1139
|
-
/**
|
|
1140
|
-
* Watch MaxTxAmountUpdated events
|
|
1141
|
-
* @param callback Function to call when event is emitted
|
|
1142
|
-
* @param filter Optional filter for indexed parameters
|
|
1143
|
-
* @returns Unwatch function to stop listening
|
|
1144
|
-
*/
|
|
1145
|
-
MaxTxAmountUpdated: (callback: (event: {
|
|
1146
|
-
_maxTxAmount: bigint;
|
|
1147
|
-
}) => void) => () => void;
|
|
1148
|
-
/**
|
|
1149
|
-
* Watch OwnershipTransferred events
|
|
1150
|
-
* @param callback Function to call when event is emitted
|
|
1151
|
-
* @param filter Optional filter for indexed parameters
|
|
1152
|
-
* @returns Unwatch function to stop listening
|
|
1153
|
-
*/
|
|
1154
|
-
OwnershipTransferred: (callback: (event: {
|
|
1155
|
-
previousOwner: `0x${string}`;
|
|
1156
|
-
newOwner: `0x${string}`;
|
|
1157
|
-
}) => void, filter?: {
|
|
1158
|
-
previousOwner: `0x${string}`;
|
|
1159
|
-
newOwner: `0x${string}`;
|
|
1160
|
-
}) => () => void;
|
|
1161
603
|
/**
|
|
1162
604
|
* Watch Transfer events
|
|
1163
605
|
* @param callback Function to call when event is emitted
|