@soltracer/nft-staking 0.2.0 → 0.2.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.
package/dist/idl.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "address": "ANyNMFqW7cL7xUuzHJJ4A4bkqULuSkB8V9oqeRb2LrCA",
2
+ "address": "DGktkAaRmDAgnb2JKFFMK8SwCjExgh3uw17Gd8Ba67ER",
3
3
  "metadata": {
4
4
  "name": "nft_staking",
5
5
  "version": "0.1.0",
@@ -350,11 +350,245 @@
350
350
  "name": "mpl_core_program"
351
351
  },
352
352
  {
353
- "name": "fee_config"
353
+ "name": "fee_config",
354
+ "pda": {
355
+ "seeds": [
356
+ {
357
+ "kind": "const",
358
+ "value": [
359
+ 102,
360
+ 101,
361
+ 101
362
+ ]
363
+ },
364
+ {
365
+ "kind": "const",
366
+ "value": [
367
+ 182,
368
+ 85,
369
+ 149,
370
+ 145,
371
+ 194,
372
+ 4,
373
+ 158,
374
+ 38,
375
+ 168,
376
+ 72,
377
+ 182,
378
+ 51,
379
+ 132,
380
+ 52,
381
+ 97,
382
+ 170,
383
+ 23,
384
+ 153,
385
+ 124,
386
+ 70,
387
+ 210,
388
+ 226,
389
+ 230,
390
+ 79,
391
+ 131,
392
+ 249,
393
+ 0,
394
+ 153,
395
+ 27,
396
+ 88,
397
+ 92,
398
+ 186
399
+ ]
400
+ }
401
+ ],
402
+ "program": {
403
+ "kind": "const",
404
+ "value": [
405
+ 71,
406
+ 60,
407
+ 51,
408
+ 156,
409
+ 122,
410
+ 30,
411
+ 172,
412
+ 150,
413
+ 96,
414
+ 246,
415
+ 176,
416
+ 17,
417
+ 193,
418
+ 207,
419
+ 109,
420
+ 240,
421
+ 48,
422
+ 80,
423
+ 233,
424
+ 105,
425
+ 46,
426
+ 253,
427
+ 208,
428
+ 131,
429
+ 6,
430
+ 239,
431
+ 22,
432
+ 78,
433
+ 30,
434
+ 164,
435
+ 15,
436
+ 162
437
+ ]
438
+ }
439
+ }
440
+ },
441
+ {
442
+ "name": "program_registry",
443
+ "pda": {
444
+ "seeds": [
445
+ {
446
+ "kind": "const",
447
+ "value": [
448
+ 114,
449
+ 101,
450
+ 103,
451
+ 105,
452
+ 115,
453
+ 116,
454
+ 114,
455
+ 121
456
+ ]
457
+ },
458
+ {
459
+ "kind": "const",
460
+ "value": [
461
+ 182,
462
+ 85,
463
+ 149,
464
+ 145,
465
+ 194,
466
+ 4,
467
+ 158,
468
+ 38,
469
+ 168,
470
+ 72,
471
+ 182,
472
+ 51,
473
+ 132,
474
+ 52,
475
+ 97,
476
+ 170,
477
+ 23,
478
+ 153,
479
+ 124,
480
+ 70,
481
+ 210,
482
+ 226,
483
+ 230,
484
+ 79,
485
+ 131,
486
+ 249,
487
+ 0,
488
+ 153,
489
+ 27,
490
+ 88,
491
+ 92,
492
+ 186
493
+ ]
494
+ }
495
+ ],
496
+ "program": {
497
+ "kind": "const",
498
+ "value": [
499
+ 71,
500
+ 60,
501
+ 51,
502
+ 156,
503
+ 122,
504
+ 30,
505
+ 172,
506
+ 150,
507
+ 96,
508
+ 246,
509
+ 176,
510
+ 17,
511
+ 193,
512
+ 207,
513
+ 109,
514
+ 240,
515
+ 48,
516
+ 80,
517
+ 233,
518
+ 105,
519
+ 46,
520
+ 253,
521
+ 208,
522
+ 131,
523
+ 6,
524
+ 239,
525
+ 22,
526
+ 78,
527
+ 30,
528
+ 164,
529
+ 15,
530
+ 162
531
+ ]
532
+ }
533
+ }
354
534
  },
355
535
  {
356
536
  "name": "treasury",
357
- "writable": true
537
+ "writable": true,
538
+ "pda": {
539
+ "seeds": [
540
+ {
541
+ "kind": "const",
542
+ "value": [
543
+ 116,
544
+ 114,
545
+ 101,
546
+ 97,
547
+ 115,
548
+ 117,
549
+ 114,
550
+ 121
551
+ ]
552
+ }
553
+ ],
554
+ "program": {
555
+ "kind": "const",
556
+ "value": [
557
+ 71,
558
+ 60,
559
+ 51,
560
+ 156,
561
+ 122,
562
+ 30,
563
+ 172,
564
+ 150,
565
+ 96,
566
+ 246,
567
+ 176,
568
+ 17,
569
+ 193,
570
+ 207,
571
+ 109,
572
+ 240,
573
+ 48,
574
+ 80,
575
+ 233,
576
+ 105,
577
+ 46,
578
+ 253,
579
+ 208,
580
+ 131,
581
+ 6,
582
+ 239,
583
+ 22,
584
+ 78,
585
+ 30,
586
+ 164,
587
+ 15,
588
+ 162
589
+ ]
590
+ }
591
+ }
358
592
  },
