@arcium-hq/client 0.6.4 → 0.6.5

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/build/index.cjs CHANGED
@@ -1809,7 +1809,7 @@ function createPacker(fields, typeName = 'Packer') {
1809
1809
  var address = "Arcj82pX7HxYKLR92qvgZUAd7vGS1k4hQvAFcPATFdEQ";
1810
1810
  var metadata = {
1811
1811
  name: "arcium",
1812
- version: "0.6.4",
1812
+ version: "0.6.5",
1813
1813
  spec: "0.1.0",
1814
1814
  description: "The Arcium program"
1815
1815
  };
@@ -2904,6 +2904,107 @@ var instructions = [
2904
2904
  }
2905
2905
  ]
2906
2906
  },
2907
+ {
2908
+ name: "claim_node_fees",
2909
+ discriminator: [
2910
+ 68,
2911
+ 13,
2912
+ 185,
2913
+ 34,
2914
+ 151,
2915
+ 76,
2916
+ 194,
2917
+ 43
2918
+ ],
2919
+ accounts: [
2920
+ {
2921
+ name: "node_authority",
2922
+ writable: true,
2923
+ signer: true
2924
+ },
2925
+ {
2926
+ name: "recipient",
2927
+ writable: true
2928
+ },
2929
+ {
2930
+ name: "cluster",
2931
+ writable: true,
2932
+ pda: {
2933
+ seeds: [
2934
+ {
2935
+ kind: "const",
2936
+ value: [
2937
+ 67,
2938
+ 108,
2939
+ 117,
2940
+ 115,
2941
+ 116,
2942
+ 101,
2943
+ 114
2944
+ ]
2945
+ },
2946
+ {
2947
+ kind: "arg",
2948
+ path: "cluster_offset"
2949
+ }
2950
+ ]
2951
+ }
2952
+ },
2953
+ {
2954
+ name: "node",
2955
+ pda: {
2956
+ seeds: [
2957
+ {
2958
+ kind: "const",
2959
+ value: [
2960
+ 65,
2961
+ 114,
2962
+ 120,
2963
+ 78,
2964
+ 111,
2965
+ 100,
2966
+ 101
2967
+ ]
2968
+ },
2969
+ {
2970
+ kind: "arg",
2971
+ path: "node_offset"
2972
+ }
2973
+ ]
2974
+ }
2975
+ },
2976
+ {
2977
+ name: "pool",
2978
+ writable: true,
2979
+ pda: {
2980
+ seeds: [
2981
+ {
2982
+ kind: "const",
2983
+ value: [
2984
+ 70,
2985
+ 101,
2986
+ 101,
2987
+ 80,
2988
+ 111,
2989
+ 111,
2990
+ 108
2991
+ ]
2992
+ }
2993
+ ]
2994
+ }
2995
+ }
2996
+ ],
2997
+ args: [
2998
+ {
2999
+ name: "cluster_offset",
3000
+ type: "u32"
3001
+ },
3002
+ {
3003
+ name: "node_offset",
3004
+ type: "u32"
3005
+ }
3006
+ ]
3007
+ },
2907
3008
  {
2908
3009
  name: "close_key_recovery",
2909
3010
  docs: [
@@ -9960,6 +10061,16 @@ var errors = [
9960
10061
  name: "MustNotBeCalledViaCpi",
9961
10062
  msg: "This instruction must be called directly, not via CPI"
9962
10063
  },
10064
+ {
10065
+ code: 6621,
10066
+ name: "FeePriceExceedsMax",
10067
+ msg: "Fee price exceeds maximum allowed"
10068
+ },
10069
+ {
10070
+ code: 6622,
10071
+ name: "NoFeesToClaim",
10072
+ msg: "No fees available to claim"
10073
+ },
9963
10074
  {
9964
10075
  code: 6700,
9965
10076
  name: "MxeNotInRecoveryState",
@@ -10039,11 +10150,6 @@ var errors = [
10039
10150
  code: 6715,
10040
10151
  name: "ArithmeticOverflow",
10041
10152
  msg: "Arithmetic overflow"
10042
- },
10043
- {
10044
- code: 6716,
10045
- name: "FeePriceExceedsMax",
10046
- msg: "Fee price exceeds maximum allowed"
10047
10153
  }
10048
10154
  ];
10049
10155
  var types = [
package/build/index.d.ts CHANGED
@@ -456,7 +456,7 @@ type Arcium = {
456
456
  "address": "Arcj82pX7HxYKLR92qvgZUAd7vGS1k4hQvAFcPATFdEQ";
457
457
  "metadata": {
458
458
  "name": "arcium";
459
- "version": "0.6.4";
459
+ "version": "0.6.5";
460
460
  "spec": "0.1.0";
461
461
  "description": "The Arcium program";
462
462
  };
@@ -1551,6 +1551,107 @@ type Arcium = {
1551
1551
  }
1552
1552
  ];
1553
1553
  },
1554
+ {
1555
+ "name": "claimNodeFees";
1556
+ "discriminator": [
1557
+ 68,
1558
+ 13,
1559
+ 185,
1560
+ 34,
1561
+ 151,
1562
+ 76,
1563
+ 194,
1564
+ 43
1565
+ ];
1566
+ "accounts": [
1567
+ {
1568
+ "name": "nodeAuthority";
1569
+ "writable": true;
1570
+ "signer": true;
1571
+ },
1572
+ {
1573
+ "name": "recipient";
1574
+ "writable": true;
1575
+ },
1576
+ {
1577
+ "name": "cluster";
1578
+ "writable": true;
1579
+ "pda": {
1580
+ "seeds": [
1581
+ {
1582
+ "kind": "const";
1583
+ "value": [
1584
+ 67,
1585
+ 108,
1586
+ 117,
1587
+ 115,
1588
+ 116,
1589
+ 101,
1590
+ 114
1591
+ ];
1592
+ },
1593
+ {
1594
+ "kind": "arg";
1595
+ "path": "clusterOffset";
1596
+ }
1597
+ ];
1598
+ };
1599
+ },
1600
+ {
1601
+ "name": "node";
1602
+ "pda": {
1603
+ "seeds": [
1604
+ {
1605
+ "kind": "const";
1606
+ "value": [
1607
+ 65,
1608
+ 114,
1609
+ 120,
1610
+ 78,
1611
+ 111,
1612
+ 100,
1613
+ 101
1614
+ ];
1615
+ },
1616
+ {
1617
+ "kind": "arg";
1618
+ "path": "nodeOffset";
1619
+ }
1620
+ ];
1621
+ };
1622
+ },
1623
+ {
1624
+ "name": "pool";
1625
+ "writable": true;
1626
+ "pda": {
1627
+ "seeds": [
1628
+ {
1629
+ "kind": "const";
1630
+ "value": [
1631
+ 70,
1632
+ 101,
1633
+ 101,
1634
+ 80,
1635
+ 111,
1636
+ 111,
1637
+ 108
1638
+ ];
1639
+ }
1640
+ ];
1641
+ };
1642
+ }
1643
+ ];
1644
+ "args": [
1645
+ {
1646
+ "name": "clusterOffset";
1647
+ "type": "u32";
1648
+ },
1649
+ {
1650
+ "name": "nodeOffset";
1651
+ "type": "u32";
1652
+ }
1653
+ ];
1654
+ },
1554
1655
  {
1555
1656
  "name": "closeKeyRecovery";
1556
1657
  "docs": [
@@ -8604,6 +8705,16 @@ type Arcium = {
8604
8705
  "name": "mustNotBeCalledViaCpi";
8605
8706
  "msg": "This instruction must be called directly, not via CPI";
8606
8707
  },
8708
+ {
8709
+ "code": 6621;
8710
+ "name": "feePriceExceedsMax";
8711
+ "msg": "Fee price exceeds maximum allowed";
8712
+ },
8713
+ {
8714
+ "code": 6622;
8715
+ "name": "noFeesToClaim";
8716
+ "msg": "No fees available to claim";
8717
+ },
8607
8718
  {
8608
8719
  "code": 6700;
8609
8720
  "name": "mxeNotInRecoveryState";
@@ -8683,11 +8794,6 @@ type Arcium = {
8683
8794
  "code": 6715;
8684
8795
  "name": "arithmeticOverflow";
8685
8796
  "msg": "Arithmetic overflow";
8686
- },
8687
- {
8688
- "code": 6716;
8689
- "name": "feePriceExceedsMax";
8690
- "msg": "Fee price exceeds maximum allowed";
8691
8797
  }
8692
8798
  ];
8693
8799
  "types": [
package/build/index.mjs CHANGED
@@ -1790,7 +1790,7 @@ function createPacker(fields, typeName = 'Packer') {
1790
1790
  var address = "Arcj82pX7HxYKLR92qvgZUAd7vGS1k4hQvAFcPATFdEQ";
1791
1791
  var metadata = {
1792
1792
  name: "arcium",
1793
- version: "0.6.4",
1793
+ version: "0.6.5",
1794
1794
  spec: "0.1.0",
1795
1795
  description: "The Arcium program"
1796
1796
  };
@@ -2885,6 +2885,107 @@ var instructions = [
2885
2885
  }
2886
2886
  ]
2887
2887
  },
2888
+ {
2889
+ name: "claim_node_fees",
2890
+ discriminator: [
2891
+ 68,
2892
+ 13,
2893
+ 185,
2894
+ 34,
2895
+ 151,
2896
+ 76,
2897
+ 194,
2898
+ 43
2899
+ ],
2900
+ accounts: [
2901
+ {
2902
+ name: "node_authority",
2903
+ writable: true,
2904
+ signer: true
2905
+ },
2906
+ {
2907
+ name: "recipient",
2908
+ writable: true
2909
+ },
2910
+ {
2911
+ name: "cluster",
2912
+ writable: true,
2913
+ pda: {
2914
+ seeds: [
2915
+ {
2916
+ kind: "const",
2917
+ value: [
2918
+ 67,
2919
+ 108,
2920
+ 117,
2921
+ 115,
2922
+ 116,
2923
+ 101,
2924
+ 114
2925
+ ]
2926
+ },
2927
+ {
2928
+ kind: "arg",
2929
+ path: "cluster_offset"
2930
+ }
2931
+ ]
2932
+ }
2933
+ },
2934
+ {
2935
+ name: "node",
2936
+ pda: {
2937
+ seeds: [
2938
+ {
2939
+ kind: "const",
2940
+ value: [
2941
+ 65,
2942
+ 114,
2943
+ 120,
2944
+ 78,
2945
+ 111,
2946
+ 100,
2947
+ 101
2948
+ ]
2949
+ },
2950
+ {
2951
+ kind: "arg",
2952
+ path: "node_offset"
2953
+ }
2954
+ ]
2955
+ }
2956
+ },
2957
+ {
2958
+ name: "pool",
2959
+ writable: true,
2960
+ pda: {
2961
+ seeds: [
2962
+ {
2963
+ kind: "const",
2964
+ value: [
2965
+ 70,
2966
+ 101,
2967
+ 101,
2968
+ 80,
2969
+ 111,
2970
+ 111,
2971
+ 108
2972
+ ]
2973
+ }
2974
+ ]
2975
+ }
2976
+ }
2977
+ ],
2978
+ args: [
2979
+ {
2980
+ name: "cluster_offset",
2981
+ type: "u32"
2982
+ },
2983
+ {
2984
+ name: "node_offset",
2985
+ type: "u32"
2986
+ }
2987
+ ]
2988
+ },
2888
2989
  {
2889
2990
  name: "close_key_recovery",
2890
2991
  docs: [
@@ -9941,6 +10042,16 @@ var errors = [
9941
10042
  name: "MustNotBeCalledViaCpi",
9942
10043
  msg: "This instruction must be called directly, not via CPI"
9943
10044
  },
10045
+ {
10046
+ code: 6621,
10047
+ name: "FeePriceExceedsMax",
10048
+ msg: "Fee price exceeds maximum allowed"
10049
+ },
10050
+ {
10051
+ code: 6622,
10052
+ name: "NoFeesToClaim",
10053
+ msg: "No fees available to claim"
10054
+ },
9944
10055
  {
9945
10056
  code: 6700,
9946
10057
  name: "MxeNotInRecoveryState",
@@ -10020,11 +10131,6 @@ var errors = [
10020
10131
  code: 6715,
10021
10132
  name: "ArithmeticOverflow",
10022
10133
  msg: "Arithmetic overflow"
10023
- },
10024
- {
10025
- code: 6716,
10026
- name: "FeePriceExceedsMax",
10027
- msg: "Fee price exceeds maximum allowed"
10028
10134
  }
10029
10135
  ];
10030
10136
  var types = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcium-hq/client",
3
- "version": "0.6.4",
3
+ "version": "0.6.5",
4
4
  "description": "Client SDK for interacting with encrypted Solana programs",
5
5
  "author": "Arcium",
6
6
  "license": "GPL-3.0-only",