@arcium-hq/client 0.9.3 → 0.9.4
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 +152 -9
- package/build/index.mjs +152 -9
- package/build/types/idl/arcium.d.ts +152 -9
- package/build/types/idl/arcium.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/idl/arcium.json +152 -9
- package/src/idl/arcium.ts +152 -9
package/build/index.cjs
CHANGED
|
@@ -1884,7 +1884,7 @@ function createPacker(fields, typeName = 'Packer') {
|
|
|
1884
1884
|
var address = "Arcj82pX7HxYKLR92qvgZUAd7vGS1k4hQvAFcPATFdEQ";
|
|
1885
1885
|
var metadata = {
|
|
1886
1886
|
name: "arcium",
|
|
1887
|
-
version: "0.9.
|
|
1887
|
+
version: "0.9.4",
|
|
1888
1888
|
spec: "0.1.0",
|
|
1889
1889
|
description: "The Arcium program"
|
|
1890
1890
|
};
|
|
@@ -4899,6 +4899,40 @@ var instructions = [
|
|
|
4899
4899
|
]
|
|
4900
4900
|
}
|
|
4901
4901
|
},
|
|
4902
|
+
{
|
|
4903
|
+
name: "cluster_acc",
|
|
4904
|
+
pda: {
|
|
4905
|
+
seeds: [
|
|
4906
|
+
{
|
|
4907
|
+
kind: "const",
|
|
4908
|
+
value: [
|
|
4909
|
+
67,
|
|
4910
|
+
108,
|
|
4911
|
+
117,
|
|
4912
|
+
115,
|
|
4913
|
+
116,
|
|
4914
|
+
101,
|
|
4915
|
+
114
|
|
4916
|
+
]
|
|
4917
|
+
},
|
|
4918
|
+
{
|
|
4919
|
+
kind: "arg",
|
|
4920
|
+
path: "cluster_offset"
|
|
4921
|
+
}
|
|
4922
|
+
]
|
|
4923
|
+
}
|
|
4924
|
+
},
|
|
4925
|
+
{
|
|
4926
|
+
name: "address_lookup_table",
|
|
4927
|
+
docs: [
|
|
4928
|
+
"Seeds are checked in the CPI to LUT program, so no need to check them here."
|
|
4929
|
+
],
|
|
4930
|
+
writable: true
|
|
4931
|
+
},
|
|
4932
|
+
{
|
|
4933
|
+
name: "lut_program",
|
|
4934
|
+
address: "AddressLookupTab1e1111111111111111111111111"
|
|
4935
|
+
},
|
|
4902
4936
|
{
|
|
4903
4937
|
name: "original_mxe_program"
|
|
4904
4938
|
},
|
|
@@ -6538,9 +6572,6 @@ var instructions = [
|
|
|
6538
6572
|
},
|
|
6539
6573
|
{
|
|
6540
6574
|
name: "program_data",
|
|
6541
|
-
docs: [
|
|
6542
|
-
"The seeds constraint is only applied in non-testing builds."
|
|
6543
|
-
],
|
|
6544
6575
|
pda: {
|
|
6545
6576
|
seeds: [
|
|
6546
6577
|
{
|
|
@@ -8378,6 +8409,123 @@ var instructions = [
|
|
|
8378
8409
|
}
|
|
8379
8410
|
]
|
|
8380
8411
|
},
|
|
8412
|
+
{
|
|
8413
|
+
name: "register_account_in_lut",
|
|
8414
|
+
discriminator: [
|
|
8415
|
+
55,
|
|
8416
|
+
38,
|
|
8417
|
+
119,
|
|
8418
|
+
20,
|
|
8419
|
+
35,
|
|
8420
|
+
231,
|
|
8421
|
+
184,
|
|
8422
|
+
236
|
|
8423
|
+
],
|
|
8424
|
+
accounts: [
|
|
8425
|
+
{
|
|
8426
|
+
name: "signer",
|
|
8427
|
+
writable: true,
|
|
8428
|
+
signer: true
|
|
8429
|
+
},
|
|
8430
|
+
{
|
|
8431
|
+
name: "mxe",
|
|
8432
|
+
pda: {
|
|
8433
|
+
seeds: [
|
|
8434
|
+
{
|
|
8435
|
+
kind: "const",
|
|
8436
|
+
value: [
|
|
8437
|
+
77,
|
|
8438
|
+
88,
|
|
8439
|
+
69,
|
|
8440
|
+
65,
|
|
8441
|
+
99,
|
|
8442
|
+
99,
|
|
8443
|
+
111,
|
|
8444
|
+
117,
|
|
8445
|
+
110,
|
|
8446
|
+
116
|
|
8447
|
+
]
|
|
8448
|
+
},
|
|
8449
|
+
{
|
|
8450
|
+
kind: "account",
|
|
8451
|
+
path: "mxe_program"
|
|
8452
|
+
}
|
|
8453
|
+
]
|
|
8454
|
+
}
|
|
8455
|
+
},
|
|
8456
|
+
{
|
|
8457
|
+
name: "mxe_program"
|
|
8458
|
+
},
|
|
8459
|
+
{
|
|
8460
|
+
name: "address_lookup_table",
|
|
8461
|
+
writable: true,
|
|
8462
|
+
pda: {
|
|
8463
|
+
seeds: [
|
|
8464
|
+
{
|
|
8465
|
+
kind: "account",
|
|
8466
|
+
path: "mxe"
|
|
8467
|
+
},
|
|
8468
|
+
{
|
|
8469
|
+
kind: "account",
|
|
8470
|
+
path: "mxe.lut_offset_slot",
|
|
8471
|
+
account: "MXEAccount"
|
|
8472
|
+
}
|
|
8473
|
+
],
|
|
8474
|
+
program: {
|
|
8475
|
+
kind: "const",
|
|
8476
|
+
value: [
|
|
8477
|
+
2,
|
|
8478
|
+
119,
|
|
8479
|
+
166,
|
|
8480
|
+
175,
|
|
8481
|
+
151,
|
|
8482
|
+
51,
|
|
8483
|
+
155,
|
|
8484
|
+
122,
|
|
8485
|
+
200,
|
|
8486
|
+
141,
|
|
8487
|
+
24,
|
|
8488
|
+
146,
|
|
8489
|
+
201,
|
|
8490
|
+
4,
|
|
8491
|
+
70,
|
|
8492
|
+
245,
|
|
8493
|
+
0,
|
|
8494
|
+
2,
|
|
8495
|
+
48,
|
|
8496
|
+
146,
|
|
8497
|
+
102,
|
|
8498
|
+
246,
|
|
8499
|
+
46,
|
|
8500
|
+
83,
|
|
8501
|
+
193,
|
|
8502
|
+
24,
|
|
8503
|
+
36,
|
|
8504
|
+
73,
|
|
8505
|
+
130,
|
|
8506
|
+
0,
|
|
8507
|
+
0,
|
|
8508
|
+
0
|
|
8509
|
+
]
|
|
8510
|
+
}
|
|
8511
|
+
}
|
|
8512
|
+
},
|
|
8513
|
+
{
|
|
8514
|
+
name: "lut_program",
|
|
8515
|
+
address: "AddressLookupTab1e1111111111111111111111111"
|
|
8516
|
+
},
|
|
8517
|
+
{
|
|
8518
|
+
name: "system_program",
|
|
8519
|
+
address: "11111111111111111111111111111111"
|
|
8520
|
+
}
|
|
8521
|
+
],
|
|
8522
|
+
args: [
|
|
8523
|
+
{
|
|
8524
|
+
name: "account",
|
|
8525
|
+
type: "pubkey"
|
|
8526
|
+
}
|
|
8527
|
+
]
|
|
8528
|
+
},
|
|
8381
8529
|
{
|
|
8382
8530
|
name: "remove_permissioned_recovery_peers",
|
|
8383
8531
|
docs: [
|
|
@@ -11173,11 +11321,6 @@ var errors = [
|
|
|
11173
11321
|
name: "RecoveryActiveComputationExists",
|
|
11174
11322
|
msg: "Cannot close recovery with active computation"
|
|
11175
11323
|
},
|
|
11176
|
-
{
|
|
11177
|
-
code: 6712,
|
|
11178
|
-
name: "RecoveryExecutionNotSuccess",
|
|
11179
|
-
msg: "Callback requires successful execution status"
|
|
11180
|
-
},
|
|
11181
11324
|
{
|
|
11182
11325
|
code: 6713,
|
|
11183
11326
|
name: "BackupClusterNotSet",
|
package/build/index.mjs
CHANGED
|
@@ -1865,7 +1865,7 @@ function createPacker(fields, typeName = 'Packer') {
|
|
|
1865
1865
|
var address = "Arcj82pX7HxYKLR92qvgZUAd7vGS1k4hQvAFcPATFdEQ";
|
|
1866
1866
|
var metadata = {
|
|
1867
1867
|
name: "arcium",
|
|
1868
|
-
version: "0.9.
|
|
1868
|
+
version: "0.9.4",
|
|
1869
1869
|
spec: "0.1.0",
|
|
1870
1870
|
description: "The Arcium program"
|
|
1871
1871
|
};
|
|
@@ -4880,6 +4880,40 @@ var instructions = [
|
|
|
4880
4880
|
]
|
|
4881
4881
|
}
|
|
4882
4882
|
},
|
|
4883
|
+
{
|
|
4884
|
+
name: "cluster_acc",
|
|
4885
|
+
pda: {
|
|
4886
|
+
seeds: [
|
|
4887
|
+
{
|
|
4888
|
+
kind: "const",
|
|
4889
|
+
value: [
|
|
4890
|
+
67,
|
|
4891
|
+
108,
|
|
4892
|
+
117,
|
|
4893
|
+
115,
|
|
4894
|
+
116,
|
|
4895
|
+
101,
|
|
4896
|
+
114
|
|
4897
|
+
]
|
|
4898
|
+
},
|
|
4899
|
+
{
|
|
4900
|
+
kind: "arg",
|
|
4901
|
+
path: "cluster_offset"
|
|
4902
|
+
}
|
|
4903
|
+
]
|
|
4904
|
+
}
|
|
4905
|
+
},
|
|
4906
|
+
{
|
|
4907
|
+
name: "address_lookup_table",
|
|
4908
|
+
docs: [
|
|
4909
|
+
"Seeds are checked in the CPI to LUT program, so no need to check them here."
|
|
4910
|
+
],
|
|
4911
|
+
writable: true
|
|
4912
|
+
},
|
|
4913
|
+
{
|
|
4914
|
+
name: "lut_program",
|
|
4915
|
+
address: "AddressLookupTab1e1111111111111111111111111"
|
|
4916
|
+
},
|
|
4883
4917
|
{
|
|
4884
4918
|
name: "original_mxe_program"
|
|
4885
4919
|
},
|
|
@@ -6519,9 +6553,6 @@ var instructions = [
|
|
|
6519
6553
|
},
|
|
6520
6554
|
{
|
|
6521
6555
|
name: "program_data",
|
|
6522
|
-
docs: [
|
|
6523
|
-
"The seeds constraint is only applied in non-testing builds."
|
|
6524
|
-
],
|
|
6525
6556
|
pda: {
|
|
6526
6557
|
seeds: [
|
|
6527
6558
|
{
|
|
@@ -8359,6 +8390,123 @@ var instructions = [
|
|
|
8359
8390
|
}
|
|
8360
8391
|
]
|
|
8361
8392
|
},
|
|
8393
|
+
{
|
|
8394
|
+
name: "register_account_in_lut",
|
|
8395
|
+
discriminator: [
|
|
8396
|
+
55,
|
|
8397
|
+
38,
|
|
8398
|
+
119,
|
|
8399
|
+
20,
|
|
8400
|
+
35,
|
|
8401
|
+
231,
|
|
8402
|
+
184,
|
|
8403
|
+
236
|
|
8404
|
+
],
|
|
8405
|
+
accounts: [
|
|
8406
|
+
{
|
|
8407
|
+
name: "signer",
|
|
8408
|
+
writable: true,
|
|
8409
|
+
signer: true
|
|
8410
|
+
},
|
|
8411
|
+
{
|
|
8412
|
+
name: "mxe",
|
|
8413
|
+
pda: {
|
|
8414
|
+
seeds: [
|
|
8415
|
+
{
|
|
8416
|
+
kind: "const",
|
|
8417
|
+
value: [
|
|
8418
|
+
77,
|
|
8419
|
+
88,
|
|
8420
|
+
69,
|
|
8421
|
+
65,
|
|
8422
|
+
99,
|
|
8423
|
+
99,
|
|
8424
|
+
111,
|
|
8425
|
+
117,
|
|
8426
|
+
110,
|
|
8427
|
+
116
|
|
8428
|
+
]
|
|
8429
|
+
},
|
|
8430
|
+
{
|
|
8431
|
+
kind: "account",
|
|
8432
|
+
path: "mxe_program"
|
|
8433
|
+
}
|
|
8434
|
+
]
|
|
8435
|
+
}
|
|
8436
|
+
},
|
|
8437
|
+
{
|
|
8438
|
+
name: "mxe_program"
|
|
8439
|
+
},
|
|
8440
|
+
{
|
|
8441
|
+
name: "address_lookup_table",
|
|
8442
|
+
writable: true,
|
|
8443
|
+
pda: {
|
|
8444
|
+
seeds: [
|
|
8445
|
+
{
|
|
8446
|
+
kind: "account",
|
|
8447
|
+
path: "mxe"
|
|
8448
|
+
},
|
|
8449
|
+
{
|
|
8450
|
+
kind: "account",
|
|
8451
|
+
path: "mxe.lut_offset_slot",
|
|
8452
|
+
account: "MXEAccount"
|
|
8453
|
+
}
|
|
8454
|
+
],
|
|
8455
|
+
program: {
|
|
8456
|
+
kind: "const",
|
|
8457
|
+
value: [
|
|
8458
|
+
2,
|
|
8459
|
+
119,
|
|
8460
|
+
166,
|
|
8461
|
+
175,
|
|
8462
|
+
151,
|
|
8463
|
+
51,
|
|
8464
|
+
155,
|
|
8465
|
+
122,
|
|
8466
|
+
200,
|
|
8467
|
+
141,
|
|
8468
|
+
24,
|
|
8469
|
+
146,
|
|
8470
|
+
201,
|
|
8471
|
+
4,
|
|
8472
|
+
70,
|
|
8473
|
+
245,
|
|
8474
|
+
0,
|
|
8475
|
+
2,
|
|
8476
|
+
48,
|
|
8477
|
+
146,
|
|
8478
|
+
102,
|
|
8479
|
+
246,
|
|
8480
|
+
46,
|
|
8481
|
+
83,
|
|
8482
|
+
193,
|
|
8483
|
+
24,
|
|
8484
|
+
36,
|
|
8485
|
+
73,
|
|
8486
|
+
130,
|
|
8487
|
+
0,
|
|
8488
|
+
0,
|
|
8489
|
+
0
|
|
8490
|
+
]
|
|
8491
|
+
}
|
|
8492
|
+
}
|
|
8493
|
+
},
|
|
8494
|
+
{
|
|
8495
|
+
name: "lut_program",
|
|
8496
|
+
address: "AddressLookupTab1e1111111111111111111111111"
|
|
8497
|
+
},
|
|
8498
|
+
{
|
|
8499
|
+
name: "system_program",
|
|
8500
|
+
address: "11111111111111111111111111111111"
|
|
8501
|
+
}
|
|
8502
|
+
],
|
|
8503
|
+
args: [
|
|
8504
|
+
{
|
|
8505
|
+
name: "account",
|
|
8506
|
+
type: "pubkey"
|
|
8507
|
+
}
|
|
8508
|
+
]
|
|
8509
|
+
},
|
|
8362
8510
|
{
|
|
8363
8511
|
name: "remove_permissioned_recovery_peers",
|
|
8364
8512
|
docs: [
|
|
@@ -11154,11 +11302,6 @@ var errors = [
|
|
|
11154
11302
|
name: "RecoveryActiveComputationExists",
|
|
11155
11303
|
msg: "Cannot close recovery with active computation"
|
|
11156
11304
|
},
|
|
11157
|
-
{
|
|
11158
|
-
code: 6712,
|
|
11159
|
-
name: "RecoveryExecutionNotSuccess",
|
|
11160
|
-
msg: "Callback requires successful execution status"
|
|
11161
|
-
},
|
|
11162
11305
|
{
|
|
11163
11306
|
code: 6713,
|
|
11164
11307
|
name: "BackupClusterNotSet",
|
|
@@ -8,7 +8,7 @@ export type Arcium = {
|
|
|
8
8
|
"address": "Arcj82pX7HxYKLR92qvgZUAd7vGS1k4hQvAFcPATFdEQ";
|
|
9
9
|
"metadata": {
|
|
10
10
|
"name": "arcium";
|
|
11
|
-
"version": "0.9.
|
|
11
|
+
"version": "0.9.4";
|
|
12
12
|
"spec": "0.1.0";
|
|
13
13
|
"description": "The Arcium program";
|
|
14
14
|
};
|
|
@@ -3021,6 +3021,40 @@ export type Arcium = {
|
|
|
3021
3021
|
];
|
|
3022
3022
|
};
|
|
3023
3023
|
},
|
|
3024
|
+
{
|
|
3025
|
+
"name": "clusterAcc";
|
|
3026
|
+
"pda": {
|
|
3027
|
+
"seeds": [
|
|
3028
|
+
{
|
|
3029
|
+
"kind": "const";
|
|
3030
|
+
"value": [
|
|
3031
|
+
67,
|
|
3032
|
+
108,
|
|
3033
|
+
117,
|
|
3034
|
+
115,
|
|
3035
|
+
116,
|
|
3036
|
+
101,
|
|
3037
|
+
114
|
|
3038
|
+
];
|
|
3039
|
+
},
|
|
3040
|
+
{
|
|
3041
|
+
"kind": "arg";
|
|
3042
|
+
"path": "clusterOffset";
|
|
3043
|
+
}
|
|
3044
|
+
];
|
|
3045
|
+
};
|
|
3046
|
+
},
|
|
3047
|
+
{
|
|
3048
|
+
"name": "addressLookupTable";
|
|
3049
|
+
"docs": [
|
|
3050
|
+
"Seeds are checked in the CPI to LUT program, so no need to check them here."
|
|
3051
|
+
];
|
|
3052
|
+
"writable": true;
|
|
3053
|
+
},
|
|
3054
|
+
{
|
|
3055
|
+
"name": "lutProgram";
|
|
3056
|
+
"address": "AddressLookupTab1e1111111111111111111111111";
|
|
3057
|
+
},
|
|
3024
3058
|
{
|
|
3025
3059
|
"name": "originalMxeProgram";
|
|
3026
3060
|
},
|
|
@@ -4659,9 +4693,6 @@ export type Arcium = {
|
|
|
4659
4693
|
},
|
|
4660
4694
|
{
|
|
4661
4695
|
"name": "programData";
|
|
4662
|
-
"docs": [
|
|
4663
|
-
"The seeds constraint is only applied in non-testing builds."
|
|
4664
|
-
];
|
|
4665
4696
|
"pda": {
|
|
4666
4697
|
"seeds": [
|
|
4667
4698
|
{
|
|
@@ -6498,6 +6529,123 @@ export type Arcium = {
|
|
|
6498
6529
|
}
|
|
6499
6530
|
];
|
|
6500
6531
|
},
|
|
6532
|
+
{
|
|
6533
|
+
"name": "registerAccountInLut";
|
|
6534
|
+
"discriminator": [
|
|
6535
|
+
55,
|
|
6536
|
+
38,
|
|
6537
|
+
119,
|
|
6538
|
+
20,
|
|
6539
|
+
35,
|
|
6540
|
+
231,
|
|
6541
|
+
184,
|
|
6542
|
+
236
|
|
6543
|
+
];
|
|
6544
|
+
"accounts": [
|
|
6545
|
+
{
|
|
6546
|
+
"name": "signer";
|
|
6547
|
+
"writable": true;
|
|
6548
|
+
"signer": true;
|
|
6549
|
+
},
|
|
6550
|
+
{
|
|
6551
|
+
"name": "mxe";
|
|
6552
|
+
"pda": {
|
|
6553
|
+
"seeds": [
|
|
6554
|
+
{
|
|
6555
|
+
"kind": "const";
|
|
6556
|
+
"value": [
|
|
6557
|
+
77,
|
|
6558
|
+
88,
|
|
6559
|
+
69,
|
|
6560
|
+
65,
|
|
6561
|
+
99,
|
|
6562
|
+
99,
|
|
6563
|
+
111,
|
|
6564
|
+
117,
|
|
6565
|
+
110,
|
|
6566
|
+
116
|
|
6567
|
+
];
|
|
6568
|
+
},
|
|
6569
|
+
{
|
|
6570
|
+
"kind": "account";
|
|
6571
|
+
"path": "mxeProgram";
|
|
6572
|
+
}
|
|
6573
|
+
];
|
|
6574
|
+
};
|
|
6575
|
+
},
|
|
6576
|
+
{
|
|
6577
|
+
"name": "mxeProgram";
|
|
6578
|
+
},
|
|
6579
|
+
{
|
|
6580
|
+
"name": "addressLookupTable";
|
|
6581
|
+
"writable": true;
|
|
6582
|
+
"pda": {
|
|
6583
|
+
"seeds": [
|
|
6584
|
+
{
|
|
6585
|
+
"kind": "account";
|
|
6586
|
+
"path": "mxe";
|
|
6587
|
+
},
|
|
6588
|
+
{
|
|
6589
|
+
"kind": "account";
|
|
6590
|
+
"path": "mxe.lut_offset_slot";
|
|
6591
|
+
"account": "mxeAccount";
|
|
6592
|
+
}
|
|
6593
|
+
];
|
|
6594
|
+
"program": {
|
|
6595
|
+
"kind": "const";
|
|
6596
|
+
"value": [
|
|
6597
|
+
2,
|
|
6598
|
+
119,
|
|
6599
|
+
166,
|
|
6600
|
+
175,
|
|
6601
|
+
151,
|
|
6602
|
+
51,
|
|
6603
|
+
155,
|
|
6604
|
+
122,
|
|
6605
|
+
200,
|
|
6606
|
+
141,
|
|
6607
|
+
24,
|
|
6608
|
+
146,
|
|
6609
|
+
201,
|
|
6610
|
+
4,
|
|
6611
|
+
70,
|
|
6612
|
+
245,
|
|
6613
|
+
0,
|
|
6614
|
+
2,
|
|
6615
|
+
48,
|
|
6616
|
+
146,
|
|
6617
|
+
102,
|
|
6618
|
+
246,
|
|
6619
|
+
46,
|
|
6620
|
+
83,
|
|
6621
|
+
193,
|
|
6622
|
+
24,
|
|
6623
|
+
36,
|
|
6624
|
+
73,
|
|
6625
|
+
130,
|
|
6626
|
+
0,
|
|
6627
|
+
0,
|
|
6628
|
+
0
|
|
6629
|
+
];
|
|
6630
|
+
};
|
|
6631
|
+
};
|
|
6632
|
+
},
|
|
6633
|
+
{
|
|
6634
|
+
"name": "lutProgram";
|
|
6635
|
+
"address": "AddressLookupTab1e1111111111111111111111111";
|
|
6636
|
+
},
|
|
6637
|
+
{
|
|
6638
|
+
"name": "systemProgram";
|
|
6639
|
+
"address": "11111111111111111111111111111111";
|
|
6640
|
+
}
|
|
6641
|
+
];
|
|
6642
|
+
"args": [
|
|
6643
|
+
{
|
|
6644
|
+
"name": "account";
|
|
6645
|
+
"type": "pubkey";
|
|
6646
|
+
}
|
|
6647
|
+
];
|
|
6648
|
+
},
|
|
6501
6649
|
{
|
|
6502
6650
|
"name": "removePermissionedRecoveryPeers";
|
|
6503
6651
|
"docs": [
|
|
@@ -9292,11 +9440,6 @@ export type Arcium = {
|
|
|
9292
9440
|
"name": "recoveryActiveComputationExists";
|
|
9293
9441
|
"msg": "Cannot close recovery with active computation";
|
|
9294
9442
|
},
|
|
9295
|
-
{
|
|
9296
|
-
"code": 6712;
|
|
9297
|
-
"name": "recoveryExecutionNotSuccess";
|
|
9298
|
-
"msg": "Callback requires successful execution status";
|
|
9299
|
-
},
|
|
9300
9443
|
{
|
|
9301
9444
|
"code": 6713;
|
|
9302
9445
|
"name": "backupClusterNotSet";
|