@ape.swap/bonds-sdk 1.0.552 → 1.0.554

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.
Files changed (30) hide show
  1. package/dist/pages/YourBonds/YourBonds.js +10 -31
  2. package/package.json +1 -1
  3. package/dist/config/abi/bondNft.json +0 -424
  4. package/dist/config/abi/ens-public-resolver.json +0 -816
  5. package/dist/config/abi/ens-registrar.json +0 -422
  6. package/dist/config/abi/erc20_bytes32.json +0 -30
  7. package/dist/config/abi/jungleChef.json +0 -291
  8. package/dist/config/abi/launchBonds.json +0 -2014
  9. package/dist/config/abi/lockVeAbond.json +0 -2198
  10. package/dist/config/abi/migrationBond.json +0 -1639
  11. package/dist/config/abi/migrationFveAbond.json +0 -160
  12. package/dist/config/abi/multicallv3.json +0 -92
  13. package/dist/config/abi/price-getter-linea.json +0 -1448
  14. package/dist/config/abi/price-getter.json +0 -1309
  15. package/dist/config/abi/sousChef.json +0 -649
  16. package/dist/config/abi/weth.json +0 -279
  17. package/dist/hooks/PriceGetter/dexFactories.d.ts +0 -11
  18. package/dist/hooks/PriceGetter/dexFactories.js +0 -2
  19. package/dist/hooks/PriceGetter/usePricesFromPriceGetter.d.ts +0 -17
  20. package/dist/hooks/PriceGetter/usePricesFromPriceGetter.js +0 -205
  21. package/dist/hooks/useClaimBill.d.ts +0 -4
  22. package/dist/hooks/useClaimBill.js +0 -59
  23. package/dist/hooks/useContract.d.ts +0 -25
  24. package/dist/hooks/useContract.js +0 -107
  25. package/dist/state/tokenPrices/fetchTokenPricesForMultipleChains.d.ts +0 -4
  26. package/dist/state/tokenPrices/fetchTokenPricesForMultipleChains.js +0 -81
  27. package/dist/state/tokenPrices/getAllTokenPrices.d.ts +0 -5
  28. package/dist/state/tokenPrices/getAllTokenPrices.js +0 -288
  29. package/dist/state/tokenPrices/useTokenPricesNew.d.ts +0 -11
  30. package/dist/state/tokenPrices/useTokenPricesNew.js +0 -72
