@ape.swap/bonds-sdk 6.0.7 → 6.1.0-test.0

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 (49) hide show
  1. package/dist/config/abi/Vault_Shares.json.js +1540 -0
  2. package/dist/config/abi/Vault_Shares.json.js.map +1 -0
  3. package/dist/state/bonds/fetchBondsData/fetchBondsDataPreTGE.js +25 -2
  4. package/dist/state/bonds/fetchBondsData/fetchBondsDataPreTGE.js.map +1 -1
  5. package/dist/state/bonds/useBondsData.js +2 -1
  6. package/dist/state/bonds/useBondsData.js.map +1 -1
  7. package/dist/state/bonds/useBondsList.js +0 -20
  8. package/dist/state/bonds/useBondsList.js.map +1 -1
  9. package/dist/state/bonds/useBondsListPreTGE.d.ts +2 -2
  10. package/dist/state/bonds/useBondsListPreTGE.js +8 -20
  11. package/dist/state/bonds/useBondsListPreTGE.js.map +1 -1
  12. package/dist/state/bonds/useUserBondsPreTGE.d.ts +3 -0
  13. package/dist/state/bonds/useUserBondsPreTGE.js +74 -2
  14. package/dist/state/bonds/useUserBondsPreTGE.js.map +1 -1
  15. package/dist/types/bonds.d.ts +10 -0
  16. package/dist/utils/dates/formatDate.d.ts +1 -1
  17. package/dist/utils/dates/formatDate.js +7 -8
  18. package/dist/utils/dates/formatDate.js.map +1 -1
  19. package/dist/views/Bonds/Bonds.js +2 -0
  20. package/dist/views/Bonds/Bonds.js.map +1 -1
  21. package/dist/views/Bonds/components/BondRows/ActiveBondRows.js +1 -1
  22. package/dist/views/Bonds/components/BondRows/ActiveBondRows.js.map +1 -1
  23. package/dist/views/Bonds/components/BondRows/SoldOutRows.js +3 -1
  24. package/dist/views/Bonds/components/BondRows/SoldOutRows.js.map +1 -1
  25. package/dist/views/BuyBond/BuyComponentPreTGE.js +7 -2
  26. package/dist/views/BuyBond/BuyComponentPreTGE.js.map +1 -1
  27. package/dist/views/BuyBond/ParticipationSuccessful.js +20 -6
  28. package/dist/views/BuyBond/ParticipationSuccessful.js.map +1 -1
  29. package/dist/views/BuyBond/components/BondCards/BondCardsPreTGE.js +20 -4
  30. package/dist/views/BuyBond/components/BondCards/BondCardsPreTGE.js.map +1 -1
  31. package/dist/views/TransactionModal/TransactionModal.js +15 -4
  32. package/dist/views/TransactionModal/TransactionModal.js.map +1 -1
  33. package/dist/views/YourBonds/YourBonds.js +7 -1
  34. package/dist/views/YourBonds/YourBonds.js.map +1 -1
  35. package/dist/views/YourBonds/components/UserBondRow/PreTGEActions.js +23 -5
  36. package/dist/views/YourBonds/components/UserBondRow/PreTGEActions.js.map +1 -1
  37. package/dist/views/YourBonds/components/UserBondRow/UserBondRowYield.d.ts +6 -0
  38. package/dist/views/YourBonds/components/UserBondRow/UserBondRowYield.js +50 -0
  39. package/dist/views/YourBonds/components/UserBondRow/UserBondRowYield.js.map +1 -0
  40. package/dist/views/YourBondsModalYield/YourBondsModalYield.d.ts +7 -0
  41. package/dist/views/YourBondsModalYield/YourBondsModalYield.js +219 -0
  42. package/dist/views/YourBondsModalYield/YourBondsModalYield.js.map +1 -0
  43. package/dist/views/YourBondsModalYield/components/UnstakeModalYield/UnstakeModalYield.d.ts +8 -0
  44. package/dist/views/YourBondsModalYield/components/UnstakeModalYield/UnstakeModalYield.js +71 -0
  45. package/dist/views/YourBondsModalYield/components/UnstakeModalYield/UnstakeModalYield.js.map +1 -0
  46. package/dist/views/YourBondsModalYield/components/YourBondModalHeader/YourBondModalHeader.d.ts +7 -0
  47. package/dist/views/YourBondsModalYield/components/YourBondModalHeader/YourBondModalHeader.js +32 -0
  48. package/dist/views/YourBondsModalYield/components/YourBondModalHeader/YourBondModalHeader.js.map +1 -0
  49. package/package.json +2 -2
