@arcium-hq/client 0.11.0 → 0.11.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/build/index.cjs +42 -1
- package/build/index.mjs +42 -1
- package/build/types/idl/arcium.d.ts +42 -1
- package/build/types/idl/arcium.d.ts.map +1 -1
- package/build/types/idl/arcium_staking.d.ts +126 -126
- package/build/types/idl/arcium_staking.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/idl/arcium.json +42 -1
- package/src/idl/arcium.ts +42 -1
- package/src/idl/arcium_staking.json +166 -126
- package/src/idl/arcium_staking.ts +126 -126
package/build/index.cjs
CHANGED
|
@@ -1883,7 +1883,7 @@ function createPacker(fields, typeName = 'Packer') {
|
|
|
1883
1883
|
var address = "Arcj82pX7HxYKLR92qvgZUAd7vGS1k4hQvAFcPATFdEQ";
|
|
1884
1884
|
var metadata = {
|
|
1885
1885
|
name: "arcium",
|
|
1886
|
-
version: "0.11.
|
|
1886
|
+
version: "0.11.1",
|
|
1887
1887
|
spec: "0.1.0",
|
|
1888
1888
|
description: "The Arcium program"
|
|
1889
1889
|
};
|
|
@@ -8801,6 +8801,42 @@ var instructions = [
|
|
|
8801
8801
|
]
|
|
8802
8802
|
}
|
|
8803
8803
|
},
|
|
8804
|
+
{
|
|
8805
|
+
name: "mempool",
|
|
8806
|
+
docs: [
|
|
8807
|
+
"The cluster's mempool account, used only to read its size (from the discriminator) so we",
|
|
8808
|
+
"know the minimum primary stake the invited node must hold.",
|
|
8809
|
+
"`mempool_size_of`."
|
|
8810
|
+
],
|
|
8811
|
+
pda: {
|
|
8812
|
+
seeds: [
|
|
8813
|
+
{
|
|
8814
|
+
kind: "const",
|
|
8815
|
+
value: [
|
|
8816
|
+
77,
|
|
8817
|
+
101,
|
|
8818
|
+
109,
|
|
8819
|
+
112,
|
|
8820
|
+
111,
|
|
8821
|
+
111,
|
|
8822
|
+
108
|
|
8823
|
+
]
|
|
8824
|
+
},
|
|
8825
|
+
{
|
|
8826
|
+
kind: "arg",
|
|
8827
|
+
path: "cluster_offset"
|
|
8828
|
+
}
|
|
8829
|
+
]
|
|
8830
|
+
}
|
|
8831
|
+
},
|
|
8832
|
+
{
|
|
8833
|
+
name: "primary_stake_account",
|
|
8834
|
+
docs: [
|
|
8835
|
+
"The `PrimaryStakingAccount` (owned by `arcium_staking`) bound to the invited node. We read",
|
|
8836
|
+
"its `primary_stake` (first field) to enforce the per-mempool-size minimum. Verified to be",
|
|
8837
|
+
"owned by the staking program and to match the node's recorded `primary_staking_account`."
|
|
8838
|
+
]
|
|
8839
|
+
},
|
|
8804
8840
|
{
|
|
8805
8841
|
name: "clock",
|
|
8806
8842
|
writable: true,
|
|
@@ -12981,6 +13017,11 @@ var errors = [
|
|
|
12981
13017
|
code: 6726,
|
|
12982
13018
|
name: "InvalidMigrationAccount",
|
|
12983
13019
|
msg: "Account is not a valid target for this migration (wrong owner or discriminator)"
|
|
13020
|
+
},
|
|
13021
|
+
{
|
|
13022
|
+
code: 6727,
|
|
13023
|
+
name: "InsufficientPrimaryStake",
|
|
13024
|
+
msg: "Node's primary stake is below the minimum for this cluster's mempool size"
|
|
12984
13025
|
}
|
|
12985
13026
|
];
|
|
12986
13027
|
var types = [
|
package/build/index.mjs
CHANGED
|
@@ -1864,7 +1864,7 @@ function createPacker(fields, typeName = 'Packer') {
|
|
|
1864
1864
|
var address = "Arcj82pX7HxYKLR92qvgZUAd7vGS1k4hQvAFcPATFdEQ";
|
|
1865
1865
|
var metadata = {
|
|
1866
1866
|
name: "arcium",
|
|
1867
|
-
version: "0.11.
|
|
1867
|
+
version: "0.11.1",
|
|
1868
1868
|
spec: "0.1.0",
|
|
1869
1869
|
description: "The Arcium program"
|
|
1870
1870
|
};
|
|
@@ -8782,6 +8782,42 @@ var instructions = [
|
|
|
8782
8782
|
]
|
|
8783
8783
|
}
|
|
8784
8784
|
},
|
|
8785
|
+
{
|
|
8786
|
+
name: "mempool",
|
|
8787
|
+
docs: [
|
|
8788
|
+
"The cluster's mempool account, used only to read its size (from the discriminator) so we",
|
|
8789
|
+
"know the minimum primary stake the invited node must hold.",
|
|
8790
|
+
"`mempool_size_of`."
|
|
8791
|
+
],
|
|
8792
|
+
pda: {
|
|
8793
|
+
seeds: [
|
|
8794
|
+
{
|
|
8795
|
+
kind: "const",
|
|
8796
|
+
value: [
|
|
8797
|
+
77,
|
|
8798
|
+
101,
|
|
8799
|
+
109,
|
|
8800
|
+
112,
|
|
8801
|
+
111,
|
|
8802
|
+
111,
|
|
8803
|
+
108
|
|
8804
|
+
]
|
|
8805
|
+
},
|
|
8806
|
+
{
|
|
8807
|
+
kind: "arg",
|
|
8808
|
+
path: "cluster_offset"
|
|
8809
|
+
}
|
|
8810
|
+
]
|
|
8811
|
+
}
|
|
8812
|
+
},
|
|
8813
|
+
{
|
|
8814
|
+
name: "primary_stake_account",
|
|
8815
|
+
docs: [
|
|
8816
|
+
"The `PrimaryStakingAccount` (owned by `arcium_staking`) bound to the invited node. We read",
|
|
8817
|
+
"its `primary_stake` (first field) to enforce the per-mempool-size minimum. Verified to be",
|
|
8818
|
+
"owned by the staking program and to match the node's recorded `primary_staking_account`."
|
|
8819
|
+
]
|
|
8820
|
+
},
|
|
8785
8821
|
{
|
|
8786
8822
|
name: "clock",
|
|
8787
8823
|
writable: true,
|
|
@@ -12962,6 +12998,11 @@ var errors = [
|
|
|
12962
12998
|
code: 6726,
|
|
12963
12999
|
name: "InvalidMigrationAccount",
|
|
12964
13000
|
msg: "Account is not a valid target for this migration (wrong owner or discriminator)"
|
|
13001
|
+
},
|
|
13002
|
+
{
|
|
13003
|
+
code: 6727,
|
|
13004
|
+
name: "InsufficientPrimaryStake",
|
|
13005
|
+
msg: "Node's primary stake is below the minimum for this cluster's mempool size"
|
|
12965
13006
|
}
|
|
12966
13007
|
];
|
|
12967
13008
|
var types = [
|
|
@@ -8,7 +8,7 @@ export type Arcium = {
|
|
|
8
8
|
"address": "Arcj82pX7HxYKLR92qvgZUAd7vGS1k4hQvAFcPATFdEQ";
|
|
9
9
|
"metadata": {
|
|
10
10
|
"name": "arcium";
|
|
11
|
-
"version": "0.11.
|
|
11
|
+
"version": "0.11.1";
|
|
12
12
|
"spec": "0.1.0";
|
|
13
13
|
"description": "The Arcium program";
|
|
14
14
|
};
|
|
@@ -6921,6 +6921,42 @@ export type Arcium = {
|
|
|
6921
6921
|
];
|
|
6922
6922
|
};
|
|
6923
6923
|
},
|
|
6924
|
+
{
|
|
6925
|
+
"name": "mempool";
|
|
6926
|
+
"docs": [
|
|
6927
|
+
"The cluster's mempool account, used only to read its size (from the discriminator) so we",
|
|
6928
|
+
"know the minimum primary stake the invited node must hold.",
|
|
6929
|
+
"`mempool_size_of`."
|
|
6930
|
+
];
|
|
6931
|
+
"pda": {
|
|
6932
|
+
"seeds": [
|
|
6933
|
+
{
|
|
6934
|
+
"kind": "const";
|
|
6935
|
+
"value": [
|
|
6936
|
+
77,
|
|
6937
|
+
101,
|
|
6938
|
+
109,
|
|
6939
|
+
112,
|
|
6940
|
+
111,
|
|
6941
|
+
111,
|
|
6942
|
+
108
|
|
6943
|
+
];
|
|
6944
|
+
},
|
|
6945
|
+
{
|
|
6946
|
+
"kind": "arg";
|
|
6947
|
+
"path": "clusterOffset";
|
|
6948
|
+
}
|
|
6949
|
+
];
|
|
6950
|
+
};
|
|
6951
|
+
},
|
|
6952
|
+
{
|
|
6953
|
+
"name": "primaryStakeAccount";
|
|
6954
|
+
"docs": [
|
|
6955
|
+
"The `PrimaryStakingAccount` (owned by `arcium_staking`) bound to the invited node. We read",
|
|
6956
|
+
"its `primary_stake` (first field) to enforce the per-mempool-size minimum. Verified to be",
|
|
6957
|
+
"owned by the staking program and to match the node's recorded `primary_staking_account`."
|
|
6958
|
+
];
|
|
6959
|
+
},
|
|
6924
6960
|
{
|
|
6925
6961
|
"name": "clock";
|
|
6926
6962
|
"writable": true;
|
|
@@ -11100,6 +11136,11 @@ export type Arcium = {
|
|
|
11100
11136
|
"code": 6726;
|
|
11101
11137
|
"name": "invalidMigrationAccount";
|
|
11102
11138
|
"msg": "Account is not a valid target for this migration (wrong owner or discriminator)";
|
|
11139
|
+
},
|
|
11140
|
+
{
|
|
11141
|
+
"code": 6727;
|
|
11142
|
+
"name": "insufficientPrimaryStake";
|
|
11143
|
+
"msg": "Node's primary stake is below the minimum for this cluster's mempool size";
|
|
11103
11144
|
}
|
|
11104
11145
|
];
|
|
11105
11146
|
"types": [
|