@gitmyabi-stg/degen 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/contracts/{DEGENOFT.d.ts → DegenFood.d.ts} +570 -1126
- package/contracts/DegenFood.js +1621 -0
- package/contracts/{DEGENOFT.ts → DegenFood.ts} +679 -1390
- 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/DEGENOFT.js +0 -2358
|
@@ -1,87 +1,10 @@
|
|
|
1
1
|
import type { Address, PublicClient, WalletClient } from 'viem';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*/
|
|
5
|
-
export type EnforcedOptionParam = {
|
|
6
|
-
eid: bigint;
|
|
7
|
-
msgType: bigint;
|
|
8
|
-
options: `0x${string}`;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* Origin struct type
|
|
12
|
-
*/
|
|
13
|
-
export type Origin = {
|
|
14
|
-
srcEid: bigint;
|
|
15
|
-
sender: `0x${string}`;
|
|
16
|
-
nonce: bigint;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* InboundPacket struct type
|
|
20
|
-
*/
|
|
21
|
-
export type InboundPacket = {
|
|
22
|
-
origin: Origin;
|
|
23
|
-
dstEid: bigint;
|
|
24
|
-
receiver: `0x${string}`;
|
|
25
|
-
guid: `0x${string}`;
|
|
26
|
-
value: bigint;
|
|
27
|
-
executor: `0x${string}`;
|
|
28
|
-
message: `0x${string}`;
|
|
29
|
-
extraData: `0x${string}`;
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
* SendParam struct type
|
|
33
|
-
*/
|
|
34
|
-
export type SendParam = {
|
|
35
|
-
dstEid: bigint;
|
|
36
|
-
to: `0x${string}`;
|
|
37
|
-
amountLD: bigint;
|
|
38
|
-
minAmountLD: bigint;
|
|
39
|
-
extraOptions: `0x${string}`;
|
|
40
|
-
composeMsg: `0x${string}`;
|
|
41
|
-
oftCmd: `0x${string}`;
|
|
42
|
-
};
|
|
43
|
-
/**
|
|
44
|
-
* OFTLimit struct type
|
|
45
|
-
*/
|
|
46
|
-
export type OFTLimit = {
|
|
47
|
-
minAmountLD: bigint;
|
|
48
|
-
maxAmountLD: bigint;
|
|
49
|
-
};
|
|
50
|
-
/**
|
|
51
|
-
* OFTFeeDetail struct type
|
|
52
|
-
*/
|
|
53
|
-
export type OFTFeeDetail = {
|
|
54
|
-
feeAmountLD: bigint;
|
|
55
|
-
description: string;
|
|
56
|
-
};
|
|
57
|
-
/**
|
|
58
|
-
* OFTReceipt struct type
|
|
59
|
-
*/
|
|
60
|
-
export type OFTReceipt = {
|
|
61
|
-
amountSentLD: bigint;
|
|
62
|
-
amountReceivedLD: bigint;
|
|
63
|
-
};
|
|
64
|
-
/**
|
|
65
|
-
* MessagingFee struct type
|
|
66
|
-
*/
|
|
67
|
-
export type MessagingFee = {
|
|
68
|
-
nativeFee: bigint;
|
|
69
|
-
lzTokenFee: bigint;
|
|
70
|
-
};
|
|
71
|
-
/**
|
|
72
|
-
* MessagingReceipt struct type
|
|
73
|
-
*/
|
|
74
|
-
export type MessagingReceipt = {
|
|
75
|
-
guid: `0x${string}`;
|
|
76
|
-
nonce: bigint;
|
|
77
|
-
fee: MessagingFee;
|
|
78
|
-
};
|
|
79
|
-
/**
|
|
80
|
-
* DEGENOFT ABI
|
|
3
|
+
* DegenFood ABI
|
|
81
4
|
*
|
|
82
5
|
* This ABI is typed using viem's type system for full type safety.
|
|
83
6
|
*/
|
|
84
|
-
export declare const
|
|
7
|
+
export declare const DegenFoodAbi: readonly [{
|
|
85
8
|
readonly inputs: readonly [{
|
|
86
9
|
readonly internalType: "string";
|
|
87
10
|
readonly name: "_name";
|
|
@@ -90,421 +13,150 @@ export declare const DEGENOFTAbi: readonly [{
|
|
|
90
13
|
readonly internalType: "string";
|
|
91
14
|
readonly name: "_symbol";
|
|
92
15
|
readonly type: "string";
|
|
93
|
-
}, {
|
|
94
|
-
readonly internalType: "address";
|
|
95
|
-
readonly name: "_lzEndpoint";
|
|
96
|
-
readonly type: "address";
|
|
97
|
-
}, {
|
|
98
|
-
readonly internalType: "address";
|
|
99
|
-
readonly name: "_delegate";
|
|
100
|
-
readonly type: "address";
|
|
101
|
-
}];
|
|
102
|
-
readonly stateMutability: "nonpayable";
|
|
103
|
-
readonly type: "constructor";
|
|
104
|
-
}, {
|
|
105
|
-
readonly inputs: readonly [{
|
|
106
|
-
readonly internalType: "address";
|
|
107
|
-
readonly name: "target";
|
|
108
|
-
readonly type: "address";
|
|
109
|
-
}];
|
|
110
|
-
readonly name: "AddressEmptyCode";
|
|
111
|
-
readonly type: "error";
|
|
112
|
-
}, {
|
|
113
|
-
readonly inputs: readonly [{
|
|
114
|
-
readonly internalType: "address";
|
|
115
|
-
readonly name: "account";
|
|
116
|
-
readonly type: "address";
|
|
117
|
-
}];
|
|
118
|
-
readonly name: "AddressInsufficientBalance";
|
|
119
|
-
readonly type: "error";
|
|
120
|
-
}, {
|
|
121
|
-
readonly inputs: readonly [{
|
|
122
|
-
readonly internalType: "address";
|
|
123
|
-
readonly name: "spender";
|
|
124
|
-
readonly type: "address";
|
|
125
|
-
}, {
|
|
126
|
-
readonly internalType: "uint256";
|
|
127
|
-
readonly name: "allowance";
|
|
128
|
-
readonly type: "uint256";
|
|
129
16
|
}, {
|
|
130
17
|
readonly internalType: "uint256";
|
|
131
|
-
readonly name: "
|
|
18
|
+
readonly name: "_totalSupplyInTokens";
|
|
132
19
|
readonly type: "uint256";
|
|
133
20
|
}];
|
|
134
|
-
readonly
|
|
135
|
-
readonly type: "
|
|
21
|
+
readonly stateMutability: "nonpayable";
|
|
22
|
+
readonly type: "constructor";
|
|
136
23
|
}, {
|
|
24
|
+
readonly anonymous: false;
|
|
137
25
|
readonly inputs: readonly [{
|
|
26
|
+
readonly indexed: true;
|
|
138
27
|
readonly internalType: "address";
|
|
139
|
-
readonly name: "
|
|
28
|
+
readonly name: "owner";
|
|
140
29
|
readonly type: "address";
|
|
141
30
|
}, {
|
|
142
|
-
readonly
|
|
143
|
-
readonly name: "balance";
|
|
144
|
-
readonly type: "uint256";
|
|
145
|
-
}, {
|
|
146
|
-
readonly internalType: "uint256";
|
|
147
|
-
readonly name: "needed";
|
|
148
|
-
readonly type: "uint256";
|
|
149
|
-
}];
|
|
150
|
-
readonly name: "ERC20InsufficientBalance";
|
|
151
|
-
readonly type: "error";
|
|
152
|
-
}, {
|
|
153
|
-
readonly inputs: readonly [{
|
|
154
|
-
readonly internalType: "address";
|
|
155
|
-
readonly name: "approver";
|
|
156
|
-
readonly type: "address";
|
|
157
|
-
}];
|
|
158
|
-
readonly name: "ERC20InvalidApprover";
|
|
159
|
-
readonly type: "error";
|
|
160
|
-
}, {
|
|
161
|
-
readonly inputs: readonly [{
|
|
162
|
-
readonly internalType: "address";
|
|
163
|
-
readonly name: "receiver";
|
|
164
|
-
readonly type: "address";
|
|
165
|
-
}];
|
|
166
|
-
readonly name: "ERC20InvalidReceiver";
|
|
167
|
-
readonly type: "error";
|
|
168
|
-
}, {
|
|
169
|
-
readonly inputs: readonly [{
|
|
170
|
-
readonly internalType: "address";
|
|
171
|
-
readonly name: "sender";
|
|
172
|
-
readonly type: "address";
|
|
173
|
-
}];
|
|
174
|
-
readonly name: "ERC20InvalidSender";
|
|
175
|
-
readonly type: "error";
|
|
176
|
-
}, {
|
|
177
|
-
readonly inputs: readonly [{
|
|
31
|
+
readonly indexed: true;
|
|
178
32
|
readonly internalType: "address";
|
|
179
33
|
readonly name: "spender";
|
|
180
34
|
readonly type: "address";
|
|
181
|
-
}];
|
|
182
|
-
readonly name: "ERC20InvalidSpender";
|
|
183
|
-
readonly type: "error";
|
|
184
|
-
}, {
|
|
185
|
-
readonly inputs: readonly [];
|
|
186
|
-
readonly name: "FailedInnerCall";
|
|
187
|
-
readonly type: "error";
|
|
188
|
-
}, {
|
|
189
|
-
readonly inputs: readonly [];
|
|
190
|
-
readonly name: "InvalidDelegate";
|
|
191
|
-
readonly type: "error";
|
|
192
|
-
}, {
|
|
193
|
-
readonly inputs: readonly [];
|
|
194
|
-
readonly name: "InvalidEndpointCall";
|
|
195
|
-
readonly type: "error";
|
|
196
|
-
}, {
|
|
197
|
-
readonly inputs: readonly [];
|
|
198
|
-
readonly name: "InvalidLocalDecimals";
|
|
199
|
-
readonly type: "error";
|
|
200
|
-
}, {
|
|
201
|
-
readonly inputs: readonly [{
|
|
202
|
-
readonly internalType: "bytes";
|
|
203
|
-
readonly name: "options";
|
|
204
|
-
readonly type: "bytes";
|
|
205
|
-
}];
|
|
206
|
-
readonly name: "InvalidOptions";
|
|
207
|
-
readonly type: "error";
|
|
208
|
-
}, {
|
|
209
|
-
readonly inputs: readonly [];
|
|
210
|
-
readonly name: "LzTokenUnavailable";
|
|
211
|
-
readonly type: "error";
|
|
212
|
-
}, {
|
|
213
|
-
readonly inputs: readonly [{
|
|
214
|
-
readonly internalType: "uint32";
|
|
215
|
-
readonly name: "eid";
|
|
216
|
-
readonly type: "uint32";
|
|
217
|
-
}];
|
|
218
|
-
readonly name: "NoPeer";
|
|
219
|
-
readonly type: "error";
|
|
220
|
-
}, {
|
|
221
|
-
readonly inputs: readonly [{
|
|
222
|
-
readonly internalType: "uint256";
|
|
223
|
-
readonly name: "msgValue";
|
|
224
|
-
readonly type: "uint256";
|
|
225
|
-
}];
|
|
226
|
-
readonly name: "NotEnoughNative";
|
|
227
|
-
readonly type: "error";
|
|
228
|
-
}, {
|
|
229
|
-
readonly inputs: readonly [{
|
|
230
|
-
readonly internalType: "address";
|
|
231
|
-
readonly name: "addr";
|
|
232
|
-
readonly type: "address";
|
|
233
|
-
}];
|
|
234
|
-
readonly name: "OnlyEndpoint";
|
|
235
|
-
readonly type: "error";
|
|
236
|
-
}, {
|
|
237
|
-
readonly inputs: readonly [{
|
|
238
|
-
readonly internalType: "uint32";
|
|
239
|
-
readonly name: "eid";
|
|
240
|
-
readonly type: "uint32";
|
|
241
|
-
}, {
|
|
242
|
-
readonly internalType: "bytes32";
|
|
243
|
-
readonly name: "sender";
|
|
244
|
-
readonly type: "bytes32";
|
|
245
|
-
}];
|
|
246
|
-
readonly name: "OnlyPeer";
|
|
247
|
-
readonly type: "error";
|
|
248
|
-
}, {
|
|
249
|
-
readonly inputs: readonly [];
|
|
250
|
-
readonly name: "OnlySelf";
|
|
251
|
-
readonly type: "error";
|
|
252
|
-
}, {
|
|
253
|
-
readonly inputs: readonly [{
|
|
254
|
-
readonly internalType: "address";
|
|
255
|
-
readonly name: "owner";
|
|
256
|
-
readonly type: "address";
|
|
257
|
-
}];
|
|
258
|
-
readonly name: "OwnableInvalidOwner";
|
|
259
|
-
readonly type: "error";
|
|
260
|
-
}, {
|
|
261
|
-
readonly inputs: readonly [{
|
|
262
|
-
readonly internalType: "address";
|
|
263
|
-
readonly name: "account";
|
|
264
|
-
readonly type: "address";
|
|
265
|
-
}];
|
|
266
|
-
readonly name: "OwnableUnauthorizedAccount";
|
|
267
|
-
readonly type: "error";
|
|
268
|
-
}, {
|
|
269
|
-
readonly inputs: readonly [{
|
|
270
|
-
readonly internalType: "address";
|
|
271
|
-
readonly name: "token";
|
|
272
|
-
readonly type: "address";
|
|
273
|
-
}];
|
|
274
|
-
readonly name: "SafeERC20FailedOperation";
|
|
275
|
-
readonly type: "error";
|
|
276
|
-
}, {
|
|
277
|
-
readonly inputs: readonly [{
|
|
278
|
-
readonly internalType: "bytes";
|
|
279
|
-
readonly name: "result";
|
|
280
|
-
readonly type: "bytes";
|
|
281
|
-
}];
|
|
282
|
-
readonly name: "SimulationResult";
|
|
283
|
-
readonly type: "error";
|
|
284
|
-
}, {
|
|
285
|
-
readonly inputs: readonly [{
|
|
286
|
-
readonly internalType: "uint256";
|
|
287
|
-
readonly name: "amountLD";
|
|
288
|
-
readonly type: "uint256";
|
|
289
35
|
}, {
|
|
36
|
+
readonly indexed: false;
|
|
290
37
|
readonly internalType: "uint256";
|
|
291
|
-
readonly name: "
|
|
38
|
+
readonly name: "value";
|
|
292
39
|
readonly type: "uint256";
|
|
293
40
|
}];
|
|
294
|
-
readonly name: "
|
|
295
|
-
readonly type: "
|
|
41
|
+
readonly name: "Approval";
|
|
42
|
+
readonly type: "event";
|
|
296
43
|
}, {
|
|
297
44
|
readonly anonymous: false;
|
|
298
45
|
readonly inputs: readonly [{
|
|
299
46
|
readonly indexed: true;
|
|
300
47
|
readonly internalType: "address";
|
|
301
|
-
readonly name: "
|
|
48
|
+
readonly name: "previousOwner";
|
|
302
49
|
readonly type: "address";
|
|
303
50
|
}, {
|
|
304
51
|
readonly indexed: true;
|
|
305
52
|
readonly internalType: "address";
|
|
306
|
-
readonly name: "
|
|
53
|
+
readonly name: "newOwner";
|
|
307
54
|
readonly type: "address";
|
|
308
|
-
}, {
|
|
309
|
-
readonly indexed: false;
|
|
310
|
-
readonly internalType: "uint256";
|
|
311
|
-
readonly name: "value";
|
|
312
|
-
readonly type: "uint256";
|
|
313
55
|
}];
|
|
314
|
-
readonly name: "
|
|
56
|
+
readonly name: "OwnershipTransferred";
|
|
315
57
|
readonly type: "event";
|
|
316
58
|
}, {
|
|
317
59
|
readonly anonymous: false;
|
|
318
|
-
readonly inputs: readonly [
|
|
319
|
-
|
|
320
|
-
readonly internalType: "uint32";
|
|
321
|
-
readonly name: "eid";
|
|
322
|
-
readonly type: "uint32";
|
|
323
|
-
}, {
|
|
324
|
-
readonly internalType: "uint16";
|
|
325
|
-
readonly name: "msgType";
|
|
326
|
-
readonly type: "uint16";
|
|
327
|
-
}, {
|
|
328
|
-
readonly internalType: "bytes";
|
|
329
|
-
readonly name: "options";
|
|
330
|
-
readonly type: "bytes";
|
|
331
|
-
}];
|
|
332
|
-
readonly indexed: false;
|
|
333
|
-
readonly internalType: "struct EnforcedOptionParam[]";
|
|
334
|
-
readonly name: "_enforcedOptions";
|
|
335
|
-
readonly type: "tuple[]";
|
|
336
|
-
}];
|
|
337
|
-
readonly name: "EnforcedOptionSet";
|
|
60
|
+
readonly inputs: readonly [];
|
|
61
|
+
readonly name: "RemovedLimits";
|
|
338
62
|
readonly type: "event";
|
|
339
63
|
}, {
|
|
340
64
|
readonly anonymous: false;
|
|
341
65
|
readonly inputs: readonly [{
|
|
342
66
|
readonly indexed: false;
|
|
343
67
|
readonly internalType: "address";
|
|
344
|
-
readonly name: "
|
|
68
|
+
readonly name: "_address";
|
|
345
69
|
readonly type: "address";
|
|
70
|
+
}, {
|
|
71
|
+
readonly indexed: false;
|
|
72
|
+
readonly internalType: "bool";
|
|
73
|
+
readonly name: "_isExempt";
|
|
74
|
+
readonly type: "bool";
|
|
346
75
|
}];
|
|
347
|
-
readonly name: "
|
|
76
|
+
readonly name: "SetExemptFromFees";
|
|
348
77
|
readonly type: "event";
|
|
349
78
|
}, {
|
|
350
79
|
readonly anonymous: false;
|
|
351
80
|
readonly inputs: readonly [{
|
|
352
|
-
readonly indexed: true;
|
|
353
|
-
readonly internalType: "bytes32";
|
|
354
|
-
readonly name: "guid";
|
|
355
|
-
readonly type: "bytes32";
|
|
356
|
-
}, {
|
|
357
81
|
readonly indexed: false;
|
|
358
|
-
readonly internalType: "uint32";
|
|
359
|
-
readonly name: "srcEid";
|
|
360
|
-
readonly type: "uint32";
|
|
361
|
-
}, {
|
|
362
|
-
readonly indexed: true;
|
|
363
82
|
readonly internalType: "address";
|
|
364
|
-
readonly name: "
|
|
83
|
+
readonly name: "_address";
|
|
365
84
|
readonly type: "address";
|
|
366
85
|
}, {
|
|
367
86
|
readonly indexed: false;
|
|
368
|
-
readonly internalType: "
|
|
369
|
-
readonly name: "
|
|
370
|
-
readonly type: "
|
|
87
|
+
readonly internalType: "bool";
|
|
88
|
+
readonly name: "_isExempt";
|
|
89
|
+
readonly type: "bool";
|
|
371
90
|
}];
|
|
372
|
-
readonly name: "
|
|
91
|
+
readonly name: "SetExemptFromLimits";
|
|
373
92
|
readonly type: "event";
|
|
374
93
|
}, {
|
|
375
94
|
readonly anonymous: false;
|
|
376
95
|
readonly inputs: readonly [{
|
|
377
96
|
readonly indexed: true;
|
|
378
|
-
readonly internalType: "
|
|
379
|
-
readonly name: "
|
|
380
|
-
readonly type: "
|
|
381
|
-
}, {
|
|
382
|
-
readonly indexed: false;
|
|
383
|
-
readonly internalType: "uint32";
|
|
384
|
-
readonly name: "dstEid";
|
|
385
|
-
readonly type: "uint32";
|
|
97
|
+
readonly internalType: "address";
|
|
98
|
+
readonly name: "from";
|
|
99
|
+
readonly type: "address";
|
|
386
100
|
}, {
|
|
387
101
|
readonly indexed: true;
|
|
388
102
|
readonly internalType: "address";
|
|
389
|
-
readonly name: "
|
|
103
|
+
readonly name: "to";
|
|
390
104
|
readonly type: "address";
|
|
391
105
|
}, {
|
|
392
106
|
readonly indexed: false;
|
|
393
107
|
readonly internalType: "uint256";
|
|
394
|
-
readonly name: "
|
|
395
|
-
readonly type: "uint256";
|
|
396
|
-
}, {
|
|
397
|
-
readonly indexed: false;
|
|
398
|
-
readonly internalType: "uint256";
|
|
399
|
-
readonly name: "amountReceivedLD";
|
|
108
|
+
readonly name: "value";
|
|
400
109
|
readonly type: "uint256";
|
|
401
110
|
}];
|
|
402
|
-
readonly name: "
|
|
111
|
+
readonly name: "Transfer";
|
|
403
112
|
readonly type: "event";
|
|
404
113
|
}, {
|
|
405
114
|
readonly anonymous: false;
|
|
406
115
|
readonly inputs: readonly [{
|
|
407
|
-
readonly indexed:
|
|
408
|
-
readonly internalType: "
|
|
409
|
-
readonly name: "
|
|
410
|
-
readonly type: "
|
|
411
|
-
}, {
|
|
412
|
-
readonly indexed: true;
|
|
413
|
-
readonly internalType: "address";
|
|
414
|
-
readonly name: "newOwner";
|
|
415
|
-
readonly type: "address";
|
|
116
|
+
readonly indexed: false;
|
|
117
|
+
readonly internalType: "uint256";
|
|
118
|
+
readonly name: "newAmt";
|
|
119
|
+
readonly type: "uint256";
|
|
416
120
|
}];
|
|
417
|
-
readonly name: "
|
|
121
|
+
readonly name: "UpdatedBuyTax";
|
|
418
122
|
readonly type: "event";
|
|
419
123
|
}, {
|
|
420
124
|
readonly anonymous: false;
|
|
421
125
|
readonly inputs: readonly [{
|
|
422
126
|
readonly indexed: false;
|
|
423
|
-
readonly internalType: "
|
|
424
|
-
readonly name: "
|
|
425
|
-
readonly type: "
|
|
426
|
-
}, {
|
|
427
|
-
readonly indexed: false;
|
|
428
|
-
readonly internalType: "bytes32";
|
|
429
|
-
readonly name: "peer";
|
|
430
|
-
readonly type: "bytes32";
|
|
127
|
+
readonly internalType: "uint256";
|
|
128
|
+
readonly name: "newMax";
|
|
129
|
+
readonly type: "uint256";
|
|
431
130
|
}];
|
|
432
|
-
readonly name: "
|
|
131
|
+
readonly name: "UpdatedMaxTransaction";
|
|
433
132
|
readonly type: "event";
|
|
434
133
|
}, {
|
|
435
134
|
readonly anonymous: false;
|
|
436
135
|
readonly inputs: readonly [{
|
|
437
136
|
readonly indexed: false;
|
|
438
|
-
readonly internalType: "
|
|
439
|
-
readonly name: "
|
|
440
|
-
readonly type: "
|
|
137
|
+
readonly internalType: "uint256";
|
|
138
|
+
readonly name: "newMax";
|
|
139
|
+
readonly type: "uint256";
|
|
441
140
|
}];
|
|
442
|
-
readonly name: "
|
|
141
|
+
readonly name: "UpdatedMaxWallet";
|
|
443
142
|
readonly type: "event";
|
|
444
143
|
}, {
|
|
445
144
|
readonly anonymous: false;
|
|
446
145
|
readonly inputs: readonly [{
|
|
447
|
-
readonly indexed: true;
|
|
448
|
-
readonly internalType: "address";
|
|
449
|
-
readonly name: "from";
|
|
450
|
-
readonly type: "address";
|
|
451
|
-
}, {
|
|
452
|
-
readonly indexed: true;
|
|
453
|
-
readonly internalType: "address";
|
|
454
|
-
readonly name: "to";
|
|
455
|
-
readonly type: "address";
|
|
456
|
-
}, {
|
|
457
146
|
readonly indexed: false;
|
|
458
147
|
readonly internalType: "uint256";
|
|
459
|
-
readonly name: "
|
|
148
|
+
readonly name: "newAmt";
|
|
460
149
|
readonly type: "uint256";
|
|
461
150
|
}];
|
|
462
|
-
readonly name: "
|
|
151
|
+
readonly name: "UpdatedSellTax";
|
|
463
152
|
readonly type: "event";
|
|
464
153
|
}, {
|
|
465
154
|
readonly inputs: readonly [];
|
|
466
|
-
readonly name: "
|
|
467
|
-
readonly outputs: readonly [{
|
|
468
|
-
readonly internalType: "uint16";
|
|
469
|
-
readonly name: "";
|
|
470
|
-
readonly type: "uint16";
|
|
471
|
-
}];
|
|
472
|
-
readonly stateMutability: "view";
|
|
473
|
-
readonly type: "function";
|
|
474
|
-
}, {
|
|
475
|
-
readonly inputs: readonly [];
|
|
476
|
-
readonly name: "SEND_AND_CALL";
|
|
477
|
-
readonly outputs: readonly [{
|
|
478
|
-
readonly internalType: "uint16";
|
|
479
|
-
readonly name: "";
|
|
480
|
-
readonly type: "uint16";
|
|
481
|
-
}];
|
|
482
|
-
readonly stateMutability: "view";
|
|
483
|
-
readonly type: "function";
|
|
484
|
-
}, {
|
|
485
|
-
readonly inputs: readonly [{
|
|
486
|
-
readonly components: readonly [{
|
|
487
|
-
readonly internalType: "uint32";
|
|
488
|
-
readonly name: "srcEid";
|
|
489
|
-
readonly type: "uint32";
|
|
490
|
-
}, {
|
|
491
|
-
readonly internalType: "bytes32";
|
|
492
|
-
readonly name: "sender";
|
|
493
|
-
readonly type: "bytes32";
|
|
494
|
-
}, {
|
|
495
|
-
readonly internalType: "uint64";
|
|
496
|
-
readonly name: "nonce";
|
|
497
|
-
readonly type: "uint64";
|
|
498
|
-
}];
|
|
499
|
-
readonly internalType: "struct Origin";
|
|
500
|
-
readonly name: "origin";
|
|
501
|
-
readonly type: "tuple";
|
|
502
|
-
}];
|
|
503
|
-
readonly name: "allowInitializePath";
|
|
155
|
+
readonly name: "FEE_DIVISOR";
|
|
504
156
|
readonly outputs: readonly [{
|
|
505
|
-
readonly internalType: "
|
|
157
|
+
readonly internalType: "uint256";
|
|
506
158
|
readonly name: "";
|
|
507
|
-
readonly type: "
|
|
159
|
+
readonly type: "uint256";
|
|
508
160
|
}];
|
|
509
161
|
readonly stateMutability: "view";
|
|
510
162
|
readonly type: "function";
|
|
@@ -526,16 +178,6 @@ export declare const DEGENOFTAbi: readonly [{
|
|
|
526
178
|
}];
|
|
527
179
|
readonly stateMutability: "view";
|
|
528
180
|
readonly type: "function";
|
|
529
|
-
}, {
|
|
530
|
-
readonly inputs: readonly [];
|
|
531
|
-
readonly name: "approvalRequired";
|
|
532
|
-
readonly outputs: readonly [{
|
|
533
|
-
readonly internalType: "bool";
|
|
534
|
-
readonly name: "";
|
|
535
|
-
readonly type: "bool";
|
|
536
|
-
}];
|
|
537
|
-
readonly stateMutability: "pure";
|
|
538
|
-
readonly type: "function";
|
|
539
181
|
}, {
|
|
540
182
|
readonly inputs: readonly [{
|
|
541
183
|
readonly internalType: "address";
|
|
@@ -543,7 +185,7 @@ export declare const DEGENOFTAbi: readonly [{
|
|
|
543
185
|
readonly type: "address";
|
|
544
186
|
}, {
|
|
545
187
|
readonly internalType: "uint256";
|
|
546
|
-
readonly name: "
|
|
188
|
+
readonly name: "amount";
|
|
547
189
|
readonly type: "uint256";
|
|
548
190
|
}];
|
|
549
191
|
readonly name: "approve";
|
|
@@ -568,31 +210,9 @@ export declare const DEGENOFTAbi: readonly [{
|
|
|
568
210
|
}];
|
|
569
211
|
readonly stateMutability: "view";
|
|
570
212
|
readonly type: "function";
|
|
571
|
-
}, {
|
|
572
|
-
readonly inputs: readonly [{
|
|
573
|
-
readonly internalType: "uint32";
|
|
574
|
-
readonly name: "_eid";
|
|
575
|
-
readonly type: "uint32";
|
|
576
|
-
}, {
|
|
577
|
-
readonly internalType: "uint16";
|
|
578
|
-
readonly name: "_msgType";
|
|
579
|
-
readonly type: "uint16";
|
|
580
|
-
}, {
|
|
581
|
-
readonly internalType: "bytes";
|
|
582
|
-
readonly name: "_extraOptions";
|
|
583
|
-
readonly type: "bytes";
|
|
584
|
-
}];
|
|
585
|
-
readonly name: "combineOptions";
|
|
586
|
-
readonly outputs: readonly [{
|
|
587
|
-
readonly internalType: "bytes";
|
|
588
|
-
readonly name: "";
|
|
589
|
-
readonly type: "bytes";
|
|
590
|
-
}];
|
|
591
|
-
readonly stateMutability: "view";
|
|
592
|
-
readonly type: "function";
|
|
593
213
|
}, {
|
|
594
214
|
readonly inputs: readonly [];
|
|
595
|
-
readonly name: "
|
|
215
|
+
readonly name: "buyTotalTax";
|
|
596
216
|
readonly outputs: readonly [{
|
|
597
217
|
readonly internalType: "uint256";
|
|
598
218
|
readonly name: "";
|
|
@@ -610,62 +230,65 @@ export declare const DEGENOFTAbi: readonly [{
|
|
|
610
230
|
}];
|
|
611
231
|
readonly stateMutability: "view";
|
|
612
232
|
readonly type: "function";
|
|
233
|
+
}, {
|
|
234
|
+
readonly inputs: readonly [{
|
|
235
|
+
readonly internalType: "address";
|
|
236
|
+
readonly name: "spender";
|
|
237
|
+
readonly type: "address";
|
|
238
|
+
}, {
|
|
239
|
+
readonly internalType: "uint256";
|
|
240
|
+
readonly name: "subtractedValue";
|
|
241
|
+
readonly type: "uint256";
|
|
242
|
+
}];
|
|
243
|
+
readonly name: "decreaseAllowance";
|
|
244
|
+
readonly outputs: readonly [{
|
|
245
|
+
readonly internalType: "bool";
|
|
246
|
+
readonly name: "";
|
|
247
|
+
readonly type: "bool";
|
|
248
|
+
}];
|
|
249
|
+
readonly stateMutability: "nonpayable";
|
|
250
|
+
readonly type: "function";
|
|
613
251
|
}, {
|
|
614
252
|
readonly inputs: readonly [];
|
|
615
|
-
readonly name: "
|
|
253
|
+
readonly name: "dexRouter";
|
|
616
254
|
readonly outputs: readonly [{
|
|
617
|
-
readonly internalType: "contract
|
|
255
|
+
readonly internalType: "contract IDexRouter";
|
|
618
256
|
readonly name: "";
|
|
619
257
|
readonly type: "address";
|
|
620
258
|
}];
|
|
621
259
|
readonly stateMutability: "view";
|
|
622
260
|
readonly type: "function";
|
|
261
|
+
}, {
|
|
262
|
+
readonly inputs: readonly [];
|
|
263
|
+
readonly name: "enableTrading";
|
|
264
|
+
readonly outputs: readonly [];
|
|
265
|
+
readonly stateMutability: "nonpayable";
|
|
266
|
+
readonly type: "function";
|
|
623
267
|
}, {
|
|
624
268
|
readonly inputs: readonly [{
|
|
625
|
-
readonly internalType: "
|
|
626
|
-
readonly name: "
|
|
627
|
-
readonly type: "
|
|
269
|
+
readonly internalType: "uint8";
|
|
270
|
+
readonly name: "v";
|
|
271
|
+
readonly type: "uint8";
|
|
628
272
|
}, {
|
|
629
|
-
readonly internalType: "
|
|
630
|
-
readonly name: "
|
|
631
|
-
readonly type: "
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
readonly
|
|
636
|
-
readonly name: "enforcedOption";
|
|
637
|
-
readonly type: "bytes";
|
|
273
|
+
readonly internalType: "bytes32";
|
|
274
|
+
readonly name: "r";
|
|
275
|
+
readonly type: "bytes32";
|
|
276
|
+
}, {
|
|
277
|
+
readonly internalType: "bytes32";
|
|
278
|
+
readonly name: "s";
|
|
279
|
+
readonly type: "bytes32";
|
|
638
280
|
}];
|
|
639
|
-
readonly
|
|
281
|
+
readonly name: "enableTradingWithPermit";
|
|
282
|
+
readonly outputs: readonly [];
|
|
283
|
+
readonly stateMutability: "nonpayable";
|
|
640
284
|
readonly type: "function";
|
|
641
285
|
}, {
|
|
642
286
|
readonly inputs: readonly [{
|
|
643
|
-
readonly components: readonly [{
|
|
644
|
-
readonly internalType: "uint32";
|
|
645
|
-
readonly name: "srcEid";
|
|
646
|
-
readonly type: "uint32";
|
|
647
|
-
}, {
|
|
648
|
-
readonly internalType: "bytes32";
|
|
649
|
-
readonly name: "sender";
|
|
650
|
-
readonly type: "bytes32";
|
|
651
|
-
}, {
|
|
652
|
-
readonly internalType: "uint64";
|
|
653
|
-
readonly name: "nonce";
|
|
654
|
-
readonly type: "uint64";
|
|
655
|
-
}];
|
|
656
|
-
readonly internalType: "struct Origin";
|
|
657
|
-
readonly name: "";
|
|
658
|
-
readonly type: "tuple";
|
|
659
|
-
}, {
|
|
660
|
-
readonly internalType: "bytes";
|
|
661
|
-
readonly name: "";
|
|
662
|
-
readonly type: "bytes";
|
|
663
|
-
}, {
|
|
664
287
|
readonly internalType: "address";
|
|
665
|
-
readonly name: "
|
|
288
|
+
readonly name: "";
|
|
666
289
|
readonly type: "address";
|
|
667
290
|
}];
|
|
668
|
-
readonly name: "
|
|
291
|
+
readonly name: "exemptFromFees";
|
|
669
292
|
readonly outputs: readonly [{
|
|
670
293
|
readonly internalType: "bool";
|
|
671
294
|
readonly name: "";
|
|
@@ -675,15 +298,11 @@ export declare const DEGENOFTAbi: readonly [{
|
|
|
675
298
|
readonly type: "function";
|
|
676
299
|
}, {
|
|
677
300
|
readonly inputs: readonly [{
|
|
678
|
-
readonly internalType: "
|
|
679
|
-
readonly name: "
|
|
680
|
-
readonly type: "
|
|
681
|
-
}, {
|
|
682
|
-
readonly internalType: "bytes32";
|
|
683
|
-
readonly name: "_peer";
|
|
684
|
-
readonly type: "bytes32";
|
|
301
|
+
readonly internalType: "address";
|
|
302
|
+
readonly name: "";
|
|
303
|
+
readonly type: "address";
|
|
685
304
|
}];
|
|
686
|
-
readonly name: "
|
|
305
|
+
readonly name: "exemptFromLimits";
|
|
687
306
|
readonly outputs: readonly [{
|
|
688
307
|
readonly internalType: "bool";
|
|
689
308
|
readonly name: "";
|
|
@@ -693,179 +312,49 @@ export declare const DEGENOFTAbi: readonly [{
|
|
|
693
312
|
readonly type: "function";
|
|
694
313
|
}, {
|
|
695
314
|
readonly inputs: readonly [{
|
|
696
|
-
readonly components: readonly [{
|
|
697
|
-
readonly internalType: "uint32";
|
|
698
|
-
readonly name: "srcEid";
|
|
699
|
-
readonly type: "uint32";
|
|
700
|
-
}, {
|
|
701
|
-
readonly internalType: "bytes32";
|
|
702
|
-
readonly name: "sender";
|
|
703
|
-
readonly type: "bytes32";
|
|
704
|
-
}, {
|
|
705
|
-
readonly internalType: "uint64";
|
|
706
|
-
readonly name: "nonce";
|
|
707
|
-
readonly type: "uint64";
|
|
708
|
-
}];
|
|
709
|
-
readonly internalType: "struct Origin";
|
|
710
|
-
readonly name: "_origin";
|
|
711
|
-
readonly type: "tuple";
|
|
712
|
-
}, {
|
|
713
|
-
readonly internalType: "bytes32";
|
|
714
|
-
readonly name: "_guid";
|
|
715
|
-
readonly type: "bytes32";
|
|
716
|
-
}, {
|
|
717
|
-
readonly internalType: "bytes";
|
|
718
|
-
readonly name: "_message";
|
|
719
|
-
readonly type: "bytes";
|
|
720
|
-
}, {
|
|
721
315
|
readonly internalType: "address";
|
|
722
|
-
readonly name: "
|
|
316
|
+
readonly name: "spender";
|
|
723
317
|
readonly type: "address";
|
|
724
318
|
}, {
|
|
725
|
-
readonly internalType: "
|
|
726
|
-
readonly name: "
|
|
727
|
-
readonly type: "
|
|
319
|
+
readonly internalType: "uint256";
|
|
320
|
+
readonly name: "addedValue";
|
|
321
|
+
readonly type: "uint256";
|
|
728
322
|
}];
|
|
729
|
-
readonly name: "
|
|
730
|
-
readonly outputs: readonly [
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
readonly inputs: readonly [{
|
|
735
|
-
readonly components: readonly [{
|
|
736
|
-
readonly components: readonly [{
|
|
737
|
-
readonly internalType: "uint32";
|
|
738
|
-
readonly name: "srcEid";
|
|
739
|
-
readonly type: "uint32";
|
|
740
|
-
}, {
|
|
741
|
-
readonly internalType: "bytes32";
|
|
742
|
-
readonly name: "sender";
|
|
743
|
-
readonly type: "bytes32";
|
|
744
|
-
}, {
|
|
745
|
-
readonly internalType: "uint64";
|
|
746
|
-
readonly name: "nonce";
|
|
747
|
-
readonly type: "uint64";
|
|
748
|
-
}];
|
|
749
|
-
readonly internalType: "struct Origin";
|
|
750
|
-
readonly name: "origin";
|
|
751
|
-
readonly type: "tuple";
|
|
752
|
-
}, {
|
|
753
|
-
readonly internalType: "uint32";
|
|
754
|
-
readonly name: "dstEid";
|
|
755
|
-
readonly type: "uint32";
|
|
756
|
-
}, {
|
|
757
|
-
readonly internalType: "address";
|
|
758
|
-
readonly name: "receiver";
|
|
759
|
-
readonly type: "address";
|
|
760
|
-
}, {
|
|
761
|
-
readonly internalType: "bytes32";
|
|
762
|
-
readonly name: "guid";
|
|
763
|
-
readonly type: "bytes32";
|
|
764
|
-
}, {
|
|
765
|
-
readonly internalType: "uint256";
|
|
766
|
-
readonly name: "value";
|
|
767
|
-
readonly type: "uint256";
|
|
768
|
-
}, {
|
|
769
|
-
readonly internalType: "address";
|
|
770
|
-
readonly name: "executor";
|
|
771
|
-
readonly type: "address";
|
|
772
|
-
}, {
|
|
773
|
-
readonly internalType: "bytes";
|
|
774
|
-
readonly name: "message";
|
|
775
|
-
readonly type: "bytes";
|
|
776
|
-
}, {
|
|
777
|
-
readonly internalType: "bytes";
|
|
778
|
-
readonly name: "extraData";
|
|
779
|
-
readonly type: "bytes";
|
|
780
|
-
}];
|
|
781
|
-
readonly internalType: "struct InboundPacket[]";
|
|
782
|
-
readonly name: "_packets";
|
|
783
|
-
readonly type: "tuple[]";
|
|
323
|
+
readonly name: "increaseAllowance";
|
|
324
|
+
readonly outputs: readonly [{
|
|
325
|
+
readonly internalType: "bool";
|
|
326
|
+
readonly name: "";
|
|
327
|
+
readonly type: "bool";
|
|
784
328
|
}];
|
|
785
|
-
readonly
|
|
786
|
-
readonly outputs: readonly [];
|
|
787
|
-
readonly stateMutability: "payable";
|
|
329
|
+
readonly stateMutability: "nonpayable";
|
|
788
330
|
readonly type: "function";
|
|
789
331
|
}, {
|
|
790
332
|
readonly inputs: readonly [{
|
|
791
|
-
readonly components: readonly [{
|
|
792
|
-
readonly internalType: "uint32";
|
|
793
|
-
readonly name: "srcEid";
|
|
794
|
-
readonly type: "uint32";
|
|
795
|
-
}, {
|
|
796
|
-
readonly internalType: "bytes32";
|
|
797
|
-
readonly name: "sender";
|
|
798
|
-
readonly type: "bytes32";
|
|
799
|
-
}, {
|
|
800
|
-
readonly internalType: "uint64";
|
|
801
|
-
readonly name: "nonce";
|
|
802
|
-
readonly type: "uint64";
|
|
803
|
-
}];
|
|
804
|
-
readonly internalType: "struct Origin";
|
|
805
|
-
readonly name: "_origin";
|
|
806
|
-
readonly type: "tuple";
|
|
807
|
-
}, {
|
|
808
|
-
readonly internalType: "bytes32";
|
|
809
|
-
readonly name: "_guid";
|
|
810
|
-
readonly type: "bytes32";
|
|
811
|
-
}, {
|
|
812
|
-
readonly internalType: "bytes";
|
|
813
|
-
readonly name: "_message";
|
|
814
|
-
readonly type: "bytes";
|
|
815
|
-
}, {
|
|
816
333
|
readonly internalType: "address";
|
|
817
|
-
readonly name: "
|
|
334
|
+
readonly name: "";
|
|
818
335
|
readonly type: "address";
|
|
819
|
-
}, {
|
|
820
|
-
readonly internalType: "bytes";
|
|
821
|
-
readonly name: "_extraData";
|
|
822
|
-
readonly type: "bytes";
|
|
823
336
|
}];
|
|
824
|
-
readonly name: "
|
|
825
|
-
readonly outputs: readonly [];
|
|
826
|
-
readonly stateMutability: "payable";
|
|
827
|
-
readonly type: "function";
|
|
828
|
-
}, {
|
|
829
|
-
readonly inputs: readonly [];
|
|
830
|
-
readonly name: "msgInspector";
|
|
337
|
+
readonly name: "isAMMPair";
|
|
831
338
|
readonly outputs: readonly [{
|
|
832
|
-
readonly internalType: "
|
|
339
|
+
readonly internalType: "bool";
|
|
833
340
|
readonly name: "";
|
|
834
|
-
readonly type: "
|
|
341
|
+
readonly type: "bool";
|
|
835
342
|
}];
|
|
836
343
|
readonly stateMutability: "view";
|
|
837
344
|
readonly type: "function";
|
|
838
345
|
}, {
|
|
839
346
|
readonly inputs: readonly [];
|
|
840
|
-
readonly name: "
|
|
347
|
+
readonly name: "limitsInEffect";
|
|
841
348
|
readonly outputs: readonly [{
|
|
842
|
-
readonly internalType: "
|
|
843
|
-
readonly name: "";
|
|
844
|
-
readonly type: "string";
|
|
845
|
-
}];
|
|
846
|
-
readonly stateMutability: "view";
|
|
847
|
-
readonly type: "function";
|
|
848
|
-
}, {
|
|
849
|
-
readonly inputs: readonly [{
|
|
850
|
-
readonly internalType: "uint32";
|
|
851
|
-
readonly name: "";
|
|
852
|
-
readonly type: "uint32";
|
|
853
|
-
}, {
|
|
854
|
-
readonly internalType: "bytes32";
|
|
349
|
+
readonly internalType: "bool";
|
|
855
350
|
readonly name: "";
|
|
856
|
-
readonly type: "
|
|
857
|
-
}];
|
|
858
|
-
readonly name: "nextNonce";
|
|
859
|
-
readonly outputs: readonly [{
|
|
860
|
-
readonly internalType: "uint64";
|
|
861
|
-
readonly name: "nonce";
|
|
862
|
-
readonly type: "uint64";
|
|
351
|
+
readonly type: "bool";
|
|
863
352
|
}];
|
|
864
353
|
readonly stateMutability: "view";
|
|
865
354
|
readonly type: "function";
|
|
866
355
|
}, {
|
|
867
356
|
readonly inputs: readonly [];
|
|
868
|
-
readonly name: "
|
|
357
|
+
readonly name: "lpPair";
|
|
869
358
|
readonly outputs: readonly [{
|
|
870
359
|
readonly internalType: "address";
|
|
871
360
|
readonly name: "";
|
|
@@ -875,59 +364,37 @@ export declare const DEGENOFTAbi: readonly [{
|
|
|
875
364
|
readonly type: "function";
|
|
876
365
|
}, {
|
|
877
366
|
readonly inputs: readonly [];
|
|
878
|
-
readonly name: "
|
|
879
|
-
readonly outputs: readonly [{
|
|
880
|
-
readonly internalType: "uint64";
|
|
881
|
-
readonly name: "senderVersion";
|
|
882
|
-
readonly type: "uint64";
|
|
883
|
-
}, {
|
|
884
|
-
readonly internalType: "uint64";
|
|
885
|
-
readonly name: "receiverVersion";
|
|
886
|
-
readonly type: "uint64";
|
|
887
|
-
}];
|
|
888
|
-
readonly stateMutability: "pure";
|
|
889
|
-
readonly type: "function";
|
|
890
|
-
}, {
|
|
891
|
-
readonly inputs: readonly [];
|
|
892
|
-
readonly name: "oftVersion";
|
|
367
|
+
readonly name: "maxTransaction";
|
|
893
368
|
readonly outputs: readonly [{
|
|
894
|
-
readonly internalType: "
|
|
895
|
-
readonly name: "
|
|
896
|
-
readonly type: "
|
|
897
|
-
}, {
|
|
898
|
-
readonly internalType: "uint64";
|
|
899
|
-
readonly name: "version";
|
|
900
|
-
readonly type: "uint64";
|
|
369
|
+
readonly internalType: "uint256";
|
|
370
|
+
readonly name: "";
|
|
371
|
+
readonly type: "uint256";
|
|
901
372
|
}];
|
|
902
|
-
readonly stateMutability: "
|
|
373
|
+
readonly stateMutability: "view";
|
|
903
374
|
readonly type: "function";
|
|
904
375
|
}, {
|
|
905
376
|
readonly inputs: readonly [];
|
|
906
|
-
readonly name: "
|
|
377
|
+
readonly name: "maxWallet";
|
|
907
378
|
readonly outputs: readonly [{
|
|
908
|
-
readonly internalType: "
|
|
379
|
+
readonly internalType: "uint256";
|
|
909
380
|
readonly name: "";
|
|
910
|
-
readonly type: "
|
|
381
|
+
readonly type: "uint256";
|
|
911
382
|
}];
|
|
912
383
|
readonly stateMutability: "view";
|
|
913
384
|
readonly type: "function";
|
|
914
385
|
}, {
|
|
915
|
-
readonly inputs: readonly [
|
|
916
|
-
|
|
917
|
-
readonly name: "eid";
|
|
918
|
-
readonly type: "uint32";
|
|
919
|
-
}];
|
|
920
|
-
readonly name: "peers";
|
|
386
|
+
readonly inputs: readonly [];
|
|
387
|
+
readonly name: "name";
|
|
921
388
|
readonly outputs: readonly [{
|
|
922
|
-
readonly internalType: "
|
|
923
|
-
readonly name: "
|
|
924
|
-
readonly type: "
|
|
389
|
+
readonly internalType: "string";
|
|
390
|
+
readonly name: "";
|
|
391
|
+
readonly type: "string";
|
|
925
392
|
}];
|
|
926
393
|
readonly stateMutability: "view";
|
|
927
394
|
readonly type: "function";
|
|
928
395
|
}, {
|
|
929
396
|
readonly inputs: readonly [];
|
|
930
|
-
readonly name: "
|
|
397
|
+
readonly name: "owner";
|
|
931
398
|
readonly outputs: readonly [{
|
|
932
399
|
readonly internalType: "address";
|
|
933
400
|
readonly name: "";
|
|
@@ -936,138 +403,10 @@ export declare const DEGENOFTAbi: readonly [{
|
|
|
936
403
|
readonly stateMutability: "view";
|
|
937
404
|
readonly type: "function";
|
|
938
405
|
}, {
|
|
939
|
-
readonly inputs: readonly [
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
readonly type: "uint32";
|
|
944
|
-
}, {
|
|
945
|
-
readonly internalType: "bytes32";
|
|
946
|
-
readonly name: "to";
|
|
947
|
-
readonly type: "bytes32";
|
|
948
|
-
}, {
|
|
949
|
-
readonly internalType: "uint256";
|
|
950
|
-
readonly name: "amountLD";
|
|
951
|
-
readonly type: "uint256";
|
|
952
|
-
}, {
|
|
953
|
-
readonly internalType: "uint256";
|
|
954
|
-
readonly name: "minAmountLD";
|
|
955
|
-
readonly type: "uint256";
|
|
956
|
-
}, {
|
|
957
|
-
readonly internalType: "bytes";
|
|
958
|
-
readonly name: "extraOptions";
|
|
959
|
-
readonly type: "bytes";
|
|
960
|
-
}, {
|
|
961
|
-
readonly internalType: "bytes";
|
|
962
|
-
readonly name: "composeMsg";
|
|
963
|
-
readonly type: "bytes";
|
|
964
|
-
}, {
|
|
965
|
-
readonly internalType: "bytes";
|
|
966
|
-
readonly name: "oftCmd";
|
|
967
|
-
readonly type: "bytes";
|
|
968
|
-
}];
|
|
969
|
-
readonly internalType: "struct SendParam";
|
|
970
|
-
readonly name: "_sendParam";
|
|
971
|
-
readonly type: "tuple";
|
|
972
|
-
}];
|
|
973
|
-
readonly name: "quoteOFT";
|
|
974
|
-
readonly outputs: readonly [{
|
|
975
|
-
readonly components: readonly [{
|
|
976
|
-
readonly internalType: "uint256";
|
|
977
|
-
readonly name: "minAmountLD";
|
|
978
|
-
readonly type: "uint256";
|
|
979
|
-
}, {
|
|
980
|
-
readonly internalType: "uint256";
|
|
981
|
-
readonly name: "maxAmountLD";
|
|
982
|
-
readonly type: "uint256";
|
|
983
|
-
}];
|
|
984
|
-
readonly internalType: "struct OFTLimit";
|
|
985
|
-
readonly name: "oftLimit";
|
|
986
|
-
readonly type: "tuple";
|
|
987
|
-
}, {
|
|
988
|
-
readonly components: readonly [{
|
|
989
|
-
readonly internalType: "int256";
|
|
990
|
-
readonly name: "feeAmountLD";
|
|
991
|
-
readonly type: "int256";
|
|
992
|
-
}, {
|
|
993
|
-
readonly internalType: "string";
|
|
994
|
-
readonly name: "description";
|
|
995
|
-
readonly type: "string";
|
|
996
|
-
}];
|
|
997
|
-
readonly internalType: "struct OFTFeeDetail[]";
|
|
998
|
-
readonly name: "oftFeeDetails";
|
|
999
|
-
readonly type: "tuple[]";
|
|
1000
|
-
}, {
|
|
1001
|
-
readonly components: readonly [{
|
|
1002
|
-
readonly internalType: "uint256";
|
|
1003
|
-
readonly name: "amountSentLD";
|
|
1004
|
-
readonly type: "uint256";
|
|
1005
|
-
}, {
|
|
1006
|
-
readonly internalType: "uint256";
|
|
1007
|
-
readonly name: "amountReceivedLD";
|
|
1008
|
-
readonly type: "uint256";
|
|
1009
|
-
}];
|
|
1010
|
-
readonly internalType: "struct OFTReceipt";
|
|
1011
|
-
readonly name: "oftReceipt";
|
|
1012
|
-
readonly type: "tuple";
|
|
1013
|
-
}];
|
|
1014
|
-
readonly stateMutability: "view";
|
|
1015
|
-
readonly type: "function";
|
|
1016
|
-
}, {
|
|
1017
|
-
readonly inputs: readonly [{
|
|
1018
|
-
readonly components: readonly [{
|
|
1019
|
-
readonly internalType: "uint32";
|
|
1020
|
-
readonly name: "dstEid";
|
|
1021
|
-
readonly type: "uint32";
|
|
1022
|
-
}, {
|
|
1023
|
-
readonly internalType: "bytes32";
|
|
1024
|
-
readonly name: "to";
|
|
1025
|
-
readonly type: "bytes32";
|
|
1026
|
-
}, {
|
|
1027
|
-
readonly internalType: "uint256";
|
|
1028
|
-
readonly name: "amountLD";
|
|
1029
|
-
readonly type: "uint256";
|
|
1030
|
-
}, {
|
|
1031
|
-
readonly internalType: "uint256";
|
|
1032
|
-
readonly name: "minAmountLD";
|
|
1033
|
-
readonly type: "uint256";
|
|
1034
|
-
}, {
|
|
1035
|
-
readonly internalType: "bytes";
|
|
1036
|
-
readonly name: "extraOptions";
|
|
1037
|
-
readonly type: "bytes";
|
|
1038
|
-
}, {
|
|
1039
|
-
readonly internalType: "bytes";
|
|
1040
|
-
readonly name: "composeMsg";
|
|
1041
|
-
readonly type: "bytes";
|
|
1042
|
-
}, {
|
|
1043
|
-
readonly internalType: "bytes";
|
|
1044
|
-
readonly name: "oftCmd";
|
|
1045
|
-
readonly type: "bytes";
|
|
1046
|
-
}];
|
|
1047
|
-
readonly internalType: "struct SendParam";
|
|
1048
|
-
readonly name: "_sendParam";
|
|
1049
|
-
readonly type: "tuple";
|
|
1050
|
-
}, {
|
|
1051
|
-
readonly internalType: "bool";
|
|
1052
|
-
readonly name: "_payInLzToken";
|
|
1053
|
-
readonly type: "bool";
|
|
1054
|
-
}];
|
|
1055
|
-
readonly name: "quoteSend";
|
|
1056
|
-
readonly outputs: readonly [{
|
|
1057
|
-
readonly components: readonly [{
|
|
1058
|
-
readonly internalType: "uint256";
|
|
1059
|
-
readonly name: "nativeFee";
|
|
1060
|
-
readonly type: "uint256";
|
|
1061
|
-
}, {
|
|
1062
|
-
readonly internalType: "uint256";
|
|
1063
|
-
readonly name: "lzTokenFee";
|
|
1064
|
-
readonly type: "uint256";
|
|
1065
|
-
}];
|
|
1066
|
-
readonly internalType: "struct MessagingFee";
|
|
1067
|
-
readonly name: "msgFee";
|
|
1068
|
-
readonly type: "tuple";
|
|
1069
|
-
}];
|
|
1070
|
-
readonly stateMutability: "view";
|
|
406
|
+
readonly inputs: readonly [];
|
|
407
|
+
readonly name: "removeLimits";
|
|
408
|
+
readonly outputs: readonly [];
|
|
409
|
+
readonly stateMutability: "nonpayable";
|
|
1071
410
|
readonly type: "function";
|
|
1072
411
|
}, {
|
|
1073
412
|
readonly inputs: readonly [];
|
|
@@ -1077,175 +416,85 @@ export declare const DEGENOFTAbi: readonly [{
|
|
|
1077
416
|
readonly type: "function";
|
|
1078
417
|
}, {
|
|
1079
418
|
readonly inputs: readonly [{
|
|
1080
|
-
readonly components: readonly [{
|
|
1081
|
-
readonly internalType: "uint32";
|
|
1082
|
-
readonly name: "dstEid";
|
|
1083
|
-
readonly type: "uint32";
|
|
1084
|
-
}, {
|
|
1085
|
-
readonly internalType: "bytes32";
|
|
1086
|
-
readonly name: "to";
|
|
1087
|
-
readonly type: "bytes32";
|
|
1088
|
-
}, {
|
|
1089
|
-
readonly internalType: "uint256";
|
|
1090
|
-
readonly name: "amountLD";
|
|
1091
|
-
readonly type: "uint256";
|
|
1092
|
-
}, {
|
|
1093
|
-
readonly internalType: "uint256";
|
|
1094
|
-
readonly name: "minAmountLD";
|
|
1095
|
-
readonly type: "uint256";
|
|
1096
|
-
}, {
|
|
1097
|
-
readonly internalType: "bytes";
|
|
1098
|
-
readonly name: "extraOptions";
|
|
1099
|
-
readonly type: "bytes";
|
|
1100
|
-
}, {
|
|
1101
|
-
readonly internalType: "bytes";
|
|
1102
|
-
readonly name: "composeMsg";
|
|
1103
|
-
readonly type: "bytes";
|
|
1104
|
-
}, {
|
|
1105
|
-
readonly internalType: "bytes";
|
|
1106
|
-
readonly name: "oftCmd";
|
|
1107
|
-
readonly type: "bytes";
|
|
1108
|
-
}];
|
|
1109
|
-
readonly internalType: "struct SendParam";
|
|
1110
|
-
readonly name: "_sendParam";
|
|
1111
|
-
readonly type: "tuple";
|
|
1112
|
-
}, {
|
|
1113
|
-
readonly components: readonly [{
|
|
1114
|
-
readonly internalType: "uint256";
|
|
1115
|
-
readonly name: "nativeFee";
|
|
1116
|
-
readonly type: "uint256";
|
|
1117
|
-
}, {
|
|
1118
|
-
readonly internalType: "uint256";
|
|
1119
|
-
readonly name: "lzTokenFee";
|
|
1120
|
-
readonly type: "uint256";
|
|
1121
|
-
}];
|
|
1122
|
-
readonly internalType: "struct MessagingFee";
|
|
1123
|
-
readonly name: "_fee";
|
|
1124
|
-
readonly type: "tuple";
|
|
1125
|
-
}, {
|
|
1126
419
|
readonly internalType: "address";
|
|
1127
|
-
readonly name: "
|
|
420
|
+
readonly name: "_token";
|
|
1128
421
|
readonly type: "address";
|
|
1129
|
-
}];
|
|
1130
|
-
readonly name: "send";
|
|
1131
|
-
readonly outputs: readonly [{
|
|
1132
|
-
readonly components: readonly [{
|
|
1133
|
-
readonly internalType: "bytes32";
|
|
1134
|
-
readonly name: "guid";
|
|
1135
|
-
readonly type: "bytes32";
|
|
1136
|
-
}, {
|
|
1137
|
-
readonly internalType: "uint64";
|
|
1138
|
-
readonly name: "nonce";
|
|
1139
|
-
readonly type: "uint64";
|
|
1140
|
-
}, {
|
|
1141
|
-
readonly components: readonly [{
|
|
1142
|
-
readonly internalType: "uint256";
|
|
1143
|
-
readonly name: "nativeFee";
|
|
1144
|
-
readonly type: "uint256";
|
|
1145
|
-
}, {
|
|
1146
|
-
readonly internalType: "uint256";
|
|
1147
|
-
readonly name: "lzTokenFee";
|
|
1148
|
-
readonly type: "uint256";
|
|
1149
|
-
}];
|
|
1150
|
-
readonly internalType: "struct MessagingFee";
|
|
1151
|
-
readonly name: "fee";
|
|
1152
|
-
readonly type: "tuple";
|
|
1153
|
-
}];
|
|
1154
|
-
readonly internalType: "struct MessagingReceipt";
|
|
1155
|
-
readonly name: "msgReceipt";
|
|
1156
|
-
readonly type: "tuple";
|
|
1157
422
|
}, {
|
|
1158
|
-
readonly components: readonly [{
|
|
1159
|
-
readonly internalType: "uint256";
|
|
1160
|
-
readonly name: "amountSentLD";
|
|
1161
|
-
readonly type: "uint256";
|
|
1162
|
-
}, {
|
|
1163
|
-
readonly internalType: "uint256";
|
|
1164
|
-
readonly name: "amountReceivedLD";
|
|
1165
|
-
readonly type: "uint256";
|
|
1166
|
-
}];
|
|
1167
|
-
readonly internalType: "struct OFTReceipt";
|
|
1168
|
-
readonly name: "oftReceipt";
|
|
1169
|
-
readonly type: "tuple";
|
|
1170
|
-
}];
|
|
1171
|
-
readonly stateMutability: "payable";
|
|
1172
|
-
readonly type: "function";
|
|
1173
|
-
}, {
|
|
1174
|
-
readonly inputs: readonly [{
|
|
1175
423
|
readonly internalType: "address";
|
|
1176
|
-
readonly name: "
|
|
424
|
+
readonly name: "_to";
|
|
1177
425
|
readonly type: "address";
|
|
1178
426
|
}];
|
|
1179
|
-
readonly name: "
|
|
427
|
+
readonly name: "rescueTokens";
|
|
1180
428
|
readonly outputs: readonly [];
|
|
1181
429
|
readonly stateMutability: "nonpayable";
|
|
1182
430
|
readonly type: "function";
|
|
1183
431
|
}, {
|
|
1184
|
-
readonly inputs: readonly [
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
readonly internalType: "uint16";
|
|
1191
|
-
readonly name: "msgType";
|
|
1192
|
-
readonly type: "uint16";
|
|
1193
|
-
}, {
|
|
1194
|
-
readonly internalType: "bytes";
|
|
1195
|
-
readonly name: "options";
|
|
1196
|
-
readonly type: "bytes";
|
|
1197
|
-
}];
|
|
1198
|
-
readonly internalType: "struct EnforcedOptionParam[]";
|
|
1199
|
-
readonly name: "_enforcedOptions";
|
|
1200
|
-
readonly type: "tuple[]";
|
|
432
|
+
readonly inputs: readonly [];
|
|
433
|
+
readonly name: "sellTotalTax";
|
|
434
|
+
readonly outputs: readonly [{
|
|
435
|
+
readonly internalType: "uint256";
|
|
436
|
+
readonly name: "";
|
|
437
|
+
readonly type: "uint256";
|
|
1201
438
|
}];
|
|
1202
|
-
readonly
|
|
1203
|
-
readonly outputs: readonly [];
|
|
1204
|
-
readonly stateMutability: "nonpayable";
|
|
439
|
+
readonly stateMutability: "view";
|
|
1205
440
|
readonly type: "function";
|
|
1206
441
|
}, {
|
|
1207
442
|
readonly inputs: readonly [{
|
|
1208
443
|
readonly internalType: "address";
|
|
1209
|
-
readonly name: "
|
|
444
|
+
readonly name: "_address";
|
|
1210
445
|
readonly type: "address";
|
|
446
|
+
}, {
|
|
447
|
+
readonly internalType: "bool";
|
|
448
|
+
readonly name: "_isExempt";
|
|
449
|
+
readonly type: "bool";
|
|
1211
450
|
}];
|
|
1212
|
-
readonly name: "
|
|
451
|
+
readonly name: "setExemptFromFees";
|
|
1213
452
|
readonly outputs: readonly [];
|
|
1214
453
|
readonly stateMutability: "nonpayable";
|
|
1215
454
|
readonly type: "function";
|
|
1216
455
|
}, {
|
|
1217
456
|
readonly inputs: readonly [{
|
|
1218
|
-
readonly internalType: "
|
|
1219
|
-
readonly name: "
|
|
1220
|
-
readonly type: "
|
|
457
|
+
readonly internalType: "address";
|
|
458
|
+
readonly name: "_address";
|
|
459
|
+
readonly type: "address";
|
|
1221
460
|
}, {
|
|
1222
|
-
readonly internalType: "
|
|
1223
|
-
readonly name: "
|
|
1224
|
-
readonly type: "
|
|
461
|
+
readonly internalType: "bool";
|
|
462
|
+
readonly name: "_isExempt";
|
|
463
|
+
readonly type: "bool";
|
|
1225
464
|
}];
|
|
1226
|
-
readonly name: "
|
|
465
|
+
readonly name: "setExemptFromLimits";
|
|
1227
466
|
readonly outputs: readonly [];
|
|
1228
467
|
readonly stateMutability: "nonpayable";
|
|
1229
468
|
readonly type: "function";
|
|
1230
469
|
}, {
|
|
1231
470
|
readonly inputs: readonly [{
|
|
1232
|
-
readonly internalType: "
|
|
1233
|
-
readonly name: "
|
|
1234
|
-
readonly type: "
|
|
471
|
+
readonly internalType: "uint256";
|
|
472
|
+
readonly name: "amountInWei";
|
|
473
|
+
readonly type: "uint256";
|
|
1235
474
|
}];
|
|
1236
|
-
readonly name: "
|
|
475
|
+
readonly name: "setSwapTokensAtAmt";
|
|
1237
476
|
readonly outputs: readonly [];
|
|
1238
477
|
readonly stateMutability: "nonpayable";
|
|
1239
478
|
readonly type: "function";
|
|
1240
479
|
}, {
|
|
1241
480
|
readonly inputs: readonly [];
|
|
1242
|
-
readonly name: "
|
|
481
|
+
readonly name: "swapEnabled";
|
|
1243
482
|
readonly outputs: readonly [{
|
|
1244
|
-
readonly internalType: "
|
|
483
|
+
readonly internalType: "bool";
|
|
1245
484
|
readonly name: "";
|
|
1246
|
-
readonly type: "
|
|
485
|
+
readonly type: "bool";
|
|
1247
486
|
}];
|
|
1248
|
-
readonly stateMutability: "
|
|
487
|
+
readonly stateMutability: "view";
|
|
488
|
+
readonly type: "function";
|
|
489
|
+
}, {
|
|
490
|
+
readonly inputs: readonly [];
|
|
491
|
+
readonly name: "swapTokensAtAmt";
|
|
492
|
+
readonly outputs: readonly [{
|
|
493
|
+
readonly internalType: "uint256";
|
|
494
|
+
readonly name: "";
|
|
495
|
+
readonly type: "uint256";
|
|
496
|
+
}];
|
|
497
|
+
readonly stateMutability: "view";
|
|
1249
498
|
readonly type: "function";
|
|
1250
499
|
}, {
|
|
1251
500
|
readonly inputs: readonly [];
|
|
@@ -1259,7 +508,7 @@ export declare const DEGENOFTAbi: readonly [{
|
|
|
1259
508
|
readonly type: "function";
|
|
1260
509
|
}, {
|
|
1261
510
|
readonly inputs: readonly [];
|
|
1262
|
-
readonly name: "
|
|
511
|
+
readonly name: "taxReceiverAddress";
|
|
1263
512
|
readonly outputs: readonly [{
|
|
1264
513
|
readonly internalType: "address";
|
|
1265
514
|
readonly name: "";
|
|
@@ -1277,6 +526,16 @@ export declare const DEGENOFTAbi: readonly [{
|
|
|
1277
526
|
}];
|
|
1278
527
|
readonly stateMutability: "view";
|
|
1279
528
|
readonly type: "function";
|
|
529
|
+
}, {
|
|
530
|
+
readonly inputs: readonly [];
|
|
531
|
+
readonly name: "tradingActive";
|
|
532
|
+
readonly outputs: readonly [{
|
|
533
|
+
readonly internalType: "bool";
|
|
534
|
+
readonly name: "";
|
|
535
|
+
readonly type: "bool";
|
|
536
|
+
}];
|
|
537
|
+
readonly stateMutability: "view";
|
|
538
|
+
readonly type: "function";
|
|
1280
539
|
}, {
|
|
1281
540
|
readonly inputs: readonly [{
|
|
1282
541
|
readonly internalType: "address";
|
|
@@ -1284,7 +543,7 @@ export declare const DEGENOFTAbi: readonly [{
|
|
|
1284
543
|
readonly type: "address";
|
|
1285
544
|
}, {
|
|
1286
545
|
readonly internalType: "uint256";
|
|
1287
|
-
readonly name: "
|
|
546
|
+
readonly name: "amount";
|
|
1288
547
|
readonly type: "uint256";
|
|
1289
548
|
}];
|
|
1290
549
|
readonly name: "transfer";
|
|
@@ -1297,47 +556,97 @@ export declare const DEGENOFTAbi: readonly [{
|
|
|
1297
556
|
readonly type: "function";
|
|
1298
557
|
}, {
|
|
1299
558
|
readonly inputs: readonly [{
|
|
1300
|
-
readonly internalType: "address";
|
|
1301
|
-
readonly name: "from";
|
|
1302
|
-
readonly type: "address";
|
|
1303
|
-
}, {
|
|
1304
|
-
readonly internalType: "address";
|
|
1305
|
-
readonly name: "to";
|
|
1306
|
-
readonly type: "address";
|
|
1307
|
-
}, {
|
|
559
|
+
readonly internalType: "address";
|
|
560
|
+
readonly name: "from";
|
|
561
|
+
readonly type: "address";
|
|
562
|
+
}, {
|
|
563
|
+
readonly internalType: "address";
|
|
564
|
+
readonly name: "to";
|
|
565
|
+
readonly type: "address";
|
|
566
|
+
}, {
|
|
567
|
+
readonly internalType: "uint256";
|
|
568
|
+
readonly name: "amount";
|
|
569
|
+
readonly type: "uint256";
|
|
570
|
+
}];
|
|
571
|
+
readonly name: "transferFrom";
|
|
572
|
+
readonly outputs: readonly [{
|
|
573
|
+
readonly internalType: "bool";
|
|
574
|
+
readonly name: "";
|
|
575
|
+
readonly type: "bool";
|
|
576
|
+
}];
|
|
577
|
+
readonly stateMutability: "nonpayable";
|
|
578
|
+
readonly type: "function";
|
|
579
|
+
}, {
|
|
580
|
+
readonly inputs: readonly [{
|
|
581
|
+
readonly internalType: "address";
|
|
582
|
+
readonly name: "newOwner";
|
|
583
|
+
readonly type: "address";
|
|
584
|
+
}];
|
|
585
|
+
readonly name: "transferOwnership";
|
|
586
|
+
readonly outputs: readonly [];
|
|
587
|
+
readonly stateMutability: "nonpayable";
|
|
588
|
+
readonly type: "function";
|
|
589
|
+
}, {
|
|
590
|
+
readonly inputs: readonly [{
|
|
591
|
+
readonly internalType: "uint256";
|
|
592
|
+
readonly name: "_taxWithTwoDecimals";
|
|
593
|
+
readonly type: "uint256";
|
|
594
|
+
}];
|
|
595
|
+
readonly name: "updateBuyTax";
|
|
596
|
+
readonly outputs: readonly [];
|
|
597
|
+
readonly stateMutability: "nonpayable";
|
|
598
|
+
readonly type: "function";
|
|
599
|
+
}, {
|
|
600
|
+
readonly inputs: readonly [{
|
|
601
|
+
readonly internalType: "uint256";
|
|
602
|
+
readonly name: "newNumInTokens";
|
|
603
|
+
readonly type: "uint256";
|
|
604
|
+
}];
|
|
605
|
+
readonly name: "updateMaxTransaction";
|
|
606
|
+
readonly outputs: readonly [];
|
|
607
|
+
readonly stateMutability: "nonpayable";
|
|
608
|
+
readonly type: "function";
|
|
609
|
+
}, {
|
|
610
|
+
readonly inputs: readonly [{
|
|
611
|
+
readonly internalType: "uint256";
|
|
612
|
+
readonly name: "newNumInTokens";
|
|
613
|
+
readonly type: "uint256";
|
|
614
|
+
}];
|
|
615
|
+
readonly name: "updateMaxWallet";
|
|
616
|
+
readonly outputs: readonly [];
|
|
617
|
+
readonly stateMutability: "nonpayable";
|
|
618
|
+
readonly type: "function";
|
|
619
|
+
}, {
|
|
620
|
+
readonly inputs: readonly [{
|
|
1308
621
|
readonly internalType: "uint256";
|
|
1309
|
-
readonly name: "
|
|
622
|
+
readonly name: "_taxWithTwoDecimals";
|
|
1310
623
|
readonly type: "uint256";
|
|
1311
624
|
}];
|
|
1312
|
-
readonly name: "
|
|
1313
|
-
readonly outputs: readonly [
|
|
1314
|
-
readonly internalType: "bool";
|
|
1315
|
-
readonly name: "";
|
|
1316
|
-
readonly type: "bool";
|
|
1317
|
-
}];
|
|
625
|
+
readonly name: "updateSellTax";
|
|
626
|
+
readonly outputs: readonly [];
|
|
1318
627
|
readonly stateMutability: "nonpayable";
|
|
1319
628
|
readonly type: "function";
|
|
1320
629
|
}, {
|
|
1321
630
|
readonly inputs: readonly [{
|
|
1322
631
|
readonly internalType: "address";
|
|
1323
|
-
readonly name: "
|
|
632
|
+
readonly name: "_address";
|
|
1324
633
|
readonly type: "address";
|
|
1325
634
|
}];
|
|
1326
|
-
readonly name: "
|
|
635
|
+
readonly name: "updateTaxAddress";
|
|
1327
636
|
readonly outputs: readonly [];
|
|
1328
637
|
readonly stateMutability: "nonpayable";
|
|
1329
638
|
readonly type: "function";
|
|
1330
639
|
}];
|
|
1331
640
|
/**
|
|
1332
|
-
* Type-safe ABI for
|
|
641
|
+
* Type-safe ABI for DegenFood
|
|
1333
642
|
*/
|
|
1334
|
-
export type
|
|
643
|
+
export type DegenFoodAbi = typeof DegenFoodAbi;
|
|
1335
644
|
/**
|
|
1336
|
-
* Contract instance type for
|
|
645
|
+
* Contract instance type for DegenFood
|
|
1337
646
|
*/
|
|
1338
|
-
export type
|
|
647
|
+
export type DegenFoodContract = any;
|
|
1339
648
|
/**
|
|
1340
|
-
*
|
|
649
|
+
* DegenFood Contract Class
|
|
1341
650
|
*
|
|
1342
651
|
* Provides a class-based API similar to TypeChain for interacting with the contract.
|
|
1343
652
|
*
|
|
@@ -1345,12 +654,12 @@ export type DEGENOFTContract = any;
|
|
|
1345
654
|
* ```typescript
|
|
1346
655
|
* import { createPublicClient, createWalletClient, http } from 'viem';
|
|
1347
656
|
* import { mainnet } from 'viem/chains';
|
|
1348
|
-
* import {
|
|
657
|
+
* import { DegenFood } from 'DegenFood';
|
|
1349
658
|
*
|
|
1350
659
|
* const publicClient = createPublicClient({ chain: mainnet, transport: http() });
|
|
1351
660
|
* const walletClient = createWalletClient({ chain: mainnet, transport: http() });
|
|
1352
661
|
*
|
|
1353
|
-
* const contract = new
|
|
662
|
+
* const contract = new DegenFood('0x...', { publicClient, walletClient });
|
|
1354
663
|
*
|
|
1355
664
|
* // Read functions
|
|
1356
665
|
* const result = await contract.balanceOf('0x...');
|
|
@@ -1368,7 +677,7 @@ export type DEGENOFTContract = any;
|
|
|
1368
677
|
* });
|
|
1369
678
|
* ```
|
|
1370
679
|
*/
|
|
1371
|
-
export declare class
|
|
680
|
+
export declare class DegenFood {
|
|
1372
681
|
private contract;
|
|
1373
682
|
private contractAddress;
|
|
1374
683
|
private publicClient;
|
|
@@ -1383,153 +692,123 @@ export declare class DEGENOFT {
|
|
|
1383
692
|
/**
|
|
1384
693
|
* Get the underlying viem contract instance.
|
|
1385
694
|
*/
|
|
1386
|
-
getContract():
|
|
1387
|
-
/**
|
|
1388
|
-
* SEND
|
|
1389
|
-
* view
|
|
1390
|
-
*/
|
|
1391
|
-
SEND(): Promise<bigint>;
|
|
1392
|
-
/**
|
|
1393
|
-
* SEND_AND_CALL
|
|
1394
|
-
* view
|
|
1395
|
-
*/
|
|
1396
|
-
SEND_AND_CALL(): Promise<bigint>;
|
|
695
|
+
getContract(): DegenFoodContract;
|
|
1397
696
|
/**
|
|
1398
|
-
*
|
|
697
|
+
* FEE_DIVISOR
|
|
1399
698
|
* view
|
|
1400
699
|
*/
|
|
1401
|
-
|
|
700
|
+
FEE_DIVISOR(): Promise<bigint>;
|
|
1402
701
|
/**
|
|
1403
702
|
* allowance
|
|
1404
703
|
* view
|
|
1405
704
|
*/
|
|
1406
705
|
allowance(owner: `0x${string}`, spender: `0x${string}`): Promise<bigint>;
|
|
1407
|
-
/**
|
|
1408
|
-
* approvalRequired
|
|
1409
|
-
* pure
|
|
1410
|
-
*/
|
|
1411
|
-
approvalRequired(): Promise<boolean>;
|
|
1412
706
|
/**
|
|
1413
707
|
* balanceOf
|
|
1414
708
|
* view
|
|
1415
709
|
*/
|
|
1416
710
|
balanceOf(account: `0x${string}`): Promise<bigint>;
|
|
1417
711
|
/**
|
|
1418
|
-
*
|
|
712
|
+
* buyTotalTax
|
|
1419
713
|
* view
|
|
1420
714
|
*/
|
|
1421
|
-
|
|
1422
|
-
/**
|
|
1423
|
-
* decimalConversionRate
|
|
1424
|
-
* view
|
|
1425
|
-
*/
|
|
1426
|
-
decimalConversionRate(): Promise<bigint>;
|
|
715
|
+
buyTotalTax(): Promise<bigint>;
|
|
1427
716
|
/**
|
|
1428
717
|
* decimals
|
|
1429
718
|
* view
|
|
1430
719
|
*/
|
|
1431
720
|
decimals(): Promise<bigint>;
|
|
1432
721
|
/**
|
|
1433
|
-
*
|
|
722
|
+
* dexRouter
|
|
1434
723
|
* view
|
|
1435
724
|
*/
|
|
1436
|
-
|
|
725
|
+
dexRouter(): Promise<`0x${string}`>;
|
|
1437
726
|
/**
|
|
1438
|
-
*
|
|
727
|
+
* exemptFromFees
|
|
1439
728
|
* view
|
|
1440
729
|
*/
|
|
1441
|
-
|
|
730
|
+
exemptFromFees(arg0: `0x${string}`): Promise<boolean>;
|
|
1442
731
|
/**
|
|
1443
|
-
*
|
|
732
|
+
* exemptFromLimits
|
|
1444
733
|
* view
|
|
1445
734
|
*/
|
|
1446
|
-
|
|
735
|
+
exemptFromLimits(arg0: `0x${string}`): Promise<boolean>;
|
|
1447
736
|
/**
|
|
1448
|
-
*
|
|
737
|
+
* isAMMPair
|
|
1449
738
|
* view
|
|
1450
739
|
*/
|
|
1451
|
-
|
|
740
|
+
isAMMPair(arg0: `0x${string}`): Promise<boolean>;
|
|
1452
741
|
/**
|
|
1453
|
-
*
|
|
742
|
+
* limitsInEffect
|
|
1454
743
|
* view
|
|
1455
744
|
*/
|
|
1456
|
-
|
|
745
|
+
limitsInEffect(): Promise<boolean>;
|
|
1457
746
|
/**
|
|
1458
|
-
*
|
|
747
|
+
* lpPair
|
|
1459
748
|
* view
|
|
1460
749
|
*/
|
|
1461
|
-
|
|
750
|
+
lpPair(): Promise<`0x${string}`>;
|
|
1462
751
|
/**
|
|
1463
|
-
*
|
|
752
|
+
* maxTransaction
|
|
1464
753
|
* view
|
|
1465
754
|
*/
|
|
1466
|
-
|
|
755
|
+
maxTransaction(): Promise<bigint>;
|
|
1467
756
|
/**
|
|
1468
|
-
*
|
|
757
|
+
* maxWallet
|
|
1469
758
|
* view
|
|
1470
759
|
*/
|
|
1471
|
-
|
|
1472
|
-
/**
|
|
1473
|
-
* oAppVersion
|
|
1474
|
-
* pure
|
|
1475
|
-
*/
|
|
1476
|
-
oAppVersion(): Promise<[bigint, bigint]>;
|
|
760
|
+
maxWallet(): Promise<bigint>;
|
|
1477
761
|
/**
|
|
1478
|
-
*
|
|
1479
|
-
*
|
|
762
|
+
* name
|
|
763
|
+
* view
|
|
1480
764
|
*/
|
|
1481
|
-
|
|
765
|
+
name(): Promise<string>;
|
|
1482
766
|
/**
|
|
1483
767
|
* owner
|
|
1484
768
|
* view
|
|
1485
769
|
*/
|
|
1486
770
|
owner(): Promise<`0x${string}`>;
|
|
1487
771
|
/**
|
|
1488
|
-
*
|
|
1489
|
-
* view
|
|
1490
|
-
*/
|
|
1491
|
-
peers(eid: bigint): Promise<`0x${string}`>;
|
|
1492
|
-
/**
|
|
1493
|
-
* preCrime
|
|
772
|
+
* sellTotalTax
|
|
1494
773
|
* view
|
|
1495
774
|
*/
|
|
1496
|
-
|
|
775
|
+
sellTotalTax(): Promise<bigint>;
|
|
1497
776
|
/**
|
|
1498
|
-
*
|
|
777
|
+
* swapEnabled
|
|
1499
778
|
* view
|
|
1500
779
|
*/
|
|
1501
|
-
|
|
780
|
+
swapEnabled(): Promise<boolean>;
|
|
1502
781
|
/**
|
|
1503
|
-
*
|
|
782
|
+
* swapTokensAtAmt
|
|
1504
783
|
* view
|
|
1505
784
|
*/
|
|
1506
|
-
|
|
1507
|
-
/**
|
|
1508
|
-
* sharedDecimals
|
|
1509
|
-
* pure
|
|
1510
|
-
*/
|
|
1511
|
-
sharedDecimals(): Promise<bigint>;
|
|
785
|
+
swapTokensAtAmt(): Promise<bigint>;
|
|
1512
786
|
/**
|
|
1513
787
|
* symbol
|
|
1514
788
|
* view
|
|
1515
789
|
*/
|
|
1516
790
|
symbol(): Promise<string>;
|
|
1517
791
|
/**
|
|
1518
|
-
*
|
|
792
|
+
* taxReceiverAddress
|
|
1519
793
|
* view
|
|
1520
794
|
*/
|
|
1521
|
-
|
|
795
|
+
taxReceiverAddress(): Promise<`0x${string}`>;
|
|
1522
796
|
/**
|
|
1523
797
|
* totalSupply
|
|
1524
798
|
* view
|
|
1525
799
|
*/
|
|
1526
800
|
totalSupply(): Promise<bigint>;
|
|
801
|
+
/**
|
|
802
|
+
* tradingActive
|
|
803
|
+
* view
|
|
804
|
+
*/
|
|
805
|
+
tradingActive(): Promise<boolean>;
|
|
1527
806
|
/**
|
|
1528
807
|
* approve
|
|
1529
808
|
* nonpayable
|
|
1530
809
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1531
810
|
*/
|
|
1532
|
-
approve(spender: `0x${string}`,
|
|
811
|
+
approve(spender: `0x${string}`, amount: bigint, options?: {
|
|
1533
812
|
accessList?: import('viem').AccessList;
|
|
1534
813
|
authorizationList?: import('viem').AuthorizationList;
|
|
1535
814
|
chain?: import('viem').Chain | null;
|
|
@@ -1542,11 +821,11 @@ export declare class DEGENOFT {
|
|
|
1542
821
|
value?: bigint;
|
|
1543
822
|
}): Promise<`0x${string}`>;
|
|
1544
823
|
/**
|
|
1545
|
-
*
|
|
1546
|
-
*
|
|
824
|
+
* decreaseAllowance
|
|
825
|
+
* nonpayable
|
|
1547
826
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1548
827
|
*/
|
|
1549
|
-
|
|
828
|
+
decreaseAllowance(spender: `0x${string}`, subtractedValue: bigint, options?: {
|
|
1550
829
|
accessList?: import('viem').AccessList;
|
|
1551
830
|
authorizationList?: import('viem').AuthorizationList;
|
|
1552
831
|
chain?: import('viem').Chain | null;
|
|
@@ -1559,11 +838,11 @@ export declare class DEGENOFT {
|
|
|
1559
838
|
value?: bigint;
|
|
1560
839
|
}): Promise<`0x${string}`>;
|
|
1561
840
|
/**
|
|
1562
|
-
*
|
|
1563
|
-
*
|
|
841
|
+
* enableTrading
|
|
842
|
+
* nonpayable
|
|
1564
843
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1565
844
|
*/
|
|
1566
|
-
|
|
845
|
+
enableTrading(options?: {
|
|
1567
846
|
accessList?: import('viem').AccessList;
|
|
1568
847
|
authorizationList?: import('viem').AuthorizationList;
|
|
1569
848
|
chain?: import('viem').Chain | null;
|
|
@@ -1576,11 +855,11 @@ export declare class DEGENOFT {
|
|
|
1576
855
|
value?: bigint;
|
|
1577
856
|
}): Promise<`0x${string}`>;
|
|
1578
857
|
/**
|
|
1579
|
-
*
|
|
1580
|
-
*
|
|
858
|
+
* enableTradingWithPermit
|
|
859
|
+
* nonpayable
|
|
1581
860
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1582
861
|
*/
|
|
1583
|
-
|
|
862
|
+
enableTradingWithPermit(v: bigint, r: `0x${string}`, s: `0x${string}`, options?: {
|
|
1584
863
|
accessList?: import('viem').AccessList;
|
|
1585
864
|
authorizationList?: import('viem').AuthorizationList;
|
|
1586
865
|
chain?: import('viem').Chain | null;
|
|
@@ -1593,11 +872,11 @@ export declare class DEGENOFT {
|
|
|
1593
872
|
value?: bigint;
|
|
1594
873
|
}): Promise<`0x${string}`>;
|
|
1595
874
|
/**
|
|
1596
|
-
*
|
|
875
|
+
* increaseAllowance
|
|
1597
876
|
* nonpayable
|
|
1598
877
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1599
878
|
*/
|
|
1600
|
-
|
|
879
|
+
increaseAllowance(spender: `0x${string}`, addedValue: bigint, options?: {
|
|
1601
880
|
accessList?: import('viem').AccessList;
|
|
1602
881
|
authorizationList?: import('viem').AuthorizationList;
|
|
1603
882
|
chain?: import('viem').Chain | null;
|
|
@@ -1610,11 +889,11 @@ export declare class DEGENOFT {
|
|
|
1610
889
|
value?: bigint;
|
|
1611
890
|
}): Promise<`0x${string}`>;
|
|
1612
891
|
/**
|
|
1613
|
-
*
|
|
1614
|
-
*
|
|
892
|
+
* removeLimits
|
|
893
|
+
* nonpayable
|
|
1615
894
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1616
895
|
*/
|
|
1617
|
-
|
|
896
|
+
removeLimits(options?: {
|
|
1618
897
|
accessList?: import('viem').AccessList;
|
|
1619
898
|
authorizationList?: import('viem').AuthorizationList;
|
|
1620
899
|
chain?: import('viem').Chain | null;
|
|
@@ -1627,11 +906,11 @@ export declare class DEGENOFT {
|
|
|
1627
906
|
value?: bigint;
|
|
1628
907
|
}): Promise<`0x${string}`>;
|
|
1629
908
|
/**
|
|
1630
|
-
*
|
|
909
|
+
* renounceOwnership
|
|
1631
910
|
* nonpayable
|
|
1632
911
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1633
912
|
*/
|
|
1634
|
-
|
|
913
|
+
renounceOwnership(options?: {
|
|
1635
914
|
accessList?: import('viem').AccessList;
|
|
1636
915
|
authorizationList?: import('viem').AuthorizationList;
|
|
1637
916
|
chain?: import('viem').Chain | null;
|
|
@@ -1644,11 +923,11 @@ export declare class DEGENOFT {
|
|
|
1644
923
|
value?: bigint;
|
|
1645
924
|
}): Promise<`0x${string}`>;
|
|
1646
925
|
/**
|
|
1647
|
-
*
|
|
926
|
+
* rescueTokens
|
|
1648
927
|
* nonpayable
|
|
1649
928
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1650
929
|
*/
|
|
1651
|
-
|
|
930
|
+
rescueTokens(_token: `0x${string}`, _to: `0x${string}`, options?: {
|
|
1652
931
|
accessList?: import('viem').AccessList;
|
|
1653
932
|
authorizationList?: import('viem').AuthorizationList;
|
|
1654
933
|
chain?: import('viem').Chain | null;
|
|
@@ -1661,11 +940,11 @@ export declare class DEGENOFT {
|
|
|
1661
940
|
value?: bigint;
|
|
1662
941
|
}): Promise<`0x${string}`>;
|
|
1663
942
|
/**
|
|
1664
|
-
*
|
|
943
|
+
* setExemptFromFees
|
|
1665
944
|
* nonpayable
|
|
1666
945
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1667
946
|
*/
|
|
1668
|
-
|
|
947
|
+
setExemptFromFees(_address: `0x${string}`, _isExempt: boolean, options?: {
|
|
1669
948
|
accessList?: import('viem').AccessList;
|
|
1670
949
|
authorizationList?: import('viem').AuthorizationList;
|
|
1671
950
|
chain?: import('viem').Chain | null;
|
|
@@ -1678,11 +957,11 @@ export declare class DEGENOFT {
|
|
|
1678
957
|
value?: bigint;
|
|
1679
958
|
}): Promise<`0x${string}`>;
|
|
1680
959
|
/**
|
|
1681
|
-
*
|
|
960
|
+
* setExemptFromLimits
|
|
1682
961
|
* nonpayable
|
|
1683
962
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1684
963
|
*/
|
|
1685
|
-
|
|
964
|
+
setExemptFromLimits(_address: `0x${string}`, _isExempt: boolean, options?: {
|
|
1686
965
|
accessList?: import('viem').AccessList;
|
|
1687
966
|
authorizationList?: import('viem').AuthorizationList;
|
|
1688
967
|
chain?: import('viem').Chain | null;
|
|
@@ -1695,11 +974,11 @@ export declare class DEGENOFT {
|
|
|
1695
974
|
value?: bigint;
|
|
1696
975
|
}): Promise<`0x${string}`>;
|
|
1697
976
|
/**
|
|
1698
|
-
*
|
|
977
|
+
* setSwapTokensAtAmt
|
|
1699
978
|
* nonpayable
|
|
1700
979
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1701
980
|
*/
|
|
1702
|
-
|
|
981
|
+
setSwapTokensAtAmt(amountInWei: bigint, options?: {
|
|
1703
982
|
accessList?: import('viem').AccessList;
|
|
1704
983
|
authorizationList?: import('viem').AuthorizationList;
|
|
1705
984
|
chain?: import('viem').Chain | null;
|
|
@@ -1716,7 +995,7 @@ export declare class DEGENOFT {
|
|
|
1716
995
|
* nonpayable
|
|
1717
996
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1718
997
|
*/
|
|
1719
|
-
transfer(to: `0x${string}`,
|
|
998
|
+
transfer(to: `0x${string}`, amount: bigint, options?: {
|
|
1720
999
|
accessList?: import('viem').AccessList;
|
|
1721
1000
|
authorizationList?: import('viem').AuthorizationList;
|
|
1722
1001
|
chain?: import('viem').Chain | null;
|
|
@@ -1733,7 +1012,7 @@ export declare class DEGENOFT {
|
|
|
1733
1012
|
* nonpayable
|
|
1734
1013
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1735
1014
|
*/
|
|
1736
|
-
transferFrom(from: `0x${string}`, to: `0x${string}`,
|
|
1015
|
+
transferFrom(from: `0x${string}`, to: `0x${string}`, amount: bigint, options?: {
|
|
1737
1016
|
accessList?: import('viem').AccessList;
|
|
1738
1017
|
authorizationList?: import('viem').AuthorizationList;
|
|
1739
1018
|
chain?: import('viem').Chain | null;
|
|
@@ -1762,6 +1041,91 @@ export declare class DEGENOFT {
|
|
|
1762
1041
|
nonce?: number;
|
|
1763
1042
|
value?: bigint;
|
|
1764
1043
|
}): Promise<`0x${string}`>;
|
|
1044
|
+
/**
|
|
1045
|
+
* updateBuyTax
|
|
1046
|
+
* nonpayable
|
|
1047
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1048
|
+
*/
|
|
1049
|
+
updateBuyTax(_taxWithTwoDecimals: bigint, options?: {
|
|
1050
|
+
accessList?: import('viem').AccessList;
|
|
1051
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1052
|
+
chain?: import('viem').Chain | null;
|
|
1053
|
+
dataSuffix?: `0x${string}`;
|
|
1054
|
+
gas?: bigint;
|
|
1055
|
+
gasPrice?: bigint;
|
|
1056
|
+
maxFeePerGas?: bigint;
|
|
1057
|
+
maxPriorityFeePerGas?: bigint;
|
|
1058
|
+
nonce?: number;
|
|
1059
|
+
value?: bigint;
|
|
1060
|
+
}): Promise<`0x${string}`>;
|
|
1061
|
+
/**
|
|
1062
|
+
* updateMaxTransaction
|
|
1063
|
+
* nonpayable
|
|
1064
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1065
|
+
*/
|
|
1066
|
+
updateMaxTransaction(newNumInTokens: bigint, options?: {
|
|
1067
|
+
accessList?: import('viem').AccessList;
|
|
1068
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1069
|
+
chain?: import('viem').Chain | null;
|
|
1070
|
+
dataSuffix?: `0x${string}`;
|
|
1071
|
+
gas?: bigint;
|
|
1072
|
+
gasPrice?: bigint;
|
|
1073
|
+
maxFeePerGas?: bigint;
|
|
1074
|
+
maxPriorityFeePerGas?: bigint;
|
|
1075
|
+
nonce?: number;
|
|
1076
|
+
value?: bigint;
|
|
1077
|
+
}): Promise<`0x${string}`>;
|
|
1078
|
+
/**
|
|
1079
|
+
* updateMaxWallet
|
|
1080
|
+
* nonpayable
|
|
1081
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1082
|
+
*/
|
|
1083
|
+
updateMaxWallet(newNumInTokens: bigint, options?: {
|
|
1084
|
+
accessList?: import('viem').AccessList;
|
|
1085
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1086
|
+
chain?: import('viem').Chain | null;
|
|
1087
|
+
dataSuffix?: `0x${string}`;
|
|
1088
|
+
gas?: bigint;
|
|
1089
|
+
gasPrice?: bigint;
|
|
1090
|
+
maxFeePerGas?: bigint;
|
|
1091
|
+
maxPriorityFeePerGas?: bigint;
|
|
1092
|
+
nonce?: number;
|
|
1093
|
+
value?: bigint;
|
|
1094
|
+
}): Promise<`0x${string}`>;
|
|
1095
|
+
/**
|
|
1096
|
+
* updateSellTax
|
|
1097
|
+
* nonpayable
|
|
1098
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1099
|
+
*/
|
|
1100
|
+
updateSellTax(_taxWithTwoDecimals: bigint, options?: {
|
|
1101
|
+
accessList?: import('viem').AccessList;
|
|
1102
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1103
|
+
chain?: import('viem').Chain | null;
|
|
1104
|
+
dataSuffix?: `0x${string}`;
|
|
1105
|
+
gas?: bigint;
|
|
1106
|
+
gasPrice?: bigint;
|
|
1107
|
+
maxFeePerGas?: bigint;
|
|
1108
|
+
maxPriorityFeePerGas?: bigint;
|
|
1109
|
+
nonce?: number;
|
|
1110
|
+
value?: bigint;
|
|
1111
|
+
}): Promise<`0x${string}`>;
|
|
1112
|
+
/**
|
|
1113
|
+
* updateTaxAddress
|
|
1114
|
+
* nonpayable
|
|
1115
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1116
|
+
*/
|
|
1117
|
+
updateTaxAddress(_address: `0x${string}`, options?: {
|
|
1118
|
+
accessList?: import('viem').AccessList;
|
|
1119
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1120
|
+
chain?: import('viem').Chain | null;
|
|
1121
|
+
dataSuffix?: `0x${string}`;
|
|
1122
|
+
gas?: bigint;
|
|
1123
|
+
gasPrice?: bigint;
|
|
1124
|
+
maxFeePerGas?: bigint;
|
|
1125
|
+
maxPriorityFeePerGas?: bigint;
|
|
1126
|
+
nonce?: number;
|
|
1127
|
+
value?: bigint;
|
|
1128
|
+
}): Promise<`0x${string}`>;
|
|
1765
1129
|
/**
|
|
1766
1130
|
* Simulate contract write operations (dry-run without sending transaction)
|
|
1767
1131
|
*
|
|
@@ -1776,7 +1140,7 @@ export declare class DEGENOFT {
|
|
|
1776
1140
|
* Returns gas estimate and result without sending transaction
|
|
1777
1141
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1778
1142
|
*/
|
|
1779
|
-
approve(spender: `0x${string}`,
|
|
1143
|
+
approve(spender: `0x${string}`, amount: bigint, options?: {
|
|
1780
1144
|
accessList?: import("viem").AccessList;
|
|
1781
1145
|
authorizationList?: import("viem").AuthorizationList;
|
|
1782
1146
|
chain?: import("viem").Chain | null;
|
|
@@ -1789,11 +1153,11 @@ export declare class DEGENOFT {
|
|
|
1789
1153
|
value?: bigint;
|
|
1790
1154
|
}): Promise<boolean>;
|
|
1791
1155
|
/**
|
|
1792
|
-
* Simulate
|
|
1156
|
+
* Simulate decreaseAllowance
|
|
1793
1157
|
* Returns gas estimate and result without sending transaction
|
|
1794
1158
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1795
1159
|
*/
|
|
1796
|
-
|
|
1160
|
+
decreaseAllowance(spender: `0x${string}`, subtractedValue: bigint, options?: {
|
|
1797
1161
|
accessList?: import("viem").AccessList;
|
|
1798
1162
|
authorizationList?: import("viem").AuthorizationList;
|
|
1799
1163
|
chain?: import("viem").Chain | null;
|
|
@@ -1804,13 +1168,13 @@ export declare class DEGENOFT {
|
|
|
1804
1168
|
maxPriorityFeePerGas?: bigint;
|
|
1805
1169
|
nonce?: number;
|
|
1806
1170
|
value?: bigint;
|
|
1807
|
-
}): Promise<
|
|
1171
|
+
}): Promise<boolean>;
|
|
1808
1172
|
/**
|
|
1809
|
-
* Simulate
|
|
1173
|
+
* Simulate enableTrading
|
|
1810
1174
|
* Returns gas estimate and result without sending transaction
|
|
1811
1175
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1812
1176
|
*/
|
|
1813
|
-
|
|
1177
|
+
enableTrading(options?: {
|
|
1814
1178
|
accessList?: import("viem").AccessList;
|
|
1815
1179
|
authorizationList?: import("viem").AuthorizationList;
|
|
1816
1180
|
chain?: import("viem").Chain | null;
|
|
@@ -1823,11 +1187,11 @@ export declare class DEGENOFT {
|
|
|
1823
1187
|
value?: bigint;
|
|
1824
1188
|
}): Promise<void>;
|
|
1825
1189
|
/**
|
|
1826
|
-
* Simulate
|
|
1190
|
+
* Simulate enableTradingWithPermit
|
|
1827
1191
|
* Returns gas estimate and result without sending transaction
|
|
1828
1192
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1829
1193
|
*/
|
|
1830
|
-
|
|
1194
|
+
enableTradingWithPermit(v: bigint, r: `0x${string}`, s: `0x${string}`, options?: {
|
|
1831
1195
|
accessList?: import("viem").AccessList;
|
|
1832
1196
|
authorizationList?: import("viem").AuthorizationList;
|
|
1833
1197
|
chain?: import("viem").Chain | null;
|
|
@@ -1840,11 +1204,11 @@ export declare class DEGENOFT {
|
|
|
1840
1204
|
value?: bigint;
|
|
1841
1205
|
}): Promise<void>;
|
|
1842
1206
|
/**
|
|
1843
|
-
* Simulate
|
|
1207
|
+
* Simulate increaseAllowance
|
|
1844
1208
|
* Returns gas estimate and result without sending transaction
|
|
1845
1209
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1846
1210
|
*/
|
|
1847
|
-
|
|
1211
|
+
increaseAllowance(spender: `0x${string}`, addedValue: bigint, options?: {
|
|
1848
1212
|
accessList?: import("viem").AccessList;
|
|
1849
1213
|
authorizationList?: import("viem").AuthorizationList;
|
|
1850
1214
|
chain?: import("viem").Chain | null;
|
|
@@ -1855,13 +1219,13 @@ export declare class DEGENOFT {
|
|
|
1855
1219
|
maxPriorityFeePerGas?: bigint;
|
|
1856
1220
|
nonce?: number;
|
|
1857
1221
|
value?: bigint;
|
|
1858
|
-
}): Promise<
|
|
1222
|
+
}): Promise<boolean>;
|
|
1859
1223
|
/**
|
|
1860
|
-
* Simulate
|
|
1224
|
+
* Simulate removeLimits
|
|
1861
1225
|
* Returns gas estimate and result without sending transaction
|
|
1862
1226
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1863
1227
|
*/
|
|
1864
|
-
|
|
1228
|
+
removeLimits(options?: {
|
|
1865
1229
|
accessList?: import("viem").AccessList;
|
|
1866
1230
|
authorizationList?: import("viem").AuthorizationList;
|
|
1867
1231
|
chain?: import("viem").Chain | null;
|
|
@@ -1872,13 +1236,13 @@ export declare class DEGENOFT {
|
|
|
1872
1236
|
maxPriorityFeePerGas?: bigint;
|
|
1873
1237
|
nonce?: number;
|
|
1874
1238
|
value?: bigint;
|
|
1875
|
-
}): Promise<
|
|
1239
|
+
}): Promise<void>;
|
|
1876
1240
|
/**
|
|
1877
|
-
* Simulate
|
|
1241
|
+
* Simulate renounceOwnership
|
|
1878
1242
|
* Returns gas estimate and result without sending transaction
|
|
1879
1243
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1880
1244
|
*/
|
|
1881
|
-
|
|
1245
|
+
renounceOwnership(options?: {
|
|
1882
1246
|
accessList?: import("viem").AccessList;
|
|
1883
1247
|
authorizationList?: import("viem").AuthorizationList;
|
|
1884
1248
|
chain?: import("viem").Chain | null;
|
|
@@ -1891,11 +1255,11 @@ export declare class DEGENOFT {
|
|
|
1891
1255
|
value?: bigint;
|
|
1892
1256
|
}): Promise<void>;
|
|
1893
1257
|
/**
|
|
1894
|
-
* Simulate
|
|
1258
|
+
* Simulate rescueTokens
|
|
1895
1259
|
* Returns gas estimate and result without sending transaction
|
|
1896
1260
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1897
1261
|
*/
|
|
1898
|
-
|
|
1262
|
+
rescueTokens(_token: `0x${string}`, _to: `0x${string}`, options?: {
|
|
1899
1263
|
accessList?: import("viem").AccessList;
|
|
1900
1264
|
authorizationList?: import("viem").AuthorizationList;
|
|
1901
1265
|
chain?: import("viem").Chain | null;
|
|
@@ -1908,11 +1272,11 @@ export declare class DEGENOFT {
|
|
|
1908
1272
|
value?: bigint;
|
|
1909
1273
|
}): Promise<void>;
|
|
1910
1274
|
/**
|
|
1911
|
-
* Simulate
|
|
1275
|
+
* Simulate setExemptFromFees
|
|
1912
1276
|
* Returns gas estimate and result without sending transaction
|
|
1913
1277
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1914
1278
|
*/
|
|
1915
|
-
|
|
1279
|
+
setExemptFromFees(_address: `0x${string}`, _isExempt: boolean, options?: {
|
|
1916
1280
|
accessList?: import("viem").AccessList;
|
|
1917
1281
|
authorizationList?: import("viem").AuthorizationList;
|
|
1918
1282
|
chain?: import("viem").Chain | null;
|
|
@@ -1925,11 +1289,11 @@ export declare class DEGENOFT {
|
|
|
1925
1289
|
value?: bigint;
|
|
1926
1290
|
}): Promise<void>;
|
|
1927
1291
|
/**
|
|
1928
|
-
* Simulate
|
|
1292
|
+
* Simulate setExemptFromLimits
|
|
1929
1293
|
* Returns gas estimate and result without sending transaction
|
|
1930
1294
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1931
1295
|
*/
|
|
1932
|
-
|
|
1296
|
+
setExemptFromLimits(_address: `0x${string}`, _isExempt: boolean, options?: {
|
|
1933
1297
|
accessList?: import("viem").AccessList;
|
|
1934
1298
|
authorizationList?: import("viem").AuthorizationList;
|
|
1935
1299
|
chain?: import("viem").Chain | null;
|
|
@@ -1942,11 +1306,11 @@ export declare class DEGENOFT {
|
|
|
1942
1306
|
value?: bigint;
|
|
1943
1307
|
}): Promise<void>;
|
|
1944
1308
|
/**
|
|
1945
|
-
* Simulate
|
|
1309
|
+
* Simulate setSwapTokensAtAmt
|
|
1946
1310
|
* Returns gas estimate and result without sending transaction
|
|
1947
1311
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1948
1312
|
*/
|
|
1949
|
-
|
|
1313
|
+
setSwapTokensAtAmt(amountInWei: bigint, options?: {
|
|
1950
1314
|
accessList?: import("viem").AccessList;
|
|
1951
1315
|
authorizationList?: import("viem").AuthorizationList;
|
|
1952
1316
|
chain?: import("viem").Chain | null;
|
|
@@ -1963,7 +1327,7 @@ export declare class DEGENOFT {
|
|
|
1963
1327
|
* Returns gas estimate and result without sending transaction
|
|
1964
1328
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1965
1329
|
*/
|
|
1966
|
-
transfer(to: `0x${string}`,
|
|
1330
|
+
transfer(to: `0x${string}`, amount: bigint, options?: {
|
|
1967
1331
|
accessList?: import("viem").AccessList;
|
|
1968
1332
|
authorizationList?: import("viem").AuthorizationList;
|
|
1969
1333
|
chain?: import("viem").Chain | null;
|
|
@@ -1980,7 +1344,7 @@ export declare class DEGENOFT {
|
|
|
1980
1344
|
* Returns gas estimate and result without sending transaction
|
|
1981
1345
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1982
1346
|
*/
|
|
1983
|
-
transferFrom(from: `0x${string}`, to: `0x${string}`,
|
|
1347
|
+
transferFrom(from: `0x${string}`, to: `0x${string}`, amount: bigint, options?: {
|
|
1984
1348
|
accessList?: import("viem").AccessList;
|
|
1985
1349
|
authorizationList?: import("viem").AuthorizationList;
|
|
1986
1350
|
chain?: import("viem").Chain | null;
|
|
@@ -2009,6 +1373,91 @@ export declare class DEGENOFT {
|
|
|
2009
1373
|
nonce?: number;
|
|
2010
1374
|
value?: bigint;
|
|
2011
1375
|
}): Promise<void>;
|
|
1376
|
+
/**
|
|
1377
|
+
* Simulate updateBuyTax
|
|
1378
|
+
* Returns gas estimate and result without sending transaction
|
|
1379
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1380
|
+
*/
|
|
1381
|
+
updateBuyTax(_taxWithTwoDecimals: bigint, options?: {
|
|
1382
|
+
accessList?: import("viem").AccessList;
|
|
1383
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1384
|
+
chain?: import("viem").Chain | null;
|
|
1385
|
+
dataSuffix?: `0x${string}`;
|
|
1386
|
+
gas?: bigint;
|
|
1387
|
+
gasPrice?: bigint;
|
|
1388
|
+
maxFeePerGas?: bigint;
|
|
1389
|
+
maxPriorityFeePerGas?: bigint;
|
|
1390
|
+
nonce?: number;
|
|
1391
|
+
value?: bigint;
|
|
1392
|
+
}): Promise<void>;
|
|
1393
|
+
/**
|
|
1394
|
+
* Simulate updateMaxTransaction
|
|
1395
|
+
* Returns gas estimate and result without sending transaction
|
|
1396
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1397
|
+
*/
|
|
1398
|
+
updateMaxTransaction(newNumInTokens: bigint, options?: {
|
|
1399
|
+
accessList?: import("viem").AccessList;
|
|
1400
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1401
|
+
chain?: import("viem").Chain | null;
|
|
1402
|
+
dataSuffix?: `0x${string}`;
|
|
1403
|
+
gas?: bigint;
|
|
1404
|
+
gasPrice?: bigint;
|
|
1405
|
+
maxFeePerGas?: bigint;
|
|
1406
|
+
maxPriorityFeePerGas?: bigint;
|
|
1407
|
+
nonce?: number;
|
|
1408
|
+
value?: bigint;
|
|
1409
|
+
}): Promise<void>;
|
|
1410
|
+
/**
|
|
1411
|
+
* Simulate updateMaxWallet
|
|
1412
|
+
* Returns gas estimate and result without sending transaction
|
|
1413
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1414
|
+
*/
|
|
1415
|
+
updateMaxWallet(newNumInTokens: bigint, options?: {
|
|
1416
|
+
accessList?: import("viem").AccessList;
|
|
1417
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1418
|
+
chain?: import("viem").Chain | null;
|
|
1419
|
+
dataSuffix?: `0x${string}`;
|
|
1420
|
+
gas?: bigint;
|
|
1421
|
+
gasPrice?: bigint;
|
|
1422
|
+
maxFeePerGas?: bigint;
|
|
1423
|
+
maxPriorityFeePerGas?: bigint;
|
|
1424
|
+
nonce?: number;
|
|
1425
|
+
value?: bigint;
|
|
1426
|
+
}): Promise<void>;
|
|
1427
|
+
/**
|
|
1428
|
+
* Simulate updateSellTax
|
|
1429
|
+
* Returns gas estimate and result without sending transaction
|
|
1430
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1431
|
+
*/
|
|
1432
|
+
updateSellTax(_taxWithTwoDecimals: bigint, options?: {
|
|
1433
|
+
accessList?: import("viem").AccessList;
|
|
1434
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1435
|
+
chain?: import("viem").Chain | null;
|
|
1436
|
+
dataSuffix?: `0x${string}`;
|
|
1437
|
+
gas?: bigint;
|
|
1438
|
+
gasPrice?: bigint;
|
|
1439
|
+
maxFeePerGas?: bigint;
|
|
1440
|
+
maxPriorityFeePerGas?: bigint;
|
|
1441
|
+
nonce?: number;
|
|
1442
|
+
value?: bigint;
|
|
1443
|
+
}): Promise<void>;
|
|
1444
|
+
/**
|
|
1445
|
+
* Simulate updateTaxAddress
|
|
1446
|
+
* Returns gas estimate and result without sending transaction
|
|
1447
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1448
|
+
*/
|
|
1449
|
+
updateTaxAddress(_address: `0x${string}`, options?: {
|
|
1450
|
+
accessList?: import("viem").AccessList;
|
|
1451
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1452
|
+
chain?: import("viem").Chain | null;
|
|
1453
|
+
dataSuffix?: `0x${string}`;
|
|
1454
|
+
gas?: bigint;
|
|
1455
|
+
gasPrice?: bigint;
|
|
1456
|
+
maxFeePerGas?: bigint;
|
|
1457
|
+
maxPriorityFeePerGas?: bigint;
|
|
1458
|
+
nonce?: number;
|
|
1459
|
+
value?: bigint;
|
|
1460
|
+
}): Promise<void>;
|
|
2012
1461
|
};
|
|
2013
1462
|
/**
|
|
2014
1463
|
* Watch contract events
|
|
@@ -2038,99 +1487,94 @@ export declare class DEGENOFT {
|
|
|
2038
1487
|
spender?: `0x${string}` | `0x${string}`[] | null;
|
|
2039
1488
|
}) => () => void;
|
|
2040
1489
|
/**
|
|
2041
|
-
* Watch
|
|
1490
|
+
* Watch OwnershipTransferred events
|
|
2042
1491
|
* @param callback Function to call when event is emitted
|
|
2043
1492
|
* @param filter Optional filter for indexed parameters
|
|
2044
1493
|
* @returns Unwatch function to stop listening
|
|
2045
1494
|
*/
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
1495
|
+
OwnershipTransferred: (callback: (event: {
|
|
1496
|
+
previousOwner: `0x${string}`;
|
|
1497
|
+
newOwner: `0x${string}`;
|
|
1498
|
+
}) => void, filter?: {
|
|
1499
|
+
previousOwner?: `0x${string}` | `0x${string}`[] | null;
|
|
1500
|
+
newOwner?: `0x${string}` | `0x${string}`[] | null;
|
|
1501
|
+
}) => () => void;
|
|
1502
|
+
/**
|
|
1503
|
+
* Watch RemovedLimits events
|
|
1504
|
+
* @param callback Function to call when event is emitted
|
|
1505
|
+
* @param filter Optional filter for indexed parameters
|
|
1506
|
+
* @returns Unwatch function to stop listening
|
|
1507
|
+
*/
|
|
1508
|
+
RemovedLimits: (callback: (event: {}) => void) => () => void;
|
|
2049
1509
|
/**
|
|
2050
|
-
* Watch
|
|
1510
|
+
* Watch SetExemptFromFees events
|
|
2051
1511
|
* @param callback Function to call when event is emitted
|
|
2052
1512
|
* @param filter Optional filter for indexed parameters
|
|
2053
1513
|
* @returns Unwatch function to stop listening
|
|
2054
1514
|
*/
|
|
2055
|
-
|
|
2056
|
-
|
|
1515
|
+
SetExemptFromFees: (callback: (event: {
|
|
1516
|
+
_address: `0x${string}`;
|
|
1517
|
+
_isExempt: boolean;
|
|
2057
1518
|
}) => void) => () => void;
|
|
2058
1519
|
/**
|
|
2059
|
-
* Watch
|
|
1520
|
+
* Watch SetExemptFromLimits events
|
|
2060
1521
|
* @param callback Function to call when event is emitted
|
|
2061
1522
|
* @param filter Optional filter for indexed parameters
|
|
2062
1523
|
* @returns Unwatch function to stop listening
|
|
2063
1524
|
*/
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
amountReceivedLD: bigint;
|
|
2069
|
-
}) => void, filter?: {
|
|
2070
|
-
guid?: `0x${string}` | `0x${string}`[] | null;
|
|
2071
|
-
toAddress?: `0x${string}` | `0x${string}`[] | null;
|
|
2072
|
-
}) => () => void;
|
|
1525
|
+
SetExemptFromLimits: (callback: (event: {
|
|
1526
|
+
_address: `0x${string}`;
|
|
1527
|
+
_isExempt: boolean;
|
|
1528
|
+
}) => void) => () => void;
|
|
2073
1529
|
/**
|
|
2074
|
-
* Watch
|
|
1530
|
+
* Watch Transfer events
|
|
2075
1531
|
* @param callback Function to call when event is emitted
|
|
2076
1532
|
* @param filter Optional filter for indexed parameters
|
|
2077
1533
|
* @returns Unwatch function to stop listening
|
|
2078
1534
|
*/
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
amountSentLD: bigint;
|
|
2084
|
-
amountReceivedLD: bigint;
|
|
1535
|
+
Transfer: (callback: (event: {
|
|
1536
|
+
from: `0x${string}`;
|
|
1537
|
+
to: `0x${string}`;
|
|
1538
|
+
value: bigint;
|
|
2085
1539
|
}) => void, filter?: {
|
|
2086
|
-
|
|
2087
|
-
|
|
1540
|
+
from?: `0x${string}` | `0x${string}`[] | null;
|
|
1541
|
+
to?: `0x${string}` | `0x${string}`[] | null;
|
|
2088
1542
|
}) => () => void;
|
|
2089
1543
|
/**
|
|
2090
|
-
* Watch
|
|
1544
|
+
* Watch UpdatedBuyTax events
|
|
2091
1545
|
* @param callback Function to call when event is emitted
|
|
2092
1546
|
* @param filter Optional filter for indexed parameters
|
|
2093
1547
|
* @returns Unwatch function to stop listening
|
|
2094
1548
|
*/
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
}) => void, filter?: {
|
|
2099
|
-
previousOwner?: `0x${string}` | `0x${string}`[] | null;
|
|
2100
|
-
newOwner?: `0x${string}` | `0x${string}`[] | null;
|
|
2101
|
-
}) => () => void;
|
|
1549
|
+
UpdatedBuyTax: (callback: (event: {
|
|
1550
|
+
newAmt: bigint;
|
|
1551
|
+
}) => void) => () => void;
|
|
2102
1552
|
/**
|
|
2103
|
-
* Watch
|
|
1553
|
+
* Watch UpdatedMaxTransaction events
|
|
2104
1554
|
* @param callback Function to call when event is emitted
|
|
2105
1555
|
* @param filter Optional filter for indexed parameters
|
|
2106
1556
|
* @returns Unwatch function to stop listening
|
|
2107
1557
|
*/
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
peer: `0x${string}`;
|
|
1558
|
+
UpdatedMaxTransaction: (callback: (event: {
|
|
1559
|
+
newMax: bigint;
|
|
2111
1560
|
}) => void) => () => void;
|
|
2112
1561
|
/**
|
|
2113
|
-
* Watch
|
|
1562
|
+
* Watch UpdatedMaxWallet events
|
|
2114
1563
|
* @param callback Function to call when event is emitted
|
|
2115
1564
|
* @param filter Optional filter for indexed parameters
|
|
2116
1565
|
* @returns Unwatch function to stop listening
|
|
2117
1566
|
*/
|
|
2118
|
-
|
|
2119
|
-
|
|
1567
|
+
UpdatedMaxWallet: (callback: (event: {
|
|
1568
|
+
newMax: bigint;
|
|
2120
1569
|
}) => void) => () => void;
|
|
2121
1570
|
/**
|
|
2122
|
-
* Watch
|
|
1571
|
+
* Watch UpdatedSellTax events
|
|
2123
1572
|
* @param callback Function to call when event is emitted
|
|
2124
1573
|
* @param filter Optional filter for indexed parameters
|
|
2125
1574
|
* @returns Unwatch function to stop listening
|
|
2126
1575
|
*/
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
value: bigint;
|
|
2131
|
-
}) => void, filter?: {
|
|
2132
|
-
from?: `0x${string}` | `0x${string}`[] | null;
|
|
2133
|
-
to?: `0x${string}` | `0x${string}`[] | null;
|
|
2134
|
-
}) => () => void;
|
|
1576
|
+
UpdatedSellTax: (callback: (event: {
|
|
1577
|
+
newAmt: bigint;
|
|
1578
|
+
}) => void) => () => void;
|
|
2135
1579
|
};
|
|
2136
1580
|
}
|