@zcomb/programs-sdk 1.11.3 → 1.12.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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "address": "SVLTnMmZLkY5bCJbRgYdSABQNW14qfy5ZWhmEcASGx3",
2
+ "address": "GmH3zEvgmWoC6Y6hxinYYRWLCuxUikRN5SAmVDVF4Jjy",
3
3
  "metadata": {
4
4
  "name": "svault",
5
5
  "version": "0.1.0",
@@ -977,6 +977,7 @@
977
977
  },
978
978
  {
979
979
  "name": "config",
980
+ "writable": true,
980
981
  "pda": {
981
982
  "seeds": [
982
983
  {
@@ -1845,6 +1846,11 @@
1845
1846
  "code": 6008,
1846
1847
  "name": "InvalidBasisPoints",
1847
1848
  "msg": "Invalid basis points (must be 0-10000)"
1849
+ },
1850
+ {
1851
+ "code": 6009,
1852
+ "name": "UnstakePending",
1853
+ "msg": "Cannot initiate unstake while another unstake is pending"
1848
1854
  }
1849
1855
  ],
1850
1856
  "types": [
@@ -5,7 +5,7 @@
5
5
  * IDL can be found at `target/idl/svault.json`.
6
6
  */
7
7
  export type Svault = {
8
- "address": "SVLTnMmZLkY5bCJbRgYdSABQNW14qfy5ZWhmEcASGx3";
8
+ "address": "GmH3zEvgmWoC6Y6hxinYYRWLCuxUikRN5SAmVDVF4Jjy";
9
9
  "metadata": {
10
10
  "name": "svault";
11
11
  "version": "0.1.0";
@@ -983,6 +983,7 @@ export type Svault = {
983
983
  },
984
984
  {
985
985
  "name": "config";
986
+ "writable": true;
986
987
  "pda": {
987
988
  "seeds": [
988
989
  {
@@ -1851,6 +1852,11 @@ export type Svault = {
1851
1852
  "code": 6008;
1852
1853
  "name": "invalidBasisPoints";
1853
1854
  "msg": "Invalid basis points (must be 0-10000)";
1855
+ },
1856
+ {
1857
+ "code": 6009;
1858
+ "name": "unstakePending";
1859
+ "msg": "Cannot initiate unstake while another unstake is pending";
1854
1860
  }
1855
1861
  ];
1856
1862
  "types": [
@@ -887,6 +887,7 @@ export declare class SVaultClient {
887
887
  "name": "tokenMint";
888
888
  }, {
889
889
  "name": "config";
890
+ "writable": true;
890
891
  "pda": {
891
892
  "seeds": [{
892
893
  "kind": "const";
@@ -966,6 +967,7 @@ export declare class SVaultClient {
966
967
  name: "tokenMint";
967
968
  } | {
968
969
  name: "config";
970
+ writable: true;
969
971
  pda: {
970
972
  "seeds": [{
971
973
  "kind": "const";
@@ -861,6 +861,7 @@ export declare function slash(program: Program<Svault>, admin: PublicKey, tokenM
861
861
  "name": "tokenMint";
862
862
  }, {
863
863
  "name": "config";
864
+ "writable": true;
864
865
  "pda": {
865
866
  "seeds": [{
866
867
  "kind": "const";
@@ -940,6 +941,7 @@ export declare function slash(program: Program<Svault>, admin: PublicKey, tokenM
940
941
  name: "tokenMint";
941
942
  } | {
942
943
  name: "config";
944
+ writable: true;
943
945
  pda: {
944
946
  "seeds": [{
945
947
  "kind": "const";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zcomb/programs-sdk",
3
- "version": "1.11.3",
3
+ "version": "1.12.0",
4
4
  "description": "SDK for ZCombinator Programs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",