@gitmyabi-stg/dop 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/{DOP.d.ts → DDrops.d.ts} +334 -796
- package/contracts/DDrops.js +1243 -0
- package/contracts/{DOP.ts → DDrops.ts} +419 -1064
- 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/DOP.js +0 -1919
|
@@ -1,260 +1,13 @@
|
|
|
1
1
|
import type { Address, PublicClient, WalletClient } from 'viem';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*/
|
|
5
|
-
export type IDOP_Table = {
|
|
6
|
-
lowerLimit: bigint;
|
|
7
|
-
upperLimit: bigint;
|
|
8
|
-
rate: bigint;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* DOP ABI
|
|
3
|
+
* DDrops ABI
|
|
12
4
|
*
|
|
13
5
|
* This ABI is typed using viem's type system for full type safety.
|
|
14
6
|
*/
|
|
15
|
-
export declare const
|
|
16
|
-
readonly inputs: readonly [
|
|
17
|
-
readonly internalType: "address";
|
|
18
|
-
readonly name: "initialOwner_";
|
|
19
|
-
readonly type: "address";
|
|
20
|
-
}, {
|
|
21
|
-
readonly internalType: "uint256";
|
|
22
|
-
readonly name: "startBlockNumber_";
|
|
23
|
-
readonly type: "uint256";
|
|
24
|
-
}, {
|
|
25
|
-
readonly internalType: "address";
|
|
26
|
-
readonly name: "treasury_";
|
|
27
|
-
readonly type: "address";
|
|
28
|
-
}, {
|
|
29
|
-
readonly internalType: "address";
|
|
30
|
-
readonly name: "dedicatedCaller_";
|
|
31
|
-
readonly type: "address";
|
|
32
|
-
}, {
|
|
33
|
-
readonly components: readonly [{
|
|
34
|
-
readonly internalType: "uint112";
|
|
35
|
-
readonly name: "lowerLimit";
|
|
36
|
-
readonly type: "uint112";
|
|
37
|
-
}, {
|
|
38
|
-
readonly internalType: "uint112";
|
|
39
|
-
readonly name: "upperLimit";
|
|
40
|
-
readonly type: "uint112";
|
|
41
|
-
}, {
|
|
42
|
-
readonly internalType: "uint32";
|
|
43
|
-
readonly name: "rate";
|
|
44
|
-
readonly type: "uint32";
|
|
45
|
-
}];
|
|
46
|
-
readonly internalType: "struct IDOP.Table[]";
|
|
47
|
-
readonly name: "inflationTable_";
|
|
48
|
-
readonly type: "tuple[]";
|
|
49
|
-
}, {
|
|
50
|
-
readonly internalType: "address[]";
|
|
51
|
-
readonly name: "initiallyAllowed_";
|
|
52
|
-
readonly type: "address[]";
|
|
53
|
-
}, {
|
|
54
|
-
readonly internalType: "uint256";
|
|
55
|
-
readonly name: "initialSupply_";
|
|
56
|
-
readonly type: "uint256";
|
|
57
|
-
}];
|
|
7
|
+
export declare const DDropsAbi: readonly [{
|
|
8
|
+
readonly inputs: readonly [];
|
|
58
9
|
readonly stateMutability: "nonpayable";
|
|
59
10
|
readonly type: "constructor";
|
|
60
|
-
}, {
|
|
61
|
-
readonly inputs: readonly [];
|
|
62
|
-
readonly name: "AlreadyEnabled";
|
|
63
|
-
readonly type: "error";
|
|
64
|
-
}, {
|
|
65
|
-
readonly inputs: readonly [];
|
|
66
|
-
readonly name: "ECDSAInvalidSignature";
|
|
67
|
-
readonly type: "error";
|
|
68
|
-
}, {
|
|
69
|
-
readonly inputs: readonly [{
|
|
70
|
-
readonly internalType: "uint256";
|
|
71
|
-
readonly name: "length";
|
|
72
|
-
readonly type: "uint256";
|
|
73
|
-
}];
|
|
74
|
-
readonly name: "ECDSAInvalidSignatureLength";
|
|
75
|
-
readonly type: "error";
|
|
76
|
-
}, {
|
|
77
|
-
readonly inputs: readonly [{
|
|
78
|
-
readonly internalType: "bytes32";
|
|
79
|
-
readonly name: "s";
|
|
80
|
-
readonly type: "bytes32";
|
|
81
|
-
}];
|
|
82
|
-
readonly name: "ECDSAInvalidSignatureS";
|
|
83
|
-
readonly type: "error";
|
|
84
|
-
}, {
|
|
85
|
-
readonly inputs: readonly [{
|
|
86
|
-
readonly internalType: "address";
|
|
87
|
-
readonly name: "spender";
|
|
88
|
-
readonly type: "address";
|
|
89
|
-
}, {
|
|
90
|
-
readonly internalType: "uint256";
|
|
91
|
-
readonly name: "allowance";
|
|
92
|
-
readonly type: "uint256";
|
|
93
|
-
}, {
|
|
94
|
-
readonly internalType: "uint256";
|
|
95
|
-
readonly name: "needed";
|
|
96
|
-
readonly type: "uint256";
|
|
97
|
-
}];
|
|
98
|
-
readonly name: "ERC20InsufficientAllowance";
|
|
99
|
-
readonly type: "error";
|
|
100
|
-
}, {
|
|
101
|
-
readonly inputs: readonly [{
|
|
102
|
-
readonly internalType: "address";
|
|
103
|
-
readonly name: "sender";
|
|
104
|
-
readonly type: "address";
|
|
105
|
-
}, {
|
|
106
|
-
readonly internalType: "uint256";
|
|
107
|
-
readonly name: "balance";
|
|
108
|
-
readonly type: "uint256";
|
|
109
|
-
}, {
|
|
110
|
-
readonly internalType: "uint256";
|
|
111
|
-
readonly name: "needed";
|
|
112
|
-
readonly type: "uint256";
|
|
113
|
-
}];
|
|
114
|
-
readonly name: "ERC20InsufficientBalance";
|
|
115
|
-
readonly type: "error";
|
|
116
|
-
}, {
|
|
117
|
-
readonly inputs: readonly [{
|
|
118
|
-
readonly internalType: "address";
|
|
119
|
-
readonly name: "approver";
|
|
120
|
-
readonly type: "address";
|
|
121
|
-
}];
|
|
122
|
-
readonly name: "ERC20InvalidApprover";
|
|
123
|
-
readonly type: "error";
|
|
124
|
-
}, {
|
|
125
|
-
readonly inputs: readonly [{
|
|
126
|
-
readonly internalType: "address";
|
|
127
|
-
readonly name: "receiver";
|
|
128
|
-
readonly type: "address";
|
|
129
|
-
}];
|
|
130
|
-
readonly name: "ERC20InvalidReceiver";
|
|
131
|
-
readonly type: "error";
|
|
132
|
-
}, {
|
|
133
|
-
readonly inputs: readonly [{
|
|
134
|
-
readonly internalType: "address";
|
|
135
|
-
readonly name: "sender";
|
|
136
|
-
readonly type: "address";
|
|
137
|
-
}];
|
|
138
|
-
readonly name: "ERC20InvalidSender";
|
|
139
|
-
readonly type: "error";
|
|
140
|
-
}, {
|
|
141
|
-
readonly inputs: readonly [{
|
|
142
|
-
readonly internalType: "address";
|
|
143
|
-
readonly name: "spender";
|
|
144
|
-
readonly type: "address";
|
|
145
|
-
}];
|
|
146
|
-
readonly name: "ERC20InvalidSpender";
|
|
147
|
-
readonly type: "error";
|
|
148
|
-
}, {
|
|
149
|
-
readonly inputs: readonly [{
|
|
150
|
-
readonly internalType: "uint256";
|
|
151
|
-
readonly name: "deadline";
|
|
152
|
-
readonly type: "uint256";
|
|
153
|
-
}];
|
|
154
|
-
readonly name: "ERC2612ExpiredSignature";
|
|
155
|
-
readonly type: "error";
|
|
156
|
-
}, {
|
|
157
|
-
readonly inputs: readonly [{
|
|
158
|
-
readonly internalType: "address";
|
|
159
|
-
readonly name: "signer";
|
|
160
|
-
readonly type: "address";
|
|
161
|
-
}, {
|
|
162
|
-
readonly internalType: "address";
|
|
163
|
-
readonly name: "owner";
|
|
164
|
-
readonly type: "address";
|
|
165
|
-
}];
|
|
166
|
-
readonly name: "ERC2612InvalidSigner";
|
|
167
|
-
readonly type: "error";
|
|
168
|
-
}, {
|
|
169
|
-
readonly inputs: readonly [{
|
|
170
|
-
readonly internalType: "address";
|
|
171
|
-
readonly name: "account";
|
|
172
|
-
readonly type: "address";
|
|
173
|
-
}, {
|
|
174
|
-
readonly internalType: "uint256";
|
|
175
|
-
readonly name: "currentNonce";
|
|
176
|
-
readonly type: "uint256";
|
|
177
|
-
}];
|
|
178
|
-
readonly name: "InvalidAccountNonce";
|
|
179
|
-
readonly type: "error";
|
|
180
|
-
}, {
|
|
181
|
-
readonly inputs: readonly [];
|
|
182
|
-
readonly name: "InvalidShortString";
|
|
183
|
-
readonly type: "error";
|
|
184
|
-
}, {
|
|
185
|
-
readonly inputs: readonly [{
|
|
186
|
-
readonly internalType: "address";
|
|
187
|
-
readonly name: "owner";
|
|
188
|
-
readonly type: "address";
|
|
189
|
-
}];
|
|
190
|
-
readonly name: "OwnableInvalidOwner";
|
|
191
|
-
readonly type: "error";
|
|
192
|
-
}, {
|
|
193
|
-
readonly inputs: readonly [{
|
|
194
|
-
readonly internalType: "address";
|
|
195
|
-
readonly name: "account";
|
|
196
|
-
readonly type: "address";
|
|
197
|
-
}];
|
|
198
|
-
readonly name: "OwnableUnauthorizedAccount";
|
|
199
|
-
readonly type: "error";
|
|
200
|
-
}, {
|
|
201
|
-
readonly inputs: readonly [];
|
|
202
|
-
readonly name: "RangeMalformed";
|
|
203
|
-
readonly type: "error";
|
|
204
|
-
}, {
|
|
205
|
-
readonly inputs: readonly [];
|
|
206
|
-
readonly name: "RangeOverlap";
|
|
207
|
-
readonly type: "error";
|
|
208
|
-
}, {
|
|
209
|
-
readonly inputs: readonly [{
|
|
210
|
-
readonly internalType: "string";
|
|
211
|
-
readonly name: "str";
|
|
212
|
-
readonly type: "string";
|
|
213
|
-
}];
|
|
214
|
-
readonly name: "StringTooLong";
|
|
215
|
-
readonly type: "error";
|
|
216
|
-
}, {
|
|
217
|
-
readonly inputs: readonly [];
|
|
218
|
-
readonly name: "TransferNotAllowed";
|
|
219
|
-
readonly type: "error";
|
|
220
|
-
}, {
|
|
221
|
-
readonly anonymous: false;
|
|
222
|
-
readonly inputs: readonly [{
|
|
223
|
-
readonly components: readonly [{
|
|
224
|
-
readonly internalType: "uint112";
|
|
225
|
-
readonly name: "lowerLimit";
|
|
226
|
-
readonly type: "uint112";
|
|
227
|
-
}, {
|
|
228
|
-
readonly internalType: "uint112";
|
|
229
|
-
readonly name: "upperLimit";
|
|
230
|
-
readonly type: "uint112";
|
|
231
|
-
}, {
|
|
232
|
-
readonly internalType: "uint32";
|
|
233
|
-
readonly name: "rate";
|
|
234
|
-
readonly type: "uint32";
|
|
235
|
-
}];
|
|
236
|
-
readonly indexed: false;
|
|
237
|
-
readonly internalType: "struct IDOP.Table";
|
|
238
|
-
readonly name: "newTable";
|
|
239
|
-
readonly type: "tuple";
|
|
240
|
-
}];
|
|
241
|
-
readonly name: "AddInflationTable";
|
|
242
|
-
readonly type: "event";
|
|
243
|
-
}, {
|
|
244
|
-
readonly anonymous: false;
|
|
245
|
-
readonly inputs: readonly [{
|
|
246
|
-
readonly indexed: true;
|
|
247
|
-
readonly internalType: "address";
|
|
248
|
-
readonly name: "account";
|
|
249
|
-
readonly type: "address";
|
|
250
|
-
}, {
|
|
251
|
-
readonly indexed: false;
|
|
252
|
-
readonly internalType: "bool";
|
|
253
|
-
readonly name: "state";
|
|
254
|
-
readonly type: "bool";
|
|
255
|
-
}];
|
|
256
|
-
readonly name: "AllowListUpdated";
|
|
257
|
-
readonly type: "event";
|
|
258
11
|
}, {
|
|
259
12
|
readonly anonymous: false;
|
|
260
13
|
readonly inputs: readonly [{
|
|
@@ -275,46 +28,6 @@ export declare const DOPAbi: readonly [{
|
|
|
275
28
|
}];
|
|
276
29
|
readonly name: "Approval";
|
|
277
30
|
readonly type: "event";
|
|
278
|
-
}, {
|
|
279
|
-
readonly anonymous: false;
|
|
280
|
-
readonly inputs: readonly [];
|
|
281
|
-
readonly name: "EIP712DomainChanged";
|
|
282
|
-
readonly type: "event";
|
|
283
|
-
}, {
|
|
284
|
-
readonly anonymous: false;
|
|
285
|
-
readonly inputs: readonly [{
|
|
286
|
-
readonly indexed: false;
|
|
287
|
-
readonly internalType: "uint256";
|
|
288
|
-
readonly name: "twapPrice";
|
|
289
|
-
readonly type: "uint256";
|
|
290
|
-
}, {
|
|
291
|
-
readonly indexed: false;
|
|
292
|
-
readonly internalType: "uint256";
|
|
293
|
-
readonly name: "cycle";
|
|
294
|
-
readonly type: "uint256";
|
|
295
|
-
}, {
|
|
296
|
-
readonly indexed: false;
|
|
297
|
-
readonly internalType: "uint256";
|
|
298
|
-
readonly name: "cycleStartBlockNumber";
|
|
299
|
-
readonly type: "uint256";
|
|
300
|
-
}, {
|
|
301
|
-
readonly indexed: false;
|
|
302
|
-
readonly internalType: "uint256";
|
|
303
|
-
readonly name: "cycleEndBlockNumber";
|
|
304
|
-
readonly type: "uint256";
|
|
305
|
-
}, {
|
|
306
|
-
readonly indexed: false;
|
|
307
|
-
readonly internalType: "uint256";
|
|
308
|
-
readonly name: "fullyDilutedMarketCap";
|
|
309
|
-
readonly type: "uint256";
|
|
310
|
-
}, {
|
|
311
|
-
readonly indexed: false;
|
|
312
|
-
readonly internalType: "uint256";
|
|
313
|
-
readonly name: "amount";
|
|
314
|
-
readonly type: "uint256";
|
|
315
|
-
}];
|
|
316
|
-
readonly name: "Fund";
|
|
317
|
-
readonly type: "event";
|
|
318
31
|
}, {
|
|
319
32
|
readonly anonymous: false;
|
|
320
33
|
readonly inputs: readonly [{
|
|
@@ -330,16 +43,6 @@ export declare const DOPAbi: readonly [{
|
|
|
330
43
|
}];
|
|
331
44
|
readonly name: "OwnershipTransferred";
|
|
332
45
|
readonly type: "event";
|
|
333
|
-
}, {
|
|
334
|
-
readonly anonymous: false;
|
|
335
|
-
readonly inputs: readonly [{
|
|
336
|
-
readonly indexed: false;
|
|
337
|
-
readonly internalType: "uint256";
|
|
338
|
-
readonly name: "index";
|
|
339
|
-
readonly type: "uint256";
|
|
340
|
-
}];
|
|
341
|
-
readonly name: "RemoveInflationTable";
|
|
342
|
-
readonly type: "event";
|
|
343
46
|
}, {
|
|
344
47
|
readonly anonymous: false;
|
|
345
48
|
readonly inputs: readonly [{
|
|
@@ -360,122 +63,6 @@ export declare const DOPAbi: readonly [{
|
|
|
360
63
|
}];
|
|
361
64
|
readonly name: "Transfer";
|
|
362
65
|
readonly type: "event";
|
|
363
|
-
}, {
|
|
364
|
-
readonly anonymous: false;
|
|
365
|
-
readonly inputs: readonly [];
|
|
366
|
-
readonly name: "TransfersEnabled";
|
|
367
|
-
readonly type: "event";
|
|
368
|
-
}, {
|
|
369
|
-
readonly anonymous: false;
|
|
370
|
-
readonly inputs: readonly [{
|
|
371
|
-
readonly indexed: true;
|
|
372
|
-
readonly internalType: "address";
|
|
373
|
-
readonly name: "newAccumulator";
|
|
374
|
-
readonly type: "address";
|
|
375
|
-
}, {
|
|
376
|
-
readonly indexed: true;
|
|
377
|
-
readonly internalType: "address";
|
|
378
|
-
readonly name: "oldAccumulator";
|
|
379
|
-
readonly type: "address";
|
|
380
|
-
}];
|
|
381
|
-
readonly name: "UpdateAccumulator";
|
|
382
|
-
readonly type: "event";
|
|
383
|
-
}, {
|
|
384
|
-
readonly anonymous: false;
|
|
385
|
-
readonly inputs: readonly [{
|
|
386
|
-
readonly indexed: true;
|
|
387
|
-
readonly internalType: "address";
|
|
388
|
-
readonly name: "newDedicatedCaller";
|
|
389
|
-
readonly type: "address";
|
|
390
|
-
}, {
|
|
391
|
-
readonly indexed: true;
|
|
392
|
-
readonly internalType: "address";
|
|
393
|
-
readonly name: "oldDedicatedCaller";
|
|
394
|
-
readonly type: "address";
|
|
395
|
-
}];
|
|
396
|
-
readonly name: "UpdateDedicatedCaller";
|
|
397
|
-
readonly type: "event";
|
|
398
|
-
}, {
|
|
399
|
-
readonly anonymous: false;
|
|
400
|
-
readonly inputs: readonly [{
|
|
401
|
-
readonly indexed: false;
|
|
402
|
-
readonly internalType: "uint256";
|
|
403
|
-
readonly name: "index";
|
|
404
|
-
readonly type: "uint256";
|
|
405
|
-
}, {
|
|
406
|
-
readonly components: readonly [{
|
|
407
|
-
readonly internalType: "uint112";
|
|
408
|
-
readonly name: "lowerLimit";
|
|
409
|
-
readonly type: "uint112";
|
|
410
|
-
}, {
|
|
411
|
-
readonly internalType: "uint112";
|
|
412
|
-
readonly name: "upperLimit";
|
|
413
|
-
readonly type: "uint112";
|
|
414
|
-
}, {
|
|
415
|
-
readonly internalType: "uint32";
|
|
416
|
-
readonly name: "rate";
|
|
417
|
-
readonly type: "uint32";
|
|
418
|
-
}];
|
|
419
|
-
readonly indexed: false;
|
|
420
|
-
readonly internalType: "struct IDOP.Table";
|
|
421
|
-
readonly name: "newTable";
|
|
422
|
-
readonly type: "tuple";
|
|
423
|
-
}, {
|
|
424
|
-
readonly components: readonly [{
|
|
425
|
-
readonly internalType: "uint112";
|
|
426
|
-
readonly name: "lowerLimit";
|
|
427
|
-
readonly type: "uint112";
|
|
428
|
-
}, {
|
|
429
|
-
readonly internalType: "uint112";
|
|
430
|
-
readonly name: "upperLimit";
|
|
431
|
-
readonly type: "uint112";
|
|
432
|
-
}, {
|
|
433
|
-
readonly internalType: "uint32";
|
|
434
|
-
readonly name: "rate";
|
|
435
|
-
readonly type: "uint32";
|
|
436
|
-
}];
|
|
437
|
-
readonly indexed: false;
|
|
438
|
-
readonly internalType: "struct IDOP.Table";
|
|
439
|
-
readonly name: "oldTable";
|
|
440
|
-
readonly type: "tuple";
|
|
441
|
-
}];
|
|
442
|
-
readonly name: "UpdateInflationTable";
|
|
443
|
-
readonly type: "event";
|
|
444
|
-
}, {
|
|
445
|
-
readonly anonymous: false;
|
|
446
|
-
readonly inputs: readonly [{
|
|
447
|
-
readonly indexed: true;
|
|
448
|
-
readonly internalType: "address";
|
|
449
|
-
readonly name: "newTreasury";
|
|
450
|
-
readonly type: "address";
|
|
451
|
-
}, {
|
|
452
|
-
readonly indexed: true;
|
|
453
|
-
readonly internalType: "address";
|
|
454
|
-
readonly name: "oldTreasury";
|
|
455
|
-
readonly type: "address";
|
|
456
|
-
}];
|
|
457
|
-
readonly name: "UpdateTreasury";
|
|
458
|
-
readonly type: "event";
|
|
459
|
-
}, {
|
|
460
|
-
readonly inputs: readonly [];
|
|
461
|
-
readonly name: "DOMAIN_SEPARATOR";
|
|
462
|
-
readonly outputs: readonly [{
|
|
463
|
-
readonly internalType: "bytes32";
|
|
464
|
-
readonly name: "";
|
|
465
|
-
readonly type: "bytes32";
|
|
466
|
-
}];
|
|
467
|
-
readonly stateMutability: "view";
|
|
468
|
-
readonly type: "function";
|
|
469
|
-
}, {
|
|
470
|
-
readonly inputs: readonly [];
|
|
471
|
-
readonly name: "accumulator";
|
|
472
|
-
readonly outputs: readonly [{
|
|
473
|
-
readonly internalType: "contract IAccumulator";
|
|
474
|
-
readonly name: "";
|
|
475
|
-
readonly type: "address";
|
|
476
|
-
}];
|
|
477
|
-
readonly stateMutability: "view";
|
|
478
|
-
readonly type: "function";
|
|
479
66
|
}, {
|
|
480
67
|
readonly inputs: readonly [{
|
|
481
68
|
readonly internalType: "address";
|
|
@@ -501,7 +88,7 @@ export declare const DOPAbi: readonly [{
|
|
|
501
88
|
readonly type: "address";
|
|
502
89
|
}, {
|
|
503
90
|
readonly internalType: "uint256";
|
|
504
|
-
readonly name: "
|
|
91
|
+
readonly name: "amount";
|
|
505
92
|
readonly type: "uint256";
|
|
506
93
|
}];
|
|
507
94
|
readonly name: "approve";
|
|
@@ -527,27 +114,27 @@ export declare const DOPAbi: readonly [{
|
|
|
527
114
|
readonly stateMutability: "view";
|
|
528
115
|
readonly type: "function";
|
|
529
116
|
}, {
|
|
530
|
-
readonly inputs: readonly [
|
|
117
|
+
readonly inputs: readonly [];
|
|
118
|
+
readonly name: "buyContributionFee";
|
|
119
|
+
readonly outputs: readonly [{
|
|
531
120
|
readonly internalType: "uint256";
|
|
532
|
-
readonly name: "
|
|
121
|
+
readonly name: "";
|
|
533
122
|
readonly type: "uint256";
|
|
534
123
|
}];
|
|
535
|
-
readonly
|
|
536
|
-
readonly outputs: readonly [];
|
|
537
|
-
readonly stateMutability: "nonpayable";
|
|
124
|
+
readonly stateMutability: "view";
|
|
538
125
|
readonly type: "function";
|
|
539
126
|
}, {
|
|
540
127
|
readonly inputs: readonly [{
|
|
541
128
|
readonly internalType: "address";
|
|
542
|
-
readonly name: "
|
|
129
|
+
readonly name: "otherToken";
|
|
130
|
+
readonly type: "address";
|
|
131
|
+
}];
|
|
132
|
+
readonly name: "createUniswapV2Pair";
|
|
133
|
+
readonly outputs: readonly [{
|
|
134
|
+
readonly internalType: "address";
|
|
135
|
+
readonly name: "";
|
|
543
136
|
readonly type: "address";
|
|
544
|
-
}, {
|
|
545
|
-
readonly internalType: "uint256";
|
|
546
|
-
readonly name: "value";
|
|
547
|
-
readonly type: "uint256";
|
|
548
137
|
}];
|
|
549
|
-
readonly name: "burnFrom";
|
|
550
|
-
readonly outputs: readonly [];
|
|
551
138
|
readonly stateMutability: "nonpayable";
|
|
552
139
|
readonly type: "function";
|
|
553
140
|
}, {
|
|
@@ -561,82 +148,70 @@ export declare const DOPAbi: readonly [{
|
|
|
561
148
|
readonly stateMutability: "view";
|
|
562
149
|
readonly type: "function";
|
|
563
150
|
}, {
|
|
564
|
-
readonly inputs: readonly [
|
|
565
|
-
readonly name: "dedicatedCaller";
|
|
566
|
-
readonly outputs: readonly [{
|
|
151
|
+
readonly inputs: readonly [{
|
|
567
152
|
readonly internalType: "address";
|
|
568
|
-
readonly name: "";
|
|
153
|
+
readonly name: "spender";
|
|
569
154
|
readonly type: "address";
|
|
155
|
+
}, {
|
|
156
|
+
readonly internalType: "uint256";
|
|
157
|
+
readonly name: "subtractedValue";
|
|
158
|
+
readonly type: "uint256";
|
|
570
159
|
}];
|
|
571
|
-
readonly
|
|
160
|
+
readonly name: "decreaseAllowance";
|
|
161
|
+
readonly outputs: readonly [{
|
|
162
|
+
readonly internalType: "bool";
|
|
163
|
+
readonly name: "";
|
|
164
|
+
readonly type: "bool";
|
|
165
|
+
}];
|
|
166
|
+
readonly stateMutability: "nonpayable";
|
|
572
167
|
readonly type: "function";
|
|
573
168
|
}, {
|
|
574
169
|
readonly inputs: readonly [];
|
|
575
|
-
readonly name: "
|
|
170
|
+
readonly name: "developementWalletAddress";
|
|
576
171
|
readonly outputs: readonly [{
|
|
577
|
-
readonly internalType: "bytes1";
|
|
578
|
-
readonly name: "fields";
|
|
579
|
-
readonly type: "bytes1";
|
|
580
|
-
}, {
|
|
581
|
-
readonly internalType: "string";
|
|
582
|
-
readonly name: "name";
|
|
583
|
-
readonly type: "string";
|
|
584
|
-
}, {
|
|
585
|
-
readonly internalType: "string";
|
|
586
|
-
readonly name: "version";
|
|
587
|
-
readonly type: "string";
|
|
588
|
-
}, {
|
|
589
|
-
readonly internalType: "uint256";
|
|
590
|
-
readonly name: "chainId";
|
|
591
|
-
readonly type: "uint256";
|
|
592
|
-
}, {
|
|
593
172
|
readonly internalType: "address";
|
|
594
|
-
readonly name: "
|
|
173
|
+
readonly name: "";
|
|
595
174
|
readonly type: "address";
|
|
596
|
-
}, {
|
|
597
|
-
readonly internalType: "bytes32";
|
|
598
|
-
readonly name: "salt";
|
|
599
|
-
readonly type: "bytes32";
|
|
600
|
-
}, {
|
|
601
|
-
readonly internalType: "uint256[]";
|
|
602
|
-
readonly name: "extensions";
|
|
603
|
-
readonly type: "uint256[]";
|
|
604
175
|
}];
|
|
605
176
|
readonly stateMutability: "view";
|
|
606
177
|
readonly type: "function";
|
|
607
178
|
}, {
|
|
608
|
-
readonly inputs: readonly [
|
|
609
|
-
|
|
179
|
+
readonly inputs: readonly [{
|
|
180
|
+
readonly internalType: "address";
|
|
181
|
+
readonly name: "_account";
|
|
182
|
+
readonly type: "address";
|
|
183
|
+
}];
|
|
184
|
+
readonly name: "excludeFromFee";
|
|
610
185
|
readonly outputs: readonly [];
|
|
611
186
|
readonly stateMutability: "nonpayable";
|
|
612
187
|
readonly type: "function";
|
|
613
188
|
}, {
|
|
614
|
-
readonly inputs: readonly [
|
|
615
|
-
|
|
189
|
+
readonly inputs: readonly [{
|
|
190
|
+
readonly internalType: "address";
|
|
191
|
+
readonly name: "_account";
|
|
192
|
+
readonly type: "address";
|
|
193
|
+
}];
|
|
194
|
+
readonly name: "includeInFee";
|
|
616
195
|
readonly outputs: readonly [];
|
|
617
196
|
readonly stateMutability: "nonpayable";
|
|
618
197
|
readonly type: "function";
|
|
619
198
|
}, {
|
|
620
199
|
readonly inputs: readonly [{
|
|
200
|
+
readonly internalType: "address";
|
|
201
|
+
readonly name: "spender";
|
|
202
|
+
readonly type: "address";
|
|
203
|
+
}, {
|
|
621
204
|
readonly internalType: "uint256";
|
|
622
|
-
readonly name: "";
|
|
205
|
+
readonly name: "addedValue";
|
|
623
206
|
readonly type: "uint256";
|
|
624
207
|
}];
|
|
625
|
-
readonly name: "
|
|
208
|
+
readonly name: "increaseAllowance";
|
|
626
209
|
readonly outputs: readonly [{
|
|
627
|
-
readonly internalType: "
|
|
628
|
-
readonly name: "
|
|
629
|
-
readonly type: "
|
|
630
|
-
}, {
|
|
631
|
-
readonly internalType: "uint112";
|
|
632
|
-
readonly name: "upperLimit";
|
|
633
|
-
readonly type: "uint112";
|
|
634
|
-
}, {
|
|
635
|
-
readonly internalType: "uint32";
|
|
636
|
-
readonly name: "rate";
|
|
637
|
-
readonly type: "uint32";
|
|
210
|
+
readonly internalType: "bool";
|
|
211
|
+
readonly name: "";
|
|
212
|
+
readonly type: "bool";
|
|
638
213
|
}];
|
|
639
|
-
readonly stateMutability: "
|
|
214
|
+
readonly stateMutability: "nonpayable";
|
|
640
215
|
readonly type: "function";
|
|
641
216
|
}, {
|
|
642
217
|
readonly inputs: readonly [{
|
|
@@ -644,7 +219,7 @@ export declare const DOPAbi: readonly [{
|
|
|
644
219
|
readonly name: "";
|
|
645
220
|
readonly type: "address";
|
|
646
221
|
}];
|
|
647
|
-
readonly name: "
|
|
222
|
+
readonly name: "isBlacklisted";
|
|
648
223
|
readonly outputs: readonly [{
|
|
649
224
|
readonly internalType: "bool";
|
|
650
225
|
readonly name: "";
|
|
@@ -653,8 +228,12 @@ export declare const DOPAbi: readonly [{
|
|
|
653
228
|
readonly stateMutability: "view";
|
|
654
229
|
readonly type: "function";
|
|
655
230
|
}, {
|
|
656
|
-
readonly inputs: readonly [
|
|
657
|
-
|
|
231
|
+
readonly inputs: readonly [{
|
|
232
|
+
readonly internalType: "address";
|
|
233
|
+
readonly name: "";
|
|
234
|
+
readonly type: "address";
|
|
235
|
+
}];
|
|
236
|
+
readonly name: "isExcludedFromFee";
|
|
658
237
|
readonly outputs: readonly [{
|
|
659
238
|
readonly internalType: "bool";
|
|
660
239
|
readonly name: "";
|
|
@@ -664,41 +243,71 @@ export declare const DOPAbi: readonly [{
|
|
|
664
243
|
readonly type: "function";
|
|
665
244
|
}, {
|
|
666
245
|
readonly inputs: readonly [];
|
|
667
|
-
readonly name: "
|
|
246
|
+
readonly name: "isSwapEnabled";
|
|
668
247
|
readonly outputs: readonly [{
|
|
669
|
-
readonly internalType: "
|
|
248
|
+
readonly internalType: "bool";
|
|
670
249
|
readonly name: "";
|
|
671
|
-
readonly type: "
|
|
250
|
+
readonly type: "bool";
|
|
672
251
|
}];
|
|
673
252
|
readonly stateMutability: "view";
|
|
674
253
|
readonly type: "function";
|
|
675
254
|
}, {
|
|
676
|
-
readonly inputs: readonly [
|
|
677
|
-
|
|
255
|
+
readonly inputs: readonly [{
|
|
256
|
+
readonly internalType: "address";
|
|
257
|
+
readonly name: "";
|
|
258
|
+
readonly type: "address";
|
|
259
|
+
}];
|
|
260
|
+
readonly name: "isUniswapV2Pair";
|
|
678
261
|
readonly outputs: readonly [{
|
|
679
|
-
readonly internalType: "
|
|
262
|
+
readonly internalType: "bool";
|
|
680
263
|
readonly name: "";
|
|
681
|
-
readonly type: "
|
|
264
|
+
readonly type: "bool";
|
|
682
265
|
}];
|
|
683
266
|
readonly stateMutability: "view";
|
|
684
267
|
readonly type: "function";
|
|
268
|
+
}, {
|
|
269
|
+
readonly inputs: readonly [{
|
|
270
|
+
readonly internalType: "address[]";
|
|
271
|
+
readonly name: "_addresses";
|
|
272
|
+
readonly type: "address[]";
|
|
273
|
+
}, {
|
|
274
|
+
readonly internalType: "bool";
|
|
275
|
+
readonly name: "_value";
|
|
276
|
+
readonly type: "bool";
|
|
277
|
+
}];
|
|
278
|
+
readonly name: "manage_blacklist";
|
|
279
|
+
readonly outputs: readonly [];
|
|
280
|
+
readonly stateMutability: "nonpayable";
|
|
281
|
+
readonly type: "function";
|
|
685
282
|
}, {
|
|
686
283
|
readonly inputs: readonly [];
|
|
687
|
-
readonly name: "
|
|
284
|
+
readonly name: "name";
|
|
688
285
|
readonly outputs: readonly [{
|
|
689
|
-
readonly internalType: "
|
|
286
|
+
readonly internalType: "string";
|
|
690
287
|
readonly name: "";
|
|
691
|
-
readonly type: "
|
|
288
|
+
readonly type: "string";
|
|
692
289
|
}];
|
|
693
290
|
readonly stateMutability: "view";
|
|
694
291
|
readonly type: "function";
|
|
695
292
|
}, {
|
|
696
|
-
readonly inputs: readonly [
|
|
293
|
+
readonly inputs: readonly [];
|
|
294
|
+
readonly name: "owner";
|
|
295
|
+
readonly outputs: readonly [{
|
|
697
296
|
readonly internalType: "address";
|
|
698
|
-
readonly name: "
|
|
297
|
+
readonly name: "";
|
|
699
298
|
readonly type: "address";
|
|
700
299
|
}];
|
|
701
|
-
readonly
|
|
300
|
+
readonly stateMutability: "view";
|
|
301
|
+
readonly type: "function";
|
|
302
|
+
}, {
|
|
303
|
+
readonly inputs: readonly [];
|
|
304
|
+
readonly name: "renounceOwnership";
|
|
305
|
+
readonly outputs: readonly [];
|
|
306
|
+
readonly stateMutability: "nonpayable";
|
|
307
|
+
readonly type: "function";
|
|
308
|
+
}, {
|
|
309
|
+
readonly inputs: readonly [];
|
|
310
|
+
readonly name: "sellContributionFee";
|
|
702
311
|
readonly outputs: readonly [{
|
|
703
312
|
readonly internalType: "uint256";
|
|
704
313
|
readonly name: "";
|
|
@@ -707,83 +316,62 @@ export declare const DOPAbi: readonly [{
|
|
|
707
316
|
readonly stateMutability: "view";
|
|
708
317
|
readonly type: "function";
|
|
709
318
|
}, {
|
|
710
|
-
readonly inputs: readonly [
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
readonly
|
|
714
|
-
readonly name: "";
|
|
715
|
-
readonly type: "address";
|
|
319
|
+
readonly inputs: readonly [{
|
|
320
|
+
readonly internalType: "uint256";
|
|
321
|
+
readonly name: "_newBuyContributionFee";
|
|
322
|
+
readonly type: "uint256";
|
|
716
323
|
}];
|
|
717
|
-
readonly
|
|
324
|
+
readonly name: "setBuyContributionFee";
|
|
325
|
+
readonly outputs: readonly [];
|
|
326
|
+
readonly stateMutability: "nonpayable";
|
|
718
327
|
readonly type: "function";
|
|
719
328
|
}, {
|
|
720
329
|
readonly inputs: readonly [{
|
|
721
330
|
readonly internalType: "address";
|
|
722
|
-
readonly name: "
|
|
723
|
-
readonly type: "address";
|
|
724
|
-
}, {
|
|
725
|
-
readonly internalType: "address";
|
|
726
|
-
readonly name: "spender";
|
|
331
|
+
readonly name: "_newDevelopementWallet";
|
|
727
332
|
readonly type: "address";
|
|
728
|
-
}
|
|
729
|
-
|
|
333
|
+
}];
|
|
334
|
+
readonly name: "setDevelopementWallet";
|
|
335
|
+
readonly outputs: readonly [];
|
|
336
|
+
readonly stateMutability: "nonpayable";
|
|
337
|
+
readonly type: "function";
|
|
338
|
+
}, {
|
|
339
|
+
readonly inputs: readonly [{
|
|
340
|
+
readonly internalType: "bool";
|
|
730
341
|
readonly name: "value";
|
|
731
|
-
readonly type: "
|
|
732
|
-
}
|
|
342
|
+
readonly type: "bool";
|
|
343
|
+
}];
|
|
344
|
+
readonly name: "setIsSwapEnabled";
|
|
345
|
+
readonly outputs: readonly [];
|
|
346
|
+
readonly stateMutability: "nonpayable";
|
|
347
|
+
readonly type: "function";
|
|
348
|
+
}, {
|
|
349
|
+
readonly inputs: readonly [{
|
|
733
350
|
readonly internalType: "uint256";
|
|
734
|
-
readonly name: "
|
|
351
|
+
readonly name: "_newSellContributionFee";
|
|
735
352
|
readonly type: "uint256";
|
|
736
|
-
}, {
|
|
737
|
-
readonly internalType: "uint8";
|
|
738
|
-
readonly name: "v";
|
|
739
|
-
readonly type: "uint8";
|
|
740
|
-
}, {
|
|
741
|
-
readonly internalType: "bytes32";
|
|
742
|
-
readonly name: "r";
|
|
743
|
-
readonly type: "bytes32";
|
|
744
|
-
}, {
|
|
745
|
-
readonly internalType: "bytes32";
|
|
746
|
-
readonly name: "s";
|
|
747
|
-
readonly type: "bytes32";
|
|
748
353
|
}];
|
|
749
|
-
readonly name: "
|
|
354
|
+
readonly name: "setSellContributionFee";
|
|
750
355
|
readonly outputs: readonly [];
|
|
751
356
|
readonly stateMutability: "nonpayable";
|
|
752
357
|
readonly type: "function";
|
|
753
358
|
}, {
|
|
754
|
-
readonly inputs: readonly [
|
|
755
|
-
|
|
359
|
+
readonly inputs: readonly [{
|
|
360
|
+
readonly internalType: "address";
|
|
361
|
+
readonly name: "taxHelperAddress";
|
|
362
|
+
readonly type: "address";
|
|
363
|
+
}];
|
|
364
|
+
readonly name: "setTaxHelper";
|
|
756
365
|
readonly outputs: readonly [];
|
|
757
366
|
readonly stateMutability: "nonpayable";
|
|
758
367
|
readonly type: "function";
|
|
759
368
|
}, {
|
|
760
369
|
readonly inputs: readonly [{
|
|
761
|
-
readonly internalType: "
|
|
762
|
-
readonly name: "
|
|
763
|
-
readonly type: "
|
|
764
|
-
}, {
|
|
765
|
-
readonly internalType: "uint256";
|
|
766
|
-
readonly name: "index";
|
|
767
|
-
readonly type: "uint256";
|
|
768
|
-
}, {
|
|
769
|
-
readonly components: readonly [{
|
|
770
|
-
readonly internalType: "uint112";
|
|
771
|
-
readonly name: "lowerLimit";
|
|
772
|
-
readonly type: "uint112";
|
|
773
|
-
}, {
|
|
774
|
-
readonly internalType: "uint112";
|
|
775
|
-
readonly name: "upperLimit";
|
|
776
|
-
readonly type: "uint112";
|
|
777
|
-
}, {
|
|
778
|
-
readonly internalType: "uint32";
|
|
779
|
-
readonly name: "rate";
|
|
780
|
-
readonly type: "uint32";
|
|
781
|
-
}];
|
|
782
|
-
readonly internalType: "struct IDOP.Table";
|
|
783
|
-
readonly name: "newTable";
|
|
784
|
-
readonly type: "tuple";
|
|
370
|
+
readonly internalType: "address";
|
|
371
|
+
readonly name: "_newTreasureWallet";
|
|
372
|
+
readonly type: "address";
|
|
785
373
|
}];
|
|
786
|
-
readonly name: "
|
|
374
|
+
readonly name: "setTreasureWallet";
|
|
787
375
|
readonly outputs: readonly [];
|
|
788
376
|
readonly stateMutability: "nonpayable";
|
|
789
377
|
readonly type: "function";
|
|
@@ -797,6 +385,16 @@ export declare const DOPAbi: readonly [{
|
|
|
797
385
|
}];
|
|
798
386
|
readonly stateMutability: "view";
|
|
799
387
|
readonly type: "function";
|
|
388
|
+
}, {
|
|
389
|
+
readonly inputs: readonly [];
|
|
390
|
+
readonly name: "taxHelper";
|
|
391
|
+
readonly outputs: readonly [{
|
|
392
|
+
readonly internalType: "contract ITaxHelper";
|
|
393
|
+
readonly name: "";
|
|
394
|
+
readonly type: "address";
|
|
395
|
+
}];
|
|
396
|
+
readonly stateMutability: "view";
|
|
397
|
+
readonly type: "function";
|
|
800
398
|
}, {
|
|
801
399
|
readonly inputs: readonly [];
|
|
802
400
|
readonly name: "totalSupply";
|
|
@@ -814,7 +412,7 @@ export declare const DOPAbi: readonly [{
|
|
|
814
412
|
readonly type: "address";
|
|
815
413
|
}, {
|
|
816
414
|
readonly internalType: "uint256";
|
|
817
|
-
readonly name: "
|
|
415
|
+
readonly name: "amount";
|
|
818
416
|
readonly type: "uint256";
|
|
819
417
|
}];
|
|
820
418
|
readonly name: "transfer";
|
|
@@ -836,7 +434,7 @@ export declare const DOPAbi: readonly [{
|
|
|
836
434
|
readonly type: "address";
|
|
837
435
|
}, {
|
|
838
436
|
readonly internalType: "uint256";
|
|
839
|
-
readonly name: "
|
|
437
|
+
readonly name: "amount";
|
|
840
438
|
readonly type: "uint256";
|
|
841
439
|
}];
|
|
842
440
|
readonly name: "transferFrom";
|
|
@@ -859,7 +457,7 @@ export declare const DOPAbi: readonly [{
|
|
|
859
457
|
readonly type: "function";
|
|
860
458
|
}, {
|
|
861
459
|
readonly inputs: readonly [];
|
|
862
|
-
readonly name: "
|
|
460
|
+
readonly name: "treasureWalletAddress";
|
|
863
461
|
readonly outputs: readonly [{
|
|
864
462
|
readonly internalType: "address";
|
|
865
463
|
readonly name: "";
|
|
@@ -869,59 +467,39 @@ export declare const DOPAbi: readonly [{
|
|
|
869
467
|
readonly type: "function";
|
|
870
468
|
}, {
|
|
871
469
|
readonly inputs: readonly [{
|
|
872
|
-
readonly internalType: "
|
|
873
|
-
readonly name: "
|
|
874
|
-
readonly type: "
|
|
875
|
-
}, {
|
|
876
|
-
readonly internalType: "bool";
|
|
877
|
-
readonly name: "state";
|
|
878
|
-
readonly type: "bool";
|
|
879
|
-
}];
|
|
880
|
-
readonly name: "updateAccountState";
|
|
881
|
-
readonly outputs: readonly [];
|
|
882
|
-
readonly stateMutability: "nonpayable";
|
|
883
|
-
readonly type: "function";
|
|
884
|
-
}, {
|
|
885
|
-
readonly inputs: readonly [{
|
|
886
|
-
readonly internalType: "contract IAccumulator";
|
|
887
|
-
readonly name: "newAccumulator";
|
|
888
|
-
readonly type: "address";
|
|
470
|
+
readonly internalType: "uint256";
|
|
471
|
+
readonly name: "";
|
|
472
|
+
readonly type: "uint256";
|
|
889
473
|
}];
|
|
890
|
-
readonly name: "
|
|
891
|
-
readonly outputs: readonly [
|
|
892
|
-
readonly stateMutability: "nonpayable";
|
|
893
|
-
readonly type: "function";
|
|
894
|
-
}, {
|
|
895
|
-
readonly inputs: readonly [{
|
|
474
|
+
readonly name: "uniswapV2Pairs";
|
|
475
|
+
readonly outputs: readonly [{
|
|
896
476
|
readonly internalType: "address";
|
|
897
|
-
readonly name: "
|
|
477
|
+
readonly name: "";
|
|
898
478
|
readonly type: "address";
|
|
899
479
|
}];
|
|
900
|
-
readonly
|
|
901
|
-
readonly outputs: readonly [];
|
|
902
|
-
readonly stateMutability: "nonpayable";
|
|
480
|
+
readonly stateMutability: "view";
|
|
903
481
|
readonly type: "function";
|
|
904
482
|
}, {
|
|
905
|
-
readonly inputs: readonly [
|
|
483
|
+
readonly inputs: readonly [];
|
|
484
|
+
readonly name: "uniswapV2RouterAddress";
|
|
485
|
+
readonly outputs: readonly [{
|
|
906
486
|
readonly internalType: "address";
|
|
907
|
-
readonly name: "
|
|
487
|
+
readonly name: "";
|
|
908
488
|
readonly type: "address";
|
|
909
489
|
}];
|
|
910
|
-
readonly
|
|
911
|
-
readonly outputs: readonly [];
|
|
912
|
-
readonly stateMutability: "nonpayable";
|
|
490
|
+
readonly stateMutability: "view";
|
|
913
491
|
readonly type: "function";
|
|
914
492
|
}];
|
|
915
493
|
/**
|
|
916
|
-
* Type-safe ABI for
|
|
494
|
+
* Type-safe ABI for DDrops
|
|
917
495
|
*/
|
|
918
|
-
export type
|
|
496
|
+
export type DDropsAbi = typeof DDropsAbi;
|
|
919
497
|
/**
|
|
920
|
-
* Contract instance type for
|
|
498
|
+
* Contract instance type for DDrops
|
|
921
499
|
*/
|
|
922
|
-
export type
|
|
500
|
+
export type DDropsContract = any;
|
|
923
501
|
/**
|
|
924
|
-
*
|
|
502
|
+
* DDrops Contract Class
|
|
925
503
|
*
|
|
926
504
|
* Provides a class-based API similar to TypeChain for interacting with the contract.
|
|
927
505
|
*
|
|
@@ -929,12 +507,12 @@ export type DOPContract = any;
|
|
|
929
507
|
* ```typescript
|
|
930
508
|
* import { createPublicClient, createWalletClient, http } from 'viem';
|
|
931
509
|
* import { mainnet } from 'viem/chains';
|
|
932
|
-
* import {
|
|
510
|
+
* import { DDrops } from 'DDrops';
|
|
933
511
|
*
|
|
934
512
|
* const publicClient = createPublicClient({ chain: mainnet, transport: http() });
|
|
935
513
|
* const walletClient = createWalletClient({ chain: mainnet, transport: http() });
|
|
936
514
|
*
|
|
937
|
-
* const contract = new
|
|
515
|
+
* const contract = new DDrops('0x...', { publicClient, walletClient });
|
|
938
516
|
*
|
|
939
517
|
* // Read functions
|
|
940
518
|
* const result = await contract.balanceOf('0x...');
|
|
@@ -952,7 +530,7 @@ export type DOPContract = any;
|
|
|
952
530
|
* });
|
|
953
531
|
* ```
|
|
954
532
|
*/
|
|
955
|
-
export declare class
|
|
533
|
+
export declare class DDrops {
|
|
956
534
|
private contract;
|
|
957
535
|
private contractAddress;
|
|
958
536
|
private publicClient;
|
|
@@ -967,17 +545,7 @@ export declare class DOP {
|
|
|
967
545
|
/**
|
|
968
546
|
* Get the underlying viem contract instance.
|
|
969
547
|
*/
|
|
970
|
-
getContract():
|
|
971
|
-
/**
|
|
972
|
-
* DOMAIN_SEPARATOR
|
|
973
|
-
* view
|
|
974
|
-
*/
|
|
975
|
-
DOMAIN_SEPARATOR(): Promise<`0x${string}`>;
|
|
976
|
-
/**
|
|
977
|
-
* accumulator
|
|
978
|
-
* view
|
|
979
|
-
*/
|
|
980
|
-
accumulator(): Promise<`0x${string}`>;
|
|
548
|
+
getContract(): DDropsContract;
|
|
981
549
|
/**
|
|
982
550
|
* allowance
|
|
983
551
|
* view
|
|
@@ -988,82 +556,109 @@ export declare class DOP {
|
|
|
988
556
|
* view
|
|
989
557
|
*/
|
|
990
558
|
balanceOf(account: `0x${string}`): Promise<bigint>;
|
|
559
|
+
/**
|
|
560
|
+
* buyContributionFee
|
|
561
|
+
* view
|
|
562
|
+
*/
|
|
563
|
+
buyContributionFee(): Promise<bigint>;
|
|
991
564
|
/**
|
|
992
565
|
* decimals
|
|
993
566
|
* view
|
|
994
567
|
*/
|
|
995
568
|
decimals(): Promise<bigint>;
|
|
996
569
|
/**
|
|
997
|
-
*
|
|
570
|
+
* developementWalletAddress
|
|
998
571
|
* view
|
|
999
572
|
*/
|
|
1000
|
-
|
|
573
|
+
developementWalletAddress(): Promise<`0x${string}`>;
|
|
1001
574
|
/**
|
|
1002
|
-
*
|
|
575
|
+
* isBlacklisted
|
|
1003
576
|
* view
|
|
1004
577
|
*/
|
|
1005
|
-
|
|
578
|
+
isBlacklisted(arg0: `0x${string}`): Promise<boolean>;
|
|
1006
579
|
/**
|
|
1007
|
-
*
|
|
580
|
+
* isExcludedFromFee
|
|
1008
581
|
* view
|
|
1009
582
|
*/
|
|
1010
|
-
|
|
583
|
+
isExcludedFromFee(arg0: `0x${string}`): Promise<boolean>;
|
|
1011
584
|
/**
|
|
1012
|
-
*
|
|
585
|
+
* isSwapEnabled
|
|
1013
586
|
* view
|
|
1014
587
|
*/
|
|
1015
|
-
|
|
588
|
+
isSwapEnabled(): Promise<boolean>;
|
|
1016
589
|
/**
|
|
1017
|
-
*
|
|
590
|
+
* isUniswapV2Pair
|
|
1018
591
|
* view
|
|
1019
592
|
*/
|
|
1020
|
-
|
|
593
|
+
isUniswapV2Pair(arg0: `0x${string}`): Promise<boolean>;
|
|
1021
594
|
/**
|
|
1022
595
|
* name
|
|
1023
596
|
* view
|
|
1024
597
|
*/
|
|
1025
598
|
name(): Promise<string>;
|
|
1026
599
|
/**
|
|
1027
|
-
*
|
|
600
|
+
* owner
|
|
1028
601
|
* view
|
|
1029
602
|
*/
|
|
1030
|
-
|
|
603
|
+
owner(): Promise<`0x${string}`>;
|
|
1031
604
|
/**
|
|
1032
|
-
*
|
|
605
|
+
* sellContributionFee
|
|
1033
606
|
* view
|
|
1034
607
|
*/
|
|
1035
|
-
|
|
608
|
+
sellContributionFee(): Promise<bigint>;
|
|
1036
609
|
/**
|
|
1037
|
-
*
|
|
610
|
+
* symbol
|
|
1038
611
|
* view
|
|
1039
612
|
*/
|
|
1040
|
-
|
|
613
|
+
symbol(): Promise<string>;
|
|
1041
614
|
/**
|
|
1042
|
-
*
|
|
615
|
+
* taxHelper
|
|
1043
616
|
* view
|
|
1044
617
|
*/
|
|
1045
|
-
|
|
618
|
+
taxHelper(): Promise<`0x${string}`>;
|
|
1046
619
|
/**
|
|
1047
|
-
*
|
|
620
|
+
* totalSupply
|
|
1048
621
|
* view
|
|
1049
622
|
*/
|
|
1050
|
-
|
|
623
|
+
totalSupply(): Promise<bigint>;
|
|
1051
624
|
/**
|
|
1052
|
-
*
|
|
625
|
+
* treasureWalletAddress
|
|
1053
626
|
* view
|
|
1054
627
|
*/
|
|
1055
|
-
|
|
628
|
+
treasureWalletAddress(): Promise<`0x${string}`>;
|
|
629
|
+
/**
|
|
630
|
+
* uniswapV2Pairs
|
|
631
|
+
* view
|
|
632
|
+
*/
|
|
633
|
+
uniswapV2Pairs(arg0: bigint): Promise<`0x${string}`>;
|
|
1056
634
|
/**
|
|
1057
|
-
*
|
|
635
|
+
* uniswapV2RouterAddress
|
|
1058
636
|
* view
|
|
1059
637
|
*/
|
|
1060
|
-
|
|
638
|
+
uniswapV2RouterAddress(): Promise<`0x${string}`>;
|
|
1061
639
|
/**
|
|
1062
640
|
* approve
|
|
1063
641
|
* nonpayable
|
|
1064
642
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1065
643
|
*/
|
|
1066
|
-
approve(spender: `0x${string}`,
|
|
644
|
+
approve(spender: `0x${string}`, amount: bigint, options?: {
|
|
645
|
+
accessList?: import('viem').AccessList;
|
|
646
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
647
|
+
chain?: import('viem').Chain | null;
|
|
648
|
+
dataSuffix?: `0x${string}`;
|
|
649
|
+
gas?: bigint;
|
|
650
|
+
gasPrice?: bigint;
|
|
651
|
+
maxFeePerGas?: bigint;
|
|
652
|
+
maxPriorityFeePerGas?: bigint;
|
|
653
|
+
nonce?: number;
|
|
654
|
+
value?: bigint;
|
|
655
|
+
}): Promise<`0x${string}`>;
|
|
656
|
+
/**
|
|
657
|
+
* createUniswapV2Pair
|
|
658
|
+
* nonpayable
|
|
659
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
660
|
+
*/
|
|
661
|
+
createUniswapV2Pair(otherToken: `0x${string}`, options?: {
|
|
1067
662
|
accessList?: import('viem').AccessList;
|
|
1068
663
|
authorizationList?: import('viem').AuthorizationList;
|
|
1069
664
|
chain?: import('viem').Chain | null;
|
|
@@ -1076,11 +671,11 @@ export declare class DOP {
|
|
|
1076
671
|
value?: bigint;
|
|
1077
672
|
}): Promise<`0x${string}`>;
|
|
1078
673
|
/**
|
|
1079
|
-
*
|
|
674
|
+
* decreaseAllowance
|
|
1080
675
|
* nonpayable
|
|
1081
676
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1082
677
|
*/
|
|
1083
|
-
|
|
678
|
+
decreaseAllowance(spender: `0x${string}`, subtractedValue: bigint, options?: {
|
|
1084
679
|
accessList?: import('viem').AccessList;
|
|
1085
680
|
authorizationList?: import('viem').AuthorizationList;
|
|
1086
681
|
chain?: import('viem').Chain | null;
|
|
@@ -1093,11 +688,11 @@ export declare class DOP {
|
|
|
1093
688
|
value?: bigint;
|
|
1094
689
|
}): Promise<`0x${string}`>;
|
|
1095
690
|
/**
|
|
1096
|
-
*
|
|
691
|
+
* excludeFromFee
|
|
1097
692
|
* nonpayable
|
|
1098
693
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1099
694
|
*/
|
|
1100
|
-
|
|
695
|
+
excludeFromFee(_account: `0x${string}`, options?: {
|
|
1101
696
|
accessList?: import('viem').AccessList;
|
|
1102
697
|
authorizationList?: import('viem').AuthorizationList;
|
|
1103
698
|
chain?: import('viem').Chain | null;
|
|
@@ -1110,11 +705,11 @@ export declare class DOP {
|
|
|
1110
705
|
value?: bigint;
|
|
1111
706
|
}): Promise<`0x${string}`>;
|
|
1112
707
|
/**
|
|
1113
|
-
*
|
|
708
|
+
* includeInFee
|
|
1114
709
|
* nonpayable
|
|
1115
710
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1116
711
|
*/
|
|
1117
|
-
|
|
712
|
+
includeInFee(_account: `0x${string}`, options?: {
|
|
1118
713
|
accessList?: import('viem').AccessList;
|
|
1119
714
|
authorizationList?: import('viem').AuthorizationList;
|
|
1120
715
|
chain?: import('viem').Chain | null;
|
|
@@ -1127,11 +722,11 @@ export declare class DOP {
|
|
|
1127
722
|
value?: bigint;
|
|
1128
723
|
}): Promise<`0x${string}`>;
|
|
1129
724
|
/**
|
|
1130
|
-
*
|
|
725
|
+
* increaseAllowance
|
|
1131
726
|
* nonpayable
|
|
1132
727
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1133
728
|
*/
|
|
1134
|
-
|
|
729
|
+
increaseAllowance(spender: `0x${string}`, addedValue: bigint, options?: {
|
|
1135
730
|
accessList?: import('viem').AccessList;
|
|
1136
731
|
authorizationList?: import('viem').AuthorizationList;
|
|
1137
732
|
chain?: import('viem').Chain | null;
|
|
@@ -1144,11 +739,11 @@ export declare class DOP {
|
|
|
1144
739
|
value?: bigint;
|
|
1145
740
|
}): Promise<`0x${string}`>;
|
|
1146
741
|
/**
|
|
1147
|
-
*
|
|
742
|
+
* manage_blacklist
|
|
1148
743
|
* nonpayable
|
|
1149
744
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1150
745
|
*/
|
|
1151
|
-
|
|
746
|
+
manage_blacklist(_addresses: `0x${string}`[], _value: boolean, options?: {
|
|
1152
747
|
accessList?: import('viem').AccessList;
|
|
1153
748
|
authorizationList?: import('viem').AuthorizationList;
|
|
1154
749
|
chain?: import('viem').Chain | null;
|
|
@@ -1178,11 +773,11 @@ export declare class DOP {
|
|
|
1178
773
|
value?: bigint;
|
|
1179
774
|
}): Promise<`0x${string}`>;
|
|
1180
775
|
/**
|
|
1181
|
-
*
|
|
776
|
+
* setBuyContributionFee
|
|
1182
777
|
* nonpayable
|
|
1183
778
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1184
779
|
*/
|
|
1185
|
-
|
|
780
|
+
setBuyContributionFee(_newBuyContributionFee: bigint, options?: {
|
|
1186
781
|
accessList?: import('viem').AccessList;
|
|
1187
782
|
authorizationList?: import('viem').AuthorizationList;
|
|
1188
783
|
chain?: import('viem').Chain | null;
|
|
@@ -1195,11 +790,11 @@ export declare class DOP {
|
|
|
1195
790
|
value?: bigint;
|
|
1196
791
|
}): Promise<`0x${string}`>;
|
|
1197
792
|
/**
|
|
1198
|
-
*
|
|
793
|
+
* setDevelopementWallet
|
|
1199
794
|
* nonpayable
|
|
1200
795
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1201
796
|
*/
|
|
1202
|
-
|
|
797
|
+
setDevelopementWallet(_newDevelopementWallet: `0x${string}`, options?: {
|
|
1203
798
|
accessList?: import('viem').AccessList;
|
|
1204
799
|
authorizationList?: import('viem').AuthorizationList;
|
|
1205
800
|
chain?: import('viem').Chain | null;
|
|
@@ -1212,11 +807,11 @@ export declare class DOP {
|
|
|
1212
807
|
value?: bigint;
|
|
1213
808
|
}): Promise<`0x${string}`>;
|
|
1214
809
|
/**
|
|
1215
|
-
*
|
|
810
|
+
* setIsSwapEnabled
|
|
1216
811
|
* nonpayable
|
|
1217
812
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1218
813
|
*/
|
|
1219
|
-
|
|
814
|
+
setIsSwapEnabled(value: boolean, options?: {
|
|
1220
815
|
accessList?: import('viem').AccessList;
|
|
1221
816
|
authorizationList?: import('viem').AuthorizationList;
|
|
1222
817
|
chain?: import('viem').Chain | null;
|
|
@@ -1229,11 +824,28 @@ export declare class DOP {
|
|
|
1229
824
|
value?: bigint;
|
|
1230
825
|
}): Promise<`0x${string}`>;
|
|
1231
826
|
/**
|
|
1232
|
-
*
|
|
827
|
+
* setSellContributionFee
|
|
1233
828
|
* nonpayable
|
|
1234
829
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1235
830
|
*/
|
|
1236
|
-
|
|
831
|
+
setSellContributionFee(_newSellContributionFee: bigint, options?: {
|
|
832
|
+
accessList?: import('viem').AccessList;
|
|
833
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
834
|
+
chain?: import('viem').Chain | null;
|
|
835
|
+
dataSuffix?: `0x${string}`;
|
|
836
|
+
gas?: bigint;
|
|
837
|
+
gasPrice?: bigint;
|
|
838
|
+
maxFeePerGas?: bigint;
|
|
839
|
+
maxPriorityFeePerGas?: bigint;
|
|
840
|
+
nonce?: number;
|
|
841
|
+
value?: bigint;
|
|
842
|
+
}): Promise<`0x${string}`>;
|
|
843
|
+
/**
|
|
844
|
+
* setTaxHelper
|
|
845
|
+
* nonpayable
|
|
846
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
847
|
+
*/
|
|
848
|
+
setTaxHelper(taxHelperAddress: `0x${string}`, options?: {
|
|
1237
849
|
accessList?: import('viem').AccessList;
|
|
1238
850
|
authorizationList?: import('viem').AuthorizationList;
|
|
1239
851
|
chain?: import('viem').Chain | null;
|
|
@@ -1246,11 +858,11 @@ export declare class DOP {
|
|
|
1246
858
|
value?: bigint;
|
|
1247
859
|
}): Promise<`0x${string}`>;
|
|
1248
860
|
/**
|
|
1249
|
-
*
|
|
861
|
+
* setTreasureWallet
|
|
1250
862
|
* nonpayable
|
|
1251
863
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1252
864
|
*/
|
|
1253
|
-
|
|
865
|
+
setTreasureWallet(_newTreasureWallet: `0x${string}`, options?: {
|
|
1254
866
|
accessList?: import('viem').AccessList;
|
|
1255
867
|
authorizationList?: import('viem').AuthorizationList;
|
|
1256
868
|
chain?: import('viem').Chain | null;
|
|
@@ -1263,11 +875,11 @@ export declare class DOP {
|
|
|
1263
875
|
value?: bigint;
|
|
1264
876
|
}): Promise<`0x${string}`>;
|
|
1265
877
|
/**
|
|
1266
|
-
*
|
|
878
|
+
* transfer
|
|
1267
879
|
* nonpayable
|
|
1268
880
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1269
881
|
*/
|
|
1270
|
-
|
|
882
|
+
transfer(to: `0x${string}`, amount: bigint, options?: {
|
|
1271
883
|
accessList?: import('viem').AccessList;
|
|
1272
884
|
authorizationList?: import('viem').AuthorizationList;
|
|
1273
885
|
chain?: import('viem').Chain | null;
|
|
@@ -1280,11 +892,11 @@ export declare class DOP {
|
|
|
1280
892
|
value?: bigint;
|
|
1281
893
|
}): Promise<`0x${string}`>;
|
|
1282
894
|
/**
|
|
1283
|
-
*
|
|
895
|
+
* transferFrom
|
|
1284
896
|
* nonpayable
|
|
1285
897
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1286
898
|
*/
|
|
1287
|
-
|
|
899
|
+
transferFrom(from: `0x${string}`, to: `0x${string}`, amount: bigint, options?: {
|
|
1288
900
|
accessList?: import('viem').AccessList;
|
|
1289
901
|
authorizationList?: import('viem').AuthorizationList;
|
|
1290
902
|
chain?: import('viem').Chain | null;
|
|
@@ -1297,11 +909,11 @@ export declare class DOP {
|
|
|
1297
909
|
value?: bigint;
|
|
1298
910
|
}): Promise<`0x${string}`>;
|
|
1299
911
|
/**
|
|
1300
|
-
*
|
|
912
|
+
* transferOwnership
|
|
1301
913
|
* nonpayable
|
|
1302
914
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1303
915
|
*/
|
|
1304
|
-
|
|
916
|
+
transferOwnership(newOwner: `0x${string}`, options?: {
|
|
1305
917
|
accessList?: import('viem').AccessList;
|
|
1306
918
|
authorizationList?: import('viem').AuthorizationList;
|
|
1307
919
|
chain?: import('viem').Chain | null;
|
|
@@ -1327,7 +939,7 @@ export declare class DOP {
|
|
|
1327
939
|
* Returns gas estimate and result without sending transaction
|
|
1328
940
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1329
941
|
*/
|
|
1330
|
-
approve(spender: `0x${string}`,
|
|
942
|
+
approve(spender: `0x${string}`, amount: bigint, options?: {
|
|
1331
943
|
accessList?: import("viem").AccessList;
|
|
1332
944
|
authorizationList?: import("viem").AuthorizationList;
|
|
1333
945
|
chain?: import("viem").Chain | null;
|
|
@@ -1340,11 +952,11 @@ export declare class DOP {
|
|
|
1340
952
|
value?: bigint;
|
|
1341
953
|
}): Promise<boolean>;
|
|
1342
954
|
/**
|
|
1343
|
-
* Simulate
|
|
955
|
+
* Simulate createUniswapV2Pair
|
|
1344
956
|
* Returns gas estimate and result without sending transaction
|
|
1345
957
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1346
958
|
*/
|
|
1347
|
-
|
|
959
|
+
createUniswapV2Pair(otherToken: `0x${string}`, options?: {
|
|
1348
960
|
accessList?: import("viem").AccessList;
|
|
1349
961
|
authorizationList?: import("viem").AuthorizationList;
|
|
1350
962
|
chain?: import("viem").Chain | null;
|
|
@@ -1355,13 +967,13 @@ export declare class DOP {
|
|
|
1355
967
|
maxPriorityFeePerGas?: bigint;
|
|
1356
968
|
nonce?: number;
|
|
1357
969
|
value?: bigint;
|
|
1358
|
-
}): Promise
|
|
970
|
+
}): Promise<`0x${string}`>;
|
|
1359
971
|
/**
|
|
1360
|
-
* Simulate
|
|
972
|
+
* Simulate decreaseAllowance
|
|
1361
973
|
* Returns gas estimate and result without sending transaction
|
|
1362
974
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1363
975
|
*/
|
|
1364
|
-
|
|
976
|
+
decreaseAllowance(spender: `0x${string}`, subtractedValue: bigint, options?: {
|
|
1365
977
|
accessList?: import("viem").AccessList;
|
|
1366
978
|
authorizationList?: import("viem").AuthorizationList;
|
|
1367
979
|
chain?: import("viem").Chain | null;
|
|
@@ -1372,13 +984,13 @@ export declare class DOP {
|
|
|
1372
984
|
maxPriorityFeePerGas?: bigint;
|
|
1373
985
|
nonce?: number;
|
|
1374
986
|
value?: bigint;
|
|
1375
|
-
}): Promise<
|
|
987
|
+
}): Promise<boolean>;
|
|
1376
988
|
/**
|
|
1377
|
-
* Simulate
|
|
989
|
+
* Simulate excludeFromFee
|
|
1378
990
|
* Returns gas estimate and result without sending transaction
|
|
1379
991
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1380
992
|
*/
|
|
1381
|
-
|
|
993
|
+
excludeFromFee(_account: `0x${string}`, options?: {
|
|
1382
994
|
accessList?: import("viem").AccessList;
|
|
1383
995
|
authorizationList?: import("viem").AuthorizationList;
|
|
1384
996
|
chain?: import("viem").Chain | null;
|
|
@@ -1391,11 +1003,11 @@ export declare class DOP {
|
|
|
1391
1003
|
value?: bigint;
|
|
1392
1004
|
}): Promise<void>;
|
|
1393
1005
|
/**
|
|
1394
|
-
* Simulate
|
|
1006
|
+
* Simulate includeInFee
|
|
1395
1007
|
* Returns gas estimate and result without sending transaction
|
|
1396
1008
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1397
1009
|
*/
|
|
1398
|
-
|
|
1010
|
+
includeInFee(_account: `0x${string}`, options?: {
|
|
1399
1011
|
accessList?: import("viem").AccessList;
|
|
1400
1012
|
authorizationList?: import("viem").AuthorizationList;
|
|
1401
1013
|
chain?: import("viem").Chain | null;
|
|
@@ -1408,11 +1020,28 @@ export declare class DOP {
|
|
|
1408
1020
|
value?: bigint;
|
|
1409
1021
|
}): Promise<void>;
|
|
1410
1022
|
/**
|
|
1411
|
-
* Simulate
|
|
1023
|
+
* Simulate increaseAllowance
|
|
1024
|
+
* Returns gas estimate and result without sending transaction
|
|
1025
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1026
|
+
*/
|
|
1027
|
+
increaseAllowance(spender: `0x${string}`, addedValue: bigint, options?: {
|
|
1028
|
+
accessList?: import("viem").AccessList;
|
|
1029
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1030
|
+
chain?: import("viem").Chain | null;
|
|
1031
|
+
dataSuffix?: `0x${string}`;
|
|
1032
|
+
gas?: bigint;
|
|
1033
|
+
gasPrice?: bigint;
|
|
1034
|
+
maxFeePerGas?: bigint;
|
|
1035
|
+
maxPriorityFeePerGas?: bigint;
|
|
1036
|
+
nonce?: number;
|
|
1037
|
+
value?: bigint;
|
|
1038
|
+
}): Promise<boolean>;
|
|
1039
|
+
/**
|
|
1040
|
+
* Simulate manage_blacklist
|
|
1412
1041
|
* Returns gas estimate and result without sending transaction
|
|
1413
1042
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1414
1043
|
*/
|
|
1415
|
-
|
|
1044
|
+
manage_blacklist(_addresses: `0x${string}`[], _value: boolean, options?: {
|
|
1416
1045
|
accessList?: import("viem").AccessList;
|
|
1417
1046
|
authorizationList?: import("viem").AuthorizationList;
|
|
1418
1047
|
chain?: import("viem").Chain | null;
|
|
@@ -1442,11 +1071,11 @@ export declare class DOP {
|
|
|
1442
1071
|
value?: bigint;
|
|
1443
1072
|
}): Promise<void>;
|
|
1444
1073
|
/**
|
|
1445
|
-
* Simulate
|
|
1074
|
+
* Simulate setBuyContributionFee
|
|
1446
1075
|
* Returns gas estimate and result without sending transaction
|
|
1447
1076
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1448
1077
|
*/
|
|
1449
|
-
|
|
1078
|
+
setBuyContributionFee(_newBuyContributionFee: bigint, options?: {
|
|
1450
1079
|
accessList?: import("viem").AccessList;
|
|
1451
1080
|
authorizationList?: import("viem").AuthorizationList;
|
|
1452
1081
|
chain?: import("viem").Chain | null;
|
|
@@ -1459,11 +1088,11 @@ export declare class DOP {
|
|
|
1459
1088
|
value?: bigint;
|
|
1460
1089
|
}): Promise<void>;
|
|
1461
1090
|
/**
|
|
1462
|
-
* Simulate
|
|
1091
|
+
* Simulate setDevelopementWallet
|
|
1463
1092
|
* Returns gas estimate and result without sending transaction
|
|
1464
1093
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1465
1094
|
*/
|
|
1466
|
-
|
|
1095
|
+
setDevelopementWallet(_newDevelopementWallet: `0x${string}`, options?: {
|
|
1467
1096
|
accessList?: import("viem").AccessList;
|
|
1468
1097
|
authorizationList?: import("viem").AuthorizationList;
|
|
1469
1098
|
chain?: import("viem").Chain | null;
|
|
@@ -1474,13 +1103,13 @@ export declare class DOP {
|
|
|
1474
1103
|
maxPriorityFeePerGas?: bigint;
|
|
1475
1104
|
nonce?: number;
|
|
1476
1105
|
value?: bigint;
|
|
1477
|
-
}): Promise<
|
|
1106
|
+
}): Promise<void>;
|
|
1478
1107
|
/**
|
|
1479
|
-
* Simulate
|
|
1108
|
+
* Simulate setIsSwapEnabled
|
|
1480
1109
|
* Returns gas estimate and result without sending transaction
|
|
1481
1110
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1482
1111
|
*/
|
|
1483
|
-
|
|
1112
|
+
setIsSwapEnabled(value: boolean, options?: {
|
|
1484
1113
|
accessList?: import("viem").AccessList;
|
|
1485
1114
|
authorizationList?: import("viem").AuthorizationList;
|
|
1486
1115
|
chain?: import("viem").Chain | null;
|
|
@@ -1491,13 +1120,13 @@ export declare class DOP {
|
|
|
1491
1120
|
maxPriorityFeePerGas?: bigint;
|
|
1492
1121
|
nonce?: number;
|
|
1493
1122
|
value?: bigint;
|
|
1494
|
-
}): Promise<
|
|
1123
|
+
}): Promise<void>;
|
|
1495
1124
|
/**
|
|
1496
|
-
* Simulate
|
|
1125
|
+
* Simulate setSellContributionFee
|
|
1497
1126
|
* Returns gas estimate and result without sending transaction
|
|
1498
1127
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1499
1128
|
*/
|
|
1500
|
-
|
|
1129
|
+
setSellContributionFee(_newSellContributionFee: bigint, options?: {
|
|
1501
1130
|
accessList?: import("viem").AccessList;
|
|
1502
1131
|
authorizationList?: import("viem").AuthorizationList;
|
|
1503
1132
|
chain?: import("viem").Chain | null;
|
|
@@ -1510,11 +1139,11 @@ export declare class DOP {
|
|
|
1510
1139
|
value?: bigint;
|
|
1511
1140
|
}): Promise<void>;
|
|
1512
1141
|
/**
|
|
1513
|
-
* Simulate
|
|
1142
|
+
* Simulate setTaxHelper
|
|
1514
1143
|
* Returns gas estimate and result without sending transaction
|
|
1515
1144
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1516
1145
|
*/
|
|
1517
|
-
|
|
1146
|
+
setTaxHelper(taxHelperAddress: `0x${string}`, options?: {
|
|
1518
1147
|
accessList?: import("viem").AccessList;
|
|
1519
1148
|
authorizationList?: import("viem").AuthorizationList;
|
|
1520
1149
|
chain?: import("viem").Chain | null;
|
|
@@ -1527,11 +1156,11 @@ export declare class DOP {
|
|
|
1527
1156
|
value?: bigint;
|
|
1528
1157
|
}): Promise<void>;
|
|
1529
1158
|
/**
|
|
1530
|
-
* Simulate
|
|
1159
|
+
* Simulate setTreasureWallet
|
|
1531
1160
|
* Returns gas estimate and result without sending transaction
|
|
1532
1161
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1533
1162
|
*/
|
|
1534
|
-
|
|
1163
|
+
setTreasureWallet(_newTreasureWallet: `0x${string}`, options?: {
|
|
1535
1164
|
accessList?: import("viem").AccessList;
|
|
1536
1165
|
authorizationList?: import("viem").AuthorizationList;
|
|
1537
1166
|
chain?: import("viem").Chain | null;
|
|
@@ -1544,11 +1173,11 @@ export declare class DOP {
|
|
|
1544
1173
|
value?: bigint;
|
|
1545
1174
|
}): Promise<void>;
|
|
1546
1175
|
/**
|
|
1547
|
-
* Simulate
|
|
1176
|
+
* Simulate transfer
|
|
1548
1177
|
* Returns gas estimate and result without sending transaction
|
|
1549
1178
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1550
1179
|
*/
|
|
1551
|
-
|
|
1180
|
+
transfer(to: `0x${string}`, amount: bigint, options?: {
|
|
1552
1181
|
accessList?: import("viem").AccessList;
|
|
1553
1182
|
authorizationList?: import("viem").AuthorizationList;
|
|
1554
1183
|
chain?: import("viem").Chain | null;
|
|
@@ -1559,13 +1188,30 @@ export declare class DOP {
|
|
|
1559
1188
|
maxPriorityFeePerGas?: bigint;
|
|
1560
1189
|
nonce?: number;
|
|
1561
1190
|
value?: bigint;
|
|
1562
|
-
}): Promise<
|
|
1191
|
+
}): Promise<boolean>;
|
|
1192
|
+
/**
|
|
1193
|
+
* Simulate transferFrom
|
|
1194
|
+
* Returns gas estimate and result without sending transaction
|
|
1195
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1196
|
+
*/
|
|
1197
|
+
transferFrom(from: `0x${string}`, to: `0x${string}`, amount: bigint, options?: {
|
|
1198
|
+
accessList?: import("viem").AccessList;
|
|
1199
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1200
|
+
chain?: import("viem").Chain | null;
|
|
1201
|
+
dataSuffix?: `0x${string}`;
|
|
1202
|
+
gas?: bigint;
|
|
1203
|
+
gasPrice?: bigint;
|
|
1204
|
+
maxFeePerGas?: bigint;
|
|
1205
|
+
maxPriorityFeePerGas?: bigint;
|
|
1206
|
+
nonce?: number;
|
|
1207
|
+
value?: bigint;
|
|
1208
|
+
}): Promise<boolean>;
|
|
1563
1209
|
/**
|
|
1564
|
-
* Simulate
|
|
1210
|
+
* Simulate transferOwnership
|
|
1565
1211
|
* Returns gas estimate and result without sending transaction
|
|
1566
1212
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1567
1213
|
*/
|
|
1568
|
-
|
|
1214
|
+
transferOwnership(newOwner: `0x${string}`, options?: {
|
|
1569
1215
|
accessList?: import("viem").AccessList;
|
|
1570
1216
|
authorizationList?: import("viem").AuthorizationList;
|
|
1571
1217
|
chain?: import("viem").Chain | null;
|
|
@@ -1591,27 +1237,6 @@ export declare class DOP {
|
|
|
1591
1237
|
* unwatch();
|
|
1592
1238
|
*/
|
|
1593
1239
|
get watch(): {
|
|
1594
|
-
/**
|
|
1595
|
-
* Watch AddInflationTable events
|
|
1596
|
-
* @param callback Function to call when event is emitted
|
|
1597
|
-
* @param filter Optional filter for indexed parameters
|
|
1598
|
-
* @returns Unwatch function to stop listening
|
|
1599
|
-
*/
|
|
1600
|
-
AddInflationTable: (callback: (event: {
|
|
1601
|
-
newTable: IDOP_Table;
|
|
1602
|
-
}) => void) => () => void;
|
|
1603
|
-
/**
|
|
1604
|
-
* Watch AllowListUpdated events
|
|
1605
|
-
* @param callback Function to call when event is emitted
|
|
1606
|
-
* @param filter Optional filter for indexed parameters
|
|
1607
|
-
* @returns Unwatch function to stop listening
|
|
1608
|
-
*/
|
|
1609
|
-
AllowListUpdated: (callback: (event: {
|
|
1610
|
-
account: `0x${string}`;
|
|
1611
|
-
state: boolean;
|
|
1612
|
-
}) => void, filter?: {
|
|
1613
|
-
account?: `0x${string}` | `0x${string}`[] | null;
|
|
1614
|
-
}) => () => void;
|
|
1615
1240
|
/**
|
|
1616
1241
|
* Watch Approval events
|
|
1617
1242
|
* @param callback Function to call when event is emitted
|
|
@@ -1626,27 +1251,6 @@ export declare class DOP {
|
|
|
1626
1251
|
owner?: `0x${string}` | `0x${string}`[] | null;
|
|
1627
1252
|
spender?: `0x${string}` | `0x${string}`[] | null;
|
|
1628
1253
|
}) => () => void;
|
|
1629
|
-
/**
|
|
1630
|
-
* Watch EIP712DomainChanged events
|
|
1631
|
-
* @param callback Function to call when event is emitted
|
|
1632
|
-
* @param filter Optional filter for indexed parameters
|
|
1633
|
-
* @returns Unwatch function to stop listening
|
|
1634
|
-
*/
|
|
1635
|
-
EIP712DomainChanged: (callback: (event: {}) => void) => () => void;
|
|
1636
|
-
/**
|
|
1637
|
-
* Watch Fund events
|
|
1638
|
-
* @param callback Function to call when event is emitted
|
|
1639
|
-
* @param filter Optional filter for indexed parameters
|
|
1640
|
-
* @returns Unwatch function to stop listening
|
|
1641
|
-
*/
|
|
1642
|
-
Fund: (callback: (event: {
|
|
1643
|
-
twapPrice: bigint;
|
|
1644
|
-
cycle: bigint;
|
|
1645
|
-
cycleStartBlockNumber: bigint;
|
|
1646
|
-
cycleEndBlockNumber: bigint;
|
|
1647
|
-
fullyDilutedMarketCap: bigint;
|
|
1648
|
-
amount: bigint;
|
|
1649
|
-
}) => void) => () => void;
|
|
1650
1254
|
/**
|
|
1651
1255
|
* Watch OwnershipTransferred events
|
|
1652
1256
|
* @param callback Function to call when event is emitted
|
|
@@ -1660,15 +1264,6 @@ export declare class DOP {
|
|
|
1660
1264
|
previousOwner?: `0x${string}` | `0x${string}`[] | null;
|
|
1661
1265
|
newOwner?: `0x${string}` | `0x${string}`[] | null;
|
|
1662
1266
|
}) => () => void;
|
|
1663
|
-
/**
|
|
1664
|
-
* Watch RemoveInflationTable events
|
|
1665
|
-
* @param callback Function to call when event is emitted
|
|
1666
|
-
* @param filter Optional filter for indexed parameters
|
|
1667
|
-
* @returns Unwatch function to stop listening
|
|
1668
|
-
*/
|
|
1669
|
-
RemoveInflationTable: (callback: (event: {
|
|
1670
|
-
index: bigint;
|
|
1671
|
-
}) => void) => () => void;
|
|
1672
1267
|
/**
|
|
1673
1268
|
* Watch Transfer events
|
|
1674
1269
|
* @param callback Function to call when event is emitted
|
|
@@ -1683,62 +1278,5 @@ export declare class DOP {
|
|
|
1683
1278
|
from?: `0x${string}` | `0x${string}`[] | null;
|
|
1684
1279
|
to?: `0x${string}` | `0x${string}`[] | null;
|
|
1685
1280
|
}) => () => void;
|
|
1686
|
-
/**
|
|
1687
|
-
* Watch TransfersEnabled events
|
|
1688
|
-
* @param callback Function to call when event is emitted
|
|
1689
|
-
* @param filter Optional filter for indexed parameters
|
|
1690
|
-
* @returns Unwatch function to stop listening
|
|
1691
|
-
*/
|
|
1692
|
-
TransfersEnabled: (callback: (event: {}) => void) => () => void;
|
|
1693
|
-
/**
|
|
1694
|
-
* Watch UpdateAccumulator events
|
|
1695
|
-
* @param callback Function to call when event is emitted
|
|
1696
|
-
* @param filter Optional filter for indexed parameters
|
|
1697
|
-
* @returns Unwatch function to stop listening
|
|
1698
|
-
*/
|
|
1699
|
-
UpdateAccumulator: (callback: (event: {
|
|
1700
|
-
newAccumulator: `0x${string}`;
|
|
1701
|
-
oldAccumulator: `0x${string}`;
|
|
1702
|
-
}) => void, filter?: {
|
|
1703
|
-
newAccumulator?: `0x${string}` | `0x${string}`[] | null;
|
|
1704
|
-
oldAccumulator?: `0x${string}` | `0x${string}`[] | null;
|
|
1705
|
-
}) => () => void;
|
|
1706
|
-
/**
|
|
1707
|
-
* Watch UpdateDedicatedCaller events
|
|
1708
|
-
* @param callback Function to call when event is emitted
|
|
1709
|
-
* @param filter Optional filter for indexed parameters
|
|
1710
|
-
* @returns Unwatch function to stop listening
|
|
1711
|
-
*/
|
|
1712
|
-
UpdateDedicatedCaller: (callback: (event: {
|
|
1713
|
-
newDedicatedCaller: `0x${string}`;
|
|
1714
|
-
oldDedicatedCaller: `0x${string}`;
|
|
1715
|
-
}) => void, filter?: {
|
|
1716
|
-
newDedicatedCaller?: `0x${string}` | `0x${string}`[] | null;
|
|
1717
|
-
oldDedicatedCaller?: `0x${string}` | `0x${string}`[] | null;
|
|
1718
|
-
}) => () => void;
|
|
1719
|
-
/**
|
|
1720
|
-
* Watch UpdateInflationTable events
|
|
1721
|
-
* @param callback Function to call when event is emitted
|
|
1722
|
-
* @param filter Optional filter for indexed parameters
|
|
1723
|
-
* @returns Unwatch function to stop listening
|
|
1724
|
-
*/
|
|
1725
|
-
UpdateInflationTable: (callback: (event: {
|
|
1726
|
-
index: bigint;
|
|
1727
|
-
newTable: IDOP_Table;
|
|
1728
|
-
oldTable: IDOP_Table;
|
|
1729
|
-
}) => void) => () => void;
|
|
1730
|
-
/**
|
|
1731
|
-
* Watch UpdateTreasury events
|
|
1732
|
-
* @param callback Function to call when event is emitted
|
|
1733
|
-
* @param filter Optional filter for indexed parameters
|
|
1734
|
-
* @returns Unwatch function to stop listening
|
|
1735
|
-
*/
|
|
1736
|
-
UpdateTreasury: (callback: (event: {
|
|
1737
|
-
newTreasury: `0x${string}`;
|
|
1738
|
-
oldTreasury: `0x${string}`;
|
|
1739
|
-
}) => void, filter?: {
|
|
1740
|
-
newTreasury?: `0x${string}` | `0x${string}`[] | null;
|
|
1741
|
-
oldTreasury?: `0x${string}` | `0x${string}`[] | null;
|
|
1742
|
-
}) => () => void;
|
|
1743
1281
|
};
|
|
1744
1282
|
}
|