@streamflow/stream 12.0.0 → 12.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@
2
2
  "address": "strmRqUCoQUgGUan5YhzUZa6KqdzwX5L6FpUxfmKg5m",
3
3
  "metadata": {
4
4
  "name": "streamflow",
5
- "version": "0.4.0",
5
+ "version": "0.6.0",
6
6
  "spec": "0.1.0",
7
7
  "description": "Created with Anchor"
8
8
  },
@@ -94,6 +94,10 @@
94
94
  {
95
95
  "name": "metadata",
96
96
  "writable": true
97
+ },
98
+ {
99
+ "name": "partner",
100
+ "writable": true
97
101
  }
98
102
  ],
99
103
  "args": []
@@ -1122,6 +1126,30 @@
1122
1126
  ],
1123
1127
  "args": []
1124
1128
  },
1129
+ {
1130
+ "name": "request_cancel",
1131
+ "discriminator": [
1132
+ 244,
1133
+ 78,
1134
+ 42,
1135
+ 227,
1136
+ 165,
1137
+ 174,
1138
+ 94,
1139
+ 167
1140
+ ],
1141
+ "accounts": [
1142
+ {
1143
+ "name": "authority",
1144
+ "signer": true
1145
+ },
1146
+ {
1147
+ "name": "metadata",
1148
+ "writable": true
1149
+ }
1150
+ ],
1151
+ "args": []
1152
+ },
1125
1153
  {
1126
1154
  "name": "topup",
1127
1155
  "discriminator": [
@@ -1435,6 +1463,30 @@
1435
1463
  "type": "u64"
1436
1464
  }
1437
1465
  ]
1466
+ },
1467
+ {
1468
+ "name": "withdraw_cancel_request",
1469
+ "discriminator": [
1470
+ 91,
1471
+ 137,
1472
+ 171,
1473
+ 103,
1474
+ 142,
1475
+ 205,
1476
+ 96,
1477
+ 75
1478
+ ],
1479
+ "accounts": [
1480
+ {
1481
+ "name": "authority",
1482
+ "signer": true
1483
+ },
1484
+ {
1485
+ "name": "metadata",
1486
+ "writable": true
1487
+ }
1488
+ ],
1489
+ "args": []
1438
1490
  }
1439
1491
  ]
1440
1492
  }
@@ -2,7 +2,7 @@
2
2
  "address": "aSTRM2NKoKxNnkmLWk9sz3k74gKBk9t7bpPrTGxMszH",
3
3
  "metadata": {
4
4
  "name": "streamflow_aligned_unlocks",
5
- "version": "1.4.0",
5
+ "version": "1.7.0",
6
6
  "spec": "0.1.0",
7
7
  "description": "Proxy to update unlock amount within Streamflow vesting protocol according to Token performance and other metrics"
8
8
  },
@@ -385,6 +385,388 @@
385
385
  ],
386
386
  "args": []
387
387
  },
