@arcium-hq/client 0.5.1 → 0.5.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 +20 -25
- package/build/index.d.ts +21 -26
- package/build/index.mjs +20 -25
- package/package.json +1 -1
package/build/index.cjs
CHANGED
|
@@ -1363,10 +1363,10 @@ class Aes256Cipher extends AesCtrCipher {
|
|
|
1363
1363
|
}
|
|
1364
1364
|
}
|
|
1365
1365
|
|
|
1366
|
-
var address = "
|
|
1366
|
+
var address = "F3G6Q9tRicyznCqcZLydJ6RxkwDSBeHWM458J7V6aeyk";
|
|
1367
1367
|
var metadata = {
|
|
1368
1368
|
name: "arcium",
|
|
1369
|
-
version: "0.5.
|
|
1369
|
+
version: "0.5.4",
|
|
1370
1370
|
spec: "0.1.0",
|
|
1371
1371
|
description: "The Arcium program"
|
|
1372
1372
|
};
|
|
@@ -3604,7 +3604,7 @@ var instructions = [
|
|
|
3604
3604
|
{
|
|
3605
3605
|
name: "init_mxe",
|
|
3606
3606
|
docs: [
|
|
3607
|
-
"Initializes a MPC Execution Environment."
|
|
3607
|
+
"Initializes a MPC Execution Environment (part 1)."
|
|
3608
3608
|
],
|
|
3609
3609
|
discriminator: [
|
|
3610
3610
|
240,
|
|
@@ -3817,17 +3817,8 @@ var instructions = [
|
|
|
3817
3817
|
path: "cluster_offset"
|
|
3818
3818
|
},
|
|
3819
3819
|
{
|
|
3820
|
-
kind: "
|
|
3821
|
-
|
|
3822
|
-
1,
|
|
3823
|
-
0,
|
|
3824
|
-
0,
|
|
3825
|
-
0,
|
|
3826
|
-
0,
|
|
3827
|
-
0,
|
|
3828
|
-
0,
|
|
3829
|
-
0
|
|
3830
|
-
]
|
|
3820
|
+
kind: "arg",
|
|
3821
|
+
path: "keygen_offset"
|
|
3831
3822
|
}
|
|
3832
3823
|
]
|
|
3833
3824
|
}
|
|
@@ -3874,6 +3865,10 @@ var instructions = [
|
|
|
3874
3865
|
{
|
|
3875
3866
|
name: "cluster_offset",
|
|
3876
3867
|
type: "u32"
|
|
3868
|
+
},
|
|
3869
|
+
{
|
|
3870
|
+
name: "keygen_offset",
|
|
3871
|
+
type: "u64"
|
|
3877
3872
|
}
|
|
3878
3873
|
]
|
|
3879
3874
|
},
|
|
@@ -5012,17 +5007,9 @@ var instructions = [
|
|
|
5012
5007
|
path: "cluster_offset"
|
|
5013
5008
|
},
|
|
5014
5009
|
{
|
|
5015
|
-
kind: "
|
|
5016
|
-
|
|
5017
|
-
|
|
5018
|
-
0,
|
|
5019
|
-
0,
|
|
5020
|
-
0,
|
|
5021
|
-
0,
|
|
5022
|
-
0,
|
|
5023
|
-
0,
|
|
5024
|
-
0
|
|
5025
|
-
]
|
|
5010
|
+
kind: "account",
|
|
5011
|
+
path: "mxe.keygen_offset",
|
|
5012
|
+
account: "MXEAccount"
|
|
5026
5013
|
}
|
|
5027
5014
|
]
|
|
5028
5015
|
}
|
|
@@ -7970,6 +7957,14 @@ var types = [
|
|
|
7970
7957
|
option: "u32"
|
|
7971
7958
|
}
|
|
7972
7959
|
},
|
|
7960
|
+
{
|
|
7961
|
+
name: "keygen_offset",
|
|
7962
|
+
docs: [
|
|
7963
|
+
"The offset used for the keygen computation account.",
|
|
7964
|
+
"Stored so requeue_mxe_keygen can find the computation account."
|
|
7965
|
+
],
|
|
7966
|
+
type: "u64"
|
|
7967
|
+
},
|
|
7973
7968
|
{
|
|
7974
7969
|
name: "mxe_program_id",
|
|
7975
7970
|
docs: [
|
package/build/index.d.ts
CHANGED
|
@@ -303,10 +303,10 @@ declare class Aes256Cipher extends AesCtrCipher {
|
|
|
303
303
|
* IDL can be found at `target/idl/arcium.json`.
|
|
304
304
|
*/
|
|
305
305
|
type Arcium = {
|
|
306
|
-
"address": "
|
|
306
|
+
"address": "F3G6Q9tRicyznCqcZLydJ6RxkwDSBeHWM458J7V6aeyk";
|
|
307
307
|
"metadata": {
|
|
308
308
|
"name": "arcium";
|
|
309
|
-
"version": "0.5.
|
|
309
|
+
"version": "0.5.4";
|
|
310
310
|
"spec": "0.1.0";
|
|
311
311
|
"description": "The Arcium program";
|
|
312
312
|
};
|
|
@@ -2543,7 +2543,7 @@ type Arcium = {
|
|
|
2543
2543
|
{
|
|
2544
2544
|
"name": "initMxe";
|
|
2545
2545
|
"docs": [
|
|
2546
|
-
"Initializes a MPC Execution Environment."
|
|
2546
|
+
"Initializes a MPC Execution Environment (part 1)."
|
|
2547
2547
|
];
|
|
2548
2548
|
"discriminator": [
|
|
2549
2549
|
240,
|
|
@@ -2756,17 +2756,8 @@ type Arcium = {
|
|
|
2756
2756
|
"path": "clusterOffset";
|
|
2757
2757
|
},
|
|
2758
2758
|
{
|
|
2759
|
-
"kind": "
|
|
2760
|
-
"
|
|
2761
|
-
1,
|
|
2762
|
-
0,
|
|
2763
|
-
0,
|
|
2764
|
-
0,
|
|
2765
|
-
0,
|
|
2766
|
-
0,
|
|
2767
|
-
0,
|
|
2768
|
-
0
|
|
2769
|
-
];
|
|
2759
|
+
"kind": "arg";
|
|
2760
|
+
"path": "keygenOffset";
|
|
2770
2761
|
}
|
|
2771
2762
|
];
|
|
2772
2763
|
};
|
|
@@ -2813,6 +2804,10 @@ type Arcium = {
|
|
|
2813
2804
|
{
|
|
2814
2805
|
"name": "clusterOffset";
|
|
2815
2806
|
"type": "u32";
|
|
2807
|
+
},
|
|
2808
|
+
{
|
|
2809
|
+
"name": "keygenOffset";
|
|
2810
|
+
"type": "u64";
|
|
2816
2811
|
}
|
|
2817
2812
|
];
|
|
2818
2813
|
},
|
|
@@ -3951,17 +3946,9 @@ type Arcium = {
|
|
|
3951
3946
|
"path": "clusterOffset";
|
|
3952
3947
|
},
|
|
3953
3948
|
{
|
|
3954
|
-
"kind": "
|
|
3955
|
-
"
|
|
3956
|
-
|
|
3957
|
-
0,
|
|
3958
|
-
0,
|
|
3959
|
-
0,
|
|
3960
|
-
0,
|
|
3961
|
-
0,
|
|
3962
|
-
0,
|
|
3963
|
-
0
|
|
3964
|
-
];
|
|
3949
|
+
"kind": "account";
|
|
3950
|
+
"path": "mxe.keygen_offset";
|
|
3951
|
+
"account": "mxeAccount";
|
|
3965
3952
|
}
|
|
3966
3953
|
];
|
|
3967
3954
|
};
|
|
@@ -6908,6 +6895,14 @@ type Arcium = {
|
|
|
6908
6895
|
"option": "u32";
|
|
6909
6896
|
};
|
|
6910
6897
|
},
|
|
6898
|
+
{
|
|
6899
|
+
"name": "keygenOffset";
|
|
6900
|
+
"docs": [
|
|
6901
|
+
"The offset used for the keygen computation account.",
|
|
6902
|
+
"Stored so requeue_mxe_keygen can find the computation account."
|
|
6903
|
+
];
|
|
6904
|
+
"type": "u64";
|
|
6905
|
+
},
|
|
6911
6906
|
{
|
|
6912
6907
|
"name": "mxeProgramId";
|
|
6913
6908
|
"docs": [
|
|
@@ -7948,7 +7943,7 @@ declare const ARCIUM_IDL: Arcium;
|
|
|
7948
7943
|
/**
|
|
7949
7944
|
* The deployed address of the Arcium program, as specified in the IDL.
|
|
7950
7945
|
*/
|
|
7951
|
-
declare const ARCIUM_ADDR: "
|
|
7946
|
+
declare const ARCIUM_ADDR: "F3G6Q9tRicyznCqcZLydJ6RxkwDSBeHWM458J7V6aeyk";
|
|
7952
7947
|
|
|
7953
7948
|
/**
|
|
7954
7949
|
* Compresses an array of bytes into 128-bit bigints.
|
package/build/index.mjs
CHANGED
|
@@ -1344,10 +1344,10 @@ class Aes256Cipher extends AesCtrCipher {
|
|
|
1344
1344
|
}
|
|
1345
1345
|
}
|
|
1346
1346
|
|
|
1347
|
-
var address = "
|
|
1347
|
+
var address = "F3G6Q9tRicyznCqcZLydJ6RxkwDSBeHWM458J7V6aeyk";
|
|
1348
1348
|
var metadata = {
|
|
1349
1349
|
name: "arcium",
|
|
1350
|
-
version: "0.5.
|
|
1350
|
+
version: "0.5.4",
|
|
1351
1351
|
spec: "0.1.0",
|
|
1352
1352
|
description: "The Arcium program"
|
|
1353
1353
|
};
|
|
@@ -3585,7 +3585,7 @@ var instructions = [
|
|
|
3585
3585
|
{
|
|
3586
3586
|
name: "init_mxe",
|
|
3587
3587
|
docs: [
|
|
3588
|
-
"Initializes a MPC Execution Environment."
|
|
3588
|
+
"Initializes a MPC Execution Environment (part 1)."
|
|
3589
3589
|
],
|
|
3590
3590
|
discriminator: [
|
|
3591
3591
|
240,
|
|
@@ -3798,17 +3798,8 @@ var instructions = [
|
|
|
3798
3798
|
path: "cluster_offset"
|
|
3799
3799
|
},
|
|
3800
3800
|
{
|
|
3801
|
-
kind: "
|
|
3802
|
-
|
|
3803
|
-
1,
|
|
3804
|
-
0,
|
|
3805
|
-
0,
|
|
3806
|
-
0,
|
|
3807
|
-
0,
|
|
3808
|
-
0,
|
|
3809
|
-
0,
|
|
3810
|
-
0
|
|
3811
|
-
]
|
|
3801
|
+
kind: "arg",
|
|
3802
|
+
path: "keygen_offset"
|
|
3812
3803
|
}
|
|
3813
3804
|
]
|
|
3814
3805
|
}
|
|
@@ -3855,6 +3846,10 @@ var instructions = [
|
|
|
3855
3846
|
{
|
|
3856
3847
|
name: "cluster_offset",
|
|
3857
3848
|
type: "u32"
|
|
3849
|
+
},
|
|
3850
|
+
{
|
|
3851
|
+
name: "keygen_offset",
|
|
3852
|
+
type: "u64"
|
|
3858
3853
|
}
|
|
3859
3854
|
]
|
|
3860
3855
|
},
|
|
@@ -4993,17 +4988,9 @@ var instructions = [
|
|
|
4993
4988
|
path: "cluster_offset"
|
|
4994
4989
|
},
|
|
4995
4990
|
{
|
|
4996
|
-
kind: "
|
|
4997
|
-
|
|
4998
|
-
|
|
4999
|
-
0,
|
|
5000
|
-
0,
|
|
5001
|
-
0,
|
|
5002
|
-
0,
|
|
5003
|
-
0,
|
|
5004
|
-
0,
|
|
5005
|
-
0
|
|
5006
|
-
]
|
|
4991
|
+
kind: "account",
|
|
4992
|
+
path: "mxe.keygen_offset",
|
|
4993
|
+
account: "MXEAccount"
|
|
5007
4994
|
}
|
|
5008
4995
|
]
|
|
5009
4996
|
}
|
|
@@ -7951,6 +7938,14 @@ var types = [
|
|
|
7951
7938
|
option: "u32"
|
|
7952
7939
|
}
|
|
7953
7940
|
},
|
|
7941
|
+
{
|
|
7942
|
+
name: "keygen_offset",
|
|
7943
|
+
docs: [
|
|
7944
|
+
"The offset used for the keygen computation account.",
|
|
7945
|
+
"Stored so requeue_mxe_keygen can find the computation account."
|
|
7946
|
+
],
|
|
7947
|
+
type: "u64"
|
|
7948
|
+
},
|
|
7954
7949
|
{
|
|
7955
7950
|
name: "mxe_program_id",
|
|
7956
7951
|
docs: [
|