@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
|
@@ -290,7 +290,7 @@
|
|
|
290
290
|
},
|
|
291
291
|
{
|
|
292
292
|
"name": "mint",
|
|
293
|
-
"address": "
|
|
293
|
+
"address": "ARXwZkNAtzPfdcoqQiduJn8EPv9fKiDfGn2KyggyDrFs"
|
|
294
294
|
},
|
|
295
295
|
{
|
|
296
296
|
"name": "pool_account",
|
|
@@ -1130,7 +1130,7 @@
|
|
|
1130
1130
|
},
|
|
1131
1131
|
{
|
|
1132
1132
|
"name": "mint",
|
|
1133
|
-
"address": "
|
|
1133
|
+
"address": "ARXwZkNAtzPfdcoqQiduJn8EPv9fKiDfGn2KyggyDrFs"
|
|
1134
1134
|
},
|
|
1135
1135
|
{
|
|
1136
1136
|
"name": "pool_account",
|
|
@@ -1846,38 +1846,38 @@
|
|
|
1846
1846
|
{
|
|
1847
1847
|
"kind": "const",
|
|
1848
1848
|
"value": [
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
200,
|
|
1852
|
-
55,
|
|
1853
|
-
211,
|
|
1854
|
-
178,
|
|
1855
|
-
66,
|
|
1849
|
+
140,
|
|
1850
|
+
2,
|
|
1856
1851
|
27,
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
171,
|
|
1852
|
+
73,
|
|
1853
|
+
195,
|
|
1854
|
+
17,
|
|
1855
|
+
0,
|
|
1856
|
+
246,
|
|
1857
|
+
183,
|
|
1864
1858
|
113,
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1859
|
+
43,
|
|
1860
|
+
241,
|
|
1861
|
+
63,
|
|
1862
|
+
58,
|
|
1863
|
+
114,
|
|
1864
|
+
3,
|
|
1865
|
+
95,
|
|
1866
|
+
72,
|
|
1867
|
+
247,
|
|
1868
|
+
95,
|
|
1869
|
+
41,
|
|
1870
|
+
87,
|
|
1871
|
+
67,
|
|
1872
|
+
226,
|
|
1873
|
+
103,
|
|
1874
|
+
238,
|
|
1875
|
+
224,
|
|
1876
|
+
193,
|
|
1877
|
+
5,
|
|
1878
|
+
200,
|
|
1879
|
+
127,
|
|
1880
|
+
194
|
|
1881
1881
|
]
|
|
1882
1882
|
}
|
|
1883
1883
|
],
|
|
@@ -2227,38 +2227,38 @@
|
|
|
2227
2227
|
{
|
|
2228
2228
|
"kind": "const",
|
|
2229
2229
|
"value": [
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
200,
|
|
2233
|
-
55,
|
|
2234
|
-
211,
|
|
2235
|
-
178,
|
|
2236
|
-
66,
|
|
2230
|
+
140,
|
|
2231
|
+
2,
|
|
2237
2232
|
27,
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
171,
|
|
2233
|
+
73,
|
|
2234
|
+
195,
|
|
2235
|
+
17,
|
|
2236
|
+
0,
|
|
2237
|
+
246,
|
|
2238
|
+
183,
|
|
2245
2239
|
113,
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2240
|
+
43,
|
|
2241
|
+
241,
|
|
2242
|
+
63,
|
|
2243
|
+
58,
|
|
2244
|
+
114,
|
|
2245
|
+
3,
|
|
2246
|
+
95,
|
|
2247
|
+
72,
|
|
2248
|
+
247,
|
|
2249
|
+
95,
|
|
2250
|
+
41,
|
|
2251
|
+
87,
|
|
2252
|
+
67,
|
|
2253
|
+
226,
|
|
2254
|
+
103,
|
|
2255
|
+
238,
|
|
2256
|
+
224,
|
|
2257
|
+
193,
|
|
2258
|
+
5,
|
|
2259
|
+
200,
|
|
2260
|
+
127,
|
|
2261
|
+
194
|
|
2262
2262
|
]
|
|
2263
2263
|
}
|
|
2264
2264
|
],
|
|
@@ -2496,38 +2496,38 @@
|
|
|
2496
2496
|
{
|
|
2497
2497
|
"kind": "const",
|
|
2498
2498
|
"value": [
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
200,
|
|
2502
|
-
55,
|
|
2503
|
-
211,
|
|
2504
|
-
178,
|
|
2505
|
-
66,
|
|
2499
|
+
140,
|
|
2500
|
+
2,
|
|
2506
2501
|
27,
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
171,
|
|
2502
|
+
73,
|
|
2503
|
+
195,
|
|
2504
|
+
17,
|
|
2505
|
+
0,
|
|
2506
|
+
246,
|
|
2507
|
+
183,
|
|
2514
2508
|
113,
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2509
|
+
43,
|
|
2510
|
+
241,
|
|
2511
|
+
63,
|
|
2512
|
+
58,
|
|
2513
|
+
114,
|
|
2514
|
+
3,
|
|
2515
|
+
95,
|
|
2516
|
+
72,
|
|
2517
|
+
247,
|
|
2518
|
+
95,
|
|
2519
|
+
41,
|
|
2520
|
+
87,
|
|
2521
|
+
67,
|
|
2522
|
+
226,
|
|
2523
|
+
103,
|
|
2524
|
+
238,
|
|
2525
|
+
224,
|
|
2526
|
+
193,
|
|
2527
|
+
5,
|
|
2528
|
+
200,
|
|
2529
|
+
127,
|
|
2530
|
+
194
|
|
2531
2531
|
]
|
|
2532
2532
|
}
|
|
2533
2533
|
],
|
|
@@ -2971,38 +2971,38 @@
|
|
|
2971
2971
|
{
|
|
2972
2972
|
"kind": "const",
|
|
2973
2973
|
"value": [
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
200,
|
|
2977
|
-
55,
|
|
2978
|
-
211,
|
|
2979
|
-
178,
|
|
2980
|
-
66,
|
|
2974
|
+
140,
|
|
2975
|
+
2,
|
|
2981
2976
|
27,
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
171,
|
|
2977
|
+
73,
|
|
2978
|
+
195,
|
|
2979
|
+
17,
|
|
2980
|
+
0,
|
|
2981
|
+
246,
|
|
2982
|
+
183,
|
|
2989
2983
|
113,
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
2984
|
+
43,
|
|
2985
|
+
241,
|
|
2986
|
+
63,
|
|
2987
|
+
58,
|
|
2988
|
+
114,
|
|
2989
|
+
3,
|
|
2990
|
+
95,
|
|
2991
|
+
72,
|
|
2992
|
+
247,
|
|
2993
|
+
95,
|
|
2994
|
+
41,
|
|
2995
|
+
87,
|
|
2996
|
+
67,
|
|
2997
|
+
226,
|
|
2998
|
+
103,
|
|
2999
|
+
238,
|
|
3000
|
+
224,
|
|
3001
|
+
193,
|
|
3002
|
+
5,
|
|
3003
|
+
200,
|
|
3004
|
+
127,
|
|
3005
|
+
194
|
|
3006
3006
|
]
|
|
3007
3007
|
}
|
|
3008
3008
|
],
|
|
@@ -3219,7 +3219,7 @@
|
|
|
3219
3219
|
},
|
|
3220
3220
|
{
|
|
3221
3221
|
"name": "mint",
|
|
3222
|
-
"address": "
|
|
3222
|
+
"address": "ARXwZkNAtzPfdcoqQiduJn8EPv9fKiDfGn2KyggyDrFs"
|
|
3223
3223
|
},
|
|
3224
3224
|
{
|
|
3225
3225
|
"name": "pool_ata",
|
|
@@ -3494,7 +3494,7 @@
|
|
|
3494
3494
|
},
|
|
3495
3495
|
{
|
|
3496
3496
|
"name": "mint",
|
|
3497
|
-
"address": "
|
|
3497
|
+
"address": "ARXwZkNAtzPfdcoqQiduJn8EPv9fKiDfGn2KyggyDrFs"
|
|
3498
3498
|
},
|
|
3499
3499
|
{
|
|
3500
3500
|
"name": "pool_account",
|
|
@@ -3862,7 +3862,7 @@
|
|
|
3862
3862
|
},
|
|
3863
3863
|
{
|
|
3864
3864
|
"name": "mint",
|
|
3865
|
-
"address": "
|
|
3865
|
+
"address": "ARXwZkNAtzPfdcoqQiduJn8EPv9fKiDfGn2KyggyDrFs"
|
|
3866
3866
|
},
|
|
3867
3867
|
{
|
|
3868
3868
|
"name": "pool_account",
|
|
@@ -4392,7 +4392,7 @@
|
|
|
4392
4392
|
},
|
|
4393
4393
|
{
|
|
4394
4394
|
"name": "mint",
|
|
4395
|
-
"address": "
|
|
4395
|
+
"address": "ARXwZkNAtzPfdcoqQiduJn8EPv9fKiDfGn2KyggyDrFs"
|
|
4396
4396
|
},
|
|
4397
4397
|
{
|
|
4398
4398
|
"name": "pool_account",
|
|
@@ -4582,6 +4582,26 @@
|
|
|
4582
4582
|
{
|
|
4583
4583
|
"name": "token_program",
|
|
4584
4584
|
"address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
|
|
4585
|
+
},
|
|
4586
|
+
{
|
|
4587
|
+
"name": "arx_node",
|
|
4588
|
+
"docs": [
|
|
4589
|
+
"The `ArxNode` this stake is bound to. Required (and validated against the stored binding)",
|
|
4590
|
+
"on withdrawals when the stake's `binding` is `Node(..)`, so we can read the node's",
|
|
4591
|
+
"cluster and enforce that cluster's minimum primary stake. May be omitted for deposits,",
|
|
4592
|
+
"unbound stakes, or recovery-peer bindings. The `Account` wrapper enforces it's owned by",
|
|
4593
|
+
"the arcium program."
|
|
4594
|
+
],
|
|
4595
|
+
"optional": true
|
|
4596
|
+
},
|
|
4597
|
+
{
|
|
4598
|
+
"name": "mempool",
|
|
4599
|
+
"docs": [
|
|
4600
|
+
"The mempool account of the cluster the bound node is seated in (or proposed to). Required",
|
|
4601
|
+
"alongside `arx_node` when that node belongs to a cluster. Only its discriminator (the",
|
|
4602
|
+
"mempool size) is read."
|
|
4603
|
+
],
|
|
4604
|
+
"optional": true
|
|
4585
4605
|
}
|
|
4586
4606
|
],
|
|
4587
4607
|
"args": [
|
|
@@ -5471,6 +5491,26 @@
|
|
|
5471
5491
|
"code": 6034,
|
|
5472
5492
|
"name": "DelegatedRemovalNotMatured",
|
|
5473
5493
|
"msg": "Delegated stake removal has not matured on the primary yet (finalize the primary first)"
|
|
5494
|
+
},
|
|
5495
|
+
{
|
|
5496
|
+
"code": 6035,
|
|
5497
|
+
"name": "InsufficientPrimaryStake",
|
|
5498
|
+
"msg": "Resulting primary stake is below the minimum for the bound node's cluster mempool size"
|
|
5499
|
+
},
|
|
5500
|
+
{
|
|
5501
|
+
"code": 6036,
|
|
5502
|
+
"name": "MissingNodeAccount",
|
|
5503
|
+
"msg": "Stake is bound to a node; the bound ArxNode account must be provided"
|
|
5504
|
+
},
|
|
5505
|
+
{
|
|
5506
|
+
"code": 6037,
|
|
5507
|
+
"name": "MissingMempoolAccount",
|
|
5508
|
+
"msg": "Bound node is seated in a cluster; the cluster's mempool account must be provided"
|
|
5509
|
+
},
|
|
5510
|
+
{
|
|
5511
|
+
"code": 6038,
|
|
5512
|
+
"name": "InvalidMempool",
|
|
5513
|
+
"msg": "Provided mempool account does not match the bound node's cluster"
|
|
5474
5514
|
}
|
|
5475
5515
|
],
|
|
5476
5516
|
"types": [
|