@@ -0,0 +1,1540 @@
1
+ var Vault_Shares_ABI = [
2
+ {
3
+ inputs: [
4
+ ],
5
+ stateMutability: "nonpayable",
6
+ type: "constructor"
7
+ },
8
+ {
9
+ inputs: [
10
+ ],
11
+ name: "InvalidAmount",
12
+ type: "error"
13
+ },
14
+ {
15
+ inputs: [
16
+ ],
17
+ name: "InvalidVestingEnd",
18
+ type: "error"
19
+ },
20
+ {
21
+ inputs: [
22
+ ],
23
+ name: "InvalidZeroAddress",
24
+ type: "error"
25
+ },
26
+ {
27
+ inputs: [
28
+ ],
29
+ name: "NotFunded",
30
+ type: "error"
31
+ },
32
+ {
33
+ inputs: [
34
+ ],
35
+ name: "OperationDisabled",
36
+ type: "error"
37
+ },
38
+ {
39
+ inputs: [
40
+ ],
41
+ name: "ZeroShares",
42
+ type: "error"
43
+ },
44
+ {
45
+ anonymous: false,
46
+ inputs: [
47
+ {
48
+ indexed: true,
49
+ internalType: "address",
50
+ name: "owner",
51
+ type: "address"
52
+ },
53
+ {
54
+ indexed: true,
55
+ internalType: "address",
56
+ name: "spender",
57
+ type: "address"
58
+ },
59
+ {
60
+ indexed: false,
61
+ internalType: "uint256",
62
+ name: "value",
63
+ type: "uint256"
64
+ }
65
+ ],
66
+ name: "Approval",
67
+ type: "event"
68
+ },
69
+ {
70
+ anonymous: false,
71
+ inputs: [
72
+ {
73
+ indexed: true,
74
+ internalType: "address",
75
+ name: "sender",
76
+ type: "address"
77
+ },
78
+ {
79
+ indexed: true,
80
+ internalType: "address",
81
+ name: "owner",
82
+ type: "address"
83
+ },
84
+ {
85
+ indexed: false,
86
+ internalType: "uint256",
87
+ name: "assets",
88
+ type: "uint256"
89
+ },
90
+ {
91
+ indexed: false,
92
+ internalType: "uint256",
93
+ name: "shares",
94
+ type: "uint256"
95
+ }
96
+ ],
97
+ name: "Deposit",
98
+ type: "event"
99
+ },
100
+ {
101
+ anonymous: false,
102
+ inputs: [
103
+ ],
104
+ name: "EIP712DomainChanged",
105
+ type: "event"
106
+ },
107
+ {
108
+ anonymous: false,
109
+ inputs: [
110
+ {
111
+ indexed: true,
112
+ internalType: "address",
113
+ name: "to",
114
+ type: "address"
115
+ },
116
+ {
117
+ indexed: false,
118
+ internalType: "uint256",
119
+ name: "amount",
120
+ type: "uint256"
121
+ }
122
+ ],
123
+ name: "ForfeitedRewardsClaimed",
124
+ type: "event"
125
+ },
126
+ {
127
+ anonymous: false,
128
+ inputs: [
129
+ {
130
+ indexed: false,
131
+ internalType: "uint8",
132
+ name: "version",
133
+ type: "uint8"
134
+ }
135
+ ],
136
+ name: "Initialized",
137
+ type: "event"
138
+ },
139
+ {
140
+ anonymous: false,
141
+ inputs: [
142
+ {
143
+ indexed: true,
144
+ internalType: "address",
145
+ name: "previousOwner",
146
+ type: "address"
147
+ },
148
+ {
149
+ indexed: true,
150
+ internalType: "address",
151
+ name: "newOwner",
152
+ type: "address"
153
+ }
154
+ ],
155
+ name: "OwnershipTransferred",
156
+ type: "event"
157
+ },
158
+ {
159
+ anonymous: false,
160
+ inputs: [
161
+ {
162
+ indexed: false,
163
+ internalType: "uint256",
164
+ name: "amount",
165
+ type: "uint256"
166
+ }
167
+ ],
168
+ name: "RewardsReceived",
169
+ type: "event"
170
+ },
171
+ {
172
+ anonymous: false,
173
+ inputs: [
174
+ {
175
+ indexed: true,
176
+ internalType: "bytes32",
177
+ name: "role",
178
+ type: "bytes32"
179
+ },
180
+ {
181
+ indexed: true,
182
+ internalType: "bytes32",
183
+ name: "previousAdminRole",
184
+ type: "bytes32"
185
+ },
186
+ {
187
+ indexed: true,
188
+ internalType: "bytes32",
189
+ name: "newAdminRole",
190
+ type: "bytes32"
191
+ }
192
+ ],
193
+ name: "RoleAdminChanged",
194
+ type: "event"
195
+ },
196
+ {
197
+ anonymous: false,
198
+ inputs: [
199
+ {
200
+ indexed: true,
201
+ internalType: "bytes32",
202
+ name: "role",
203
+ type: "bytes32"
204
+ },
205
+ {
206
+ indexed: true,
207
+ internalType: "address",
208
+ name: "account",
209
+ type: "address"
210
+ },
211
+ {
212
+ indexed: true,
213
+ internalType: "address",
214
+ name: "sender",
215
+ type: "address"
216
+ }
217
+ ],
218
+ name: "RoleGranted",
219
+ type: "event"
220
+ },
221
+ {
222
+ anonymous: false,
223
+ inputs: [
224
+ {
225
+ indexed: true,
226
+ internalType: "bytes32",
227
+ name: "role",
228
+ type: "bytes32"
229
+ },
230
+ {
231
+ indexed: true,
232
+ internalType: "address",
233
+ name: "account",
234
+ type: "address"
235
+ },
236
+ {
237
+ indexed: true,
238
+ internalType: "address",
239
+ name: "sender",
240
+ type: "address"
241
+ }
242
+ ],
243
+ name: "RoleRevoked",
244
+ type: "event"
245
+ },
246
+ {
247
+ anonymous: false,
248
+ inputs: [
249
+ {
250
+ indexed: false,
251
+ internalType: "uint256",
252
+ name: "amount",
253
+ type: "uint256"
254
+ }
255
+ ],
256
+ name: "TotalInitialDepositSet",
257
+ type: "event"
258
+ },
259
+ {
260
+ anonymous: false,
261
+ inputs: [
262
+ {
263
+ indexed: true,
264
+ internalType: "address",
265
+ name: "from",
266
+ type: "address"
267
+ },
268
+ {
269
+ indexed: true,
270
+ internalType: "address",
271
+ name: "to",
272
+ type: "address"
273
+ },
274
+ {
275
+ indexed: false,
276
+ internalType: "uint256",
277
+ name: "value",
278
+ type: "uint256"
279
+ }
280
+ ],
281
+ name: "Transfer",
282
+ type: "event"
283
+ },
284
+ {
285
+ anonymous: false,
286
+ inputs: [
287
+ {
288
+ indexed: false,
289
+ internalType: "uint256",
290
+ name: "newVestingEnd",
291
+ type: "uint256"
292
+ }
293
+ ],
294
+ name: "VestingEndUpdated",
295
+ type: "event"
296
+ },
297
+ {
298
+ anonymous: false,
299
+ inputs: [
300
+ {
301
+ indexed: true,
302
+ internalType: "address",
303
+ name: "sender",
304
+ type: "address"
305
+ },
306
+ {
307
+ indexed: true,
308
+ internalType: "address",
309
+ name: "receiver",
310
+ type: "address"
311
+ },
312
+ {
313
+ indexed: true,
314
+ internalType: "address",
315
+ name: "owner",
316
+ type: "address"
317
+ },
318
+ {
319
+ indexed: false,
320
+ internalType: "uint256",
321
+ name: "assets",
322
+ type: "uint256"
323
+ },
324
+ {
325
+ indexed: false,
326
+ internalType: "uint256",
327
+ name: "shares",
328
+ type: "uint256"
329
+ }
330
+ ],
331
+ name: "Withdraw",
332
+ type: "event"
333
+ },
334
+ {
335
+ inputs: [
336
+ ],
337
+ name: "AUTOMATION_ROLE",
338
+ outputs: [
339
+ {
340
+ internalType: "bytes32",
341
+ name: "",
342
+ type: "bytes32"
343
+ }
344
+ ],
345
+ stateMutability: "view",
346
+ type: "function"
347
+ },
348
+ {
349
+ inputs: [
350
+ ],
351
+ name: "DEFAULT_ADMIN_ROLE",
352
+ outputs: [
353
+ {
354
+ internalType: "bytes32",
355
+ name: "",
356
+ type: "bytes32"
357
+ }
358
+ ],
359
+ stateMutability: "view",
360
+ type: "function"
361
+ },
362
+ {
363
+ inputs: [
364
+ ],
365
+ name: "DOMAIN_SEPARATOR",
366
+ outputs: [
367
+ {
368
+ internalType: "bytes32",
369
+ name: "",
370
+ type: "bytes32"
371
+ }
372
+ ],
373
+ stateMutability: "view",
374
+ type: "function"
375
+ },
376
+ {
377
+ inputs: [
378
+ ],
379
+ name: "OPERATIONS_ROLE",
380
+ outputs: [
381
+ {
382
+ internalType: "bytes32",
383
+ name: "",
384
+ type: "bytes32"
385
+ }
386
+ ],
387
+ stateMutability: "view",
388
+ type: "function"
389
+ },
390
+ {
391
+ inputs: [
392
+ ],
393
+ name: "REWARDER_ROLE",
394
+ outputs: [
395
+ {
396
+ internalType: "bytes32",
397
+ name: "",
398
+ type: "bytes32"
399
+ }
400
+ ],
401
+ stateMutability: "view",
402
+ type: "function"
403
+ },
404
+ {
405
+ inputs: [
406
+ {
407
+ internalType: "address",
408
+ name: "from",
409
+ type: "address"
410
+ },
411
+ {
412
+ internalType: "uint256",
413
+ name: "amount",
414
+ type: "uint256"
415
+ }
416
+ ],
417
+ name: "adminBurn",
418
+ outputs: [
419
+ ],
420
+ stateMutability: "nonpayable",
421
+ type: "function"
422
+ },
423
+ {
424
+ inputs: [
425
+ {
426
+ internalType: "address",
427
+ name: "to",
428
+ type: "address"
429
+ },
430
+ {
431
+ internalType: "uint256",
432
+ name: "amount",
433
+ type: "uint256"
434
+ }
435
+ ],
436
+ name: "adminMint",
437
+ outputs: [
438
+ ],
439
+ stateMutability: "nonpayable",
440
+ type: "function"
441
+ },
442
+ {
443
+ inputs: [
444
+ {
445
+ internalType: "address",
446
+ name: "owner",
447
+ type: "address"
448
+ },
449
+ {
450
+ internalType: "address",
451
+ name: "spender",
452
+ type: "address"
453
+ }
454
+ ],
455
+ name: "allowance",
456
+ outputs: [
457
+ {
458
+ internalType: "uint256",
459
+ name: "",
460
+ type: "uint256"
461
+ }
462
+ ],
463
+ stateMutability: "view",
464
+ type: "function"
465
+ },
466
+ {
467
+ inputs: [
468
+ {
469
+ internalType: "address",
470
+ name: "spender",
471
+ type: "address"
472
+ },
473
+ {
474
+ internalType: "uint256",
475
+ name: "amount",
476
+ type: "uint256"
477
+ }
478
+ ],
479
+ name: "approve",
480
+ outputs: [
481
+ {
482
+ internalType: "bool",
483
+ name: "",
484
+ type: "bool"
485
+ }
486
+ ],
487
+ stateMutability: "nonpayable",
488
+ type: "function"
489
+ },
490
+ {
491
+ inputs: [
492
+ ],
493
+ name: "asset",
494
+ outputs: [
495
+ {
496
+ internalType: "address",
497
+ name: "",
498
+ type: "address"
499
+ }
500
+ ],
501
+ stateMutability: "view",
502
+ type: "function"
503
+ },
504
+ {
505
+ inputs: [
506
+ {
507
+ internalType: "address",
508
+ name: "account",
509
+ type: "address"
510
+ }
511
+ ],
512
+ name: "balanceOf",
513
+ outputs: [
514
+ {
515
+ internalType: "uint256",
516
+ name: "",
517
+ type: "uint256"
518
+ }
519
+ ],
520
+ stateMutability: "view",
521
+ type: "function"
522
+ },
523
+ {
524
+ inputs: [
525
+ {
526
+ internalType: "address",
527
+ name: "to",
528
+ type: "address"
529
+ }
530
+ ],
531
+ name: "claimForfeitedRewards",
532
+ outputs: [
533
+ ],
534
+ stateMutability: "nonpayable",
535
+ type: "function"
536
+ },
537
+ {
538
+ inputs: [
539
+ {
540
+ internalType: "address",
541
+ name: "",
542
+ type: "address"
543
+ }
544
+ ],
545
+ name: "claimedAssets",
546
+ outputs: [
547
+ {
548
+ internalType: "uint256",
549
+ name: "",
550
+ type: "uint256"
551
+ }
552
+ ],
553
+ stateMutability: "view",
554
+ type: "function"
555
+ },
556
+ {
557
+ inputs: [
558
+ {
559
+ internalType: "uint256",
560
+ name: "shares",
561
+ type: "uint256"
562
+ }
563
+ ],
564
+ name: "convertToAssets",
565
+ outputs: [
566
+ {
567
+ internalType: "uint256",
568
+ name: "",
569
+ type: "uint256"
570
+ }
571
+ ],
572
+ stateMutability: "view",
573
+ type: "function"
574
+ },
575
+ {
576
+ inputs: [
577
+ {
578
+ internalType: "uint256",
579
+ name: "assets",
580
+ type: "uint256"
581
+ }
582
+ ],
583
+ name: "convertToShares",
584
+ outputs: [
585
+ {
586
+ internalType: "uint256",
587
+ name: "",
588
+ type: "uint256"
589
+ }
590
+ ],
591
+ stateMutability: "view",
592
+ type: "function"
593
+ },
594
+ {
595
+ inputs: [
596
+ ],
597
+ name: "decimals",
598
+ outputs: [
599
+ {
600
+ internalType: "uint8",
601
+ name: "",
602
+ type: "uint8"
603
+ }
604
+ ],
605
+ stateMutability: "pure",
606
+ type: "function"
607
+ },
608
+ {
609
+ inputs: [
610
+ {
611
+ internalType: "address",
612
+ name: "spender",
613
+ type: "address"
614
+ },
615
+ {
616
+ internalType: "uint256",
617
+ name: "subtractedValue",
618
+ type: "uint256"
619
+ }
620
+ ],
621
+ name: "decreaseAllowance",
622
+ outputs: [
623
+ {
624
+ internalType: "bool",
625
+ name: "",
626
+ type: "bool"
627
+ }
628
+ ],
629
+ stateMutability: "nonpayable",
630
+ type: "function"
631
+ },
632
+ {
633
+ inputs: [
634
+ {
635
+ internalType: "uint256",
636
+ name: "",
637
+ type: "uint256"
638
+ },
639
+ {
640
+ internalType: "address",
641
+ name: "",
642
+ type: "address"
643
+ }
644
+ ],
645
+ name: "deposit",
646
+ outputs: [
647
+ {
648
+ internalType: "uint256",
649
+ name: "",
650
+ type: "uint256"
651
+ }
652
+ ],
653
+ stateMutability: "pure",
654
+ type: "function"
655
+ },
656
+ {
657
+ inputs: [
658
+ {
659
+ internalType: "address",
660
+ name: "account",
661
+ type: "address"
662
+ }
663
+ ],
664
+ name: "earned",
665
+ outputs: [
666
+ {
667
+ internalType: "uint256",
668
+ name: "",
669
+ type: "uint256"
670
+ }
671
+ ],
672
+ stateMutability: "view",
673
+ type: "function"
674
+ },
675
+ {
676
+ inputs: [
677
+ ],
678
+ name: "eip712Domain",
679
+ outputs: [
680
+ {
681
+ internalType: "bytes1",
682
+ name: "fields",
683
+ type: "bytes1"
684
+ },
685
+ {
686
+ internalType: "string",
687
+ name: "name",
688
+ type: "string"
689
+ },
690
+ {
691
+ internalType: "string",
692
+ name: "version",
693
+ type: "string"
694
+ },
695
+ {
696
+ internalType: "uint256",
697
+ name: "chainId",
698
+ type: "uint256"
699
+ },
700
+ {
701
+ internalType: "address",
702
+ name: "verifyingContract",
703
+ type: "address"
704
+ },
705
+ {
706
+ internalType: "bytes32",
707
+ name: "salt",
708
+ type: "bytes32"
709
+ },
710
+ {
711
+ internalType: "uint256[]",
712
+ name: "extensions",
713
+ type: "uint256[]"
714
+ }
715
+ ],
716
+ stateMutability: "view",
717
+ type: "function"
718
+ },
719
+ {
720
+ inputs: [
721
+ ],
722
+ name: "forfeitedRewards",
723
+ outputs: [
724
+ {
725
+ internalType: "uint256",
726
+ name: "",
727
+ type: "uint256"
728
+ }
729
+ ],
730
+ stateMutability: "view",
731
+ type: "function"
732
+ },
733
+ {
734
+ inputs: [
735
+ {
736
+ internalType: "bytes32",
737
+ name: "role",
738
+ type: "bytes32"
739
+ }
740
+ ],
741
+ name: "getRoleAdmin",
742
+ outputs: [
743
+ {
744
+ internalType: "bytes32",
745
+ name: "",
746
+ type: "bytes32"
747
+ }
748
+ ],
749
+ stateMutability: "view",
750
+ type: "function"
751
+ },
752
+ {
753
+ inputs: [
754
+ {
755
+ internalType: "bytes32",
756
+ name: "role",
757
+ type: "bytes32"
758
+ },
759
+ {
760
+ internalType: "uint256",
761
+ name: "index",
762
+ type: "uint256"
763
+ }
764
+ ],
765
+ name: "getRoleMember",
766
+ outputs: [
767
+ {
768
+ internalType: "address",
769
+ name: "",
770
+ type: "address"
771
+ }
772
+ ],
773
+ stateMutability: "view",
774
+ type: "function"
775
+ },
776
+ {
777
+ inputs: [
778
+ {
779
+ internalType: "bytes32",
780
+ name: "role",
781
+ type: "bytes32"
782
+ }
783
+ ],
784
+ name: "getRoleMemberCount",
785
+ outputs: [
786
+ {
787
+ internalType: "uint256",
788
+ name: "",
789
+ type: "uint256"
790
+ }
791
+ ],
792
+ stateMutability: "view",
793
+ type: "function"
794
+ },
795
+ {
796
+ inputs: [
797
+ ],
798
+ name: "getUnvestedAmount",
799
+ outputs: [
800
+ {
801
+ internalType: "uint256",
802
+ name: "",
803
+ type: "uint256"
804
+ }
805
+ ],
806
+ stateMutability: "view",
807
+ type: "function"
808
+ },
809
+ {
810
+ inputs: [
811
+ {
812
+ internalType: "bytes32",
813
+ name: "role",
814
+ type: "bytes32"
815
+ },
816
+ {
817
+ internalType: "address",
818
+ name: "account",
819
+ type: "address"
820
+ }
821
+ ],
822
+ name: "grantRole",
823
+ outputs: [
824
+ ],
825
+ stateMutability: "nonpayable",
826
+ type: "function"
827
+ },
828
+ {
829
+ inputs: [
830
+ {
831
+ internalType: "bytes32",
832
+ name: "role",
833
+ type: "bytes32"
834
+ },
835
+ {
836
+ internalType: "address",
837
+ name: "account",
838
+ type: "address"
839
+ }
840
+ ],
841
+ name: "hasRole",
842
+ outputs: [
843
+ {
844
+ internalType: "bool",
845
+ name: "",
846
+ type: "bool"
847
+ }
848
+ ],
849
+ stateMutability: "view",
850
+ type: "function"
851
+ },
852
+ {
853
+ inputs: [
854
+ {
855
+ internalType: "address",
856
+ name: "spender",
857
+ type: "address"
858
+ },
859
+ {
860
+ internalType: "uint256",
861
+ name: "addedValue",
862
+ type: "uint256"
863
+ }
864
+ ],
865
+ name: "increaseAllowance",
866
+ outputs: [
867
+ {
868
+ internalType: "bool",
869
+ name: "",
870
+ type: "bool"
871
+ }
872
+ ],
873
+ stateMutability: "nonpayable",
874
+ type: "function"
875
+ },
876
+ {
877
+ inputs: [
878
+ {
879
+ internalType: "contract IERC20Upgradeable",
880
+ name: "_asset",
881
+ type: "address"
882
+ },
883
+ {
884
+ internalType: "address",
885
+ name: "_owner",
886
+ type: "address"
887
+ },
888
+ {
889
+ internalType: "string",
890
+ name: "_name",
891
+ type: "string"
892
+ },
893
+ {
894
+ internalType: "string",
895
+ name: "_symbol",
896
+ type: "string"
897
+ },
898
+ {
899
+ internalType: "address",
900
+ name: "_automationAddress",
901
+ type: "address"
902
+ },
903
+ {
904
+ internalType: "address[]",
905
+ name: "_bondOperators",
906
+ type: "address[]"
907
+ },
908
+ {
909
+ internalType: "address[]",
910
+ name: "_rewarders",
911
+ type: "address[]"
912
+ }
913
+ ],
914
+ name: "initialize",
915
+ outputs: [
916
+ ],
917
+ stateMutability: "nonpayable",
918
+ type: "function"
919
+ },
920
+ {
921
+ inputs: [
922
+ ],
923
+ name: "lastDistributionTimestamp",
924
+ outputs: [
925
+ {
926
+ internalType: "uint256",
927
+ name: "",
928
+ type: "uint256"
929
+ }
930
+ ],
931
+ stateMutability: "view",
932
+ type: "function"
933
+ },
934
+ {
935
+ inputs: [
936
+ {
937
+ internalType: "address",
938
+ name: "",
939
+ type: "address"
940
+ }
941
+ ],
942
+ name: "maxDeposit",
943
+ outputs: [
944
+ {
945
+ internalType: "uint256",
946
+ name: "",
947
+ type: "uint256"
948
+ }
949
+ ],
950
+ stateMutability: "pure",
951
+ type: "function"
952
+ },
953
+ {
954
+ inputs: [
955
+ {
956
+ internalType: "address",
957
+ name: "",
958
+ type: "address"
959
+ }
960
+ ],
961
+ name: "maxMint",
962
+ outputs: [
963
+ {
964
+ internalType: "uint256",
965
+ name: "",
966
+ type: "uint256"
967
+ }
968
+ ],
969
+ stateMutability: "pure",
970
+ type: "function"
971
+ },
972
+ {
973
+ inputs: [
974
+ {
975
+ internalType: "address",
976
+ name: "owner",
977
+ type: "address"
978
+ }
979
+ ],
980
+ name: "maxRedeem",
981
+ outputs: [
982
+ {
983
+ internalType: "uint256",
984
+ name: "",
985
+ type: "uint256"
986
+ }
987
+ ],
988
+ stateMutability: "view",
989
+ type: "function"
990
+ },
991
+ {
992
+ inputs: [
993
+ {
994
+ internalType: "address",
995
+ name: "owner",
996
+ type: "address"
997
+ }
998
+ ],
999
+ name: "maxWithdraw",
1000
+ outputs: [
1001
+ {
1002
+ internalType: "uint256",
1003
+ name: "",
1004
+ type: "uint256"
1005
+ }
1006
+ ],
1007
+ stateMutability: "view",
1008
+ type: "function"
1009
+ },
1010
+ {
1011
+ inputs: [
1012
+ {
1013
+ internalType: "uint256",
1014
+ name: "",
1015
+ type: "uint256"
1016
+ },
1017
+ {
1018
+ internalType: "address",
1019
+ name: "",
1020
+ type: "address"
1021
+ }
1022
+ ],
1023
+ name: "mint",
1024
+ outputs: [
1025
+ {
1026
+ internalType: "uint256",
1027
+ name: "",
1028
+ type: "uint256"
1029
+ }
1030
+ ],
1031
+ stateMutability: "pure",
1032
+ type: "function"
1033
+ },
1034
+ {
1035
+ inputs: [
1036
+ ],
1037
+ name: "name",
1038
+ outputs: [
1039
+ {
1040
+ internalType: "string",
1041
+ name: "",
1042
+ type: "string"
1043
+ }
1044
+ ],
1045
+ stateMutability: "view",
1046
+ type: "function"
1047
+ },
1048
+ {
1049
+ inputs: [
1050
+ {
1051
+ internalType: "address",
1052
+ name: "owner",
1053
+ type: "address"
1054
+ }
1055
+ ],
1056
+ name: "nonces",
1057
+ outputs: [
1058
+ {
1059
+ internalType: "uint256",
1060
+ name: "",
1061
+ type: "uint256"
1062
+ }
1063
+ ],
1064
+ stateMutability: "view",
1065
+ type: "function"
1066
+ },
1067
+ {
1068
+ inputs: [
1069
+ ],
1070
+ name: "owner",
1071
+ outputs: [
1072
+ {
1073
+ internalType: "address",
1074
+ name: "",
1075
+ type: "address"
1076
+ }
1077
+ ],
1078
+ stateMutability: "view",
1079
+ type: "function"
1080
+ },
1081
+ {
1082
+ inputs: [
1083
+ {
1084
+ internalType: "address",
1085
+ name: "user",
1086
+ type: "address"
1087
+ }
1088
+ ],
1089
+ name: "pendingRewards",
1090
+ outputs: [
1091
+ {
1092
+ internalType: "uint256",
1093
+ name: "",
1094
+ type: "uint256"
1095
+ }
1096
+ ],
1097
+ stateMutability: "view",
1098
+ type: "function"
1099
+ },
1100
+ {
1101
+ inputs: [
1102
+ {
1103
+ internalType: "address",
1104
+ name: "owner",
1105
+ type: "address"
1106
+ },
1107
+ {
1108
+ internalType: "address",
1109
+ name: "spender",
1110
+ type: "address"
1111
+ },
1112
+ {
1113
+ internalType: "uint256",
1114
+ name: "value",
1115
+ type: "uint256"
1116
+ },
1117
+ {
1118
+ internalType: "uint256",
1119
+ name: "deadline",
1120
+ type: "uint256"
1121
+ },
1122
+ {
1123
+ internalType: "uint8",
1124
+ name: "v",
1125
+ type: "uint8"
1126
+ },
1127
+ {
1128
+ internalType: "bytes32",
1129
+ name: "r",
1130
+ type: "bytes32"
1131
+ },
1132
+ {
1133
+ internalType: "bytes32",
1134
+ name: "s",
1135
+ type: "bytes32"
1136
+ }
1137
+ ],
1138
+ name: "permit",
1139
+ outputs: [
1140
+ ],
1141
+ stateMutability: "nonpayable",
1142
+ type: "function"
1143
+ },
1144
+ {
1145
+ inputs: [
1146
+ {
1147
+ internalType: "uint256",
1148
+ name: "",
1149
+ type: "uint256"
1150
+ }
1151
+ ],
1152
+ name: "previewDeposit",
1153
+ outputs: [
1154
+ {
1155
+ internalType: "uint256",
1156
+ name: "",
1157
+ type: "uint256"
1158
+ }
1159
+ ],
1160
+ stateMutability: "pure",
1161
+ type: "function"
1162
+ },
1163
+ {
1164
+ inputs: [
1165
+ {
1166
+ internalType: "uint256",
1167
+ name: "",
1168
+ type: "uint256"
1169
+ }
1170
+ ],
1171
+ name: "previewMint",
1172
+ outputs: [
1173
+ {
1174
+ internalType: "uint256",
1175
+ name: "",
1176
+ type: "uint256"
1177
+ }
1178
+ ],
1179
+ stateMutability: "pure",
1180
+ type: "function"
1181
+ },
1182
+ {
1183
+ inputs: [
1184
+ {
1185
+ internalType: "uint256",
1186
+ name: "shares",
1187
+ type: "uint256"
1188
+ }
1189
+ ],
1190
+ name: "previewRedeem",
1191
+ outputs: [
1192
+ {
1193
+ internalType: "uint256",
1194
+ name: "",
1195
+ type: "uint256"
1196
+ }
1197
+ ],
1198
+ stateMutability: "view",
1199
+ type: "function"
1200
+ },
1201
+ {
1202
+ inputs: [
1203
+ {
1204
+ internalType: "uint256",
1205
+ name: "assets",
1206
+ type: "uint256"
1207
+ }
1208
+ ],
1209
+ name: "previewWithdraw",
1210
+ outputs: [
1211
+ {
1212
+ internalType: "uint256",
1213
+ name: "",
1214
+ type: "uint256"
1215
+ }
1216
+ ],
1217
+ stateMutability: "view",
1218
+ type: "function"
1219
+ },
1220
+ {
1221
+ inputs: [
1222
+ {
1223
+ internalType: "uint256",
1224
+ name: "shares",
1225
+ type: "uint256"
1226
+ },
1227
+ {
1228
+ internalType: "address",
1229
+ name: "receiver",
1230
+ type: "address"
1231
+ },
1232
+ {
1233
+ internalType: "address",
1234
+ name: "owner",
1235
+ type: "address"
1236
+ }
1237
+ ],
1238
+ name: "redeem",
1239
+ outputs: [
1240
+ {
1241
+ internalType: "uint256",
1242
+ name: "",
1243
+ type: "uint256"
1244
+ }
1245
+ ],
1246
+ stateMutability: "nonpayable",
1247
+ type: "function"
1248
+ },
1249
+ {
1250
+ inputs: [
1251
+ ],
1252
+ name: "renounceOwnership",
1253
+ outputs: [
1254
+ ],
1255
+ stateMutability: "nonpayable",
1256
+ type: "function"
1257
+ },
1258
+ {
1259
+ inputs: [
1260
+ {
1261
+ internalType: "bytes32",
1262
+ name: "role",
1263
+ type: "bytes32"
1264
+ },
1265
+ {
1266
+ internalType: "address",
1267
+ name: "account",
1268
+ type: "address"
1269
+ }
1270
+ ],
1271
+ name: "renounceRole",
1272
+ outputs: [
1273
+ ],
1274
+ stateMutability: "nonpayable",
1275
+ type: "function"
1276
+ },
1277
+ {
1278
+ inputs: [
1279
+ {
1280
+ internalType: "bytes32",
1281
+ name: "role",
1282
+ type: "bytes32"
1283
+ },
1284
+ {
1285
+ internalType: "address",
1286
+ name: "account",
1287
+ type: "address"
1288
+ }
1289
+ ],
1290
+ name: "revokeRole",
1291
+ outputs: [
1292
+ ],
1293
+ stateMutability: "nonpayable",
1294
+ type: "function"
1295
+ },
1296
+ {
1297
+ inputs: [
1298
+ {
1299
+ internalType: "uint256",
1300
+ name: "value",
1301
+ type: "uint256"
1302
+ }
1303
+ ],
1304
+ name: "setTotalInitialDeposit",
1305
+ outputs: [
1306
+ ],
1307
+ stateMutability: "nonpayable",
1308
+ type: "function"
1309
+ },
1310
+ {
1311
+ inputs: [
1312
+ {
1313
+ internalType: "uint256",
1314
+ name: "_vestingEnd",
1315
+ type: "uint256"
1316
+ }
1317
+ ],
1318
+ name: "setVestingEnd",
1319
+ outputs: [
1320
+ ],
1321
+ stateMutability: "nonpayable",
1322
+ type: "function"
1323
+ },
1324
+ {
1325
+ inputs: [
1326
+ {
1327
+ internalType: "bytes4",
1328
+ name: "interfaceId",
1329
+ type: "bytes4"
1330
+ }
1331
+ ],
1332
+ name: "supportsInterface",
1333
+ outputs: [
1334
+ {
1335
+ internalType: "bool",
1336
+ name: "",
1337
+ type: "bool"
1338
+ }
1339
+ ],
1340
+ stateMutability: "view",
1341
+ type: "function"
1342
+ },
1343
+ {
1344
+ inputs: [
1345
+ ],
1346
+ name: "symbol",
1347
+ outputs: [
1348
+ {
1349
+ internalType: "string",
1350
+ name: "",
1351
+ type: "string"
1352
+ }
1353
+ ],
1354
+ stateMutability: "view",
1355
+ type: "function"
1356
+ },
1357
+ {
1358
+ inputs: [
1359
+ ],
1360
+ name: "totalAssets",
1361
+ outputs: [
1362
+ {
1363
+ internalType: "uint256",
1364
+ name: "",
1365
+ type: "uint256"
1366
+ }
1367
+ ],
1368
+ stateMutability: "view",
1369
+ type: "function"
1370
+ },
1371
+ {
1372
+ inputs: [
1373
+ ],
1374
+ name: "totalInitialDeposit",
1375
+ outputs: [
1376
+ {
1377
+ internalType: "uint256",
1378
+ name: "",
1379
+ type: "uint256"
1380
+ }
1381
+ ],
1382
+ stateMutability: "view",
1383
+ type: "function"
1384
+ },
1385
+ {
1386
+ inputs: [
1387
+ ],
1388
+ name: "totalSupply",
1389
+ outputs: [
1390
+ {
1391
+ internalType: "uint256",
1392
+ name: "",
1393
+ type: "uint256"
1394
+ }
1395
+ ],
1396
+ stateMutability: "view",
1397
+ type: "function"
1398
+ },
1399
+ {
1400
+ inputs: [
1401
+ {
1402
+ internalType: "address",
1403
+ name: "to",
1404
+ type: "address"
1405
+ },
1406
+ {
1407
+ internalType: "uint256",
1408
+ name: "amount",
1409
+ type: "uint256"
1410
+ }
1411
+ ],
1412
+ name: "transfer",
1413
+ outputs: [
1414
+ {
1415
+ internalType: "bool",
1416
+ name: "",
1417
+ type: "bool"
1418
+ }
1419
+ ],
1420
+ stateMutability: "nonpayable",
1421
+ type: "function"
1422
+ },
1423
+ {
1424
+ inputs: [
1425
+ {
1426
+ internalType: "address",
1427
+ name: "from",
1428
+ type: "address"
1429
+ },
1430
+ {
1431
+ internalType: "address",
1432
+ name: "to",
1433
+ type: "address"
1434
+ },
1435
+ {
1436
+ internalType: "uint256",
1437
+ name: "amount",
1438
+ type: "uint256"
1439
+ }
1440
+ ],
1441
+ name: "transferFrom",
1442
+ outputs: [
1443
+ {
1444
+ internalType: "bool",
1445
+ name: "",
1446
+ type: "bool"
1447
+ }
1448
+ ],
1449
+ stateMutability: "nonpayable",
1450
+ type: "function"
1451
+ },
1452
+ {
1453
+ inputs: [
1454
+ {
1455
+ internalType: "uint256",
1456
+ name: "amount",
1457
+ type: "uint256"
1458
+ }
1459
+ ],
1460
+ name: "transferInRewards",
1461
+ outputs: [
1462
+ ],
1463
+ stateMutability: "nonpayable",
1464
+ type: "function"
1465
+ },
1466
+ {
1467
+ inputs: [
1468
+ {
1469
+ internalType: "address",
1470
+ name: "newOwner",
1471
+ type: "address"
1472
+ }
1473
+ ],
1474
+ name: "transferOwnership",
1475
+ outputs: [
1476
+ ],
1477
+ stateMutability: "nonpayable",
1478
+ type: "function"
1479
+ },
1480
+ {
1481
+ inputs: [
1482
+ ],
1483
+ name: "vestingAmountPerShare",
1484
+ outputs: [
1485
+ {
1486
+ internalType: "uint256",
1487
+ name: "",
1488
+ type: "uint256"
1489
+ }
1490
+ ],
1491
+ stateMutability: "view",
1492
+ type: "function"
1493
+ },
1494
+ {
1495
+ inputs: [
1496
+ ],
1497
+ name: "vestingEnd",
1498
+ outputs: [
1499
+ {
1500
+ internalType: "uint256",
1501
+ name: "",
1502
+ type: "uint256"
1503
+ }
1504
+ ],
1505
+ stateMutability: "view",
1506
+ type: "function"
1507
+ },
1508
+ {
1509
+ inputs: [
1510
+ {
1511
+ internalType: "uint256",
1512
+ name: "assets",
1513
+ type: "uint256"
1514
+ },
1515
+ {
1516
+ internalType: "address",
1517
+ name: "receiver",
1518
+ type: "address"
1519
+ },
1520
+ {
1521
+ internalType: "address",
1522
+ name: "owner",
1523
+ type: "address"
1524
+ }
1525
+ ],
1526
+ name: "withdraw",
1527
+ outputs: [
1528
+ {
1529
+ internalType: "uint256",
1530
+ name: "",
1531
+ type: "uint256"
1532
+ }
1533
+ ],
1534
+ stateMutability: "nonpayable",
1535
+ type: "function"
1536
+ }
1537
+ ];
1538
+
1539
+ export { Vault_Shares_ABI as default };
1540
+ //# sourceMappingURL=Vault_Shares.json.js.map