359
593
  {
360
594
  "name": "referral_account",
@@ -366,6 +600,9 @@
366
600
  {
367
601
  "name": "admin_program"
368
602
  },
603
+ {
604
+ "name": "project"
605
+ },
369
606
  {
370
607
  "name": "staker",
371
608
  "writable": true,
@@ -576,11 +813,245 @@
576
813
  "optional": true
577
814
  },
578
815
  {
579
- "name": "fee_config"
816
+ "name": "fee_config",
817
+ "pda": {
818
+ "seeds": [
819
+ {
820
+ "kind": "const",
821
+ "value": [
822
+ 102,
823
+ 101,
824
+ 101
825
+ ]
826
+ },
827
+ {
828
+ "kind": "const",
829
+ "value": [
830
+ 182,
831
+ 85,
832
+ 149,
833
+ 145,
834
+ 194,
835
+ 4,
836
+ 158,
837
+ 38,
838
+ 168,
839
+ 72,
840
+ 182,
841
+ 51,
842
+ 132,
843
+ 52,
844
+ 97,
845
+ 170,
846
+ 23,
847
+ 153,
848
+ 124,
849
+ 70,
850
+ 210,
851
+ 226,
852
+ 230,
853
+ 79,
854
+ 131,
855
+ 249,
856
+ 0,
857
+ 153,
858
+ 27,
859
+ 88,
860
+ 92,
861
+ 186
862
+ ]
863
+ }
864
+ ],
865
+ "program": {
866
+ "kind": "const",
867
+ "value": [
868
+ 71,
869
+ 60,
870
+ 51,
871
+ 156,
872
+ 122,
873
+ 30,
874
+ 172,
875
+ 150,
876
+ 96,
877
+ 246,
878
+ 176,
879
+ 17,
880
+ 193,
881
+ 207,
882
+ 109,
883
+ 240,
884
+ 48,
885
+ 80,
886
+ 233,
887
+ 105,
888
+ 46,
889
+ 253,
890
+ 208,
891
+ 131,
892
+ 6,
893
+ 239,
894
+ 22,
895
+ 78,
896
+ 30,
897
+ 164,
898
+ 15,
899
+ 162
900
+ ]
901
+ }
902
+ }
903
+ },
904
+ {
905
+ "name": "program_registry",
906
+ "pda": {
907
+ "seeds": [
908
+ {
909
+ "kind": "const",
910
+ "value": [
911
+ 114,
912
+ 101,
913
+ 103,
914
+ 105,
915
+ 115,
916
+ 116,
917
+ 114,
918
+ 121
919
+ ]
920
+ },
921
+ {
922
+ "kind": "const",
923
+ "value": [
924
+ 182,
925
+ 85,
926
+ 149,
927
+ 145,
928
+ 194,
929
+ 4,
930
+ 158,
931
+ 38,
932
+ 168,
933
+ 72,
934
+ 182,
935
+ 51,
936
+ 132,
937
+ 52,
938
+ 97,
939
+ 170,
940
+ 23,
941
+ 153,
942
+ 124,
943
+ 70,
944
+ 210,
945
+ 226,
946
+ 230,
947
+ 79,
948
+ 131,
949
+ 249,
950
+ 0,
951
+ 153,
952
+ 27,
953
+ 88,
954
+ 92,
955
+ 186
956
+ ]
957
+ }
958
+ ],
959
+ "program": {
960
+ "kind": "const",
961
+ "value": [
962
+ 71,
963
+ 60,
964
+ 51,
965
+ 156,
966
+ 122,
967
+ 30,
968
+ 172,
969
+ 150,
970
+ 96,
971
+ 246,
972
+ 176,
973
+ 17,
974
+ 193,
975
+ 207,
976
+ 109,
977
+ 240,
978
+ 48,
979
+ 80,
980
+ 233,
981
+ 105,
982
+ 46,
983
+ 253,
984
+ 208,
985
+ 131,
986
+ 6,
987
+ 239,
988
+ 22,
989
+ 78,
990
+ 30,
991
+ 164,
992
+ 15,
993
+ 162
994
+ ]
995
+ }
996
+ }
580
997
  },
581
998
  {
582
999
  "name": "treasury",
583
- "writable": true
1000
+ "writable": true,
1001
+ "pda": {
1002
+ "seeds": [
1003
+ {
1004
+ "kind": "const",
1005
+ "value": [
1006
+ 116,
1007
+ 114,
1008
+ 101,
1009
+ 97,
1010
+ 115,
1011
+ 117,
1012
+ 114,
1013
+ 121
1014
+ ]
1015
+ }
1016
+ ],
1017
+ "program": {
1018
+ "kind": "const",
1019
+ "value": [
1020
+ 71,
1021
+ 60,
1022
+ 51,
1023
+ 156,
1024
+ 122,
1025
+ 30,
1026
+ 172,
1027
+ 150,
1028
+ 96,
1029
+ 246,
1030
+ 176,
1031
+ 17,
1032
+ 193,
1033
+ 207,
1034
+ 109,
1035
+ 240,
1036
+ 48,
1037
+ 80,
1038
+ 233,
1039
+ 105,
1040
+ 46,
1041
+ 253,
1042
+ 208,
1043
+ 131,
1044
+ 6,
1045
+ 239,
1046
+ 22,
1047
+ 78,
1048
+ 30,
1049
+ 164,
1050
+ 15,
1051
+ 162
1052
+ ]
1053
+ }
1054
+ }
584
1055
  },
585
1056
  {
586
1057
  "name": "referral_account",
@@ -592,6 +1063,9 @@
592
1063
  {
593
1064
  "name": "admin_program"
594
1065
  },
1066
+ {
1067
+ "name": "project"
1068
+ },
595
1069
  {
596
1070
  "name": "staker",
597
1071
  "writable": true,
@@ -845,7 +1319,7 @@
845
1319
  {
846
1320
  "name": "stake_config",
847
1321
  "docs": [
848
- "Global stake config holds the platform's default trait authority."
1322
+ "Global stake config \u2014 holds the platform's default trait authority."
849
1323
  ],
850
1324
  "pda": {
851
1325
  "seeds": [
@@ -879,15 +1353,249 @@
879
1353
  "address": "Sysvar1nstructions1111111111111111111111111"
880
1354
  },
881
1355
  {
882
- "name": "fee_config"
883
- },
884
- {
885
- "name": "treasury",
886
- "writable": true
887
- },
888
- {
889
- "name": "referral_account",
890
- "writable": true
1356
+ "name": "fee_config",
1357
+ "pda": {
1358
+ "seeds": [
1359
+ {
1360
+ "kind": "const",
1361
+ "value": [
1362
+ 102,
1363
+ 101,
1364
+ 101
1365
+ ]
1366
+ },
1367
+ {
1368
+ "kind": "const",
1369
+ "value": [
1370
+ 182,
1371
+ 85,
1372
+ 149,
1373
+ 145,
1374
+ 194,
1375
+ 4,
1376
+ 158,
1377
+ 38,
1378
+ 168,
1379
+ 72,
1380
+ 182,
1381
+ 51,
1382
+ 132,
1383
+ 52,
1384
+ 97,
1385
+ 170,
1386
+ 23,
1387
+ 153,
1388
+ 124,
1389
+ 70,
1390
+ 210,
1391
+ 226,
1392
+ 230,
1393
+ 79,
1394
+ 131,
1395
+ 249,
1396
+ 0,
1397
+ 153,
1398
+ 27,
1399
+ 88,
1400
+ 92,
1401
+ 186
1402
+ ]
1403
+ }
1404
+ ],
1405
+ "program": {
1406
+ "kind": "const",
1407
+ "value": [
1408
+ 71,
1409
+ 60,
1410
+ 51,
1411
+ 156,
1412
+ 122,
1413
+ 30,
1414
+ 172,
1415
+ 150,
1416
+ 96,
1417
+ 246,
1418
+ 176,
1419
+ 17,
1420
+ 193,
1421
+ 207,
1422
+ 109,
1423
+ 240,
1424
+ 48,
1425
+ 80,
1426
+ 233,
1427
+ 105,
1428
+ 46,
1429
+ 253,
1430
+ 208,
1431
+ 131,
1432
+ 6,
1433
+ 239,
1434
+ 22,
1435
+ 78,
1436
+ 30,
1437
+ 164,
1438
+ 15,
1439
+ 162
1440
+ ]
1441
+ }
1442
+ }
1443
+ },
1444
+ {
1445
+ "name": "program_registry",
1446
+ "pda": {
1447
+ "seeds": [
1448
+ {
1449
+ "kind": "const",
1450
+ "value": [
1451
+ 114,
1452
+ 101,
1453
+ 103,
1454
+ 105,
1455
+ 115,
1456
+ 116,
1457
+ 114,
1458
+ 121
1459
+ ]
1460
+ },
1461
+ {
1462
+ "kind": "const",
1463
+ "value": [
1464
+ 182,
1465
+ 85,
1466
+ 149,
1467
+ 145,
1468
+ 194,
1469
+ 4,
1470
+ 158,
1471
+ 38,
1472
+ 168,
1473
+ 72,
1474
+ 182,
1475
+ 51,
1476
+ 132,
1477
+ 52,
1478
+ 97,
1479
+ 170,
1480
+ 23,
1481
+ 153,
1482
+ 124,
1483
+ 70,
1484
+ 210,
1485
+ 226,
1486
+ 230,
1487
+ 79,
1488
+ 131,
1489
+ 249,
1490
+ 0,
1491
+ 153,
1492
+ 27,
1493
+ 88,
1494
+ 92,
1495
+ 186
1496
+ ]
1497
+ }
1498
+ ],
1499
+ "program": {
1500
+ "kind": "const",
1501
+ "value": [
1502
+ 71,
1503
+ 60,
1504
+ 51,
1505
+ 156,
1506
+ 122,
1507
+ 30,
1508
+ 172,
1509
+ 150,
1510
+ 96,
1511
+ 246,
1512
+ 176,
1513
+ 17,
1514
+ 193,
1515
+ 207,
1516
+ 109,
1517
+ 240,
1518
+ 48,
1519
+ 80,
1520
+ 233,
1521
+ 105,
1522
+ 46,
1523
+ 253,
1524
+ 208,
1525
+ 131,
1526
+ 6,
1527
+ 239,
1528
+ 22,
1529
+ 78,
1530
+ 30,
1531
+ 164,
1532
+ 15,
1533
+ 162
1534
+ ]
1535
+ }
1536
+ }
1537
+ },
1538
+ {
1539
+ "name": "treasury",
1540
+ "writable": true,
1541
+ "pda": {
1542
+ "seeds": [
1543
+ {
1544
+ "kind": "const",
1545
+ "value": [
1546
+ 116,
1547
+ 114,
1548
+ 101,
1549
+ 97,
1550
+ 115,
1551
+ 117,
1552
+ 114,
1553
+ 121
1554
+ ]
1555
+ }
1556
+ ],
1557
+ "program": {
1558
+ "kind": "const",
1559
+ "value": [
1560
+ 71,
1561
+ 60,
1562
+ 51,
1563
+ 156,
1564
+ 122,
1565
+ 30,
1566
+ 172,
1567
+ 150,
1568
+ 96,
1569
+ 246,
1570
+ 176,
1571
+ 17,
1572
+ 193,
1573
+ 207,
1574
+ 109,
1575
+ 240,
1576
+ 48,
1577
+ 80,
1578
+ 233,
1579
+ 105,
1580
+ 46,
1581
+ 253,
1582
+ 208,
1583
+ 131,
1584
+ 6,
1585
+ 239,
1586
+ 22,
1587
+ 78,
1588
+ 30,
1589
+ 164,
1590
+ 15,
1591
+ 162
1592
+ ]
1593
+ }
1594
+ }
1595
+ },
1596
+ {
1597
+ "name": "referral_account",
1598
+ "writable": true
891
1599
  },
892
1600
  {
893
1601
  "name": "sol_usd_price_feed"
@@ -895,6 +1603,9 @@
895
1603
  {
896
1604
  "name": "admin_program"
897
1605
  },
1606
+ {
1607
+ "name": "project"
1608
+ },
898
1609
  {
899
1610
  "name": "staker",
900
1611
  "writable": true,
@@ -1096,11 +1807,245 @@
1096
1807
  }
1097
1808
  },
1098
1809
  {
1099
- "name": "fee_config"
1810
+ "name": "fee_config",
1811
+ "pda": {
1812
+ "seeds": [
1813
+ {
1814
+ "kind": "const",
1815
+ "value": [
1816
+ 102,
1817
+ 101,
1818
+ 101
1819
+ ]
1820
+ },
1821
+ {
1822
+ "kind": "const",
1823
+ "value": [
1824
+ 182,
1825
+ 85,
1826
+ 149,
1827
+ 145,
1828
+ 194,
1829
+ 4,
1830
+ 158,
1831
+ 38,
1832
+ 168,
1833
+ 72,
1834
+ 182,
1835
+ 51,
1836
+ 132,
1837
+ 52,
1838
+ 97,
1839
+ 170,
1840
+ 23,
1841
+ 153,
1842
+ 124,
1843
+ 70,
1844
+ 210,
1845
+ 226,
1846
+ 230,
1847
+ 79,
1848
+ 131,
1849
+ 249,
1850
+ 0,
1851
+ 153,
1852
+ 27,
1853
+ 88,
1854
+ 92,
1855
+ 186
1856
+ ]
1857
+ }
1858
+ ],
1859
+ "program": {
1860
+ "kind": "const",
1861
+ "value": [
1862
+ 71,
1863
+ 60,
1864
+ 51,
1865
+ 156,
1866
+ 122,
1867
+ 30,
1868
+ 172,
1869
+ 150,
1870
+ 96,
1871
+ 246,
1872
+ 176,
1873
+ 17,
1874
+ 193,
1875
+ 207,
1876
+ 109,
1877
+ 240,
1878
+ 48,
1879
+ 80,
1880
+ 233,
1881
+ 105,
1882
+ 46,
1883
+ 253,
1884
+ 208,
1885
+ 131,
1886
+ 6,
1887
+ 239,
1888
+ 22,
1889
+ 78,
1890
+ 30,
1891
+ 164,
1892
+ 15,
1893
+ 162
1894
+ ]
1895
+ }
1896
+ }
1897
+ },
1898
+ {
1899
+ "name": "program_registry",
1900
+ "pda": {
1901
+ "seeds": [
1902
+ {
1903
+ "kind": "const",
1904
+ "value": [
1905
+ 114,
1906
+ 101,
1907
+ 103,
1908
+ 105,
1909
+ 115,
1910
+ 116,
1911
+ 114,
1912
+ 121
1913
+ ]
1914
+ },
1915
+ {
1916
+ "kind": "const",
1917
+ "value": [
1918
+ 182,
1919
+ 85,
1920
+ 149,
1921
+ 145,
1922
+ 194,
1923
+ 4,
1924
+ 158,
1925
+ 38,
1926
+ 168,
1927
+ 72,
1928
+ 182,
1929
+ 51,
1930
+ 132,
1931
+ 52,
1932
+ 97,
1933
+ 170,
1934
+ 23,
1935
+ 153,
1936
+ 124,
1937
+ 70,
1938
+ 210,
1939
+ 226,
1940
+ 230,
1941
+ 79,
1942
+ 131,
1943
+ 249,
1944
+ 0,
1945
+ 153,
1946
+ 27,
1947
+ 88,
1948
+ 92,
1949
+ 186
1950
+ ]
1951
+ }
1952
+ ],
1953
+ "program": {
1954
+ "kind": "const",
1955
+ "value": [
1956
+ 71,
1957
+ 60,
1958
+ 51,
1959
+ 156,
1960
+ 122,
1961
+ 30,
1962
+ 172,
1963
+ 150,
1964
+ 96,
1965
+ 246,
1966
+ 176,
1967
+ 17,
1968
+ 193,
1969
+ 207,
1970
+ 109,
1971
+ 240,
1972
+ 48,
1973
+ 80,
1974
+ 233,
1975
+ 105,
1976
+ 46,
1977
+ 253,
1978
+ 208,
1979
+ 131,
1980
+ 6,
1981
+ 239,
1982
+ 22,
1983
+ 78,
1984
+ 30,
1985
+ 164,
1986
+ 15,
1987
+ 162
1988
+ ]
1989
+ }
1990
+ }
1100
1991
  },
1101
1992
  {
1102
1993
  "name": "treasury",
1103
- "writable": true
1994
+ "writable": true,
1995
+ "pda": {
1996
+ "seeds": [
1997
+ {
1998
+ "kind": "const",
1999
+ "value": [
2000
+ 116,
2001
+ 114,
2002
+ 101,
2003
+ 97,
2004
+ 115,
2005
+ 117,
2006
+ 114,
2007
+ 121
2008
+ ]
2009
+ }
2010
+ ],
2011
+ "program": {
2012
+ "kind": "const",
2013
+ "value": [
2014
+ 71,
2015
+ 60,
2016
+ 51,
2017
+ 156,
2018
+ 122,
2019
+ 30,
2020
+ 172,
2021
+ 150,
2022
+ 96,
2023
+ 246,
2024
+ 176,
2025
+ 17,
2026
+ 193,
2027
+ 207,
2028
+ 109,
2029
+ 240,
2030
+ 48,
2031
+ 80,
2032
+ 233,
2033
+ 105,
2034
+ 46,
2035
+ 253,
2036
+ 208,
2037
+ 131,
2038
+ 6,
2039
+ 239,
2040
+ 22,
2041
+ 78,
2042
+ 30,
2043
+ 164,
2044
+ 15,
2045
+ 162
2046
+ ]
2047
+ }
2048
+ }
1104
2049
  },
1105
2050
  {
1106
2051
  "name": "referral_account",
@@ -1112,6 +2057,9 @@
1112
2057
  {
1113
2058
  "name": "admin_program"
1114
2059
  },
2060
+ {
2061
+ "name": "project"
2062
+ },
1115
2063
  {
1116
2064
  "name": "staker",
1117
2065
  "writable": true,
@@ -1281,6 +2229,18 @@
1281
2229
  ]
1282
2230
  }
1283
2231
  },
2232
+ {
2233
+ "name": "reward_vault",
2234
+ "docs": [
2235
+ "Reward vault \u2014 required for token-reward pools. Must be drained before closure.",
2236
+ "Pass the pool_authority ATA for the reward mint. Omit for SOL-reward pools."
2237
+ ],
2238
+ "optional": true
2239
+ },
2240
+ {
2241
+ "name": "token_program",
2242
+ "optional": true
2243
+ },
1284
2244
  {
1285
2245
  "name": "authority",
1286
2246
  "writable": true,
@@ -1454,14 +2414,14 @@
1454
2414
  {
1455
2415
  "name": "reward_mint",
1456
2416
  "docs": [
1457
- "Reward mint the token paid out as rewards (can be any SPL token).",
2417
+ "Reward mint \u2014 the token paid out as rewards (can be any SPL token).",
1458
2418
  "Ignored if reward_type == Points."
1459
2419
  ]
1460
2420
  },
1461
2421
  {
1462
2422
  "name": "reward_vault",
1463
2423
  "docs": [
1464
- "Reward vault ATA owned by pool_authority created for token rewards."
2424
+ "Reward vault ATA owned by pool_authority \u2014 created for token rewards."
1465
2425
  ],
1466
2426
  "writable": true,
1467
2427
  "pda": {
@@ -1544,76 +2504,76 @@
1544
2504
  {
1545
2505
  "kind": "const",
1546
2506
  "value": [
1547
- 139,
1548
- 90,
1549
- 29,
1550
- 108,
1551
- 24,
1552
- 92,
1553
- 176,
1554
- 14,
1555
- 79,
1556
- 217,
1557
- 11,
1558
- 142,
1559
- 136,
1560
- 253,
2507
+ 182,
2508
+ 85,
2509
+ 149,
2510
+ 145,
2511
+ 194,
2512
+ 4,
2513
+ 158,
2514
+ 38,
2515
+ 168,
2516
+ 72,
2517
+ 182,
1561
2518
  51,
1562
- 35,
1563
- 202,
1564
- 208,
1565
- 102,
1566
- 90,
1567
- 157,
1568
- 241,
1569
- 222,
1570
- 196,
1571
- 223,
1572
- 118,
1573
- 63,
1574
- 252,
1575
- 94,
1576
- 105,
2519
+ 132,
2520
+ 52,
2521
+ 97,
1577
2522
  170,
1578
- 51
2523
+ 23,
2524
+ 153,
2525
+ 124,
2526
+ 70,
2527
+ 210,
2528
+ 226,
2529
+ 230,
2530
+ 79,
2531
+ 131,
2532
+ 249,
2533
+ 0,
2534
+ 153,
2535
+ 27,
2536
+ 88,
2537
+ 92,
2538
+ 186
1579
2539
  ]
1580
2540
  }
1581
2541
  ],
1582
2542
  "program": {
1583
2543
  "kind": "const",
1584
2544
  "value": [
1585
- 253,
1586
- 148,
1587
- 29,
1588
- 37,
1589
- 76,
1590
- 184,
1591
- 92,
1592
- 166,
1593
- 20,
1594
- 41,
1595
- 146,
1596
- 100,
1597
- 153,
1598
- 34,
1599
- 70,
1600
- 164,
1601
- 16,
1602
- 210,
2545
+ 121,
2546
+ 79,
2547
+ 236,
2548
+ 61,
2549
+ 182,
2550
+ 18,
2551
+ 189,
2552
+ 248,
2553
+ 249,
2554
+ 169,
2555
+ 55,
2556
+ 18,
2557
+ 89,
2558
+ 83,
2559
+ 5,
2560
+ 231,
2561
+ 222,
2562
+ 189,
2563
+ 185,
2564
+ 107,
2565
+ 205,
2566
+ 114,
2567
+ 8,
2568
+ 14,
2569
+ 150,
2570
+ 1,
2571
+ 213,
2572
+ 147,
2573
+ 115,
2574
+ 98,
1603
2575
  138,
1604
- 116,
1605
- 45,
1606
- 108,
1607
- 39,
1608
- 32,
1609
- 199,
1610
- 149,
1611
- 212,
1612
- 234,
1613
- 176,
1614
- 132,
1615
- 122,
1616
- 32
2576
+ 118
1617
2577
  ]
1618
2578
  }
1619
2579
  }
@@ -2407,15 +3367,249 @@
2407
3367
  }
2408
3368
  },
2409
3369
  {
2410
- "name": "fee_config"
2411
- },
2412
- {
2413
- "name": "treasury",
2414
- "writable": true
3370
+ "name": "fee_config",
3371
+ "pda": {
3372
+ "seeds": [
3373
+ {
3374
+ "kind": "const",
3375
+ "value": [
3376
+ 102,
3377
+ 101,
3378
+ 101
3379
+ ]
3380
+ },
3381
+ {
3382
+ "kind": "const",
3383
+ "value": [
3384
+ 182,
3385
+ 85,
3386
+ 149,
3387
+ 145,
3388
+ 194,
3389
+ 4,
3390
+ 158,
3391
+ 38,
3392
+ 168,
3393
+ 72,
3394
+ 182,
3395
+ 51,
3396
+ 132,
3397
+ 52,
3398
+ 97,
3399
+ 170,
3400
+ 23,
3401
+ 153,
3402
+ 124,
3403
+ 70,
3404
+ 210,
3405
+ 226,
3406
+ 230,
3407
+ 79,
3408
+ 131,
3409
+ 249,
3410
+ 0,
3411
+ 153,
3412
+ 27,
3413
+ 88,
3414
+ 92,
3415
+ 186
3416
+ ]
3417
+ }
3418
+ ],
3419
+ "program": {
3420
+ "kind": "const",
3421
+ "value": [
3422
+ 71,
3423
+ 60,
3424
+ 51,
3425
+ 156,
3426
+ 122,
3427
+ 30,
3428
+ 172,
3429
+ 150,
3430
+ 96,
3431
+ 246,
3432
+ 176,
3433
+ 17,
3434
+ 193,
3435
+ 207,
3436
+ 109,
3437
+ 240,
3438
+ 48,
3439
+ 80,
3440
+ 233,
3441
+ 105,
3442
+ 46,
3443
+ 253,
3444
+ 208,
3445
+ 131,
3446
+ 6,
3447
+ 239,
3448
+ 22,
3449
+ 78,
3450
+ 30,
3451
+ 164,
3452
+ 15,
3453
+ 162
3454
+ ]
3455
+ }
3456
+ }
2415
3457
  },
2416
3458
  {
2417
- "name": "referral_account",
2418
- "writable": true
3459
+ "name": "program_registry",
3460
+ "pda": {
3461
+ "seeds": [
3462
+ {
3463
+ "kind": "const",
3464
+ "value": [
3465
+ 114,
3466
+ 101,
3467
+ 103,
3468
+ 105,
3469
+ 115,
3470
+ 116,
3471
+ 114,
3472
+ 121
3473
+ ]
3474
+ },
3475
+ {
3476
+ "kind": "const",
3477
+ "value": [
3478
+ 182,
3479
+ 85,
3480
+ 149,
3481
+ 145,
3482
+ 194,
3483
+ 4,
3484
+ 158,
3485
+ 38,
3486
+ 168,
3487
+ 72,
3488
+ 182,
3489
+ 51,
3490
+ 132,
3491
+ 52,
3492
+ 97,
3493
+ 170,
3494
+ 23,
3495
+ 153,
3496
+ 124,
3497
+ 70,
3498
+ 210,
3499
+ 226,
3500
+ 230,
3501
+ 79,
3502
+ 131,
3503
+ 249,
3504
+ 0,
3505
+ 153,
3506
+ 27,
3507
+ 88,
3508
+ 92,
3509
+ 186
3510
+ ]
3511
+ }
3512
+ ],
3513
+ "program": {
3514
+ "kind": "const",
3515
+ "value": [
3516
+ 71,
3517
+ 60,
3518
+ 51,
3519
+ 156,
3520
+ 122,
3521
+ 30,
3522
+ 172,
3523
+ 150,
3524
+ 96,
3525
+ 246,
3526
+ 176,
3527
+ 17,
3528
+ 193,
3529
+ 207,
3530
+ 109,
3531
+ 240,
3532
+ 48,
3533
+ 80,
3534
+ 233,
3535
+ 105,
3536
+ 46,
3537
+ 253,
3538
+ 208,
3539
+ 131,
3540
+ 6,
3541
+ 239,
3542
+ 22,
3543
+ 78,
3544
+ 30,
3545
+ 164,
3546
+ 15,
3547
+ 162
3548
+ ]
3549
+ }
3550
+ }
3551
+ },
3552
+ {
3553
+ "name": "treasury",
3554
+ "writable": true,
3555
+ "pda": {
3556
+ "seeds": [
3557
+ {
3558
+ "kind": "const",
3559
+ "value": [
3560
+ 116,
3561
+ 114,
3562
+ 101,
3563
+ 97,
3564
+ 115,
3565
+ 117,
3566
+ 114,
3567
+ 121
3568
+ ]
3569
+ }
3570
+ ],
3571
+ "program": {
3572
+ "kind": "const",
3573
+ "value": [
3574
+ 71,
3575
+ 60,
3576
+ 51,
3577
+ 156,
3578
+ 122,
3579
+ 30,
3580
+ 172,
3581
+ 150,
3582
+ 96,
3583
+ 246,
3584
+ 176,
3585
+ 17,
3586
+ 193,
3587
+ 207,
3588
+ 109,
3589
+ 240,
3590
+ 48,
3591
+ 80,
3592
+ 233,
3593
+ 105,
3594
+ 46,
3595
+ 253,
3596
+ 208,
3597
+ 131,
3598
+ 6,
3599
+ 239,
3600
+ 22,
3601
+ 78,
3602
+ 30,
3603
+ 164,
3604
+ 15,
3605
+ 162
3606
+ ]
3607
+ }
3608
+ }
3609
+ },
3610
+ {
3611
+ "name": "referral_account",
3612
+ "writable": true
2419
3613
  },
2420
3614
  {
2421
3615
  "name": "sol_usd_price_feed"
@@ -2423,6 +3617,9 @@
2423
3617
  {
2424
3618
  "name": "admin_program"
2425
3619
  },
3620
+ {
3621
+ "name": "project"
3622
+ },
2426
3623
  {
2427
3624
  "name": "staker",
2428
3625
  "writable": true,
@@ -2594,11 +3791,245 @@
2594
3791
  "name": "bubblegum_program"
2595
3792
  },
2596
3793
  {
2597
- "name": "fee_config"
3794
+ "name": "fee_config",
3795
+ "pda": {
3796
+ "seeds": [
3797
+ {
3798
+ "kind": "const",
3799
+ "value": [
3800
+ 102,
3801
+ 101,
3802
+ 101
3803
+ ]
3804
+ },
3805
+ {
3806
+ "kind": "const",
3807
+ "value": [
3808
+ 182,
3809
+ 85,
3810
+ 149,
3811
+ 145,
3812
+ 194,
3813
+ 4,
3814
+ 158,
3815
+ 38,
3816
+ 168,
3817
+ 72,
3818
+ 182,
3819
+ 51,
3820
+ 132,
3821
+ 52,
3822
+ 97,
3823
+ 170,
3824
+ 23,
3825
+ 153,
3826
+ 124,
3827
+ 70,
3828
+ 210,
3829
+ 226,
3830
+ 230,
3831
+ 79,
3832
+ 131,
3833
+ 249,
3834
+ 0,
3835
+ 153,
3836
+ 27,
3837
+ 88,
3838
+ 92,
3839
+ 186
3840
+ ]
3841
+ }
3842
+ ],
3843
+ "program": {
3844
+ "kind": "const",
3845
+ "value": [
3846
+ 71,
3847
+ 60,
3848
+ 51,
3849
+ 156,
3850
+ 122,
3851
+ 30,
3852
+ 172,
3853
+ 150,
3854
+ 96,
3855
+ 246,
3856
+ 176,
3857
+ 17,
3858
+ 193,
3859
+ 207,
3860
+ 109,
3861
+ 240,
3862
+ 48,
3863
+ 80,
3864
+ 233,
3865
+ 105,
3866
+ 46,
3867
+ 253,
3868
+ 208,
3869
+ 131,
3870
+ 6,
3871
+ 239,
3872
+ 22,
3873
+ 78,
3874
+ 30,
3875
+ 164,
3876
+ 15,
3877
+ 162
3878
+ ]
3879
+ }
3880
+ }
3881
+ },
3882
+ {
3883
+ "name": "program_registry",
3884
+ "pda": {
3885
+ "seeds": [
3886
+ {
3887
+ "kind": "const",
3888
+ "value": [
3889
+ 114,
3890
+ 101,
3891
+ 103,
3892
+ 105,
3893
+ 115,
3894
+ 116,
3895
+ 114,
3896
+ 121
3897
+ ]
3898
+ },
3899
+ {
3900
+ "kind": "const",
3901
+ "value": [
3902
+ 182,
3903
+ 85,
3904
+ 149,
3905
+ 145,
3906
+ 194,
3907
+ 4,
3908
+ 158,
3909
+ 38,
3910
+ 168,
3911
+ 72,
3912
+ 182,
3913
+ 51,
3914
+ 132,
3915
+ 52,
3916
+ 97,
3917
+ 170,
3918
+ 23,
3919
+ 153,
3920
+ 124,
3921
+ 70,
3922
+ 210,
3923
+ 226,
3924
+ 230,
3925
+ 79,
3926
+ 131,
3927
+ 249,
3928
+ 0,
3929
+ 153,
3930
+ 27,
3931
+ 88,
3932
+ 92,
3933
+ 186
3934
+ ]
3935
+ }
3936
+ ],
3937
+ "program": {
3938
+ "kind": "const",
3939
+ "value": [
3940
+ 71,
3941
+ 60,
3942
+ 51,
3943
+ 156,
3944
+ 122,
3945
+ 30,
3946
+ 172,
3947
+ 150,
3948
+ 96,
3949
+ 246,
3950
+ 176,
3951
+ 17,
3952
+ 193,
3953
+ 207,
3954
+ 109,
3955
+ 240,
3956
+ 48,
3957
+ 80,
3958
+ 233,
3959
+ 105,
3960
+ 46,
3961
+ 253,
3962
+ 208,
3963
+ 131,
3964
+ 6,
3965
+ 239,
3966
+ 22,
3967
+ 78,
3968
+ 30,
3969
+ 164,
3970
+ 15,
3971
+ 162
3972
+ ]
3973
+ }
3974
+ }
2598
3975
  },
2599
3976
  {
2600
3977
  "name": "treasury",
2601
- "writable": true
3978
+ "writable": true,
3979
+ "pda": {
3980
+ "seeds": [
3981
+ {
3982
+ "kind": "const",
3983
+ "value": [
3984
+ 116,
3985
+ 114,
3986
+ 101,
3987
+ 97,
3988
+ 115,
3989
+ 117,
3990
+ 114,
3991
+ 121
3992
+ ]
3993
+ }
3994
+ ],
3995
+ "program": {
3996
+ "kind": "const",
3997
+ "value": [
3998
+ 71,
3999
+ 60,
4000
+ 51,
4001
+ 156,
4002
+ 122,
4003
+ 30,
4004
+ 172,
4005
+ 150,
4006
+ 96,
4007
+ 246,
4008
+ 176,
4009
+ 17,
4010
+ 193,
4011
+ 207,
4012
+ 109,
4013
+ 240,
4014
+ 48,
4015
+ 80,
4016
+ 233,
4017
+ 105,
4018
+ 46,
4019
+ 253,
4020
+ 208,
4021
+ 131,
4022
+ 6,
4023
+ 239,
4024
+ 22,
4025
+ 78,
4026
+ 30,
4027
+ 164,
4028
+ 15,
4029
+ 162
4030
+ ]
4031
+ }
4032
+ }
2602
4033
  },
2603
4034
  {
2604
4035
  "name": "referral_account",
@@ -2610,6 +4041,9 @@
2610
4041
  {
2611
4042
  "name": "admin_program"
2612
4043
  },
4044
+ {
4045
+ "name": "project"
4046
+ },
2613
4047
  {
2614
4048
  "name": "utility_config",
2615
4049
  "pda": {
@@ -2634,76 +4068,76 @@
2634
4068
  {
2635
4069
  "kind": "const",
2636
4070
  "value": [
2637
- 139,
2638
- 90,
2639
- 29,
2640
- 108,
2641
- 24,
2642
- 92,
2643
- 176,
2644
- 14,
2645
- 79,
2646
- 217,
2647
- 11,
2648
- 142,
2649
- 136,
2650
- 253,
4071
+ 182,
4072
+ 85,
4073
+ 149,
4074
+ 145,
4075
+ 194,
4076
+ 4,
4077
+ 158,
4078
+ 38,
4079
+ 168,
4080
+ 72,
4081
+ 182,
2651
4082
  51,
2652
- 35,
2653
- 202,
2654
- 208,
2655
- 102,
2656
- 90,
2657
- 157,
2658
- 241,
2659
- 222,
2660
- 196,
2661
- 223,
2662
- 118,
2663
- 63,
2664
- 252,
2665
- 94,
2666
- 105,
4083
+ 132,
4084
+ 52,
4085
+ 97,
2667
4086
  170,
2668
- 51
4087
+ 23,
4088
+ 153,
4089
+ 124,
4090
+ 70,
4091
+ 210,
4092
+ 226,
4093
+ 230,
4094
+ 79,
4095
+ 131,
4096
+ 249,
4097
+ 0,
4098
+ 153,
4099
+ 27,
4100
+ 88,
4101
+ 92,
4102
+ 186
2669
4103
  ]
2670
4104
  }
2671
4105
  ],
2672
4106
  "program": {
2673
4107
  "kind": "const",
2674
4108
  "value": [
2675
- 253,
2676
- 148,
2677
- 29,
2678
- 37,
2679
- 76,
2680
- 184,
2681
- 92,
2682
- 166,
2683
- 20,
2684
- 41,
2685
- 146,
2686
- 100,
2687
- 153,
2688
- 34,
2689
- 70,
2690
- 164,
2691
- 16,
2692
- 210,
4109
+ 121,
4110
+ 79,
4111
+ 236,
4112
+ 61,
4113
+ 182,
4114
+ 18,
4115
+ 189,
4116
+ 248,
4117
+ 249,
4118
+ 169,
4119
+ 55,
4120
+ 18,
4121
+ 89,
4122
+ 83,
4123
+ 5,
4124
+ 231,
4125
+ 222,
4126
+ 189,
4127
+ 185,
4128
+ 107,
4129
+ 205,
4130
+ 114,
4131
+ 8,
4132
+ 14,
4133
+ 150,
4134
+ 1,
4135
+ 213,
4136
+ 147,
4137
+ 115,
4138
+ 98,
2693
4139
  138,
2694
- 116,
2695
- 45,
2696
- 108,
2697
- 39,
2698
- 32,
2699
- 199,
2700
- 149,
2701
- 212,
2702
- 234,
2703
- 176,
2704
- 132,
2705
- 122,
2706
- 32
4140
+ 118
2707
4141
  ]
2708
4142
  }
2709
4143
  }
@@ -2885,47 +4319,281 @@
2885
4319
  {
2886
4320
  "kind": "const",
2887
4321
  "value": [
2888
- 112,
2889
- 111,
2890
- 111,
2891
- 108,
2892
- 95,
4322
+ 112,
4323
+ 111,
4324
+ 111,
4325
+ 108,
4326
+ 95,
4327
+ 97,
4328
+ 117,
4329
+ 116,
4330
+ 104,
4331
+ 111,
4332
+ 114,
4333
+ 105,
4334
+ 116,
4335
+ 121
4336
+ ]
4337
+ },
4338
+ {
4339
+ "kind": "arg",
4340
+ "path": "pool_id"
4341
+ }
4342
+ ]
4343
+ }
4344
+ },
4345
+ {
4346
+ "name": "nft_asset",
4347
+ "writable": true
4348
+ },
4349
+ {
4350
+ "name": "collection",
4351
+ "writable": true
4352
+ },
4353
+ {
4354
+ "name": "mpl_core_program"
4355
+ },
4356
+ {
4357
+ "name": "fee_config",
4358
+ "pda": {
4359
+ "seeds": [
4360
+ {
4361
+ "kind": "const",
4362
+ "value": [
4363
+ 102,
4364
+ 101,
4365
+ 101
4366
+ ]
4367
+ },
4368
+ {
4369
+ "kind": "const",
4370
+ "value": [
4371
+ 182,
4372
+ 85,
4373
+ 149,
4374
+ 145,
4375
+ 194,
4376
+ 4,
4377
+ 158,
4378
+ 38,
4379
+ 168,
4380
+ 72,
4381
+ 182,
4382
+ 51,
4383
+ 132,
4384
+ 52,
4385
+ 97,
4386
+ 170,
4387
+ 23,
4388
+ 153,
4389
+ 124,
4390
+ 70,
4391
+ 210,
4392
+ 226,
4393
+ 230,
4394
+ 79,
4395
+ 131,
4396
+ 249,
4397
+ 0,
4398
+ 153,
4399
+ 27,
4400
+ 88,
4401
+ 92,
4402
+ 186
4403
+ ]
4404
+ }
4405
+ ],
4406
+ "program": {
4407
+ "kind": "const",
4408
+ "value": [
4409
+ 71,
4410
+ 60,
4411
+ 51,
4412
+ 156,
4413
+ 122,
4414
+ 30,
4415
+ 172,
4416
+ 150,
4417
+ 96,
4418
+ 246,
4419
+ 176,
4420
+ 17,
4421
+ 193,
4422
+ 207,
4423
+ 109,
4424
+ 240,
4425
+ 48,
4426
+ 80,
4427
+ 233,
4428
+ 105,
4429
+ 46,
4430
+ 253,
4431
+ 208,
4432
+ 131,
4433
+ 6,
4434
+ 239,
4435
+ 22,
4436
+ 78,
4437
+ 30,
4438
+ 164,
4439
+ 15,
4440
+ 162
4441
+ ]
4442
+ }
4443
+ }
4444
+ },
4445
+ {
4446
+ "name": "program_registry",
4447
+ "pda": {
4448
+ "seeds": [
4449
+ {
4450
+ "kind": "const",
4451
+ "value": [
4452
+ 114,
4453
+ 101,
4454
+ 103,
4455
+ 105,
4456
+ 115,
4457
+ 116,
4458
+ 114,
4459
+ 121
4460
+ ]
4461
+ },
4462
+ {
4463
+ "kind": "const",
4464
+ "value": [
4465
+ 182,
4466
+ 85,
4467
+ 149,
4468
+ 145,
4469
+ 194,
4470
+ 4,
4471
+ 158,
4472
+ 38,
4473
+ 168,
4474
+ 72,
4475
+ 182,
4476
+ 51,
4477
+ 132,
4478
+ 52,
4479
+ 97,
4480
+ 170,
4481
+ 23,
4482
+ 153,
4483
+ 124,
4484
+ 70,
4485
+ 210,
4486
+ 226,
4487
+ 230,
4488
+ 79,
4489
+ 131,
4490
+ 249,
4491
+ 0,
4492
+ 153,
4493
+ 27,
4494
+ 88,
4495
+ 92,
4496
+ 186
4497
+ ]
4498
+ }
4499
+ ],
4500
+ "program": {
4501
+ "kind": "const",
4502
+ "value": [
4503
+ 71,
4504
+ 60,
4505
+ 51,
4506
+ 156,
4507
+ 122,
4508
+ 30,
4509
+ 172,
4510
+ 150,
4511
+ 96,
4512
+ 246,
4513
+ 176,
4514
+ 17,
4515
+ 193,
4516
+ 207,
4517
+ 109,
4518
+ 240,
4519
+ 48,
4520
+ 80,
4521
+ 233,
4522
+ 105,
4523
+ 46,
4524
+ 253,
4525
+ 208,
4526
+ 131,
4527
+ 6,
4528
+ 239,
4529
+ 22,
4530
+ 78,
4531
+ 30,
4532
+ 164,
4533
+ 15,
4534
+ 162
4535
+ ]
4536
+ }
4537
+ }
4538
+ },
4539
+ {
4540
+ "name": "treasury",
4541
+ "writable": true,
4542
+ "pda": {
4543
+ "seeds": [
4544
+ {
4545
+ "kind": "const",
4546
+ "value": [
4547
+ 116,
4548
+ 114,
4549
+ 101,
2893
4550
  97,
4551
+ 115,
2894
4552
  117,
2895
- 116,
2896
- 104,
2897
- 111,
2898
4553
  114,
2899
- 105,
2900
- 116,
2901
4554
  121
2902
4555
  ]
2903
- },
2904
- {
2905
- "kind": "arg",
2906
- "path": "pool_id"
2907
4556
  }
2908
- ]
4557
+ ],
4558
+ "program": {
4559
+ "kind": "const",
4560
+ "value": [
4561
+ 71,
4562
+ 60,
4563
+ 51,
4564
+ 156,
4565
+ 122,
4566
+ 30,
4567
+ 172,
4568
+ 150,
4569
+ 96,
4570
+ 246,
4571
+ 176,
4572
+ 17,
4573
+ 193,
4574
+ 207,
4575
+ 109,
4576
+ 240,
4577
+ 48,
4578
+ 80,
4579
+ 233,
4580
+ 105,
4581
+ 46,
4582
+ 253,
4583
+ 208,
4584
+ 131,
4585
+ 6,
4586
+ 239,
4587
+ 22,
4588
+ 78,
4589
+ 30,
4590
+ 164,
4591
+ 15,
4592
+ 162
4593
+ ]
4594
+ }
2909
4595
  }
2910
4596
  },
2911
- {
2912
- "name": "nft_asset",
2913
- "writable": true
2914
- },
2915
- {
2916
- "name": "collection",
2917
- "writable": true
2918
- },
2919
- {
2920
- "name": "mpl_core_program"
2921
- },
2922
- {
2923
- "name": "fee_config"
2924
- },
2925
- {
2926
- "name": "treasury",
2927
- "writable": true
2928
- },
2929
4597
  {
2930
4598
  "name": "referral_account",
2931
4599
  "writable": true
@@ -2936,6 +4604,9 @@
2936
4604
  {
2937
4605
  "name": "admin_program"
2938
4606
  },
4607
+ {
4608
+ "name": "project"
4609
+ },
2939
4610
  {
2940
4611
  "name": "utility_config",
2941
4612
  "pda": {
@@ -2960,76 +4631,76 @@
2960
4631
  {
2961
4632
  "kind": "const",
2962
4633
  "value": [
2963
- 139,
2964
- 90,
2965
- 29,
2966
- 108,
2967
- 24,
2968
- 92,
2969
- 176,
2970
- 14,
2971
- 79,
2972
- 217,
2973
- 11,
2974
- 142,
2975
- 136,
2976
- 253,
4634
+ 182,
4635
+ 85,
4636
+ 149,
4637
+ 145,
4638
+ 194,
4639
+ 4,
4640
+ 158,
4641
+ 38,
4642
+ 168,
4643
+ 72,
4644
+ 182,
2977
4645
  51,
2978
- 35,
2979
- 202,
2980
- 208,
2981
- 102,
2982
- 90,
2983
- 157,
2984
- 241,
2985
- 222,
2986
- 196,
2987
- 223,
2988
- 118,
2989
- 63,
2990
- 252,
2991
- 94,
2992
- 105,
4646
+ 132,
4647
+ 52,
4648
+ 97,
2993
4649
  170,
2994
- 51
4650
+ 23,
4651
+ 153,
4652
+ 124,
4653
+ 70,
4654
+ 210,
4655
+ 226,
4656
+ 230,
4657
+ 79,
4658
+ 131,
4659
+ 249,
4660
+ 0,
4661
+ 153,
4662
+ 27,
4663
+ 88,
4664
+ 92,
4665
+ 186
2995
4666
  ]
2996
4667
  }
2997
4668
  ],
2998
4669
  "program": {
2999
4670
  "kind": "const",
3000
4671
  "value": [
3001
- 253,
3002
- 148,
3003
- 29,
3004
- 37,
3005
- 76,
3006
- 184,
3007
- 92,
3008
- 166,
3009
- 20,
3010
- 41,
3011
- 146,
3012
- 100,
3013
- 153,
3014
- 34,
3015
- 70,
3016
- 164,
3017
- 16,
3018
- 210,
4672
+ 121,
4673
+ 79,
4674
+ 236,
4675
+ 61,
4676
+ 182,
4677
+ 18,
4678
+ 189,
4679
+ 248,
4680
+ 249,
4681
+ 169,
4682
+ 55,
4683
+ 18,
4684
+ 89,
4685
+ 83,
4686
+ 5,
4687
+ 231,
4688
+ 222,
4689
+ 189,
4690
+ 185,
4691
+ 107,
4692
+ 205,
4693
+ 114,
4694
+ 8,
4695
+ 14,
4696
+ 150,
4697
+ 1,
4698
+ 213,
4699
+ 147,
4700
+ 115,
4701
+ 98,
3019
4702
  138,
3020
- 116,
3021
- 45,
3022
- 108,
3023
- 39,
3024
- 32,
3025
- 199,
3026
- 149,
3027
- 212,
3028
- 234,
3029
- 176,
3030
- 132,
3031
- 122,
3032
- 32
4703
+ 118
3033
4704
  ]
3034
4705
  }
3035
4706
  }
@@ -3235,11 +4906,245 @@
3235
4906
  "writable": true
3236
4907
  },
3237
4908
  {
3238
- "name": "fee_config"
4909
+ "name": "fee_config",
4910
+ "pda": {
4911
+ "seeds": [
4912
+ {
4913
+ "kind": "const",
4914
+ "value": [
4915
+ 102,
4916
+ 101,
4917
+ 101
4918
+ ]
4919
+ },
4920
+ {
4921
+ "kind": "const",
4922
+ "value": [
4923
+ 182,
4924
+ 85,
4925
+ 149,
4926
+ 145,
4927
+ 194,
4928
+ 4,
4929
+ 158,
4930
+ 38,
4931
+ 168,
4932
+ 72,
4933
+ 182,
4934
+ 51,
4935
+ 132,
4936
+ 52,
4937
+ 97,
4938
+ 170,
4939
+ 23,
4940
+ 153,
4941
+ 124,
4942
+ 70,
4943
+ 210,
4944
+ 226,
4945
+ 230,
4946
+ 79,
4947
+ 131,
4948
+ 249,
4949
+ 0,
4950
+ 153,
4951
+ 27,
4952
+ 88,
4953
+ 92,
4954
+ 186
4955
+ ]
4956
+ }
4957
+ ],
4958
+ "program": {
4959
+ "kind": "const",
4960
+ "value": [
4961
+ 71,
4962
+ 60,
4963
+ 51,
4964
+ 156,
4965
+ 122,
4966
+ 30,
4967
+ 172,
4968
+ 150,
4969
+ 96,
4970
+ 246,
4971
+ 176,
4972
+ 17,
4973
+ 193,
4974
+ 207,
4975
+ 109,
4976
+ 240,
4977
+ 48,
4978
+ 80,
4979
+ 233,
4980
+ 105,
4981
+ 46,
4982
+ 253,
4983
+ 208,
4984
+ 131,
4985
+ 6,
4986
+ 239,
4987
+ 22,
4988
+ 78,
4989
+ 30,
4990
+ 164,
4991
+ 15,
4992
+ 162
4993
+ ]
4994
+ }
4995
+ }
4996
+ },
4997
+ {
4998
+ "name": "program_registry",
4999
+ "pda": {
5000
+ "seeds": [
5001
+ {
5002
+ "kind": "const",
5003
+ "value": [
5004
+ 114,
5005
+ 101,
5006
+ 103,
5007
+ 105,
5008
+ 115,
5009
+ 116,
5010
+ 114,
5011
+ 121
5012
+ ]
5013
+ },
5014
+ {
5015
+ "kind": "const",
5016
+ "value": [
5017
+ 182,
5018
+ 85,
5019
+ 149,
5020
+ 145,
5021
+ 194,
5022
+ 4,
5023
+ 158,
5024
+ 38,
5025
+ 168,
5026
+ 72,
5027
+ 182,
5028
+ 51,
5029
+ 132,
5030
+ 52,
5031
+ 97,
5032
+ 170,
5033
+ 23,
5034
+ 153,
5035
+ 124,
5036
+ 70,
5037
+ 210,
5038
+ 226,
5039
+ 230,
5040
+ 79,
5041
+ 131,
5042
+ 249,
5043
+ 0,
5044
+ 153,
5045
+ 27,
5046
+ 88,
5047
+ 92,
5048
+ 186
5049
+ ]
5050
+ }
5051
+ ],
5052
+ "program": {
5053
+ "kind": "const",
5054
+ "value": [
5055
+ 71,
5056
+ 60,
5057
+ 51,
5058
+ 156,
5059
+ 122,
5060
+ 30,
5061
+ 172,
5062
+ 150,
5063
+ 96,
5064
+ 246,
5065
+ 176,
5066
+ 17,
5067
+ 193,
5068
+ 207,
5069
+ 109,
5070
+ 240,
5071
+ 48,
5072
+ 80,
5073
+ 233,
5074
+ 105,
5075
+ 46,
5076
+ 253,
5077
+ 208,
5078
+ 131,
5079
+ 6,
5080
+ 239,
5081
+ 22,
5082
+ 78,
5083
+ 30,
5084
+ 164,
5085
+ 15,
5086
+ 162
5087
+ ]
5088
+ }
5089
+ }
3239
5090
  },
3240
5091
  {
3241
5092
  "name": "treasury",
3242
- "writable": true
5093
+ "writable": true,
5094
+ "pda": {
5095
+ "seeds": [
5096
+ {
5097
+ "kind": "const",
5098
+ "value": [
5099
+ 116,
5100
+ 114,
5101
+ 101,
5102
+ 97,
5103
+ 115,
5104
+ 117,
5105
+ 114,
5106
+ 121
5107
+ ]
5108
+ }
5109
+ ],
5110
+ "program": {
5111
+ "kind": "const",
5112
+ "value": [
5113
+ 71,
5114
+ 60,
5115
+ 51,
5116
+ 156,
5117
+ 122,
5118
+ 30,
5119
+ 172,
5120
+ 150,
5121
+ 96,
5122
+ 246,
5123
+ 176,
5124
+ 17,
5125
+ 193,
5126
+ 207,
5127
+ 109,
5128
+ 240,
5129
+ 48,
5130
+ 80,
5131
+ 233,
5132
+ 105,
5133
+ 46,
5134
+ 253,
5135
+ 208,
5136
+ 131,
5137
+ 6,
5138
+ 239,
5139
+ 22,
5140
+ 78,
5141
+ 30,
5142
+ 164,
5143
+ 15,
5144
+ 162
5145
+ ]
5146
+ }
5147
+ }
3243
5148
  },
3244
5149
  {
3245
5150
  "name": "referral_account",
@@ -3251,6 +5156,9 @@
3251
5156
  {
3252
5157
  "name": "admin_program"
3253
5158
  },
5159
+ {
5160
+ "name": "project"
5161
+ },
3254
5162
  {
3255
5163
  "name": "utility_config",
3256
5164
  "pda": {
@@ -3275,76 +5183,76 @@
3275
5183
  {
3276
5184
  "kind": "const",
3277
5185
  "value": [
3278
- 139,
3279
- 90,
3280
- 29,
3281
- 108,
3282
- 24,
3283
- 92,
3284
- 176,
3285
- 14,
3286
- 79,
3287
- 217,
3288
- 11,
3289
- 142,
3290
- 136,
3291
- 253,
5186
+ 182,
5187
+ 85,
5188
+ 149,
5189
+ 145,
5190
+ 194,
5191
+ 4,
5192
+ 158,
5193
+ 38,
5194
+ 168,
5195
+ 72,
5196
+ 182,
3292
5197
  51,
3293
- 35,
3294
- 202,
3295
- 208,
3296
- 102,
3297
- 90,
3298
- 157,
3299
- 241,
3300
- 222,
3301
- 196,
3302
- 223,
3303
- 118,
3304
- 63,
3305
- 252,
3306
- 94,
3307
- 105,
5198
+ 132,
5199
+ 52,
5200
+ 97,
3308
5201
  170,
3309
- 51
5202
+ 23,
5203
+ 153,
5204
+ 124,
5205
+ 70,
5206
+ 210,
5207
+ 226,
5208
+ 230,
5209
+ 79,
5210
+ 131,
5211
+ 249,
5212
+ 0,
5213
+ 153,
5214
+ 27,
5215
+ 88,
5216
+ 92,
5217
+ 186
3310
5218
  ]
3311
5219
  }
3312
5220
  ],
3313
5221
  "program": {
3314
5222
  "kind": "const",
3315
5223
  "value": [
3316
- 253,
3317
- 148,
3318
- 29,
3319
- 37,
3320
- 76,
3321
- 184,
3322
- 92,
3323
- 166,
3324
- 20,
3325
- 41,
3326
- 146,
3327
- 100,
3328
- 153,
3329
- 34,
3330
- 70,
3331
- 164,
3332
- 16,
3333
- 210,
5224
+ 121,
5225
+ 79,
5226
+ 236,
5227
+ 61,
5228
+ 182,
5229
+ 18,
5230
+ 189,
5231
+ 248,
5232
+ 249,
5233
+ 169,
5234
+ 55,
5235
+ 18,
5236
+ 89,
5237
+ 83,
5238
+ 5,
5239
+ 231,
5240
+ 222,
5241
+ 189,
5242
+ 185,
5243
+ 107,
5244
+ 205,
5245
+ 114,
5246
+ 8,
5247
+ 14,
5248
+ 150,
5249
+ 1,
5250
+ 213,
5251
+ 147,
5252
+ 115,
5253
+ 98,
3334
5254
  138,
3335
- 116,
3336
- 45,
3337
- 108,
3338
- 39,
3339
- 32,
3340
- 199,
3341
- 149,
3342
- 212,
3343
- 234,
3344
- 176,
3345
- 132,
3346
- 122,
3347
- 32
5255
+ 118
3348
5256
  ]
3349
5257
  }
3350
5258
  }
@@ -3640,23 +5548,6 @@
3640
5548
  {
3641
5549
  "name": "reward_mint"
3642
5550
  },
3643
- {
3644
- "name": "fee_config"
3645
- },
3646
- {
3647
- "name": "treasury",
3648
- "writable": true
3649
- },
3650
- {
3651
- "name": "referral_account",
3652
- "writable": true
3653
- },
3654
- {
3655
- "name": "sol_usd_price_feed"
3656
- },
3657
- {
3658
- "name": "admin_program"
3659
- },
3660
5551
  {
3661
5552
  "name": "staker",
3662
5553
  "writable": true,
@@ -3938,23 +5829,6 @@
3938
5829
  {
3939
5830
  "name": "reward_mint"
3940
5831
  },
3941
- {
3942
- "name": "fee_config"
3943
- },
3944
- {
3945
- "name": "treasury",
3946
- "writable": true
3947
- },
3948
- {
3949
- "name": "referral_account",
3950
- "writable": true
3951
- },
3952
- {
3953
- "name": "sol_usd_price_feed"
3954
- },
3955
- {
3956
- "name": "admin_program"
3957
- },
3958
5832
  {
3959
5833
  "name": "staker",
3960
5834
  "writable": true,
@@ -4122,7 +5996,7 @@
4122
5996
  {
4123
5997
  "name": "staker_nft_account",
4124
5998
  "docs": [
4125
- "User's NFT token account destination for unstaked NFT."
5999
+ "User's NFT token account \u2014 destination for unstaked NFT."
4126
6000
  ],
4127
6001
  "writable": true
4128
6002
  },
@@ -4194,33 +6068,16 @@
4194
6068
  142,
4195
6069
  123,
4196
6070
  216,
4197
- 219,
4198
- 233,
4199
- 248,
4200
- 89
4201
- ]
4202
- }
4203
- }
4204
- },
4205
- {
4206
- "name": "reward_mint"
4207
- },
4208
- {
4209
- "name": "fee_config"
4210
- },
4211
- {
4212
- "name": "treasury",
4213
- "writable": true
4214
- },
4215
- {
4216
- "name": "referral_account",
4217
- "writable": true
4218
- },
4219
- {
4220
- "name": "sol_usd_price_feed"
6071
+ 219,
6072
+ 233,
6073
+ 248,
6074
+ 89
6075
+ ]
6076
+ }
6077
+ }
4221
6078
  },
