@streamflow/distributor 7.4.7 → 7.4.9

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.
@@ -2,23 +2,36 @@
2
2
  "address": "aMERKpFAWoChCi5oZwPvgsSCoGpZKBiU7fi76bdZjt2",
3
3
  "metadata": {
4
4
  "name": "aligned_distributor",
5
- "version": "1.3.0",
5
+ "version": "1.3.2",
6
6
  "spec": "0.1.0",
7
7
  "description": "Proxy for merkle distributor that updates Vesting duration according to token market performance."
8
8
  },
9
9
  "instructions": [
10
10
  {
11
11
  "name": "change_oracle",
12
- "discriminator": [177, 227, 230, 103, 13, 72, 141, 248],
12
+ "discriminator": [
13
+ 177,
14
+ 227,
15
+ 230,
16
+ 103,
17
+ 13,
18
+ 72,
19
+ 141,
20
+ 248
21
+ ],
13
22
  "accounts": [
14
23
  {
15
24
  "name": "aligned_distributor",
16
- "docs": ["The [MerkleDistributor]."],
25
+ "docs": [
26
+ "The [MerkleDistributor]."
27
+ ],
17
28
  "writable": true
18
29
  },
19
30
  {
20
31
  "name": "admin",
21
- "docs": ["Admin signer"],
32
+ "docs": [
33
+ "Admin signer"
34
+ ],
22
35
  "writable": true,
23
36
  "signer": true
24
37
  },
@@ -39,17 +52,48 @@
39
52
  },
40
53
  {
41
54
  "name": "clawback",
42
- "discriminator": [111, 92, 142, 79, 33, 234, 82, 27],
55
+ "discriminator": [
56
+ 111,
57
+ 92,
58
+ 142,
59
+ 79,
60
+ 33,
61
+ 234,
62
+ 82,
63
+ 27
64
+ ],
43
65
  "accounts": [
44
66
  {
45
67
  "name": "aligned_distributor",
46
- "docs": ["The [AlignedDistributor]."],
68
+ "docs": [
69
+ "The [AlignedDistributor]."
70
+ ],
47
71
  "writable": true,
48
72
  "pda": {
49
73
  "seeds": [
50
74
  {
51
75
  "kind": "const",
52
- "value": [97, 108, 105, 103, 110, 101, 100, 45, 100, 105, 115, 116, 114, 105, 98, 117, 116, 111, 114]
76
+ "value": [
77
+ 97,
78
+ 108,
79
+ 105,
80
+ 103,
81
+ 110,
82
+ 101,
83
+ 100,
84
+ 45,
85
+ 100,
86
+ 105,
87
+ 115,
88
+ 116,
89
+ 114,
90
+ 105,
91
+ 98,
92
+ 117,
93
+ 116,
94
+ 111,
95
+ 114
96
+ ]
53
97
  },
54
98
  {
55
99
  "kind": "account",
@@ -60,22 +104,30 @@
60
104
  },
61
105
  {
62
106
  "name": "distributor",
63
- "docs": ["The [MerkleDistributor]."],
107
+ "docs": [
108
+ "The [MerkleDistributor]."
109
+ ],
64
110
  "writable": true
65
111
  },
66
112
  {
67
113
  "name": "from",
68
- "docs": ["Distributor ATA containing the tokens to distribute."],
114
+ "docs": [
115
+ "Distributor ATA containing the tokens to distribute."
116
+ ],
69
117
  "writable": true
70
118
  },
71
119
  {
72
120
  "name": "to",
73
- "docs": ["The Clawback token account."],
121
+ "docs": [
122
+ "The Clawback token account."
123
+ ],
74
124
  "writable": true
75
125
  },
76
126
  {
77
127
  "name": "admin",
78
- "docs": ["Only Admin can trigger the clawback of funds"],
128
+ "docs": [
129
+ "Only Admin can trigger the clawback of funds"
130
+ ],
79
131
  "writable": true,
80
132
  "signer": true
81
133
  },
@@ -88,19 +140,32 @@
88
140
  },
89
141
  {
90
142
  "name": "system_program",
91
- "docs": ["The [System] program."],
143
+ "docs": [
144
+ "The [System] program."
145
+ ],
92
146
  "address": "11111111111111111111111111111111"
93
147
  },
94
148
  {
95
149
  "name": "token_program",
96
- "docs": ["SPL [Token] program."]
150
+ "docs": [
151
+ "SPL [Token] program."
152
+ ]
97
153
  }
98
154
  ],
99
155
  "args": []
100
156
  },
101
157
  {
102
158
  "name": "create_test_oracle",
103
- "discriminator": [183, 110, 4, 11, 131, 220, 84, 12],
159
+ "discriminator": [
160
+ 183,
161
+ 110,
162
+ 4,
163
+ 11,
164
+ 131,
165
+ 220,
166
+ 84,
167
+ 12
168
+ ],
104
169
  "accounts": [
105
170
  {
106
171
  "name": "creator",
@@ -117,7 +182,19 @@
117
182
  "seeds": [
118
183
  {
119
184
  "kind": "const",
120
- "value": [116, 101, 115, 116, 45, 111, 114, 97, 99, 108, 101]
185
+ "value": [
186
+ 116,
187
+ 101,
188
+ 115,
189
+ 116,
190
+ 45,
191
+ 111,
192
+ 114,
193
+ 97,
194
+ 99,
195
+ 108,
196
+ 101
197
+ ]
121
198
  },
122
199
  {
123
200
  "kind": "account",
@@ -148,7 +225,16 @@
148
225
  },
149
226
  {
150
227
  "name": "new_distributor",
151
- "discriminator": [32, 139, 112, 171, 0, 2, 225, 155],
228
+ "discriminator": [
229
+ 32,
230
+ 139,
231
+ 112,
232
+ 171,
233
+ 0,
234
+ 2,
235
+ 225,
236
+ 155
237
+ ],
152
238
  "accounts": [
153
239
  {
154
240
  "name": "aligned_distributor",
@@ -157,7 +243,27 @@
157
243
  "seeds": [
158
244
  {
159
245
  "kind": "const",
160
- "value": [97, 108, 105, 103, 110, 101, 100, 45, 100, 105, 115, 116, 114, 105, 98, 117, 116, 111, 114]
246
+ "value": [
247
+ 97,
248
+ 108,
249
+ 105,
250
+ 103,
251
+ 110,
252
+ 101,
253
+ 100,
254
+ 45,
255
+ 100,
256
+ 105,
257
+ 115,
258
+ 116,
259
+ 114,
260
+ 105,
261
+ 98,
262
+ 117,
263
+ 116,
264
+ 111,
265
+ 114
266
+ ]
161
267
  },
162
268
  {
163
269
  "kind": "account",
@@ -176,12 +282,16 @@
176
282
  },
177
283
  {
178
284
  "name": "clawback_receiver",
179
- "docs": ["Clawback receiver token account"],
285
+ "docs": [
286
+ "Clawback receiver token account"
287
+ ],
180
288
  "writable": true
181
289
  },
182
290
  {
183
291
  "name": "mint",
184
- "docs": ["The mint to distribute."]
292
+ "docs": [
293
+ "The mint to distribute."
294
+ ]
185
295
  },
186
296
  {
187
297
  "name": "distributor",
@@ -202,22 +312,30 @@
202
312
  },
203
313
  {
204
314
  "name": "distributor_program",
205
- "docs": ["MerkleDistributor program"],
315
+ "docs": [
316
+ "MerkleDistributor program"
317
+ ],
206
318
  "address": "MErKy6nZVoVAkryxAejJz2juifQ4ArgLgHmaJCQkU7N"
207
319
  },
208
320
  {
209
321
  "name": "system_program",
210
- "docs": ["The [System] program."],
322
+ "docs": [
323
+ "The [System] program."
324
+ ],
211
325
  "address": "11111111111111111111111111111111"
212
326
  },
213
327
  {
214
328
  "name": "associated_token_program",
215
- "docs": ["The [Associated Token] program."],
329
+ "docs": [
330
+ "The [Associated Token] program."
331
+ ],
216
332
  "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
217
333
  },
218
334
  {
219
335
  "name": "token_program",
220
- "docs": ["The [Token] program."]
336
+ "docs": [
337
+ "The [Token] program."
338
+ ]
221
339
  }
222
340
  ],
223
341
  "args": [
@@ -233,22 +351,37 @@
233
351
  },
234
352
  {
235
353
  "name": "set_admin",
236
- "discriminator": [251, 163, 0, 52, 91, 194, 187, 92],
354
+ "discriminator": [
355
+ 251,
356
+ 163,
357
+ 0,
358
+ 52,
359
+ 91,
360
+ 194,
361
+ 187,
362
+ 92
363
+ ],
237
364
  "accounts": [
238
365
  {
239
366
  "name": "aligned_distributor",
240
- "docs": ["The [MerkleDistributor]."],
367
+ "docs": [
368
+ "The [MerkleDistributor]."
369
+ ],
241
370
  "writable": true
242
371
  },
243
372
  {
244
373
  "name": "admin",
245
- "docs": ["Admin signer"],
374
+ "docs": [
375
+ "Admin signer"
376
+ ],
246
377
  "writable": true,
247
378
  "signer": true
248
379
  },
249
380
  {
250
381
  "name": "new_admin",
251
- "docs": ["New admin account"],
382
+ "docs": [
383
+ "New admin account"
384
+ ],
252
385
  "writable": true
253
386
  }
254
387
  ],
@@ -256,7 +389,16 @@
256
389
  },
257
390
  {
258
391
  "name": "set_test_oracle_authority",
259
- "discriminator": [26, 66, 233, 99, 38, 118, 181, 247],
392
+ "discriminator": [
393
+ 26,
394
+ 66,
395
+ 233,
396
+ 99,
397
+ 38,
398
+ 118,
399
+ 181,
400
+ 247
401
+ ],
260
402
  "accounts": [
261
403
  {
262
404
  "name": "authority",
@@ -275,23 +417,56 @@
275
417
  },
276
418
  {
277
419
  "name": "update_duration",
278
- "discriminator": [69, 126, 172, 250, 164, 14, 10, 161],
420
+ "discriminator": [
421
+ 69,
422
+ 126,
423
+ 172,
424
+ 250,
425
+ 164,
426
+ 14,
427
+ 10,
428
+ 161
429
+ ],
279
430
  "accounts": [
280
431
  {
281
432
  "name": "authority",
282
- "docs": ["Wallet authorised to call this method"],
433
+ "docs": [
434
+ "Wallet authorised to call this method"
435
+ ],
283
436
  "writable": true,
284
437
  "signer": true
285
438
  },
286
439
  {
287
440
  "name": "aligned_distributor",
288
- "docs": ["The account holding the proxy parameters."],
441
+ "docs": [
442
+ "The account holding the proxy parameters."
443
+ ],
289
444
  "writable": true,
290
445
  "pda": {
291
446
  "seeds": [
292
447
  {
293
448
  "kind": "const",
294
- "value": [97, 108, 105, 103, 110, 101, 100, 45, 100, 105, 115, 116, 114, 105, 98, 117, 116, 111, 114]
449
+ "value": [
450
+ 97,
451
+ 108,
452
+ 105,
453
+ 103,
454
+ 110,
455
+ 101,
456
+ 100,
457
+ 45,
458
+ 100,
459
+ 105,
460
+ 115,
461
+ 116,
462
+ 114,
463
+ 105,
464
+ 98,
465
+ 117,
466
+ 116,
467
+ 111,
468
+ 114
469
+ ]
295
470
  },
296
471
  {
297
472
  "kind": "account",
@@ -302,16 +477,22 @@
302
477
  },
303
478
  {
304
479
  "name": "distributor",
305
- "docs": ["The account holding the vesting parameters."],
480
+ "docs": [
481
+ "The account holding the vesting parameters."
482
+ ],
306
483
  "writable": true
307
484
  },
308
485
  {
309
486
  "name": "price_oracle",
310
- "relations": ["aligned_distributor"]
487
+ "relations": [
488
+ "aligned_distributor"
489
+ ]
311
490
  },
312
491
  {
313
492
  "name": "distributor_program",
314
- "docs": ["MerkleDistributor program"],
493
+ "docs": [
494
+ "MerkleDistributor program"
495
+ ],
315
496
  "address": "MErKy6nZVoVAkryxAejJz2juifQ4ArgLgHmaJCQkU7N"
316
497
  },
317
498
  {
@@ -323,7 +504,16 @@
323
504
  },
324
505
  {
325
506
  "name": "update_test_oracle",
326
- "discriminator": [158, 147, 215, 74, 34, 123, 80, 76],
507
+ "discriminator": [
508
+ 158,
509
+ 147,
510
+ 215,
511
+ 74,
512
+ 34,
513
+ 123,
514
+ 80,
515
+ 76
516
+ ],
327
517
  "accounts": [
328
518
  {
329
519
  "name": "authority",
@@ -350,15 +540,42 @@
350
540
  "accounts": [
351
541
  {
352
542
  "name": "AlignedDistributor",
353
- "discriminator": [128, 76, 80, 203, 248, 175, 3, 43]
543
+ "discriminator": [
544
+ 128,
545
+ 76,
546
+ 80,
547
+ 203,
548
+ 248,
549
+ 175,
550
+ 3,
551
+ 43
552
+ ]
354
553
  },
355
554
  {
356
555
  "name": "MerkleDistributor",
357
- "discriminator": [77, 119, 139, 70, 84, 247, 12, 26]
556
+ "discriminator": [
557
+ 77,
558
+ 119,
559
+ 139,
560
+ 70,
561
+ 84,
562
+ 247,
563
+ 12,
564
+ 26
565
+ ]
358
566
  },
359
567
  {
360
568
  "name": "TestOracle",
361
- "discriminator": [198, 49, 63, 134, 232, 251, 168, 28]
569
+ "discriminator": [
570
+ 198,
571
+ 49,
572
+ 63,
573
+ 134,
574
+ 232,
575
+ 251,
576
+ 168,
577
+ 28
578
+ ]
362
579
  }
363
580
  ],
364
581
  "errors": [
@@ -436,28 +653,38 @@
436
653
  "types": [
437
654
  {
438
655
  "name": "AlignedDistributor",
439
- "docs": ["State for the account which distributes tokens."],
656
+ "docs": [
657
+ "State for the account which distributes tokens."
658
+ ],
440
659
  "type": {
441
660
  "kind": "struct",
442
661
  "fields": [
443
662
  {
444
663
  "name": "bump",
445
- "docs": ["Bump seed."],
664
+ "docs": [
665
+ "Bump seed."
666
+ ],
446
667
  "type": "u8"
447
668
  },
448
669
  {
449
670
  "name": "distributor",
450
- "docs": ["[Mint] of the token to be distributed."],
671
+ "docs": [
672
+ "[Mint] of the token to be distributed."
673
+ ],
451
674
  "type": "pubkey"
452
675
  },
453
676
  {
454
677
  "name": "admin",
455
- "docs": ["Admin wallet"],
678
+ "docs": [
679
+ "Admin wallet"
680
+ ],
456
681
  "type": "pubkey"
457
682
  },
458
683
  {
459
684
  "name": "price_oracle_type",
460
- "docs": ["Type of the Oracle used to derive Token Price"],
685
+ "docs": [
686
+ "Type of the Oracle used to derive Token Price"
687
+ ],
461
688
  "type": {
462
689
  "defined": {
463
690
  "name": "OracleType"
@@ -466,47 +693,65 @@
466
693
  },
467
694
  {
468
695
  "name": "price_oracle",
469
- "docs": ["Address of the Price Oracle"],
696
+ "docs": [
697
+ "Address of the Price Oracle"
698
+ ],
470
699
  "type": "pubkey"
471
700
  },
472
701
  {
473
702
  "name": "update_period",
474
- "docs": ["Period of updates, can be different from unlock period if needed"],
703
+ "docs": [
704
+ "Period of updates, can be different from unlock period if needed"
705
+ ],
475
706
  "type": "u64"
476
707
  },
477
708
  {
478
709
  "name": "min_price",
479
- "docs": ["Min price boundary"],
710
+ "docs": [
711
+ "Min price boundary"
712
+ ],
480
713
  "type": "u64"
481
714
  },
482
715
  {
483
716
  "name": "max_price",
484
- "docs": ["Max price boundary"],
717
+ "docs": [
718
+ "Max price boundary"
719
+ ],
485
720
  "type": "u64"
486
721
  },
487
722
  {
488
723
  "name": "min_percentage",
489
- "docs": ["Min percentage boundary, can be 0 that equals 1 Raw Token"],
724
+ "docs": [
725
+ "Min percentage boundary, can be 0 that equals 1 Raw Token"
726
+ ],
490
727
  "type": "u64"
491
728
  },
492
729
  {
493
730
  "name": "max_percentage",
494
- "docs": ["Max percentage boundary"],
731
+ "docs": [
732
+ "Max percentage boundary"
733
+ ],
495
734
  "type": "u64"
496
735
  },
497
736
  {
498
737
  "name": "tick_size",
499
- "docs": ["Ticket size for percentage boundaries"],
738
+ "docs": [
739
+ "Ticket size for percentage boundaries"
740
+ ],
500
741
  "type": "u64"
501
742
  },
502
743
  {
503
744
  "name": "start_ts",
504
- "docs": ["Copy start ts from the Distributor to be used in the worker"],
745
+ "docs": [
746
+ "Copy start ts from the Distributor to be used in the worker"
747
+ ],
505
748
  "type": "u64"
506
749
  },
507
750
  {
508
751
  "name": "end_ts",
509
- "docs": ["Copy end ts from the Distributor to be used in the worker"],
752
+ "docs": [
753
+ "Copy end ts from the Distributor to be used in the worker"
754
+ ],
510
755
  "type": "u64"
511
756
  },
512
757
  {
@@ -518,43 +763,61 @@
518
763
  },
519
764
  {
520
765
  "name": "last_price",
521
- "docs": ["Price used on last amount calculation"],
766
+ "docs": [
767
+ "Price used on last amount calculation"
768
+ ],
522
769
  "type": "u64"
523
770
  },
524
771
  {
525
772
  "name": "initial_duration",
526
- "docs": ["Initial Airdrop Vesting duration"],
773
+ "docs": [
774
+ "Initial Airdrop Vesting duration"
775
+ ],
527
776
  "type": "u64"
528
777
  },
529
778
  {
530
779
  "name": "initial_price",
531
- "docs": ["Initial token price at the time of Contract creation"],
780
+ "docs": [
781
+ "Initial token price at the time of Contract creation"
782
+ ],
532
783
  "type": "u64"
533
784
  },
534
785
  {
535
786
  "name": "distributor_clawed_back",
536
- "docs": ["Whether distributor was clawed backed"],
787
+ "docs": [
788
+ "Whether distributor was clawed backed"
789
+ ],
537
790
  "type": "bool"
538
791
  },
539
792
  {
540
- "name": "buffer_1",
541
- "docs": ["Buffer for additional fields"],
542
- "type": {
543
- "array": ["u8", 32]
544
- }
793
+ "name": "mint",
794
+ "docs": [
795
+ "Mint for which the distributor was created"
796
+ ],
797
+ "type": "pubkey"
545
798
  },
546
799
  {
547
800
  "name": "buffer_2",
548
- "docs": ["Buffer for additional fields"],
801
+ "docs": [
802
+ "Buffer for additional fields"
803
+ ],
549
804
  "type": {
550
- "array": ["u8", 32]
805
+ "array": [
806
+ "u8",
807
+ 32
808
+ ]
551
809
  }
552
810
  },
553
811
  {
554
812
  "name": "buffer_3",
555
- "docs": ["Buffer for additional fields"],
813
+ "docs": [
814
+ "Buffer for additional fields"
815
+ ],
556
816
  "type": {
557
- "array": ["u8", 32]
817
+ "array": [
818
+ "u8",
819
+ 32
820
+ ]
558
821
  }
559
822
  }
560
823
  ]
@@ -602,115 +865,162 @@
602
865
  },
603
866
  {
604
867
  "name": "MerkleDistributor",
605
- "docs": ["State for the account which distributes tokens."],
868
+ "docs": [
869
+ "State for the account which distributes tokens."
870
+ ],
606
871
  "type": {
607
872
  "kind": "struct",
608
873
  "fields": [
609
874
  {
610
875
  "name": "bump",
611
- "docs": ["Bump seed."],
876
+ "docs": [
877
+ "Bump seed."
878
+ ],
612
879
  "type": "u8"
613
880
  },
614
881
  {
615
882
  "name": "version",
616
- "docs": ["Version of the airdrop"],
883
+ "docs": [
884
+ "Version of the airdrop"
885
+ ],
617
886
  "type": "u64"
618
887
  },
619
888
  {
620
889
  "name": "root",
621
- "docs": ["The 256-bit merkle root."],
890
+ "docs": [
891
+ "The 256-bit merkle root."
892
+ ],
622
893
  "type": {
623
- "array": ["u8", 32]
894
+ "array": [
895
+ "u8",
896
+ 32
897
+ ]
624
898
  }
625
899
  },
626
900
  {
627
901
  "name": "mint",
628
- "docs": ["[Mint] of the token to be distributed."],
902
+ "docs": [
903
+ "[Mint] of the token to be distributed."
904
+ ],
629
905
  "type": "pubkey"
630
906
  },
631
907
  {
632
908
  "name": "token_vault",
633
- "docs": ["Token Address of the vault"],
909
+ "docs": [
910
+ "Token Address of the vault"
911
+ ],
634
912
  "type": "pubkey"
635
913
  },
636
914
  {
637
915
  "name": "max_total_claim",
638
- "docs": ["Maximum number of tokens that can ever be claimed from this [MerkleDistributor]."],
916
+ "docs": [
917
+ "Maximum number of tokens that can ever be claimed from this [MerkleDistributor]."
918
+ ],
639
919
  "type": "u64"
640
920
  },
641
921
  {
642
922
  "name": "max_num_nodes",
643
- "docs": ["Maximum number of nodes in [MerkleDistributor]."],
923
+ "docs": [
924
+ "Maximum number of nodes in [MerkleDistributor]."
925
+ ],
644
926
  "type": "u64"
645
927
  },
646
928
  {
647
929
  "name": "unlock_period",
648
- "docs": ["Time step (period) in seconds per which the unlock occurs"],
930
+ "docs": [
931
+ "Time step (period) in seconds per which the unlock occurs"
932
+ ],
649
933
  "type": "u64"
650
934
  },
651
935
  {
652
936
  "name": "total_amount_claimed",
653
- "docs": ["Total amount of tokens that have been claimed."],
937
+ "docs": [
938
+ "Total amount of tokens that have been claimed."
939
+ ],
654
940
  "type": "u64"
655
941
  },
656
942
  {
657
943
  "name": "num_nodes_claimed",
658
- "docs": ["Number of nodes that have been claimed."],
944
+ "docs": [
945
+ "Number of nodes that have been claimed."
946
+ ],
659
947
  "type": "u64"
660
948
  },
661
949
  {
662
950
  "name": "start_ts",
663
- "docs": ["Lockup time start (Unix Timestamp)"],
951
+ "docs": [
952
+ "Lockup time start (Unix Timestamp)"
953
+ ],
664
954
  "type": "u64"
665
955
  },
666
956
  {
667
957
  "name": "end_ts",
668
- "docs": ["Lockup time end (Unix Timestamp)"],
958
+ "docs": [
959
+ "Lockup time end (Unix Timestamp)"
960
+ ],
669
961
  "type": "u64"
670
962
  },
671
963
  {
672
964
  "name": "clawback_start_ts",
673
- "docs": ["Clawback start (Unix Timestamp)"],
965
+ "docs": [
966
+ "Clawback start (Unix Timestamp)"
967
+ ],
674
968
  "type": "u64"
675
969
  },
676
970
  {
677
971
  "name": "clawback_receiver",
678
- "docs": ["Clawback receiver"],
972
+ "docs": [
973
+ "Clawback receiver"
974
+ ],
679
975
  "type": "pubkey"
680
976
  },
681
977
  {
682
978
  "name": "admin",
683
- "docs": ["Admin wallet"],
979
+ "docs": [
980
+ "Admin wallet"
981
+ ],
684
982
  "type": "pubkey"
685
983
  },
686
984
  {
687
985
  "name": "clawed_back",
688
- "docs": ["Whether or not the distributor has been clawed back"],
986
+ "docs": [
987
+ "Whether or not the distributor has been clawed back"
988
+ ],
689
989
  "type": "bool"
690
990
  },
691
991
  {
692
992
  "name": "claims_closable_by_admin",
693
- "docs": ["Whether claims are closable by the admin or not"],
993
+ "docs": [
994
+ "Whether claims are closable by the admin or not"
995
+ ],
694
996
  "type": "bool"
695
997
  },
696
998
  {
697
999
  "name": "can_update_duration",
698
- "docs": ["Whether admin can update vesting duration"],
1000
+ "docs": [
1001
+ "Whether admin can update vesting duration"
1002
+ ],
699
1003
  "type": "bool"
700
1004
  },
701
1005
  {
702
1006
  "name": "total_amount_unlocked",
703
- "docs": ["Total amount of funds unlocked (cliff/instant)"],
1007
+ "docs": [
1008
+ "Total amount of funds unlocked (cliff/instant)"
1009
+ ],
704
1010
  "type": "u64"
705
1011
  },
706
1012
  {
707
1013
  "name": "total_amount_locked",
708
- "docs": ["Total amount of funds locked (vested)"],
1014
+ "docs": [
1015
+ "Total amount of funds locked (vested)"
1016
+ ],
709
1017
  "type": "u64"
710
1018
  },
711
1019
  {
712
1020
  "name": "last_duration_update_ts",
713
- "docs": ["Timestamp when update was last called"],
1021
+ "docs": [
1022
+ "Timestamp when update was last called"
1023
+ ],
714
1024
  "type": "u64"
715
1025
  },
716
1026
  {
@@ -722,31 +1032,47 @@
722
1032
  },
723
1033
  {
724
1034
  "name": "clawed_back_ts",
725
- "docs": ["Timestamp when funds were clawed back"],
1035
+ "docs": [
1036
+ "Timestamp when funds were clawed back"
1037
+ ],
726
1038
  "type": "u64"
727
1039
  },
728
1040
  {
729
1041
  "name": "claims_closable_by_claimant",
730
- "docs": ["Whether claims are closable by claimant or not"],
1042
+ "docs": [
1043
+ "Whether claims are closable by claimant or not"
1044
+ ],
731
1045
  "type": "bool"
732
1046
  },
733
1047
  {
734
1048
  "name": "claims_limit",
735
- "docs": ["Limit number of claims"],
1049
+ "docs": [
1050
+ "Limit number of claims"
1051
+ ],
736
1052
  "type": "u16"
737
1053
  },
738
1054
  {
739
1055
  "name": "buffer_2",
740
- "docs": ["Buffer for additional fields"],
1056
+ "docs": [
1057
+ "Buffer for additional fields"
1058
+ ],
741
1059
  "type": {
742
- "array": ["u8", 20]
1060
+ "array": [
1061
+ "u8",
1062
+ 20
1063
+ ]
743
1064
  }
744
1065
  },
745
1066
  {
746
1067
  "name": "buffer_3",
747
- "docs": ["Buffer for additional fields"],
1068
+ "docs": [
1069
+ "Buffer for additional fields"
1070
+ ],
748
1071
  "type": {
749
- "array": ["u8", 32]
1072
+ "array": [
1073
+ "u8",
1074
+ 32
1075
+ ]
750
1076
  }
751
1077
  }
752
1078
  ]
@@ -764,7 +1090,10 @@
764
1090
  {
765
1091
  "name": "root",
766
1092
  "type": {
767
- "array": ["u8", 32]
1093
+ "array": [
1094
+ "u8",
1095
+ 32
1096
+ ]
768
1097
  }
769
1098
  },
770
1099
  {
@@ -890,6 +1219,10 @@
890
1219
  {
891
1220
  "name": "authority",
892
1221
  "type": "pubkey"
1222
+ },
1223
+ {
1224
+ "name": "mint",
1225
+ "type": "pubkey"
893
1226
  }
894
1227
  ]
895
1228
  }