@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/package.json
CHANGED
package/src/idl/arcium.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"address": "Arcj82pX7HxYKLR92qvgZUAd7vGS1k4hQvAFcPATFdEQ",
|
|
3
3
|
"metadata": {
|
|
4
4
|
"name": "arcium",
|
|
5
|
-
"version": "0.9.
|
|
5
|
+
"version": "0.9.4",
|
|
6
6
|
"spec": "0.1.0",
|
|
7
7
|
"description": "The Arcium program"
|
|
8
8
|
},
|
|
@@ -3015,6 +3015,40 @@
|
|
|
3015
3015
|
]
|
|
3016
3016
|
}
|
|
3017
3017
|
},
|
|
3018
|
+
{
|
|
3019
|
+
"name": "cluster_acc",
|
|
3020
|
+
"pda": {
|
|
3021
|
+
"seeds": [
|
|
3022
|
+
{
|
|
3023
|
+
"kind": "const",
|
|
3024
|
+
"value": [
|
|
3025
|
+
67,
|
|
3026
|
+
108,
|
|
3027
|
+
117,
|
|
3028
|
+
115,
|
|
3029
|
+
116,
|
|
3030
|
+
101,
|
|
3031
|
+
114
|
|
3032
|
+
]
|
|
3033
|
+
},
|
|
3034
|
+
{
|
|
3035
|
+
"kind": "arg",
|
|
3036
|
+
"path": "cluster_offset"
|
|
3037
|
+
}
|
|
3038
|
+
]
|
|
3039
|
+
}
|
|
3040
|
+
},
|
|
3041
|
+
{
|
|
3042
|
+
"name": "address_lookup_table",
|
|
3043
|
+
"docs": [
|
|
3044
|
+
"Seeds are checked in the CPI to LUT program, so no need to check them here."
|
|
3045
|
+
],
|
|
3046
|
+
"writable": true
|
|
3047
|
+
},
|
|
3048
|
+
{
|
|
3049
|
+
"name": "lut_program",
|
|
3050
|
+
"address": "AddressLookupTab1e1111111111111111111111111"
|
|
3051
|
+
},
|
|
3018
3052
|
{
|
|
3019
3053
|
"name": "original_mxe_program"
|
|
3020
3054
|
},
|
|
@@ -4653,9 +4687,6 @@
|
|
|
4653
4687
|
},
|
|
4654
4688
|
{
|
|
4655
4689
|
"name": "program_data",
|
|
4656
|
-
"docs": [
|
|
4657
|
-
"The seeds constraint is only applied in non-testing builds."
|
|
4658
|
-
],
|
|
4659
4690
|
"pda": {
|
|
4660
4691
|
"seeds": [
|
|
4661
4692
|
{
|
|
@@ -6492,6 +6523,123 @@
|
|
|
6492
6523
|
}
|
|
6493
6524
|
]
|
|
6494
6525
|
},
|
|
6526
|
+
{
|
|
6527
|
+
"name": "register_account_in_lut",
|
|
6528
|
+
"discriminator": [
|
|
6529
|
+
55,
|
|
6530
|
+
38,
|
|
6531
|
+
119,
|
|
6532
|
+
20,
|
|
6533
|
+
35,
|
|
6534
|
+
231,
|
|
6535
|
+
184,
|
|
6536
|
+
236
|
|
6537
|
+
],
|
|
6538
|
+
"accounts": [
|
|
6539
|
+
{
|
|
6540
|
+
"name": "signer",
|
|
6541
|
+
"writable": true,
|
|
6542
|
+
"signer": true
|
|
6543
|
+
},
|
|
6544
|
+
{
|
|
6545
|
+
"name": "mxe",
|
|
6546
|
+
"pda": {
|
|
6547
|
+
"seeds": [
|
|
6548
|
+
{
|
|
6549
|
+
"kind": "const",
|
|
6550
|
+
"value": [
|
|
6551
|
+
77,
|
|
6552
|
+
88,
|
|
6553
|
+
69,
|
|
6554
|
+
65,
|
|
6555
|
+
99,
|
|
6556
|
+
99,
|
|
6557
|
+
111,
|
|
6558
|
+
117,
|
|
6559
|
+
110,
|
|
6560
|
+
116
|
|
6561
|
+
]
|
|
6562
|
+
},
|
|
6563
|
+
{
|
|
6564
|
+
"kind": "account",
|
|
6565
|
+
"path": "mxe_program"
|
|
6566
|
+
}
|
|
6567
|
+
]
|
|
6568
|
+
}
|
|
6569
|
+
},
|
|
6570
|
+
{
|
|
6571
|
+
"name": "mxe_program"
|
|
6572
|
+
},
|
|
6573
|
+
{
|
|
6574
|
+
"name": "address_lookup_table",
|
|
6575
|
+
"writable": true,
|
|
6576
|
+
"pda": {
|
|
6577
|
+
"seeds": [
|
|
6578
|
+
{
|
|
6579
|
+
"kind": "account",
|
|
6580
|
+
"path": "mxe"
|
|
6581
|
+
},
|
|
6582
|
+
{
|
|
6583
|
+
"kind": "account",
|
|
6584
|
+
"path": "mxe.lut_offset_slot",
|
|
6585
|
+
"account": "MXEAccount"
|
|
6586
|
+
}
|
|
6587
|
+
],
|
|
6588
|
+
"program": {
|
|
6589
|
+
"kind": "const",
|
|
6590
|
+
"value": [
|
|
6591
|
+
2,
|
|
6592
|
+
119,
|
|
6593
|
+
166,
|
|
6594
|
+
175,
|
|
6595
|
+
151,
|
|
6596
|
+
51,
|
|
6597
|
+
155,
|
|
6598
|
+
122,
|
|
6599
|
+
200,
|
|
6600
|
+
141,
|
|
6601
|
+
24,
|
|
6602
|
+
146,
|
|
6603
|
+
201,
|
|
6604
|
+
4,
|
|
6605
|
+
70,
|
|
6606
|
+
245,
|
|
6607
|
+
0,
|
|
6608
|
+
2,
|
|
6609
|
+
48,
|
|
6610
|
+
146,
|
|
6611
|
+
102,
|
|
6612
|
+
246,
|
|
6613
|
+
46,
|
|
6614
|
+
83,
|
|
6615
|
+
193,
|
|
6616
|
+
24,
|
|
6617
|
+
36,
|
|
6618
|
+
73,
|
|
6619
|
+
130,
|
|
6620
|
+
0,
|
|
6621
|
+
0,
|
|
6622
|
+
0
|
|
6623
|
+
]
|
|
6624
|
+
}
|
|
6625
|
+
}
|
|
6626
|
+
},
|
|
6627
|
+
{
|
|
6628
|
+
"name": "lut_program",
|
|
6629
|
+
"address": "AddressLookupTab1e1111111111111111111111111"
|
|
6630
|
+
},
|
|
6631
|
+
{
|
|
6632
|
+
"name": "system_program",
|
|
6633
|
+
"address": "11111111111111111111111111111111"
|
|
6634
|
+
}
|
|
6635
|
+
],
|
|
6636
|
+
"args": [
|
|
6637
|
+
{
|
|
6638
|
+
"name": "account",
|
|
6639
|
+
"type": "pubkey"
|
|
6640
|
+
}
|
|
6641
|
+
]
|
|
6642
|
+
},
|
|
6495
6643
|
{
|
|
6496
6644
|
"name": "remove_permissioned_recovery_peers",
|
|
6497
6645
|
"docs": [
|
|
@@ -9286,11 +9434,6 @@
|
|
|
9286
9434
|
"name": "RecoveryActiveComputationExists",
|
|
9287
9435
|
"msg": "Cannot close recovery with active computation"
|
|
9288
9436
|
},
|
|
9289
|
-
{
|
|
9290
|
-
"code": 6712,
|
|
9291
|
-
"name": "RecoveryExecutionNotSuccess",
|
|
9292
|
-
"msg": "Callback requires successful execution status"
|
|
9293
|
-
},
|
|
9294
9437
|
{
|
|
9295
9438
|
"code": 6713,
|
|
9296
9439
|
"name": "BackupClusterNotSet",
|
package/src/idl/arcium.ts
CHANGED
|
@@ -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",
|