4222
6079
  {
4223
- "name": "admin_program"
6080
+ "name": "reward_mint"
4224
6081
  },
4225
6082
  {
4226
6083
  "name": "nft_metadata",
@@ -4282,6 +6139,108 @@
4282
6139
  }
4283
6140
  ]
4284
6141
  },
6142
+ {
6143
+ "name": "update_pool_secondary_reward",
6144
+ "discriminator": [
6145
+ 166,
6146
+ 51,
6147
+ 97,
6148
+ 200,
6149
+ 97,
6150
+ 226,
6151
+ 3,
6152
+ 41
6153
+ ],
6154
+ "accounts": [
6155
+ {
6156
+ "name": "pool",
6157
+ "pda": {
6158
+ "seeds": [
6159
+ {
6160
+ "kind": "const",
6161
+ "value": [
6162
+ 110,
6163
+ 102,
6164
+ 116,
6165
+ 95,
6166
+ 112,
6167
+ 111,
6168
+ 111,
6169
+ 108
6170
+ ]
6171
+ },
6172
+ {
6173
+ "kind": "arg",
6174
+ "path": "project_id"
6175
+ },
6176
+ {
6177
+ "kind": "arg",
6178
+ "path": "pool_id"
6179
+ }
6180
+ ]
6181
+ }
6182
+ },
6183
+ {
6184
+ "name": "pool_secondary",
6185
+ "writable": true,
6186
+ "pda": {
6187
+ "seeds": [
6188
+ {
6189
+ "kind": "const",
6190
+ "value": [
6191
+ 112,
6192
+ 111,
6193
+ 111,
6194
+ 108,
6195
+ 95,
6196
+ 115,
6197
+ 101,
6198
+ 99,
6199
+ 111,
6200
+ 110,
6201
+ 100,
6202
+ 97,
6203
+ 114,
6204
+ 121
6205
+ ]
6206
+ },
6207
+ {
6208
+ "kind": "arg",
6209
+ "path": "pool_id"
6210
+ }
6211
+ ]
6212
+ }
6213
+ },
6214
+ {
6215
+ "name": "authority",
6216
+ "signer": true
6217
+ }
6218
+ ],
6219
+ "args": [
6220
+ {
6221
+ "name": "project_id",
6222
+ "type": "u64"
6223
+ },
6224
+ {
6225
+ "name": "pool_id",
6226
+ "type": "u64"
6227
+ },
6228
+ {
6229
+ "name": "reward_index",
6230
+ "type": "u8"
6231
+ },
6232
+ {
6233
+ "name": "base_rate",
6234
+ "type": "u64"
6235
+ },
6236
+ {
6237
+ "name": "lock_tier_rates",
6238
+ "type": {
6239
+ "vec": "u64"
6240
+ }
6241
+ }
6242
+ ]
6243
+ },
4285
6244
  {
4286
6245
  "name": "update_stake_pool",
4287
6246
  "discriminator": [
@@ -4424,6 +6383,7 @@
4424
6383
  "accounts": [
4425
6384
  {
4426
6385
  "name": "pool",
6386
+ "writable": true,
4427
6387
  "pda": {
4428
6388
  "seeds": [
4429
6389
  {
@@ -4842,6 +6802,60 @@
4842
6802
  ]
4843
6803
  }
4844
6804
  ],
6805
+ "events": [
6806
+ {
6807
+ "name": "NftStaked",
6808
+ "discriminator": [
6809
+ 150,
6810
+ 229,
6811
+ 155,
6812
+ 99,
6813
+ 88,
6814
+ 181,
6815
+ 254,
6816
+ 61
6817
+ ]
6818
+ },
6819
+ {
6820
+ "name": "NftUnstaked",
6821
+ "discriminator": [
6822
+ 253,
6823
+ 242,
6824
+ 47,
6825
+ 131,
6826
+ 231,
6827
+ 214,
6828
+ 72,
6829
+ 117
6830
+ ]
6831
+ },
6832
+ {
6833
+ "name": "RewardsClaimed",
6834
+ "discriminator": [
6835
+ 75,
6836
+ 98,
6837
+ 88,
6838
+ 18,
6839
+ 219,
6840
+ 112,
6841
+ 88,
6842
+ 121
6843
+ ]
6844
+ },
6845
+ {
6846
+ "name": "SecondaryRewardsClaimed",
6847
+ "discriminator": [
6848
+ 168,
6849
+ 230,
6850
+ 110,
6851
+ 31,
6852
+ 141,
6853
+ 168,
6854
+ 20,
6855
+ 77
6856
+ ]
6857
+ }
6858
+ ],
4845
6859
  "errors": [
4846
6860
  {
4847
6861
  "code": 6000,
@@ -5031,7 +7045,52 @@
5031
7045
  {
5032
7046
  "code": 6037,
5033
7047
  "name": "UtilityNotActive",
5034
- "msg": "Utility is not active for this project check subscription status"
7048
+ "msg": "Utility is not active for this project \u2014 check subscription status"
7049
+ },
7050
+ {
7051
+ "code": 6038,
7052
+ "name": "InvalidMint",
7053
+ "msg": "Reward mint does not match the pool's configured reward mint"
7054
+ },
7055
+ {
7056
+ "code": 6039,
7057
+ "name": "VaultNotEmpty",
7058
+ "msg": "Reward vault must be empty before this operation"
7059
+ },
7060
+ {
7061
+ "code": 6040,
7062
+ "name": "VaultUnderCollateralized",
7063
+ "msg": "Withdrawal would leave the reward vault under-collateralized for outstanding obligations"
7064
+ },
7065
+ {
7066
+ "code": 6041,
7067
+ "name": "RewardMintImmutable",
7068
+ "msg": "reward_mint is immutable once the pool is created"
7069
+ },
7070
+ {
7071
+ "code": 6042,
7072
+ "name": "RewardEndAtNotFuture",
7073
+ "msg": "reward_end_at must be strictly in the future"
7074
+ },
7075
+ {
7076
+ "code": 6043,
7077
+ "name": "PoolHasOutstandingObligations",
7078
+ "msg": "Pool still has outstanding reward obligations"
7079
+ },
7080
+ {
7081
+ "code": 6044,
7082
+ "name": "SecondaryRewardRetired",
7083
+ "msg": "Secondary reward is retired and cannot be modified"
7084
+ },
7085
+ {
7086
+ "code": 6045,
7087
+ "name": "SecondaryRewardAlreadyRetired",
7088
+ "msg": "Secondary reward is already retired"
7089
+ },
7090
+ {
7091
+ "code": 6046,
7092
+ "name": "SecondaryRewardMintImmutable",
7093
+ "msg": "Secondary reward mint is immutable \u2014 retire and add a new slot instead"
5035
7094
  }
5036
7095
  ],
5037
7096
  "types": [
@@ -5055,11 +7114,63 @@
5055
7114
  ]
5056
7115
  }
5057
7116
  },
7117
+ {
7118
+ "name": "NftStaked",
7119
+ "type": {
7120
+ "kind": "struct",
7121
+ "fields": [
7122
+ {
7123
+ "name": "pool_id",
7124
+ "type": "u64"
7125
+ },
7126
+ {
7127
+ "name": "staker",
7128
+ "type": "pubkey"
7129
+ },
7130
+ {
7131
+ "name": "mint",
7132
+ "type": "pubkey"
7133
+ },
7134
+ {
7135
+ "name": "lock_tier",
7136
+ "type": "u8"
7137
+ },
7138
+ {
7139
+ "name": "timestamp",
7140
+ "type": "i64"
7141
+ }
7142
+ ]
7143
+ }
7144
+ },
7145
+ {
7146
+ "name": "NftUnstaked",
7147
+ "type": {
7148
+ "kind": "struct",
7149
+ "fields": [
7150
+ {
7151
+ "name": "pool_id",
7152
+ "type": "u64"
7153
+ },
7154
+ {
7155
+ "name": "staker",
7156
+ "type": "pubkey"
7157
+ },
7158
+ {
7159
+ "name": "mint",
7160
+ "type": "pubkey"
7161
+ },
7162
+ {
7163
+ "name": "timestamp",
7164
+ "type": "i64"
7165
+ }
7166
+ ]
7167
+ }
7168
+ },
5058
7169
  {
5059
7170
  "name": "PoolSecondaryRewards",
5060
7171
  "docs": [
5061
7172
  "Separate PDA holding secondary reward configs for a pool.",
5062
- "Exists only when the pool has secondary rewards zero migration needed."
7173
+ "Exists only when the pool has secondary rewards \u2014 zero migration needed."
5063
7174
  ],
5064
7175
  "type": {
5065
7176
  "kind": "struct",
@@ -5078,6 +7189,13 @@
5078
7189
  }
5079
7190
  }
5080
7191
  },
7192
+ {
7193
+ "name": "is_initialized",
7194
+ "docs": [
7195
+ "Explicit init sentinel \u2014 avoids ambiguous pool_id == 0 check for pool 0 (STAKE-H1)"
7196
+ ],
7197
+ "type": "bool"
7198
+ },
5081
7199
  {
5082
7200
  "name": "bump",
5083
7201
  "type": "u8"
@@ -5143,6 +7261,30 @@
5143
7261
  ]
5144
7262
  }
5145
7263
  },