388
+ {
389
+ "name": "cancel_v2",
390
+ "discriminator": [
391
+ 160,
392
+ 58,
393
+ 112,
394
+ 172,
395
+ 233,
396
+ 228,
397
+ 38,
398
+ 140
399
+ ],
400
+ "accounts": [
401
+ {
402
+ "name": "caller",
403
+ "writable": true,
404
+ "signer": true
405
+ },
406
+ {
407
+ "name": "sender",
408
+ "writable": true
409
+ },
410
+ {
411
+ "name": "sender_tokens",
412
+ "docs": [
413
+ "Associated token account address of `sender`."
414
+ ],
415
+ "writable": true,
416
+ "pda": {
417
+ "seeds": [
418
+ {
419
+ "kind": "account",
420
+ "path": "sender"
421
+ },
422
+ {
423
+ "kind": "account",
424
+ "path": "token_program"
425
+ },
426
+ {
427
+ "kind": "account",
428
+ "path": "mint"
429
+ }
430
+ ],
431
+ "program": {
432
+ "kind": "const",
433
+ "value": [
434
+ 140,
435
+ 151,
436
+ 37,
437
+ 143,
438
+ 78,
439
+ 36,
440
+ 137,
441
+ 241,
442
+ 187,
443
+ 61,
444
+ 16,
445
+ 41,
446
+ 20,
447
+ 142,
448
+ 13,
449
+ 131,
450
+ 11,
451
+ 90,
452
+ 19,
453
+ 153,
454
+ 218,
455
+ 255,
456
+ 16,
457
+ 132,
458
+ 4,
459
+ 142,
460
+ 123,
461
+ 216,
462
+ 219,
463
+ 233,
464
+ 248,
465
+ 89
466
+ ]
467
+ }
468
+ }
469
+ },
470
+ {
471
+ "name": "recipient",
472
+ "writable": true
473
+ },
474
+ {
475
+ "name": "recipient_tokens",
476
+ "docs": [
477
+ "CHECK; Associated token account address of `recipient`."
478
+ ],
479
+ "writable": true,
480
+ "pda": {
481
+ "seeds": [
482
+ {
483
+ "kind": "account",
484
+ "path": "recipient"
485
+ },
486
+ {
487
+ "kind": "account",
488
+ "path": "token_program"
489
+ },
490
+ {
491
+ "kind": "account",
492
+ "path": "mint"
493
+ }
494
+ ],
495
+ "program": {
496
+ "kind": "const",
497
+ "value": [
498
+ 140,
499
+ 151,
500
+ 37,
501
+ 143,
502
+ 78,
503
+ 36,
504
+ 137,
505
+ 241,
506
+ 187,
507
+ 61,
508
+ 16,
509
+ 41,
510
+ 20,
511
+ 142,
512
+ 13,
513
+ 131,
514
+ 11,
515
+ 90,
516
+ 19,
517
+ 153,
518
+ 218,
519
+ 255,
520
+ 16,
521
+ 132,
522
+ 4,
523
+ 142,
524
+ 123,
525
+ 216,
526
+ 219,
527
+ 233,
528
+ 248,
529
+ 89
530
+ ]
531
+ }
532
+ }
533
+ },
534
+ {
535
+ "name": "proxy_metadata",
536
+ "docs": [
537
+ "Proxy Contract"
538
+ ],
539
+ "writable": true,
540
+ "pda": {
541
+ "seeds": [
542
+ {
543
+ "kind": "const",
544
+ "value": [
545
+ 99,
546
+ 111,
547
+ 110,
548
+ 116,
549
+ 114,
550
+ 97,
551
+ 99,
552
+ 116
553
+ ]
554
+ },
555
+ {
556
+ "kind": "account",
557
+ "path": "stream_metadata"
558
+ }
559
+ ]
560
+ }
561
+ },
562
+ {
563
+ "name": "proxy_tokens",
564
+ "writable": true,
565
+ "pda": {
566
+ "seeds": [
567
+ {
568
+ "kind": "account",
569
+ "path": "proxy_metadata"
570
+ },
571
+ {
572
+ "kind": "account",
573
+ "path": "token_program"
574
+ },
575
+ {
576
+ "kind": "account",
577
+ "path": "mint"
578
+ }
579
+ ],
580
+ "program": {
581
+ "kind": "const",
582
+ "value": [
583
+ 140,
584
+ 151,
585
+ 37,
586
+ 143,
587
+ 78,
588
+ 36,
589
+ 137,
590
+ 241,
591
+ 187,
592
+ 61,
593
+ 16,
594
+ 41,
595
+ 20,
596
+ 142,
597
+ 13,
598
+ 131,
599
+ 11,
600
+ 90,
601
+ 19,
602
+ 153,
603
+ 218,
604
+ 255,
605
+ 16,
606
+ 132,
607
+ 4,
608
+ 142,
609
+ 123,
610
+ 216,
611
+ 219,
612
+ 233,
613
+ 248,
614
+ 89
615
+ ]
616
+ }
617
+ }
618
+ },
619
+ {
620
+ "name": "stream_metadata",
621
+ "writable": true
622
+ },
623
+ {
624
+ "name": "escrow_tokens",
625
+ "writable": true
626
+ },
627
+ {
628
+ "name": "streamflow_treasury",
629
+ "writable": true
630
+ },
631
+ {
632
+ "name": "streamflow_treasury_tokens",
633
+ "writable": true,
634
+ "pda": {
635
+ "seeds": [
636
+ {
637
+ "kind": "account",
638
+ "path": "streamflow_treasury"
639
+ },
640
+ {
641
+ "kind": "account",
642
+ "path": "token_program"
643
+ },
644
+ {
645
+ "kind": "account",
646
+ "path": "mint"
647
+ }
648
+ ],
649
+ "program": {
650
+ "kind": "const",
651
+ "value": [
652
+ 140,
653
+ 151,
654
+ 37,
655
+ 143,
656
+ 78,
657
+ 36,
658
+ 137,
659
+ 241,
660
+ 187,
661
+ 61,
662
+ 16,
663
+ 41,
664
+ 20,
665
+ 142,
666
+ 13,
667
+ 131,
668
+ 11,
669
+ 90,
670
+ 19,
671
+ 153,
672
+ 218,
673
+ 255,
674
+ 16,
675
+ 132,
676
+ 4,
677
+ 142,
678
+ 123,
679
+ 216,
680
+ 219,
681
+ 233,
682
+ 248,
683
+ 89
684
+ ]
685
+ }
686
+ }
687
+ },
688
+ {
689
+ "name": "partner",
690
+ "writable": true
691
+ },
692
+ {
693
+ "name": "partner_tokens",
694
+ "writable": true,
695
+ "pda": {
696
+ "seeds": [
697
+ {
698
+ "kind": "account",
699
+ "path": "partner"
700
+ },
701
+ {
702
+ "kind": "account",
703
+ "path": "token_program"
704
+ },
705
+ {
706
+ "kind": "account",
707
+ "path": "mint"
708
+ }
709
+ ],
710
+ "program": {
711
+ "kind": "const",
712
+ "value": [
713
+ 140,
714
+ 151,
715
+ 37,
716
+ 143,
717
+ 78,
718
+ 36,
719
+ 137,
720
+ 241,
721
+ 187,
722
+ 61,
723
+ 16,
724
+ 41,
725
+ 20,
726
+ 142,
727
+ 13,
728
+ 131,
729
+ 11,
730
+ 90,
731
+ 19,
732
+ 153,
733
+ 218,
734
+ 255,
735
+ 16,
736
+ 132,
737
+ 4,
738
+ 142,
739
+ 123,
740
+ 216,
741
+ 219,
742
+ 233,
743
+ 248,
744
+ 89
745
+ ]
746
+ }
747
+ }
748
+ },
749
+ {
750
+ "name": "mint",
751
+ "docs": [
752
+ "The SPL token mint account."
753
+ ],
754
+ "writable": true
755
+ },
756
+ {
757
+ "name": "streamflow_program",
758
+ "address": "strmRqUCoQUgGUan5YhzUZa6KqdzwX5L6FpUxfmKg5m"
759
+ },
760
+ {
761
+ "name": "token_program",
762
+ "docs": [
763
+ "The SPL program needed in case an associated account",
764
+ "for the new recipient is being created."
765
+ ]
766
+ }
767
+ ],
768
+ "args": []
769
+ },
388
770
  {
389
771
  "name": "change_oracle",
390
772
  "discriminator": [
@@ -672,7 +1054,8 @@
672
1054
  "name": "mint"
673
1055
  },
674
1056
  {
675
- "name": "fee_oracle"
1057
+ "name": "fee_oracle",
1058
+ "address": "B743wFVk2pCYhV91cn287e1xY7f1vt4gdY48hhNiuQmT"
676
1059
  },
677
1060
  {
678
1061
  "name": "price_oracle"
@@ -1098,6 +1481,21 @@
1098
1481
  "code": 6016,
1099
1482
  "name": "InvalidFloorPrice",
1100
1483
  "msg": "Provided floor price is invalid, should be less than minimum price"
1484
+ },
1485
+ {
1486
+ "code": 6017,
1487
+ "name": "AmountNotUpdated",
1488
+ "msg": "Update won't lead to any changes in unlock schedule"
1489
+ },
1490
+ {
1491
+ "code": 6018,
1492
+ "name": "OldMetadataNotDrained",
1493
+ "msg": "Old metadata account must be drained"
1494
+ },
1495
+ {
1496
+ "code": 6019,
1497
+ "name": "NewMetadataMissing",
1498
+ "msg": "New metadata account does not exist"
1101
1499
  }
1102
1500
  ],
1103
1501
  "types": [