@gitmyabi/zc 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/LaunchToken_json.d.ts +48 -687
- package/contracts/LaunchToken_json.js +71 -802
- package/contracts/LaunchToken_json.ts +81 -947
- package/package.json +3 -3
|
@@ -5,21 +5,33 @@ import type { Address, PublicClient, WalletClient } from 'viem';
|
|
|
5
5
|
* This ABI is typed using viem's type system for full type safety.
|
|
6
6
|
*/
|
|
7
7
|
export declare const LaunchToken_jsonAbi: readonly [{
|
|
8
|
-
readonly inputs: readonly [
|
|
8
|
+
readonly inputs: readonly [{
|
|
9
|
+
readonly internalType: "string";
|
|
10
|
+
readonly name: "name_";
|
|
11
|
+
readonly type: "string";
|
|
12
|
+
}, {
|
|
13
|
+
readonly internalType: "string";
|
|
14
|
+
readonly name: "symbol_";
|
|
15
|
+
readonly type: "string";
|
|
16
|
+
}, {
|
|
17
|
+
readonly internalType: "string";
|
|
18
|
+
readonly name: "metadataUri_";
|
|
19
|
+
readonly type: "string";
|
|
20
|
+
}, {
|
|
21
|
+
readonly internalType: "address";
|
|
22
|
+
readonly name: "creator_";
|
|
23
|
+
readonly type: "address";
|
|
24
|
+
}, {
|
|
25
|
+
readonly internalType: "address";
|
|
26
|
+
readonly name: "recipient";
|
|
27
|
+
readonly type: "address";
|
|
28
|
+
}, {
|
|
29
|
+
readonly internalType: "address";
|
|
30
|
+
readonly name: "distributor_";
|
|
31
|
+
readonly type: "address";
|
|
32
|
+
}];
|
|
9
33
|
readonly stateMutability: "nonpayable";
|
|
10
34
|
readonly type: "constructor";
|
|
11
|
-
}, {
|
|
12
|
-
readonly inputs: readonly [];
|
|
13
|
-
readonly name: "AlreadyInitialised";
|
|
14
|
-
readonly type: "error";
|
|
15
|
-
}, {
|
|
16
|
-
readonly inputs: readonly [];
|
|
17
|
-
readonly name: "BuyCapExceeded";
|
|
18
|
-
readonly type: "error";
|
|
19
|
-
}, {
|
|
20
|
-
readonly inputs: readonly [];
|
|
21
|
-
readonly name: "CreatorOnlyBlock";
|
|
22
|
-
readonly type: "error";
|
|
23
35
|
}, {
|
|
24
36
|
readonly inputs: readonly [{
|
|
25
37
|
readonly internalType: "address";
|
|
@@ -84,38 +96,6 @@ export declare const LaunchToken_jsonAbi: readonly [{
|
|
|
84
96
|
}];
|
|
85
97
|
readonly name: "ERC20InvalidSpender";
|
|
86
98
|
readonly type: "error";
|
|
87
|
-
}, {
|
|
88
|
-
readonly inputs: readonly [];
|
|
89
|
-
readonly name: "HoldCapExceeded";
|
|
90
|
-
readonly type: "error";
|
|
91
|
-
}, {
|
|
92
|
-
readonly inputs: readonly [];
|
|
93
|
-
readonly name: "MarketAlreadySet";
|
|
94
|
-
readonly type: "error";
|
|
95
|
-
}, {
|
|
96
|
-
readonly inputs: readonly [];
|
|
97
|
-
readonly name: "NoEligibleSupply";
|
|
98
|
-
readonly type: "error";
|
|
99
|
-
}, {
|
|
100
|
-
readonly inputs: readonly [];
|
|
101
|
-
readonly name: "NothingToClaim";
|
|
102
|
-
readonly type: "error";
|
|
103
|
-
}, {
|
|
104
|
-
readonly inputs: readonly [];
|
|
105
|
-
readonly name: "OnlyFactory";
|
|
106
|
-
readonly type: "error";
|
|
107
|
-
}, {
|
|
108
|
-
readonly inputs: readonly [];
|
|
109
|
-
readonly name: "RewardTransferFailed";
|
|
110
|
-
readonly type: "error";
|
|
111
|
-
}, {
|
|
112
|
-
readonly inputs: readonly [{
|
|
113
|
-
readonly internalType: "address";
|
|
114
|
-
readonly name: "token";
|
|
115
|
-
readonly type: "address";
|
|
116
|
-
}];
|
|
117
|
-
readonly name: "SafeERC20FailedOperation";
|
|
118
|
-
readonly type: "error";
|
|
119
99
|
}, {
|
|
120
100
|
readonly anonymous: false;
|
|
121
101
|
readonly inputs: readonly [{
|
|
@@ -136,61 +116,6 @@ export declare const LaunchToken_jsonAbi: readonly [{
|
|
|
136
116
|
}];
|
|
137
117
|
readonly name: "Approval";
|
|
138
118
|
readonly type: "event";
|
|
139
|
-
}, {
|
|
140
|
-
readonly anonymous: false;
|
|
141
|
-
readonly inputs: readonly [{
|
|
142
|
-
readonly indexed: true;
|
|
143
|
-
readonly internalType: "address";
|
|
144
|
-
readonly name: "rewardToken";
|
|
145
|
-
readonly type: "address";
|
|
146
|
-
}];
|
|
147
|
-
readonly name: "HolderFeesEnabled";
|
|
148
|
-
readonly type: "event";
|
|
149
|
-
}, {
|
|
150
|
-
readonly anonymous: false;
|
|
151
|
-
readonly inputs: readonly [{
|
|
152
|
-
readonly indexed: false;
|
|
153
|
-
readonly internalType: "uint256";
|
|
154
|
-
readonly name: "amount";
|
|
155
|
-
readonly type: "uint256";
|
|
156
|
-
}, {
|
|
157
|
-
readonly indexed: false;
|
|
158
|
-
readonly internalType: "uint256";
|
|
159
|
-
readonly name: "accRewardPerToken";
|
|
160
|
-
readonly type: "uint256";
|
|
161
|
-
}];
|
|
162
|
-
readonly name: "RewardAdded";
|
|
163
|
-
readonly type: "event";
|
|
164
|
-
}, {
|
|
165
|
-
readonly anonymous: false;
|
|
166
|
-
readonly inputs: readonly [{
|
|
167
|
-
readonly indexed: false;
|
|
168
|
-
readonly internalType: "uint256";
|
|
169
|
-
readonly name: "amount";
|
|
170
|
-
readonly type: "uint256";
|
|
171
|
-
}, {
|
|
172
|
-
readonly indexed: false;
|
|
173
|
-
readonly internalType: "uint256";
|
|
174
|
-
readonly name: "totalCarried";
|
|
175
|
-
readonly type: "uint256";
|
|
176
|
-
}];
|
|
177
|
-
readonly name: "RewardCarried";
|
|
178
|
-
readonly type: "event";
|
|
179
|
-
}, {
|
|
180
|
-
readonly anonymous: false;
|
|
181
|
-
readonly inputs: readonly [{
|
|
182
|
-
readonly indexed: true;
|
|
183
|
-
readonly internalType: "address";
|
|
184
|
-
readonly name: "holder";
|
|
185
|
-
readonly type: "address";
|
|
186
|
-
}, {
|
|
187
|
-
readonly indexed: false;
|
|
188
|
-
readonly internalType: "uint256";
|
|
189
|
-
readonly name: "amount";
|
|
190
|
-
readonly type: "uint256";
|
|
191
|
-
}];
|
|
192
|
-
readonly name: "RewardClaimed";
|
|
193
|
-
readonly type: "event";
|
|
194
119
|
}, {
|
|
195
120
|
readonly anonymous: false;
|
|
196
121
|
readonly inputs: readonly [{
|
|
@@ -213,51 +138,11 @@ export declare const LaunchToken_jsonAbi: readonly [{
|
|
|
213
138
|
readonly type: "event";
|
|
214
139
|
}, {
|
|
215
140
|
readonly inputs: readonly [];
|
|
216
|
-
readonly name: "
|
|
141
|
+
readonly name: "DESCRIPTION";
|
|
217
142
|
readonly outputs: readonly [{
|
|
218
|
-
readonly internalType: "
|
|
219
|
-
readonly name: "";
|
|
220
|
-
readonly type: "uint256";
|
|
221
|
-
}];
|
|
222
|
-
readonly stateMutability: "view";
|
|
223
|
-
readonly type: "function";
|
|
224
|
-
}, {
|
|
225
|
-
readonly inputs: readonly [];
|
|
226
|
-
readonly name: "MAX_BUY";
|
|
227
|
-
readonly outputs: readonly [{
|
|
228
|
-
readonly internalType: "uint256";
|
|
229
|
-
readonly name: "";
|
|
230
|
-
readonly type: "uint256";
|
|
231
|
-
}];
|
|
232
|
-
readonly stateMutability: "view";
|
|
233
|
-
readonly type: "function";
|
|
234
|
-
}, {
|
|
235
|
-
readonly inputs: readonly [];
|
|
236
|
-
readonly name: "MAX_HOLD";
|
|
237
|
-
readonly outputs: readonly [{
|
|
238
|
-
readonly internalType: "uint256";
|
|
239
|
-
readonly name: "";
|
|
240
|
-
readonly type: "uint256";
|
|
241
|
-
}];
|
|
242
|
-
readonly stateMutability: "view";
|
|
243
|
-
readonly type: "function";
|
|
244
|
-
}, {
|
|
245
|
-
readonly inputs: readonly [];
|
|
246
|
-
readonly name: "RAMP_BLOCKS";
|
|
247
|
-
readonly outputs: readonly [{
|
|
248
|
-
readonly internalType: "uint256";
|
|
249
|
-
readonly name: "";
|
|
250
|
-
readonly type: "uint256";
|
|
251
|
-
}];
|
|
252
|
-
readonly stateMutability: "view";
|
|
253
|
-
readonly type: "function";
|
|
254
|
-
}, {
|
|
255
|
-
readonly inputs: readonly [];
|
|
256
|
-
readonly name: "RAMP_START";
|
|
257
|
-
readonly outputs: readonly [{
|
|
258
|
-
readonly internalType: "uint256";
|
|
143
|
+
readonly internalType: "string";
|
|
259
144
|
readonly name: "";
|
|
260
|
-
readonly type: "
|
|
145
|
+
readonly type: "string";
|
|
261
146
|
}];
|
|
262
147
|
readonly stateMutability: "view";
|
|
263
148
|
readonly type: "function";
|
|
@@ -271,16 +156,6 @@ export declare const LaunchToken_jsonAbi: readonly [{
|
|
|
271
156
|
}];
|
|
272
157
|
readonly stateMutability: "view";
|
|
273
158
|
readonly type: "function";
|
|
274
|
-
}, {
|
|
275
|
-
readonly inputs: readonly [];
|
|
276
|
-
readonly name: "accRewardPerToken";
|
|
277
|
-
readonly outputs: readonly [{
|
|
278
|
-
readonly internalType: "uint256";
|
|
279
|
-
readonly name: "";
|
|
280
|
-
readonly type: "uint256";
|
|
281
|
-
}];
|
|
282
|
-
readonly stateMutability: "view";
|
|
283
|
-
readonly type: "function";
|
|
284
159
|
}, {
|
|
285
160
|
readonly inputs: readonly [{
|
|
286
161
|
readonly internalType: "address";
|
|
@@ -331,26 +206,6 @@ export declare const LaunchToken_jsonAbi: readonly [{
|
|
|
331
206
|
}];
|
|
332
207
|
readonly stateMutability: "view";
|
|
333
208
|
readonly type: "function";
|
|
334
|
-
}, {
|
|
335
|
-
readonly inputs: readonly [];
|
|
336
|
-
readonly name: "carriedReward";
|
|
337
|
-
readonly outputs: readonly [{
|
|
338
|
-
readonly internalType: "uint256";
|
|
339
|
-
readonly name: "";
|
|
340
|
-
readonly type: "uint256";
|
|
341
|
-
}];
|
|
342
|
-
readonly stateMutability: "view";
|
|
343
|
-
readonly type: "function";
|
|
344
|
-
}, {
|
|
345
|
-
readonly inputs: readonly [];
|
|
346
|
-
readonly name: "claim";
|
|
347
|
-
readonly outputs: readonly [{
|
|
348
|
-
readonly internalType: "uint256";
|
|
349
|
-
readonly name: "amount";
|
|
350
|
-
readonly type: "uint256";
|
|
351
|
-
}];
|
|
352
|
-
readonly stateMutability: "nonpayable";
|
|
353
|
-
readonly type: "function";
|
|
354
209
|
}, {
|
|
355
210
|
readonly inputs: readonly [];
|
|
356
211
|
readonly name: "creator";
|
|
@@ -361,16 +216,6 @@ export declare const LaunchToken_jsonAbi: readonly [{
|
|
|
361
216
|
}];
|
|
362
217
|
readonly stateMutability: "view";
|
|
363
218
|
readonly type: "function";
|
|
364
|
-
}, {
|
|
365
|
-
readonly inputs: readonly [];
|
|
366
|
-
readonly name: "currentBuyCap";
|
|
367
|
-
readonly outputs: readonly [{
|
|
368
|
-
readonly internalType: "uint256";
|
|
369
|
-
readonly name: "";
|
|
370
|
-
readonly type: "uint256";
|
|
371
|
-
}];
|
|
372
|
-
readonly stateMutability: "view";
|
|
373
|
-
readonly type: "function";
|
|
374
219
|
}, {
|
|
375
220
|
readonly inputs: readonly [];
|
|
376
221
|
readonly name: "decimals";
|
|
@@ -383,181 +228,17 @@ export declare const LaunchToken_jsonAbi: readonly [{
|
|
|
383
228
|
readonly type: "function";
|
|
384
229
|
}, {
|
|
385
230
|
readonly inputs: readonly [];
|
|
386
|
-
readonly name: "
|
|
387
|
-
readonly outputs: readonly [{
|
|
388
|
-
readonly internalType: "uint256";
|
|
389
|
-
readonly name: "";
|
|
390
|
-
readonly type: "uint256";
|
|
391
|
-
}];
|
|
392
|
-
readonly stateMutability: "view";
|
|
393
|
-
readonly type: "function";
|
|
394
|
-
}, {
|
|
395
|
-
readonly inputs: readonly [{
|
|
396
|
-
readonly internalType: "address";
|
|
397
|
-
readonly name: "rewardToken_";
|
|
398
|
-
readonly type: "address";
|
|
399
|
-
}, {
|
|
400
|
-
readonly internalType: "address";
|
|
401
|
-
readonly name: "rewardSource_";
|
|
402
|
-
readonly type: "address";
|
|
403
|
-
}];
|
|
404
|
-
readonly name: "enableHolderFees";
|
|
405
|
-
readonly outputs: readonly [];
|
|
406
|
-
readonly stateMutability: "nonpayable";
|
|
407
|
-
readonly type: "function";
|
|
408
|
-
}, {
|
|
409
|
-
readonly inputs: readonly [];
|
|
410
|
-
readonly name: "factory";
|
|
411
|
-
readonly outputs: readonly [{
|
|
412
|
-
readonly internalType: "address";
|
|
413
|
-
readonly name: "";
|
|
414
|
-
readonly type: "address";
|
|
415
|
-
}];
|
|
416
|
-
readonly stateMutability: "view";
|
|
417
|
-
readonly type: "function";
|
|
418
|
-
}, {
|
|
419
|
-
readonly inputs: readonly [];
|
|
420
|
-
readonly name: "guardActive";
|
|
421
|
-
readonly outputs: readonly [{
|
|
422
|
-
readonly internalType: "bool";
|
|
423
|
-
readonly name: "";
|
|
424
|
-
readonly type: "bool";
|
|
425
|
-
}];
|
|
426
|
-
readonly stateMutability: "view";
|
|
427
|
-
readonly type: "function";
|
|
428
|
-
}, {
|
|
429
|
-
readonly inputs: readonly [];
|
|
430
|
-
readonly name: "guardEndsAtBlock";
|
|
431
|
-
readonly outputs: readonly [{
|
|
432
|
-
readonly internalType: "uint256";
|
|
433
|
-
readonly name: "";
|
|
434
|
-
readonly type: "uint256";
|
|
435
|
-
}];
|
|
436
|
-
readonly stateMutability: "view";
|
|
437
|
-
readonly type: "function";
|
|
438
|
-
}, {
|
|
439
|
-
readonly inputs: readonly [];
|
|
440
|
-
readonly name: "holderFeesEnabled";
|
|
441
|
-
readonly outputs: readonly [{
|
|
442
|
-
readonly internalType: "bool";
|
|
443
|
-
readonly name: "";
|
|
444
|
-
readonly type: "bool";
|
|
445
|
-
}];
|
|
446
|
-
readonly stateMutability: "view";
|
|
447
|
-
readonly type: "function";
|
|
448
|
-
}, {
|
|
449
|
-
readonly inputs: readonly [{
|
|
450
|
-
readonly internalType: "string";
|
|
451
|
-
readonly name: "name_";
|
|
452
|
-
readonly type: "string";
|
|
453
|
-
}, {
|
|
454
|
-
readonly internalType: "string";
|
|
455
|
-
readonly name: "symbol_";
|
|
456
|
-
readonly type: "string";
|
|
457
|
-
}, {
|
|
458
|
-
readonly internalType: "string";
|
|
459
|
-
readonly name: "metadataURI_";
|
|
460
|
-
readonly type: "string";
|
|
461
|
-
}, {
|
|
462
|
-
readonly internalType: "address";
|
|
463
|
-
readonly name: "creator_";
|
|
464
|
-
readonly type: "address";
|
|
465
|
-
}];
|
|
466
|
-
readonly name: "initialize";
|
|
467
|
-
readonly outputs: readonly [];
|
|
468
|
-
readonly stateMutability: "nonpayable";
|
|
469
|
-
readonly type: "function";
|
|
470
|
-
}, {
|
|
471
|
-
readonly inputs: readonly [];
|
|
472
|
-
readonly name: "launchBlock";
|
|
473
|
-
readonly outputs: readonly [{
|
|
474
|
-
readonly internalType: "uint256";
|
|
475
|
-
readonly name: "";
|
|
476
|
-
readonly type: "uint256";
|
|
477
|
-
}];
|
|
478
|
-
readonly stateMutability: "view";
|
|
479
|
-
readonly type: "function";
|
|
480
|
-
}, {
|
|
481
|
-
readonly inputs: readonly [];
|
|
482
|
-
readonly name: "market";
|
|
483
|
-
readonly outputs: readonly [{
|
|
484
|
-
readonly internalType: "address";
|
|
485
|
-
readonly name: "";
|
|
486
|
-
readonly type: "address";
|
|
487
|
-
}];
|
|
488
|
-
readonly stateMutability: "view";
|
|
489
|
-
readonly type: "function";
|
|
490
|
-
}, {
|
|
491
|
-
readonly inputs: readonly [];
|
|
492
|
-
readonly name: "metadataURI";
|
|
493
|
-
readonly outputs: readonly [{
|
|
494
|
-
readonly internalType: "string";
|
|
495
|
-
readonly name: "";
|
|
496
|
-
readonly type: "string";
|
|
497
|
-
}];
|
|
498
|
-
readonly stateMutability: "view";
|
|
499
|
-
readonly type: "function";
|
|
500
|
-
}, {
|
|
501
|
-
readonly inputs: readonly [];
|
|
502
|
-
readonly name: "name";
|
|
503
|
-
readonly outputs: readonly [{
|
|
504
|
-
readonly internalType: "string";
|
|
505
|
-
readonly name: "";
|
|
506
|
-
readonly type: "string";
|
|
507
|
-
}];
|
|
508
|
-
readonly stateMutability: "view";
|
|
509
|
-
readonly type: "function";
|
|
510
|
-
}, {
|
|
511
|
-
readonly inputs: readonly [{
|
|
512
|
-
readonly internalType: "uint256";
|
|
513
|
-
readonly name: "amount";
|
|
514
|
-
readonly type: "uint256";
|
|
515
|
-
}];
|
|
516
|
-
readonly name: "notifyReward";
|
|
517
|
-
readonly outputs: readonly [];
|
|
518
|
-
readonly stateMutability: "payable";
|
|
519
|
-
readonly type: "function";
|
|
520
|
-
}, {
|
|
521
|
-
readonly inputs: readonly [{
|
|
522
|
-
readonly internalType: "address";
|
|
523
|
-
readonly name: "holder";
|
|
524
|
-
readonly type: "address";
|
|
525
|
-
}];
|
|
526
|
-
readonly name: "pendingReward";
|
|
527
|
-
readonly outputs: readonly [{
|
|
528
|
-
readonly internalType: "uint256";
|
|
529
|
-
readonly name: "";
|
|
530
|
-
readonly type: "uint256";
|
|
531
|
-
}];
|
|
532
|
-
readonly stateMutability: "view";
|
|
533
|
-
readonly type: "function";
|
|
534
|
-
}, {
|
|
535
|
-
readonly inputs: readonly [];
|
|
536
|
-
readonly name: "rampEndsAtBlock";
|
|
537
|
-
readonly outputs: readonly [{
|
|
538
|
-
readonly internalType: "uint256";
|
|
539
|
-
readonly name: "";
|
|
540
|
-
readonly type: "uint256";
|
|
541
|
-
}];
|
|
542
|
-
readonly stateMutability: "view";
|
|
543
|
-
readonly type: "function";
|
|
544
|
-
}, {
|
|
545
|
-
readonly inputs: readonly [{
|
|
546
|
-
readonly internalType: "address";
|
|
547
|
-
readonly name: "";
|
|
548
|
-
readonly type: "address";
|
|
549
|
-
}];
|
|
550
|
-
readonly name: "rewardExcluded";
|
|
231
|
+
readonly name: "distributor";
|
|
551
232
|
readonly outputs: readonly [{
|
|
552
|
-
readonly internalType: "
|
|
233
|
+
readonly internalType: "address";
|
|
553
234
|
readonly name: "";
|
|
554
|
-
readonly type: "
|
|
235
|
+
readonly type: "address";
|
|
555
236
|
}];
|
|
556
237
|
readonly stateMutability: "view";
|
|
557
238
|
readonly type: "function";
|
|
558
239
|
}, {
|
|
559
240
|
readonly inputs: readonly [];
|
|
560
|
-
readonly name: "
|
|
241
|
+
readonly name: "factory";
|
|
561
242
|
readonly outputs: readonly [{
|
|
562
243
|
readonly internalType: "address";
|
|
563
244
|
readonly name: "";
|
|
@@ -567,23 +248,23 @@ export declare const LaunchToken_jsonAbi: readonly [{
|
|
|
567
248
|
readonly type: "function";
|
|
568
249
|
}, {
|
|
569
250
|
readonly inputs: readonly [];
|
|
570
|
-
readonly name: "
|
|
251
|
+
readonly name: "metadataUri";
|
|
571
252
|
readonly outputs: readonly [{
|
|
572
|
-
readonly internalType: "
|
|
253
|
+
readonly internalType: "string";
|
|
573
254
|
readonly name: "";
|
|
574
|
-
readonly type: "
|
|
255
|
+
readonly type: "string";
|
|
575
256
|
}];
|
|
576
257
|
readonly stateMutability: "view";
|
|
577
258
|
readonly type: "function";
|
|
578
259
|
}, {
|
|
579
|
-
readonly inputs: readonly [
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
readonly
|
|
260
|
+
readonly inputs: readonly [];
|
|
261
|
+
readonly name: "name";
|
|
262
|
+
readonly outputs: readonly [{
|
|
263
|
+
readonly internalType: "string";
|
|
264
|
+
readonly name: "";
|
|
265
|
+
readonly type: "string";
|
|
583
266
|
}];
|
|
584
|
-
readonly
|
|
585
|
-
readonly outputs: readonly [];
|
|
586
|
-
readonly stateMutability: "nonpayable";
|
|
267
|
+
readonly stateMutability: "view";
|
|
587
268
|
readonly type: "function";
|
|
588
269
|
}, {
|
|
589
270
|
readonly inputs: readonly [];
|
|
@@ -645,23 +326,6 @@ export declare const LaunchToken_jsonAbi: readonly [{
|
|
|
645
326
|
}];
|
|
646
327
|
readonly stateMutability: "nonpayable";
|
|
647
328
|
readonly type: "function";
|
|
648
|
-
}, {
|
|
649
|
-
readonly inputs: readonly [{
|
|
650
|
-
readonly internalType: "address";
|
|
651
|
-
readonly name: "";
|
|
652
|
-
readonly type: "address";
|
|
653
|
-
}];
|
|
654
|
-
readonly name: "unclaimed";
|
|
655
|
-
readonly outputs: readonly [{
|
|
656
|
-
readonly internalType: "uint256";
|
|
657
|
-
readonly name: "";
|
|
658
|
-
readonly type: "uint256";
|
|
659
|
-
}];
|
|
660
|
-
readonly stateMutability: "view";
|
|
661
|
-
readonly type: "function";
|
|
662
|
-
}, {
|
|
663
|
-
readonly stateMutability: "payable";
|
|
664
|
-
readonly type: "receive";
|
|
665
329
|
}];
|
|
666
330
|
/**
|
|
667
331
|
* Type-safe ABI for LaunchToken_json
|
|
@@ -720,40 +384,15 @@ export declare class LaunchToken_json {
|
|
|
720
384
|
*/
|
|
721
385
|
getContract(): LaunchToken_jsonContract;
|
|
722
386
|
/**
|
|
723
|
-
*
|
|
724
|
-
* view
|
|
725
|
-
*/
|
|
726
|
-
GUARD_BLOCKS(): Promise<bigint>;
|
|
727
|
-
/**
|
|
728
|
-
* MAX_BUY
|
|
729
|
-
* view
|
|
730
|
-
*/
|
|
731
|
-
MAX_BUY(): Promise<bigint>;
|
|
732
|
-
/**
|
|
733
|
-
* MAX_HOLD
|
|
387
|
+
* DESCRIPTION
|
|
734
388
|
* view
|
|
735
389
|
*/
|
|
736
|
-
|
|
737
|
-
/**
|
|
738
|
-
* RAMP_BLOCKS
|
|
739
|
-
* view
|
|
740
|
-
*/
|
|
741
|
-
RAMP_BLOCKS(): Promise<bigint>;
|
|
742
|
-
/**
|
|
743
|
-
* RAMP_START
|
|
744
|
-
* view
|
|
745
|
-
*/
|
|
746
|
-
RAMP_START(): Promise<bigint>;
|
|
390
|
+
DESCRIPTION(): Promise<string>;
|
|
747
391
|
/**
|
|
748
392
|
* TOTAL_SUPPLY
|
|
749
393
|
* view
|
|
750
394
|
*/
|
|
751
395
|
TOTAL_SUPPLY(): Promise<bigint>;
|
|
752
|
-
/**
|
|
753
|
-
* accRewardPerToken
|
|
754
|
-
* view
|
|
755
|
-
*/
|
|
756
|
-
accRewardPerToken(): Promise<bigint>;
|
|
757
396
|
/**
|
|
758
397
|
* allowance
|
|
759
398
|
* view
|
|
@@ -764,96 +403,36 @@ export declare class LaunchToken_json {
|
|
|
764
403
|
* view
|
|
765
404
|
*/
|
|
766
405
|
balanceOf(account: `0x${string}`): Promise<bigint>;
|
|
767
|
-
/**
|
|
768
|
-
* carriedReward
|
|
769
|
-
* view
|
|
770
|
-
*/
|
|
771
|
-
carriedReward(): Promise<bigint>;
|
|
772
406
|
/**
|
|
773
407
|
* creator
|
|
774
408
|
* view
|
|
775
409
|
*/
|
|
776
410
|
creator(): Promise<`0x${string}`>;
|
|
777
|
-
/**
|
|
778
|
-
* currentBuyCap
|
|
779
|
-
* view
|
|
780
|
-
*/
|
|
781
|
-
currentBuyCap(): Promise<bigint>;
|
|
782
411
|
/**
|
|
783
412
|
* decimals
|
|
784
413
|
* view
|
|
785
414
|
*/
|
|
786
415
|
decimals(): Promise<bigint>;
|
|
787
416
|
/**
|
|
788
|
-
*
|
|
417
|
+
* distributor
|
|
789
418
|
* view
|
|
790
419
|
*/
|
|
791
|
-
|
|
420
|
+
distributor(): Promise<`0x${string}`>;
|
|
792
421
|
/**
|
|
793
422
|
* factory
|
|
794
423
|
* view
|
|
795
424
|
*/
|
|
796
425
|
factory(): Promise<`0x${string}`>;
|
|
797
426
|
/**
|
|
798
|
-
*
|
|
799
|
-
* view
|
|
800
|
-
*/
|
|
801
|
-
guardActive(): Promise<boolean>;
|
|
802
|
-
/**
|
|
803
|
-
* guardEndsAtBlock
|
|
804
|
-
* view
|
|
805
|
-
*/
|
|
806
|
-
guardEndsAtBlock(): Promise<bigint>;
|
|
807
|
-
/**
|
|
808
|
-
* holderFeesEnabled
|
|
809
|
-
* view
|
|
810
|
-
*/
|
|
811
|
-
holderFeesEnabled(): Promise<boolean>;
|
|
812
|
-
/**
|
|
813
|
-
* launchBlock
|
|
427
|
+
* metadataUri
|
|
814
428
|
* view
|
|
815
429
|
*/
|
|
816
|
-
|
|
817
|
-
/**
|
|
818
|
-
* market
|
|
819
|
-
* view
|
|
820
|
-
*/
|
|
821
|
-
market(): Promise<`0x${string}`>;
|
|
822
|
-
/**
|
|
823
|
-
* metadataURI
|
|
824
|
-
* view
|
|
825
|
-
*/
|
|
826
|
-
metadataURI(): Promise<string>;
|
|
430
|
+
metadataUri(): Promise<string>;
|
|
827
431
|
/**
|
|
828
432
|
* name
|
|
829
433
|
* view
|
|
830
434
|
*/
|
|
831
435
|
name(): Promise<string>;
|
|
832
|
-
/**
|
|
833
|
-
* pendingReward
|
|
834
|
-
* view
|
|
835
|
-
*/
|
|
836
|
-
pendingReward(holder: `0x${string}`): Promise<bigint>;
|
|
837
|
-
/**
|
|
838
|
-
* rampEndsAtBlock
|
|
839
|
-
* view
|
|
840
|
-
*/
|
|
841
|
-
rampEndsAtBlock(): Promise<bigint>;
|
|
842
|
-
/**
|
|
843
|
-
* rewardExcluded
|
|
844
|
-
* view
|
|
845
|
-
*/
|
|
846
|
-
rewardExcluded(arg0: `0x${string}`): Promise<boolean>;
|
|
847
|
-
/**
|
|
848
|
-
* rewardSource
|
|
849
|
-
* view
|
|
850
|
-
*/
|
|
851
|
-
rewardSource(): Promise<`0x${string}`>;
|
|
852
|
-
/**
|
|
853
|
-
* rewardToken
|
|
854
|
-
* view
|
|
855
|
-
*/
|
|
856
|
-
rewardToken(): Promise<`0x${string}`>;
|
|
857
436
|
/**
|
|
858
437
|
* symbol
|
|
859
438
|
* view
|
|
@@ -864,11 +443,6 @@ export declare class LaunchToken_json {
|
|
|
864
443
|
* view
|
|
865
444
|
*/
|
|
866
445
|
totalSupply(): Promise<bigint>;
|
|
867
|
-
/**
|
|
868
|
-
* unclaimed
|
|
869
|
-
* view
|
|
870
|
-
*/
|
|
871
|
-
unclaimed(arg0: `0x${string}`): Promise<bigint>;
|
|
872
446
|
/**
|
|
873
447
|
* approve
|
|
874
448
|
* nonpayable
|
|
@@ -886,91 +460,6 @@ export declare class LaunchToken_json {
|
|
|
886
460
|
nonce?: number;
|
|
887
461
|
value?: bigint;
|
|
888
462
|
}): Promise<`0x${string}`>;
|
|
889
|
-
/**
|
|
890
|
-
* claim
|
|
891
|
-
* nonpayable
|
|
892
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
893
|
-
*/
|
|
894
|
-
claim(options?: {
|
|
895
|
-
accessList?: import('viem').AccessList;
|
|
896
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
897
|
-
chain?: import('viem').Chain | null;
|
|
898
|
-
dataSuffix?: `0x${string}`;
|
|
899
|
-
gas?: bigint;
|
|
900
|
-
gasPrice?: bigint;
|
|
901
|
-
maxFeePerGas?: bigint;
|
|
902
|
-
maxPriorityFeePerGas?: bigint;
|
|
903
|
-
nonce?: number;
|
|
904
|
-
value?: bigint;
|
|
905
|
-
}): Promise<`0x${string}`>;
|
|
906
|
-
/**
|
|
907
|
-
* enableHolderFees
|
|
908
|
-
* nonpayable
|
|
909
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
910
|
-
*/
|
|
911
|
-
enableHolderFees(rewardToken_: `0x${string}`, rewardSource_: `0x${string}`, options?: {
|
|
912
|
-
accessList?: import('viem').AccessList;
|
|
913
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
914
|
-
chain?: import('viem').Chain | null;
|
|
915
|
-
dataSuffix?: `0x${string}`;
|
|
916
|
-
gas?: bigint;
|
|
917
|
-
gasPrice?: bigint;
|
|
918
|
-
maxFeePerGas?: bigint;
|
|
919
|
-
maxPriorityFeePerGas?: bigint;
|
|
920
|
-
nonce?: number;
|
|
921
|
-
value?: bigint;
|
|
922
|
-
}): Promise<`0x${string}`>;
|
|
923
|
-
/**
|
|
924
|
-
* initialize
|
|
925
|
-
* nonpayable
|
|
926
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
927
|
-
*/
|
|
928
|
-
initialize(name_: string, symbol_: string, metadataURI_: string, creator_: `0x${string}`, options?: {
|
|
929
|
-
accessList?: import('viem').AccessList;
|
|
930
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
931
|
-
chain?: import('viem').Chain | null;
|
|
932
|
-
dataSuffix?: `0x${string}`;
|
|
933
|
-
gas?: bigint;
|
|
934
|
-
gasPrice?: bigint;
|
|
935
|
-
maxFeePerGas?: bigint;
|
|
936
|
-
maxPriorityFeePerGas?: bigint;
|
|
937
|
-
nonce?: number;
|
|
938
|
-
value?: bigint;
|
|
939
|
-
}): Promise<`0x${string}`>;
|
|
940
|
-
/**
|
|
941
|
-
* notifyReward
|
|
942
|
-
* payable
|
|
943
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
944
|
-
*/
|
|
945
|
-
notifyReward(amount: bigint, options?: {
|
|
946
|
-
accessList?: import('viem').AccessList;
|
|
947
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
948
|
-
chain?: import('viem').Chain | null;
|
|
949
|
-
dataSuffix?: `0x${string}`;
|
|
950
|
-
gas?: bigint;
|
|
951
|
-
gasPrice?: bigint;
|
|
952
|
-
maxFeePerGas?: bigint;
|
|
953
|
-
maxPriorityFeePerGas?: bigint;
|
|
954
|
-
nonce?: number;
|
|
955
|
-
value?: bigint;
|
|
956
|
-
}): Promise<`0x${string}`>;
|
|
957
|
-
/**
|
|
958
|
-
* setMarket
|
|
959
|
-
* nonpayable
|
|
960
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
961
|
-
*/
|
|
962
|
-
setMarket(market_: `0x${string}`, options?: {
|
|
963
|
-
accessList?: import('viem').AccessList;
|
|
964
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
965
|
-
chain?: import('viem').Chain | null;
|
|
966
|
-
dataSuffix?: `0x${string}`;
|
|
967
|
-
gas?: bigint;
|
|
968
|
-
gasPrice?: bigint;
|
|
969
|
-
maxFeePerGas?: bigint;
|
|
970
|
-
maxPriorityFeePerGas?: bigint;
|
|
971
|
-
nonce?: number;
|
|
972
|
-
value?: bigint;
|
|
973
|
-
}): Promise<`0x${string}`>;
|
|
974
463
|
/**
|
|
975
464
|
* transfer
|
|
976
465
|
* nonpayable
|
|
@@ -1031,91 +520,6 @@ export declare class LaunchToken_json {
|
|
|
1031
520
|
nonce?: number;
|
|
1032
521
|
value?: bigint;
|
|
1033
522
|
}): Promise<boolean>;
|
|
1034
|
-
/**
|
|
1035
|
-
* Simulate claim
|
|
1036
|
-
* Returns gas estimate and result without sending transaction
|
|
1037
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1038
|
-
*/
|
|
1039
|
-
claim(options?: {
|
|
1040
|
-
accessList?: import("viem").AccessList;
|
|
1041
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
1042
|
-
chain?: import("viem").Chain | null;
|
|
1043
|
-
dataSuffix?: `0x${string}`;
|
|
1044
|
-
gas?: bigint;
|
|
1045
|
-
gasPrice?: bigint;
|
|
1046
|
-
maxFeePerGas?: bigint;
|
|
1047
|
-
maxPriorityFeePerGas?: bigint;
|
|
1048
|
-
nonce?: number;
|
|
1049
|
-
value?: bigint;
|
|
1050
|
-
}): Promise<bigint>;
|
|
1051
|
-
/**
|
|
1052
|
-
* Simulate enableHolderFees
|
|
1053
|
-
* Returns gas estimate and result without sending transaction
|
|
1054
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1055
|
-
*/
|
|
1056
|
-
enableHolderFees(rewardToken_: `0x${string}`, rewardSource_: `0x${string}`, options?: {
|
|
1057
|
-
accessList?: import("viem").AccessList;
|
|
1058
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
1059
|
-
chain?: import("viem").Chain | null;
|
|
1060
|
-
dataSuffix?: `0x${string}`;
|
|
1061
|
-
gas?: bigint;
|
|
1062
|
-
gasPrice?: bigint;
|
|
1063
|
-
maxFeePerGas?: bigint;
|
|
1064
|
-
maxPriorityFeePerGas?: bigint;
|
|
1065
|
-
nonce?: number;
|
|
1066
|
-
value?: bigint;
|
|
1067
|
-
}): Promise<void>;
|
|
1068
|
-
/**
|
|
1069
|
-
* Simulate initialize
|
|
1070
|
-
* Returns gas estimate and result without sending transaction
|
|
1071
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1072
|
-
*/
|
|
1073
|
-
initialize(name_: string, symbol_: string, metadataURI_: string, creator_: `0x${string}`, options?: {
|
|
1074
|
-
accessList?: import("viem").AccessList;
|
|
1075
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
1076
|
-
chain?: import("viem").Chain | null;
|
|
1077
|
-
dataSuffix?: `0x${string}`;
|
|
1078
|
-
gas?: bigint;
|
|
1079
|
-
gasPrice?: bigint;
|
|
1080
|
-
maxFeePerGas?: bigint;
|
|
1081
|
-
maxPriorityFeePerGas?: bigint;
|
|
1082
|
-
nonce?: number;
|
|
1083
|
-
value?: bigint;
|
|
1084
|
-
}): Promise<void>;
|
|
1085
|
-
/**
|
|
1086
|
-
* Simulate notifyReward
|
|
1087
|
-
* Returns gas estimate and result without sending transaction
|
|
1088
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1089
|
-
*/
|
|
1090
|
-
notifyReward(amount: bigint, options?: {
|
|
1091
|
-
accessList?: import("viem").AccessList;
|
|
1092
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
1093
|
-
chain?: import("viem").Chain | null;
|
|
1094
|
-
dataSuffix?: `0x${string}`;
|
|
1095
|
-
gas?: bigint;
|
|
1096
|
-
gasPrice?: bigint;
|
|
1097
|
-
maxFeePerGas?: bigint;
|
|
1098
|
-
maxPriorityFeePerGas?: bigint;
|
|
1099
|
-
nonce?: number;
|
|
1100
|
-
value?: bigint;
|
|
1101
|
-
}): Promise<void>;
|
|
1102
|
-
/**
|
|
1103
|
-
* Simulate setMarket
|
|
1104
|
-
* Returns gas estimate and result without sending transaction
|
|
1105
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1106
|
-
*/
|
|
1107
|
-
setMarket(market_: `0x${string}`, options?: {
|
|
1108
|
-
accessList?: import("viem").AccessList;
|
|
1109
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
1110
|
-
chain?: import("viem").Chain | null;
|
|
1111
|
-
dataSuffix?: `0x${string}`;
|
|
1112
|
-
gas?: bigint;
|
|
1113
|
-
gasPrice?: bigint;
|
|
1114
|
-
maxFeePerGas?: bigint;
|
|
1115
|
-
maxPriorityFeePerGas?: bigint;
|
|
1116
|
-
nonce?: number;
|
|
1117
|
-
value?: bigint;
|
|
1118
|
-
}): Promise<void>;
|
|
1119
523
|
/**
|
|
1120
524
|
* Simulate transfer
|
|
1121
525
|
* Returns gas estimate and result without sending transaction
|
|
@@ -1178,49 +582,6 @@ export declare class LaunchToken_json {
|
|
|
1178
582
|
owner: `0x${string}`;
|
|
1179
583
|
spender: `0x${string}`;
|
|
1180
584
|
}) => () => void;
|
|
1181
|
-
/**
|
|
1182
|
-
* Watch HolderFeesEnabled events
|
|
1183
|
-
* @param callback Function to call when event is emitted
|
|
1184
|
-
* @param filter Optional filter for indexed parameters
|
|
1185
|
-
* @returns Unwatch function to stop listening
|
|
1186
|
-
*/
|
|
1187
|
-
HolderFeesEnabled: (callback: (event: {
|
|
1188
|
-
rewardToken: `0x${string}`;
|
|
1189
|
-
}) => void, filter?: {
|
|
1190
|
-
rewardToken: `0x${string}`;
|
|
1191
|
-
}) => () => void;
|
|
1192
|
-
/**
|
|
1193
|
-
* Watch RewardAdded events
|
|
1194
|
-
* @param callback Function to call when event is emitted
|
|
1195
|
-
* @param filter Optional filter for indexed parameters
|
|
1196
|
-
* @returns Unwatch function to stop listening
|
|
1197
|
-
*/
|
|
1198
|
-
RewardAdded: (callback: (event: {
|
|
1199
|
-
amount: bigint;
|
|
1200
|
-
accRewardPerToken: bigint;
|
|
1201
|
-
}) => void) => () => void;
|
|
1202
|
-
/**
|
|
1203
|
-
* Watch RewardCarried events
|
|
1204
|
-
* @param callback Function to call when event is emitted
|
|
1205
|
-
* @param filter Optional filter for indexed parameters
|
|
1206
|
-
* @returns Unwatch function to stop listening
|
|
1207
|
-
*/
|
|
1208
|
-
RewardCarried: (callback: (event: {
|
|
1209
|
-
amount: bigint;
|
|
1210
|
-
totalCarried: bigint;
|
|
1211
|
-
}) => void) => () => void;
|
|
1212
|
-
/**
|
|
1213
|
-
* Watch RewardClaimed events
|
|
1214
|
-
* @param callback Function to call when event is emitted
|
|
1215
|
-
* @param filter Optional filter for indexed parameters
|
|
1216
|
-
* @returns Unwatch function to stop listening
|
|
1217
|
-
*/
|
|
1218
|
-
RewardClaimed: (callback: (event: {
|
|
1219
|
-
holder: `0x${string}`;
|
|
1220
|
-
amount: bigint;
|
|
1221
|
-
}) => void, filter?: {
|
|
1222
|
-
holder: `0x${string}`;
|
|
1223
|
-
}) => () => void;
|
|
1224
585
|
/**
|
|
1225
586
|
* Watch Transfer events
|
|
1226
587
|
* @param callback Function to call when event is emitted
|