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