@@ -1,2014 +0,0 @@
1
- [
2
- {
3
- "anonymous": false,
4
- "inputs": [
5
- {
6
- "indexed": true,
7
- "internalType": "uint256",
8
- "name": "billId",
9
- "type": "uint256"
10
- },
11
- {
12
- "indexed": true,
13
- "internalType": "address",
14
- "name": "recipient",
15
- "type": "address"
16
- },
17
- {
18
- "indexed": false,
19
- "internalType": "uint256",
20
- "name": "payout",
21
- "type": "uint256"
22
- },
23
- {
24
- "indexed": false,
25
- "internalType": "uint256",
26
- "name": "remaining",
27
- "type": "uint256"
28
- }
29
- ],
30
- "name": "BillClaimed",
31
- "type": "event"
32
- },
33
- {
34
- "anonymous": false,
35
- "inputs": [
36
- {
37
- "indexed": false,
38
- "internalType": "uint256",
39
- "name": "deposit",
40
- "type": "uint256"
41
- },
42
- {
43
- "indexed": false,
44
- "internalType": "uint256",
45
- "name": "payout",
46
- "type": "uint256"
47
- },
48
- {
49
- "indexed": false,
50
- "internalType": "uint256",
51
- "name": "expires",
52
- "type": "uint256"
53
- },
54
- {
55
- "indexed": true,
56
- "internalType": "uint256",
57
- "name": "billId",
58
- "type": "uint256"
59
- }
60
- ],
61
- "name": "BillCreated",
62
- "type": "event"
63
- },
64
- {
65
- "anonymous": false,
66
- "inputs": [
67
- {
68
- "components": [
69
- {
70
- "internalType": "uint256",
71
- "name": "endTime",
72
- "type": "uint256"
73
- },
74
- {
75
- "internalType": "uint256",
76
- "name": "startTime",
77
- "type": "uint256"
78
- },
79
- {
80
- "internalType": "uint256",
81
- "name": "vestingTerm",
82
- "type": "uint256"
83
- },
84
- {
85
- "internalType": "uint256",
86
- "name": "minimumPrice",
87
- "type": "uint256"
88
- },
89
- {
90
- "internalType": "bool",
91
- "name": "oversubscription",
92
- "type": "bool"
93
- },
94
- {
95
- "internalType": "uint16",
96
- "name": "initialRelease",
97
- "type": "uint16"
98
- },
99
- {
100
- "internalType": "uint256",
101
- "name": "totalRaise",
102
- "type": "uint256"
103
- },
104
- {
105
- "internalType": "uint256",
106
- "name": "maxTotalPayout",
107
- "type": "uint256"
108
- }
109
- ],
110
- "indexed": false,
111
- "internalType": "struct ICustomBillSale.BillSaleTerms",
112
- "name": "billSaleTerms",
113
- "type": "tuple"
114
- },
115
- {
116
- "indexed": false,
117
- "internalType": "uint256",
118
- "name": "lastDecay",
119
- "type": "uint256"
120
- }
121
- ],
122
- "name": "BillInitialized",
123
- "type": "event"
124
- },
125
- {
126
- "anonymous": false,
127
- "inputs": [
128
- {
129
- "indexed": false,
130
- "internalType": "uint256",
131
- "name": "deposit",
132
- "type": "uint256"
133
- },
134
- {
135
- "indexed": true,
136
- "internalType": "address",
137
- "name": "depositor",
138
- "type": "address"
139
- }
140
- ],
141
- "name": "Deposit",
142
- "type": "event"
143
- },
144
- {
145
- "anonymous": false,
146
- "inputs": [
147
- {
148
- "indexed": true,
149
- "internalType": "address",
150
- "name": "newFeeTo",
151
- "type": "address"
152
- }
153
- ],
154
- "name": "FeeToChanged",
155
- "type": "event"
156
- },
157
- {
158
- "anonymous": false,
159
- "inputs": [
160
- {
161
- "indexed": false,
162
- "internalType": "uint8",
163
- "name": "version",
164
- "type": "uint8"
165
- }
166
- ],
167
- "name": "Initialized",
168
- "type": "event"
169
- },
170
- {
171
- "anonymous": false,
172
- "inputs": [
173
- {
174
- "indexed": false,
175
- "internalType": "uint256",
176
- "name": "newMaxTotalPayout",
177
- "type": "uint256"
178
- }
179
- ],
180
- "name": "MaxTotalPayoutChanged",
181
- "type": "event"
182
- },
183
- {
184
- "anonymous": false,
185
- "inputs": [
186
- {
187
- "indexed": true,
188
- "internalType": "address",
189
- "name": "previousOwner",
190
- "type": "address"
191
- },
192
- {
193
- "indexed": true,
194
- "internalType": "address",
195
- "name": "newOwner",
196
- "type": "address"
197
- }
198
- ],
199
- "name": "OwnershipTransferred",
200
- "type": "event"
201
- },
202
- {
203
- "anonymous": false,
204
- "inputs": [
205
- {
206
- "indexed": true,
207
- "internalType": "bytes32",
208
- "name": "role",
209
- "type": "bytes32"
210
- },
211
- {
212
- "indexed": true,
213
- "internalType": "bytes32",
214
- "name": "previousAdminRole",
215
- "type": "bytes32"
216
- },
217
- {
218
- "indexed": true,
219
- "internalType": "bytes32",
220
- "name": "newAdminRole",
221
- "type": "bytes32"
222
- }
223
- ],
224
- "name": "RoleAdminChanged",
225
- "type": "event"
226
- },
227
- {
228
- "anonymous": false,
229
- "inputs": [
230
- {
231
- "indexed": true,
232
- "internalType": "bytes32",
233
- "name": "role",
234
- "type": "bytes32"
235
- },
236
- {
237
- "indexed": true,
238
- "internalType": "address",
239
- "name": "account",
240
- "type": "address"
241
- },
242
- {
243
- "indexed": true,
244
- "internalType": "address",
245
- "name": "sender",
246
- "type": "address"
247
- }
248
- ],
249
- "name": "RoleGranted",
250
- "type": "event"
251
- },
252
- {
253
- "anonymous": false,
254
- "inputs": [
255
- {
256
- "indexed": true,
257
- "internalType": "bytes32",
258
- "name": "role",
259
- "type": "bytes32"
260
- },
261
- {
262
- "indexed": true,
263
- "internalType": "address",
264
- "name": "account",
265
- "type": "address"
266
- },
267
- {
268
- "indexed": true,
269
- "internalType": "address",
270
- "name": "sender",
271
- "type": "address"
272
- }
273
- ],
274
- "name": "RoleRevoked",
275
- "type": "event"
276
- },
277
- {
278
- "anonymous": false,
279
- "inputs": [
280
- {
281
- "indexed": false,
282
- "internalType": "uint256[]",
283
- "name": "fees",
284
- "type": "uint256[]"
285
- },
286
- {
287
- "indexed": false,
288
- "internalType": "uint256[]",
289
- "name": "tierCeilings",
290
- "type": "uint256[]"
291
- }
292
- ],
293
- "name": "SetFees",
294
- "type": "event"
295
- },
296
- {
297
- "anonymous": false,
298
- "inputs": [
299
- {
300
- "indexed": true,
301
- "internalType": "address",
302
- "name": "pendingOwner",
303
- "type": "address"
304
- }
305
- ],
306
- "name": "SetPendingOwner",
307
- "type": "event"
308
- },
309
- {
310
- "anonymous": false,
311
- "inputs": [
312
- {
313
- "indexed": false,
314
- "internalType": "enum CustomBillSale.PARAMETER",
315
- "name": "parameter",
316
- "type": "uint8"
317
- },
318
- {
319
- "indexed": false,
320
- "internalType": "uint256",
321
- "name": "input",
322
- "type": "uint256"
323
- }
324
- ],
325
- "name": "TermsSet",
326
- "type": "event"
327
- },
328
- {
329
- "anonymous": false,
330
- "inputs": [
331
- {
332
- "indexed": true,
333
- "internalType": "address",
334
- "name": "owner",
335
- "type": "address"
336
- },
337
- {
338
- "indexed": true,
339
- "internalType": "address",
340
- "name": "approvedAccount",
341
- "type": "address"
342
- },
343
- {
344
- "indexed": false,
345
- "internalType": "bool",
346
- "name": "approved",
347
- "type": "bool"
348
- }
349
- ],
350
- "name": "UpdateClaimApproval",
351
- "type": "event"
352
- },
353
- {
354
- "inputs": [],
355
- "name": "DAO",
356
- "outputs": [
357
- {
358
- "internalType": "address",
359
- "name": "",
360
- "type": "address"
361
- }
362
- ],
363
- "stateMutability": "view",
364
- "type": "function"
365
- },
366
- {
367
- "inputs": [],
368
- "name": "DEFAULT_ADMIN_ROLE",
369
- "outputs": [
370
- {
371
- "internalType": "bytes32",
372
- "name": "",
373
- "type": "bytes32"
374
- }
375
- ],
376
- "stateMutability": "view",
377
- "type": "function"
378
- },
379
- {
380
- "inputs": [],
381
- "name": "MAX_FEE",
382
- "outputs": [
383
- {
384
- "internalType": "uint256",
385
- "name": "",
386
- "type": "uint256"
387
- }
388
- ],
389
- "stateMutability": "view",
390
- "type": "function"
391
- },
392
- {
393
- "inputs": [],
394
- "name": "MAX_FEE_TIERS",
395
- "outputs": [
396
- {
397
- "internalType": "uint8",
398
- "name": "",
399
- "type": "uint8"
400
- }
401
- ],
402
- "stateMutability": "view",
403
- "type": "function"
404
- },
405
- {
406
- "inputs": [],
407
- "name": "acceptOwnership",
408
- "outputs": [],
409
- "stateMutability": "nonpayable",
410
- "type": "function"
411
- },
412
- {
413
- "inputs": [
414
- {
415
- "internalType": "address",
416
- "name": "",
417
- "type": "address"
418
- }
419
- ],
420
- "name": "accountInfo",
421
- "outputs": [
422
- {
423
- "internalType": "uint256",
424
- "name": "payout",
425
- "type": "uint256"
426
- },
427
- {
428
- "internalType": "uint256",
429
- "name": "depositAmount",
430
- "type": "uint256"
431
- },
432
- {
433
- "internalType": "uint256",
434
- "name": "payoutClaimed",
435
- "type": "uint256"
436
- },
437
- {
438
- "internalType": "uint256",
439
- "name": "vesting",
440
- "type": "uint256"
441
- },
442
- {
443
- "internalType": "uint256",
444
- "name": "vestingTerm",
445
- "type": "uint256"
446
- },
447
- {
448
- "internalType": "uint256",
449
- "name": "vestingStartTimestamp",
450
- "type": "uint256"
451
- },
452
- {
453
- "internalType": "uint256",
454
- "name": "lastClaimTimestamp",
455
- "type": "uint256"
456
- },
457
- {
458
- "internalType": "uint256",
459
- "name": "truePricePaid",
460
- "type": "uint256"
461
- }
462
- ],
463
- "stateMutability": "view",
464
- "type": "function"
465
- },
466
- {
467
- "inputs": [],
468
- "name": "allIssuedBillIds",
469
- "outputs": [
470
- {
471
- "internalType": "uint256[]",
472
- "name": "",
473
- "type": "uint256[]"
474
- }
475
- ],
476
- "stateMutability": "view",
477
- "type": "function"
478
- },
479
- {
480
- "inputs": [
481
- {
482
- "internalType": "uint256[]",
483
- "name": "_billIds",
484
- "type": "uint256[]"
485
- }
486
- ],
487
- "name": "batchClaim",
488
- "outputs": [
489
- {
490
- "internalType": "uint256",
491
- "name": "payout",
492
- "type": "uint256"
493
- }
494
- ],
495
- "stateMutability": "nonpayable",
496
- "type": "function"
497
- },
498
- {
499
- "inputs": [
500
- {
501
- "internalType": "uint256[]",
502
- "name": "_billIds",
503
- "type": "uint256[]"
504
- }
505
- ],
506
- "name": "batchRedeem",
507
- "outputs": [
508
- {
509
- "internalType": "uint256",
510
- "name": "payout",
511
- "type": "uint256"
512
- }
513
- ],
514
- "stateMutability": "nonpayable",
515
- "type": "function"
516
- },
517
- {
518
- "inputs": [
519
- {
520
- "internalType": "uint256",
521
- "name": "",
522
- "type": "uint256"
523
- }
524
- ],
525
- "name": "billInfo",
526
- "outputs": [
527
- {
528
- "internalType": "uint256",
529
- "name": "payout",
530
- "type": "uint256"
531
- },
532
- {
533
- "internalType": "uint256",
534
- "name": "depositAmount",
535
- "type": "uint256"
536
- },
537
- {
538
- "internalType": "uint256",
539
- "name": "payoutClaimed",
540
- "type": "uint256"
541
- },
542
- {
543
- "internalType": "uint256",
544
- "name": "vesting",
545
- "type": "uint256"
546
- },
547
- {
548
- "internalType": "uint256",
549
- "name": "vestingTerm",
550
- "type": "uint256"
551
- },
552
- {
553
- "internalType": "uint256",
554
- "name": "vestingStartTimestamp",
555
- "type": "uint256"
556
- },
557
- {
558
- "internalType": "uint256",
559
- "name": "lastClaimTimestamp",
560
- "type": "uint256"
561
- },
562
- {
563
- "internalType": "uint256",
564
- "name": "truePricePaid",
565
- "type": "uint256"
566
- }
567
- ],
568
- "stateMutability": "view",
569
- "type": "function"
570
- },
571
- {
572
- "inputs": [],
573
- "name": "billNft",
574
- "outputs": [
575
- {
576
- "internalType": "contract IBillNft",
577
- "name": "",
578
- "type": "address"
579
- }
580
- ],
581
- "stateMutability": "view",
582
- "type": "function"
583
- },
584
- {
585
- "inputs": [],
586
- "name": "billPrice",
587
- "outputs": [
588
- {
589
- "internalType": "uint256",
590
- "name": "price_",
591
- "type": "uint256"
592
- }
593
- ],
594
- "stateMutability": "view",
595
- "type": "function"
596
- },
597
- {
598
- "inputs": [
599
- {
600
- "internalType": "address",
601
- "name": "_feeTo",
602
- "type": "address"
603
- }
604
- ],
605
- "name": "changeFeeTo",
606
- "outputs": [],
607
- "stateMutability": "nonpayable",
608
- "type": "function"
609
- },
610
- {
611
- "inputs": [
612
- {
613
- "internalType": "uint256",
614
- "name": "_billId",
615
- "type": "uint256"
616
- }
617
- ],
618
- "name": "claim",
619
- "outputs": [
620
- {
621
- "internalType": "uint256",
622
- "name": "",
623
- "type": "uint256"
624
- }
625
- ],
626
- "stateMutability": "nonpayable",
627
- "type": "function"
628
- },
629
- {
630
- "inputs": [
631
- {
632
- "internalType": "uint256",
633
- "name": "_billId",
634
- "type": "uint256"
635
- }
636
- ],
637
- "name": "claimablePayout",
638
- "outputs": [
639
- {
640
- "internalType": "uint256",
641
- "name": "claimablePayout_",
642
- "type": "uint256"
643
- }
644
- ],
645
- "stateMutability": "view",
646
- "type": "function"
647
- },
648
- {
649
- "inputs": [],
650
- "name": "currentFee",
651
- "outputs": [
652
- {
653
- "internalType": "uint256",
654
- "name": "currentFee_",
655
- "type": "uint256"
656
- }
657
- ],
658
- "stateMutability": "view",
659
- "type": "function"
660
- },
661
- {
662
- "inputs": [],
663
- "name": "customTreasury",
664
- "outputs": [
665
- {
666
- "internalType": "contract ICustomTreasury",
667
- "name": "",
668
- "type": "address"
669
- }
670
- ],
671
- "stateMutability": "view",
672
- "type": "function"
673
- },
674
- {
675
- "inputs": [
676
- {
677
- "internalType": "uint256",
678
- "name": "_amount",
679
- "type": "uint256"
680
- },
681
- {
682
- "internalType": "uint256",
683
- "name": "_maxPrice",
684
- "type": "uint256"
685
- },
686
- {
687
- "internalType": "address",
688
- "name": "_depositor",
689
- "type": "address"
690
- }
691
- ],
692
- "name": "deposit",
693
- "outputs": [
694
- {
695
- "internalType": "uint256",
696
- "name": "",
697
- "type": "uint256"
698
- }
699
- ],
700
- "stateMutability": "nonpayable",
701
- "type": "function"
702
- },
703
- {
704
- "inputs": [],
705
- "name": "feeInPayout",
706
- "outputs": [
707
- {
708
- "internalType": "bool",
709
- "name": "",
710
- "type": "bool"
711
- }
712
- ],
713
- "stateMutability": "view",
714
- "type": "function"
715
- },
716
- {
717
- "inputs": [
718
- {
719
- "internalType": "uint256",
720
- "name": "",
721
- "type": "uint256"
722
- }
723
- ],
724
- "name": "feeTiers",
725
- "outputs": [
726
- {
727
- "internalType": "uint256",
728
- "name": "tierCeilings",
729
- "type": "uint256"
730
- },
731
- {
732
- "internalType": "uint256",
733
- "name": "fees",
734
- "type": "uint256"
735
- }
736
- ],
737
- "stateMutability": "view",
738
- "type": "function"
739
- },
740
- {
741
- "inputs": [],
742
- "name": "feeTo",
743
- "outputs": [
744
- {
745
- "internalType": "address",
746
- "name": "",
747
- "type": "address"
748
- }
749
- ],
750
- "stateMutability": "view",
751
- "type": "function"
752
- },
753
- {
754
- "inputs": [],
755
- "name": "finalizeSale",
756
- "outputs": [],
757
- "stateMutability": "nonpayable",
758
- "type": "function"
759
- },
760
- {
761
- "inputs": [],
762
- "name": "finalized",
763
- "outputs": [
764
- {
765
- "internalType": "bool",
766
- "name": "",
767
- "type": "bool"
768
- }
769
- ],
770
- "stateMutability": "view",
771
- "type": "function"
772
- },
773
- {
774
- "inputs": [
775
- {
776
- "internalType": "address",
777
- "name": "user",
778
- "type": "address"
779
- }
780
- ],
781
- "name": "getBillIds",
782
- "outputs": [
783
- {
784
- "internalType": "uint256[]",
785
- "name": "",
786
- "type": "uint256[]"
787
- }
788
- ],
789
- "stateMutability": "view",
790
- "type": "function"
791
- },
792
- {
793
- "inputs": [
794
- {
795
- "internalType": "address",
796
- "name": "user",
797
- "type": "address"
798
- },
799
- {
800
- "internalType": "uint256",
801
- "name": "start",
802
- "type": "uint256"
803
- },
804
- {
805
- "internalType": "uint256",
806
- "name": "end",
807
- "type": "uint256"
808
- }
809
- ],
810
- "name": "getBillIdsInRange",
811
- "outputs": [
812
- {
813
- "internalType": "uint256[]",
814
- "name": "",
815
- "type": "uint256[]"
816
- }
817
- ],
818
- "stateMutability": "view",
819
- "type": "function"
820
- },
821
- {
822
- "inputs": [
823
- {
824
- "internalType": "uint256",
825
- "name": "billId",
826
- "type": "uint256"
827
- }
828
- ],
829
- "name": "getBillInfo",
830
- "outputs": [
831
- {
832
- "components": [
833
- {
834
- "internalType": "uint256",
835
- "name": "payout",
836
- "type": "uint256"
837
- },
838
- {
839
- "internalType": "uint256",
840
- "name": "depositAmount",
841
- "type": "uint256"
842
- },
843
- {
844
- "internalType": "uint256",
845
- "name": "payoutClaimed",
846
- "type": "uint256"
847
- },
848
- {
849
- "internalType": "uint256",
850
- "name": "vesting",
851
- "type": "uint256"
852
- },
853
- {
854
- "internalType": "uint256",
855
- "name": "vestingTerm",
856
- "type": "uint256"
857
- },
858
- {
859
- "internalType": "uint256",
860
- "name": "vestingStartTimestamp",
861
- "type": "uint256"
862
- },
863
- {
864
- "internalType": "uint256",
865
- "name": "lastClaimTimestamp",
866
- "type": "uint256"
867
- },
868
- {
869
- "internalType": "uint256",
870
- "name": "truePricePaid",
871
- "type": "uint256"
872
- }
873
- ],
874
- "internalType": "struct ICustomBillSale.BillSale",
875
- "name": "",
876
- "type": "tuple"
877
- }
878
- ],
879
- "stateMutability": "view",
880
- "type": "function"
881
- },
882
- {
883
- "inputs": [],
884
- "name": "getFeeTierLength",
885
- "outputs": [
886
- {
887
- "internalType": "uint256",
888
- "name": "tierLength_",
889
- "type": "uint256"
890
- }
891
- ],
892
- "stateMutability": "view",
893
- "type": "function"
894
- },
895
- {
896
- "inputs": [],
897
- "name": "getMaxTotalPayout",
898
- "outputs": [
899
- {
900
- "internalType": "uint256",
901
- "name": "",
902
- "type": "uint256"
903
- }
904
- ],
905
- "stateMutability": "view",
906
- "type": "function"
907
- },
908
- {
909
- "inputs": [
910
- {
911
- "internalType": "uint256",
912
- "name": "_amount",
913
- "type": "uint256"
914
- }
915
- ],
916
- "name": "getRefundingAmount",
917
- "outputs": [
918
- {
919
- "internalType": "uint256",
920
- "name": "",
921
- "type": "uint256"
922
- }
923
- ],
924
- "stateMutability": "view",
925
- "type": "function"
926
- },
927
- {
928
- "inputs": [
929
- {
930
- "internalType": "bytes32",
931
- "name": "role",
932
- "type": "bytes32"
933
- }
934
- ],
935
- "name": "getRoleAdmin",
936
- "outputs": [
937
- {
938
- "internalType": "bytes32",
939
- "name": "",
940
- "type": "bytes32"
941
- }
942
- ],
943
- "stateMutability": "view",
944
- "type": "function"
945
- },
946
- {
947
- "inputs": [
948
- {
949
- "internalType": "bytes32",
950
- "name": "role",
951
- "type": "bytes32"
952
- },
953
- {
954
- "internalType": "uint256",
955
- "name": "index",
956
- "type": "uint256"
957
- }
958
- ],
959
- "name": "getRoleMember",
960
- "outputs": [
961
- {
962
- "internalType": "address",
963
- "name": "",
964
- "type": "address"
965
- }
966
- ],
967
- "stateMutability": "view",
968
- "type": "function"
969
- },
970
- {
971
- "inputs": [
972
- {
973
- "internalType": "bytes32",
974
- "name": "role",
975
- "type": "bytes32"
976
- }
977
- ],
978
- "name": "getRoleMemberCount",
979
- "outputs": [
980
- {
981
- "internalType": "uint256",
982
- "name": "",
983
- "type": "uint256"
984
- }
985
- ],
986
- "stateMutability": "view",
987
- "type": "function"
988
- },
989
- {
990
- "inputs": [],
991
- "name": "getTotalRaise",
992
- "outputs": [
993
- {
994
- "internalType": "uint256",
995
- "name": "",
996
- "type": "uint256"
997
- }
998
- ],
999
- "stateMutability": "view",
1000
- "type": "function"
1001
- },
1002
- {
1003
- "inputs": [
1004
- {
1005
- "internalType": "uint256",
1006
- "name": "_amount",
1007
- "type": "uint256"
1008
- }
1009
- ],
1010
- "name": "getUserAllocation",
1011
- "outputs": [
1012
- {
1013
- "internalType": "uint256",
1014
- "name": "",
1015
- "type": "uint256"
1016
- }
1017
- ],
1018
- "stateMutability": "view",
1019
- "type": "function"
1020
- },
1021
- {
1022
- "inputs": [
1023
- {
1024
- "internalType": "address",
1025
- "name": "user",
1026
- "type": "address"
1027
- }
1028
- ],
1029
- "name": "getUserInfo",
1030
- "outputs": [
1031
- {
1032
- "components": [
1033
- {
1034
- "internalType": "uint256",
1035
- "name": "payout",
1036
- "type": "uint256"
1037
- },
1038
- {
1039
- "internalType": "uint256",
1040
- "name": "depositAmount",
1041
- "type": "uint256"
1042
- },
1043
- {
1044
- "internalType": "uint256",
1045
- "name": "payoutClaimed",
1046
- "type": "uint256"
1047
- },
1048
- {
1049
- "internalType": "uint256",
1050
- "name": "vesting",
1051
- "type": "uint256"
1052
- },
1053
- {
1054
- "internalType": "uint256",
1055
- "name": "vestingTerm",
1056
- "type": "uint256"
1057
- },
1058
- {
1059
- "internalType": "uint256",
1060
- "name": "vestingStartTimestamp",
1061
- "type": "uint256"
1062
- },
1063
- {
1064
- "internalType": "uint256",
1065
- "name": "lastClaimTimestamp",
1066
- "type": "uint256"
1067
- },
1068
- {
1069
- "internalType": "uint256",
1070
- "name": "truePricePaid",
1071
- "type": "uint256"
1072
- }
1073
- ],
1074
- "internalType": "struct ICustomBillSale.BillSale",
1075
- "name": "",
1076
- "type": "tuple"
1077
- }
1078
- ],
1079
- "stateMutability": "view",
1080
- "type": "function"
1081
- },
1082
- {
1083
- "inputs": [
1084
- {
1085
- "internalType": "address",
1086
- "name": "_user",
1087
- "type": "address"
1088
- }
1089
- ],
1090
- "name": "getUserRefundingAmount",
1091
- "outputs": [
1092
- {
1093
- "internalType": "uint256",
1094
- "name": "",
1095
- "type": "uint256"
1096
- }
1097
- ],
1098
- "stateMutability": "view",
1099
- "type": "function"
1100
- },
1101
- {
1102
- "inputs": [
1103
- {
1104
- "internalType": "bytes32",
1105
- "name": "role",
1106
- "type": "bytes32"
1107
- },
1108
- {
1109
- "internalType": "address",
1110
- "name": "account",
1111
- "type": "address"
1112
- }
1113
- ],
1114
- "name": "grantRole",
1115
- "outputs": [],
1116
- "stateMutability": "nonpayable",
1117
- "type": "function"
1118
- },
1119
- {
1120
- "inputs": [
1121
- {
1122
- "internalType": "address",
1123
- "name": "_user",
1124
- "type": "address"
1125
- }
1126
- ],
1127
- "name": "hasRedeemed",
1128
- "outputs": [
1129
- {
1130
- "internalType": "bool",
1131
- "name": "",
1132
- "type": "bool"
1133
- }
1134
- ],
1135
- "stateMutability": "view",
1136
- "type": "function"
1137
- },
1138
- {
1139
- "inputs": [
1140
- {
1141
- "internalType": "bytes32",
1142
- "name": "role",
1143
- "type": "bytes32"
1144
- },
1145
- {
1146
- "internalType": "address",
1147
- "name": "account",
1148
- "type": "address"
1149
- }
1150
- ],
1151
- "name": "hasRole",
1152
- "outputs": [
1153
- {
1154
- "internalType": "bool",
1155
- "name": "",
1156
- "type": "bool"
1157
- }
1158
- ],
1159
- "stateMutability": "view",
1160
- "type": "function"
1161
- },
1162
- {
1163
- "inputs": [
1164
- {
1165
- "internalType": "contract ICustomTreasury",
1166
- "name": "_customTreasury",
1167
- "type": "address"
1168
- },
1169
- {
1170
- "components": [
1171
- {
1172
- "internalType": "address",
1173
- "name": "payoutToken",
1174
- "type": "address"
1175
- },
1176
- {
1177
- "internalType": "address",
1178
- "name": "principalToken",
1179
- "type": "address"
1180
- },
1181
- {
1182
- "internalType": "address",
1183
- "name": "initialOwner",
1184
- "type": "address"
1185
- },
1186
- {
1187
- "internalType": "contract IVestingCurve",
1188
- "name": "vestingCurve",
1189
- "type": "address"
1190
- },
1191
- {
1192
- "internalType": "uint256[]",
1193
- "name": "tierCeilings",
1194
- "type": "uint256[]"
1195
- },
1196
- {
1197
- "internalType": "uint256[]",
1198
- "name": "fees",
1199
- "type": "uint256[]"
1200
- },
1201
- {
1202
- "internalType": "uint256",
1203
- "name": "startVestingTimestamp",
1204
- "type": "uint256"
1205
- },
1206
- {
1207
- "internalType": "bool",
1208
- "name": "feeInPayout",
1209
- "type": "bool"
1210
- }
1211
- ],
1212
- "internalType": "struct ICustomBillBase.BillCreationDetails",
1213
- "name": "_billCreationDetails",
1214
- "type": "tuple"
1215
- },
1216
- {
1217
- "components": [
1218
- {
1219
- "internalType": "uint256",
1220
- "name": "endTime",
1221
- "type": "uint256"
1222
- },
1223
- {
1224
- "internalType": "uint256",
1225
- "name": "startTime",
1226
- "type": "uint256"
1227
- },
1228
- {
1229
- "internalType": "uint256",
1230
- "name": "vestingTerm",
1231
- "type": "uint256"
1232
- },
1233
- {
1234
- "internalType": "uint256",
1235
- "name": "minimumPrice",
1236
- "type": "uint256"
1237
- },
1238
- {
1239
- "internalType": "bool",
1240
- "name": "oversubscription",
1241
- "type": "bool"
1242
- },
1243
- {
1244
- "internalType": "uint16",
1245
- "name": "initialRelease",
1246
- "type": "uint16"
1247
- },
1248
- {
1249
- "internalType": "uint256",
1250
- "name": "totalRaise",
1251
- "type": "uint256"
1252
- },
1253
- {
1254
- "internalType": "uint256",
1255
- "name": "maxTotalPayout",
1256
- "type": "uint256"
1257
- }
1258
- ],
1259
- "internalType": "struct ICustomBillSale.BillSaleTerms",
1260
- "name": "_billSaleTerms",
1261
- "type": "tuple"
1262
- },
1263
- {
1264
- "components": [
1265
- {
1266
- "internalType": "address",
1267
- "name": "feeTo",
1268
- "type": "address"
1269
- },
1270
- {
1271
- "internalType": "address",
1272
- "name": "DAO",
1273
- "type": "address"
1274
- },
1275
- {
1276
- "internalType": "address",
1277
- "name": "billNft",
1278
- "type": "address"
1279
- }
1280
- ],
1281
- "internalType": "struct ICustomBillBase.BillAccounts",
1282
- "name": "_billAccounts",
1283
- "type": "tuple"
1284
- }
1285
- ],
1286
- "name": "initialize",
1287
- "outputs": [],
1288
- "stateMutability": "nonpayable",
1289
- "type": "function"
1290
- },
1291
- {
1292
- "inputs": [
1293
- {
1294
- "internalType": "contract ICustomTreasury",
1295
- "name": "_customTreasury",
1296
- "type": "address"
1297
- },
1298
- {
1299
- "components": [
1300
- {
1301
- "internalType": "address",
1302
- "name": "payoutToken",
1303
- "type": "address"
1304
- },
1305
- {
1306
- "internalType": "address",
1307
- "name": "principalToken",
1308
- "type": "address"
1309
- },
1310
- {
1311
- "internalType": "address",
1312
- "name": "initialOwner",
1313
- "type": "address"
1314
- },
1315
- {
1316
- "internalType": "contract IVestingCurve",
1317
- "name": "vestingCurve",
1318
- "type": "address"
1319
- },
1320
- {
1321
- "internalType": "uint256[]",
1322
- "name": "tierCeilings",
1323
- "type": "uint256[]"
1324
- },
1325
- {
1326
- "internalType": "uint256[]",
1327
- "name": "fees",
1328
- "type": "uint256[]"
1329
- },
1330
- {
1331
- "internalType": "uint256",
1332
- "name": "startVestingTimestamp",
1333
- "type": "uint256"
1334
- },
1335
- {
1336
- "internalType": "bool",
1337
- "name": "feeInPayout",
1338
- "type": "bool"
1339
- }
1340
- ],
1341
- "internalType": "struct ICustomBillBase.BillCreationDetails",
1342
- "name": "_billCreationDetails",
1343
- "type": "tuple"
1344
- },
1345
- {
1346
- "components": [
1347
- {
1348
- "internalType": "uint256",
1349
- "name": "endTime",
1350
- "type": "uint256"
1351
- },
1352
- {
1353
- "internalType": "uint256",
1354
- "name": "startTime",
1355
- "type": "uint256"
1356
- },
1357
- {
1358
- "internalType": "uint256",
1359
- "name": "vestingTerm",
1360
- "type": "uint256"
1361
- },
1362
- {
1363
- "internalType": "uint256",
1364
- "name": "minimumPrice",
1365
- "type": "uint256"
1366
- },
1367
- {
1368
- "internalType": "bool",
1369
- "name": "oversubscription",
1370
- "type": "bool"
1371
- },
1372
- {
1373
- "internalType": "uint16",
1374
- "name": "initialRelease",
1375
- "type": "uint16"
1376
- },
1377
- {
1378
- "internalType": "uint256",
1379
- "name": "totalRaise",
1380
- "type": "uint256"
1381
- },
1382
- {
1383
- "internalType": "uint256",
1384
- "name": "maxTotalPayout",
1385
- "type": "uint256"
1386
- }
1387
- ],
1388
- "internalType": "struct ICustomBillSale.BillSaleTerms",
1389
- "name": "_billTerms",
1390
- "type": "tuple"
1391
- },
1392
- {
1393
- "components": [
1394
- {
1395
- "internalType": "address",
1396
- "name": "feeTo",
1397
- "type": "address"
1398
- },
1399
- {
1400
- "internalType": "address",
1401
- "name": "DAO",
1402
- "type": "address"
1403
- },
1404
- {
1405
- "internalType": "address",
1406
- "name": "billNft",
1407
- "type": "address"
1408
- }
1409
- ],
1410
- "internalType": "struct ICustomBillBase.BillAccounts",
1411
- "name": "_billAccounts",
1412
- "type": "tuple"
1413
- },
1414
- {
1415
- "internalType": "uint256",
1416
- "name": "_minPoints",
1417
- "type": "uint256"
1418
- },
1419
- {
1420
- "internalType": "uint256",
1421
- "name": "_maxPoints",
1422
- "type": "uint256"
1423
- },
1424
- {
1425
- "internalType": "contract IEscrowWeightLens",
1426
- "name": "_pointsLens",
1427
- "type": "address"
1428
- }
1429
- ],
1430
- "name": "initialize",
1431
- "outputs": [],
1432
- "stateMutability": "nonpayable",
1433
- "type": "function"
1434
- },
1435
- {
1436
- "inputs": [],
1437
- "name": "maxPoints",
1438
- "outputs": [
1439
- {
1440
- "internalType": "uint256",
1441
- "name": "",
1442
- "type": "uint256"
1443
- }
1444
- ],
1445
- "stateMutability": "view",
1446
- "type": "function"
1447
- },
1448
- {
1449
- "inputs": [],
1450
- "name": "minPoints",
1451
- "outputs": [
1452
- {
1453
- "internalType": "uint256",
1454
- "name": "",
1455
- "type": "uint256"
1456
- }
1457
- ],
1458
- "stateMutability": "view",
1459
- "type": "function"
1460
- },
1461
- {
1462
- "inputs": [],
1463
- "name": "owner",
1464
- "outputs": [
1465
- {
1466
- "internalType": "address",
1467
- "name": "",
1468
- "type": "address"
1469
- }
1470
- ],
1471
- "stateMutability": "view",
1472
- "type": "function"
1473
- },
1474
- {
1475
- "inputs": [
1476
- {
1477
- "internalType": "uint256",
1478
- "name": "_amount",
1479
- "type": "uint256"
1480
- }
1481
- ],
1482
- "name": "payoutFor",
1483
- "outputs": [
1484
- {
1485
- "internalType": "uint256",
1486
- "name": "_payout",
1487
- "type": "uint256"
1488
- },
1489
- {
1490
- "internalType": "uint256",
1491
- "name": "_fee",
1492
- "type": "uint256"
1493
- },
1494
- {
1495
- "internalType": "uint256",
1496
- "name": "_refundingAmount",
1497
- "type": "uint256"
1498
- }
1499
- ],
1500
- "stateMutability": "view",
1501
- "type": "function"
1502
- },
1503
- {
1504
- "inputs": [
1505
- {
1506
- "internalType": "address",
1507
- "name": "_user",
1508
- "type": "address"
1509
- }
1510
- ],
1511
- "name": "payoutForUser",
1512
- "outputs": [
1513
- {
1514
- "internalType": "uint256",
1515
- "name": "_payout",
1516
- "type": "uint256"
1517
- },
1518
- {
1519
- "internalType": "uint256",
1520
- "name": "_fee",
1521
- "type": "uint256"
1522
- },
1523
- {
1524
- "internalType": "uint256",
1525
- "name": "_refundingAmount",
1526
- "type": "uint256"
1527
- }
1528
- ],
1529
- "stateMutability": "view",
1530
- "type": "function"
1531
- },
1532
- {
1533
- "inputs": [],
1534
- "name": "payoutToken",
1535
- "outputs": [
1536
- {
1537
- "internalType": "contract IERC20MetadataUpgradeable",
1538
- "name": "",
1539
- "type": "address"
1540
- }
1541
- ],
1542
- "stateMutability": "view",
1543
- "type": "function"
1544
- },
1545
- {
1546
- "inputs": [],
1547
- "name": "pendingOwner",
1548
- "outputs": [
1549
- {
1550
- "internalType": "address",
1551
- "name": "",
1552
- "type": "address"
1553
- }
1554
- ],
1555
- "stateMutability": "view",
1556
- "type": "function"
1557
- },
1558
- {
1559
- "inputs": [
1560
- {
1561
- "internalType": "uint256",
1562
- "name": "_billId",
1563
- "type": "uint256"
1564
- }
1565
- ],
1566
- "name": "pendingPayout",
1567
- "outputs": [
1568
- {
1569
- "internalType": "uint256",
1570
- "name": "pendingPayout_",
1571
- "type": "uint256"
1572
- }
1573
- ],
1574
- "stateMutability": "view",
1575
- "type": "function"
1576
- },
1577
- {
1578
- "inputs": [
1579
- {
1580
- "internalType": "uint256",
1581
- "name": "_billId",
1582
- "type": "uint256"
1583
- }
1584
- ],
1585
- "name": "pendingVesting",
1586
- "outputs": [
1587
- {
1588
- "internalType": "uint256",
1589
- "name": "pendingVesting_",
1590
- "type": "uint256"
1591
- }
1592
- ],
1593
- "stateMutability": "view",
1594
- "type": "function"
1595
- },
1596
- {
1597
- "inputs": [],
1598
- "name": "pointsLens",
1599
- "outputs": [
1600
- {
1601
- "internalType": "contract IEscrowWeightLens",
1602
- "name": "",
1603
- "type": "address"
1604
- }
1605
- ],
1606
- "stateMutability": "view",
1607
- "type": "function"
1608
- },
1609
- {
1610
- "inputs": [],
1611
- "name": "price",
1612
- "outputs": [
1613
- {
1614
- "internalType": "uint256",
1615
- "name": "",
1616
- "type": "uint256"
1617
- }
1618
- ],
1619
- "stateMutability": "view",
1620
- "type": "function"
1621
- },
1622
- {
1623
- "inputs": [],
1624
- "name": "principalToken",
1625
- "outputs": [
1626
- {
1627
- "internalType": "contract IERC20MetadataUpgradeable",
1628
- "name": "",
1629
- "type": "address"
1630
- }
1631
- ],
1632
- "stateMutability": "view",
1633
- "type": "function"
1634
- },
1635
- {
1636
- "inputs": [],
1637
- "name": "redeem",
1638
- "outputs": [],
1639
- "stateMutability": "nonpayable",
1640
- "type": "function"
1641
- },
1642
- {
1643
- "inputs": [
1644
- {
1645
- "internalType": "address",
1646
- "name": "",
1647
- "type": "address"
1648
- },
1649
- {
1650
- "internalType": "address",
1651
- "name": "",
1652
- "type": "address"
1653
- }
1654
- ],
1655
- "name": "redeemerApproved",
1656
- "outputs": [
1657
- {
1658
- "internalType": "bool",
1659
- "name": "",
1660
- "type": "bool"
1661
- }
1662
- ],
1663
- "stateMutability": "view",
1664
- "type": "function"
1665
- },
1666
- {
1667
- "inputs": [],
1668
- "name": "renounceOwnership",
1669
- "outputs": [],
1670
- "stateMutability": "nonpayable",
1671
- "type": "function"
1672
- },
1673
- {
1674
- "inputs": [
1675
- {
1676
- "internalType": "bytes32",
1677
- "name": "role",
1678
- "type": "bytes32"
1679
- },
1680
- {
1681
- "internalType": "address",
1682
- "name": "account",
1683
- "type": "address"
1684
- }
1685
- ],
1686
- "name": "renounceRole",
1687
- "outputs": [],
1688
- "stateMutability": "nonpayable",
1689
- "type": "function"
1690
- },
1691
- {
1692
- "inputs": [
1693
- {
1694
- "internalType": "bytes32",
1695
- "name": "role",
1696
- "type": "bytes32"
1697
- },
1698
- {
1699
- "internalType": "address",
1700
- "name": "account",
1701
- "type": "address"
1702
- }
1703
- ],
1704
- "name": "revokeRole",
1705
- "outputs": [],
1706
- "stateMutability": "nonpayable",
1707
- "type": "function"
1708
- },
1709
- {
1710
- "inputs": [],
1711
- "name": "saleActive",
1712
- "outputs": [
1713
- {
1714
- "internalType": "bool",
1715
- "name": "",
1716
- "type": "bool"
1717
- }
1718
- ],
1719
- "stateMutability": "view",
1720
- "type": "function"
1721
- },
1722
- {
1723
- "inputs": [
1724
- {
1725
- "internalType": "enum CustomBillSale.PARAMETER",
1726
- "name": "_parameter",
1727
- "type": "uint8"
1728
- },
1729
- {
1730
- "internalType": "uint256",
1731
- "name": "_input",
1732
- "type": "uint256"
1733
- }
1734
- ],
1735
- "name": "setBillTerms",
1736
- "outputs": [],
1737
- "stateMutability": "nonpayable",
1738
- "type": "function"
1739
- },
1740
- {
1741
- "inputs": [
1742
- {
1743
- "internalType": "address",
1744
- "name": "approvedAccount",
1745
- "type": "address"
1746
- },
1747
- {
1748
- "internalType": "bool",
1749
- "name": "approved",
1750
- "type": "bool"
1751
- }
1752
- ],
1753
- "name": "setClaimApproval",
1754
- "outputs": [],
1755
- "stateMutability": "nonpayable",
1756
- "type": "function"
1757
- },
1758
- {
1759
- "inputs": [
1760
- {
1761
- "internalType": "uint256[]",
1762
- "name": "fees",
1763
- "type": "uint256[]"
1764
- },
1765
- {
1766
- "internalType": "uint256[]",
1767
- "name": "tierCeilings",
1768
- "type": "uint256[]"
1769
- }
1770
- ],
1771
- "name": "setFeeTiers",
1772
- "outputs": [],
1773
- "stateMutability": "nonpayable",
1774
- "type": "function"
1775
- },
1776
- {
1777
- "inputs": [
1778
- {
1779
- "internalType": "address",
1780
- "name": "newPendingOwner",
1781
- "type": "address"
1782
- }
1783
- ],
1784
- "name": "setPendingOwner",
1785
- "outputs": [],
1786
- "stateMutability": "nonpayable",
1787
- "type": "function"
1788
- },
1789
- {
1790
- "inputs": [],
1791
- "name": "startVestingTimestamp",
1792
- "outputs": [
1793
- {
1794
- "internalType": "uint256",
1795
- "name": "",
1796
- "type": "uint256"
1797
- }
1798
- ],
1799
- "stateMutability": "view",
1800
- "type": "function"
1801
- },
1802
- {
1803
- "inputs": [
1804
- {
1805
- "internalType": "bytes4",
1806
- "name": "interfaceId",
1807
- "type": "bytes4"
1808
- }
1809
- ],
1810
- "name": "supportsInterface",
1811
- "outputs": [
1812
- {
1813
- "internalType": "bool",
1814
- "name": "",
1815
- "type": "bool"
1816
- }
1817
- ],
1818
- "stateMutability": "view",
1819
- "type": "function"
1820
- },
1821
- {
1822
- "inputs": [],
1823
- "name": "terms",
1824
- "outputs": [
1825
- {
1826
- "internalType": "uint256",
1827
- "name": "endTime",
1828
- "type": "uint256"
1829
- },
1830
- {
1831
- "internalType": "uint256",
1832
- "name": "startTime",
1833
- "type": "uint256"
1834
- },
1835
- {
1836
- "internalType": "uint256",
1837
- "name": "vestingTerm",
1838
- "type": "uint256"
1839
- },
1840
- {
1841
- "internalType": "uint256",
1842
- "name": "minimumPrice",
1843
- "type": "uint256"
1844
- },
1845
- {
1846
- "internalType": "bool",
1847
- "name": "oversubscription",
1848
- "type": "bool"
1849
- },
1850
- {
1851
- "internalType": "uint16",
1852
- "name": "initialRelease",
1853
- "type": "uint16"
1854
- },
1855
- {
1856
- "internalType": "uint256",
1857
- "name": "totalRaise",
1858
- "type": "uint256"
1859
- },
1860
- {
1861
- "internalType": "uint256",
1862
- "name": "maxTotalPayout",
1863
- "type": "uint256"
1864
- }
1865
- ],
1866
- "stateMutability": "view",
1867
- "type": "function"
1868
- },
1869
- {
1870
- "inputs": [],
1871
- "name": "totalPayoutGiven",
1872
- "outputs": [
1873
- {
1874
- "internalType": "uint256",
1875
- "name": "",
1876
- "type": "uint256"
1877
- }
1878
- ],
1879
- "stateMutability": "view",
1880
- "type": "function"
1881
- },
1882
- {
1883
- "inputs": [],
1884
- "name": "totalPrincipalBilled",
1885
- "outputs": [
1886
- {
1887
- "internalType": "uint256",
1888
- "name": "",
1889
- "type": "uint256"
1890
- }
1891
- ],
1892
- "stateMutability": "view",
1893
- "type": "function"
1894
- },
1895
- {
1896
- "inputs": [
1897
- {
1898
- "internalType": "address",
1899
- "name": "",
1900
- "type": "address"
1901
- }
1902
- ],
1903
- "name": "transferOwnership",
1904
- "outputs": [],
1905
- "stateMutability": "view",
1906
- "type": "function"
1907
- },
1908
- {
1909
- "inputs": [],
1910
- "name": "trueBillPrice",
1911
- "outputs": [
1912
- {
1913
- "internalType": "uint256",
1914
- "name": "price_",
1915
- "type": "uint256"
1916
- }
1917
- ],
1918
- "stateMutability": "view",
1919
- "type": "function"
1920
- },
1921
- {
1922
- "inputs": [],
1923
- "name": "userBillIds",
1924
- "outputs": [
1925
- {
1926
- "internalType": "uint256[]",
1927
- "name": "",
1928
- "type": "uint256[]"
1929
- }
1930
- ],
1931
- "stateMutability": "view",
1932
- "type": "function"
1933
- },
1934
- {
1935
- "inputs": [
1936
- {
1937
- "internalType": "uint256",
1938
- "name": "_billId",
1939
- "type": "uint256"
1940
- },
1941
- {
1942
- "internalType": "uint256",
1943
- "name": "_timestamp",
1944
- "type": "uint256"
1945
- }
1946
- ],
1947
- "name": "vestedPayoutAtTime",
1948
- "outputs": [
1949
- {
1950
- "internalType": "uint256",
1951
- "name": "vestedPayout_",
1952
- "type": "uint256"
1953
- }
1954
- ],
1955
- "stateMutability": "view",
1956
- "type": "function"
1957
- },
1958
- {
1959
- "inputs": [],
1960
- "name": "vestingCurve",
1961
- "outputs": [
1962
- {
1963
- "internalType": "contract IVestingCurve",
1964
- "name": "",
1965
- "type": "address"
1966
- }
1967
- ],
1968
- "stateMutability": "view",
1969
- "type": "function"
1970
- },
1971
- {
1972
- "inputs": [
1973
- {
1974
- "internalType": "uint256",
1975
- "name": "_billId",
1976
- "type": "uint256"
1977
- }
1978
- ],
1979
- "name": "vestingPayout",
1980
- "outputs": [
1981
- {
1982
- "internalType": "uint256",
1983
- "name": "vestingPayout_",
1984
- "type": "uint256"
1985
- }
1986
- ],
1987
- "stateMutability": "view",
1988
- "type": "function"
1989
- },
1990
- {
1991
- "inputs": [
1992
- {
1993
- "internalType": "uint256",
1994
- "name": "_billId",
1995
- "type": "uint256"
1996
- }
1997
- ],
1998
- "name": "vestingPeriod",
1999
- "outputs": [
2000
- {
2001
- "internalType": "uint256",
2002
- "name": "vestingStart_",
2003
- "type": "uint256"
2004
- },
2005
- {
2006
- "internalType": "uint256",
2007
- "name": "vestingEnd_",
2008
- "type": "uint256"
2009
- }
2010
- ],
2011
- "stateMutability": "view",
2012
- "type": "function"
2013
- }
2014
- ]