7264
+ {
7265
+ "name": "RewardsClaimed",
7266
+ "type": {
7267
+ "kind": "struct",
7268
+ "fields": [
7269
+ {
7270
+ "name": "pool_id",
7271
+ "type": "u64"
7272
+ },
7273
+ {
7274
+ "name": "staker",
7275
+ "type": "pubkey"
7276
+ },
7277
+ {
7278
+ "name": "amount",
7279
+ "type": "u64"
7280
+ },
7281
+ {
7282
+ "name": "timestamp",
7283
+ "type": "i64"
7284
+ }
7285
+ ]
7286
+ }
7287
+ },
5146
7288
  {
5147
7289
  "name": "SecondaryReward",
5148
7290
  "docs": [
@@ -5174,6 +7316,43 @@
5174
7316
  "type": {
5175
7317
  "vec": "u64"
5176
7318
  }
7319
+ },
7320
+ {
7321
+ "name": "is_retired",
7322
+ "docs": [
7323
+ "If `true`, this slot is retired: no new accrual, stakers can still",
7324
+ "claim their already-accrued balance. Authority must re-add a new slot",
7325
+ "(via `add_pool_secondary_reward`) to pay a different mint."
7326
+ ],
7327
+ "type": "bool"
7328
+ }
7329
+ ]
7330
+ }
7331
+ },
7332
+ {
7333
+ "name": "SecondaryRewardsClaimed",
7334
+ "type": {
7335
+ "kind": "struct",
7336
+ "fields": [
7337
+ {
7338
+ "name": "pool_id",
7339
+ "type": "u64"
7340
+ },
7341
+ {
7342
+ "name": "staker",
7343
+ "type": "pubkey"
7344
+ },
7345
+ {
7346
+ "name": "index",
7347
+ "type": "u8"
7348
+ },
7349
+ {
7350
+ "name": "amount",
7351
+ "type": "u64"
7352
+ },
7353
+ {
7354
+ "name": "timestamp",
7355
+ "type": "i64"
5177
7356
  }
5178
7357
  ]
5179
7358
  }
@@ -5181,7 +7360,7 @@
5181
7360
  {
5182
7361
  "name": "StakeEntry",
5183
7362
  "docs": [
5184
- "Per-NFT custody and lock tracking. No reward fields rewards are",
7363
+ "Per-NFT custody and lock tracking. No reward fields \u2014 rewards are",
5185
7364
  "accumulated on the parent StakerAccount via `effective_rate`."
5186
7365
  ],
5187
7366
  "type": {
@@ -5352,6 +7531,15 @@
5352
7531
  ],
5353
7532
  "type": "u64"
5354
7533
  },
7534
+ {
7535
+ "name": "total_obligation_pending",
7536
+ "docs": [
7537
+ "Sum of all settled-but-unclaimed primary rewards across all stakers.",
7538
+ "The reward vault must maintain `balance >= total_obligation_pending`",
7539
+ "at all times after withdrawals."
7540
+ ],
7541
+ "type": "u64"
7542
+ },
5355
7543
  {
5356
7544
  "name": "bump",
5357
7545
  "type": "u8"