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