@inco/js 0.4.0 → 0.5.0

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.
Files changed (108) hide show
  1. package/README.md +4 -1
  2. package/dist/cjs/advancedacl/session-key.d.ts +1 -1
  3. package/dist/cjs/advancedacl/session-key.js +60 -32
  4. package/dist/cjs/attestedcompute/attested-compute.js +3 -2
  5. package/dist/cjs/attestedcompute/types.js +1 -1
  6. package/dist/cjs/attesteddecrypt/attested-decrypt.js +5 -3
  7. package/dist/cjs/attesteddecrypt/types.js +1 -1
  8. package/dist/cjs/attestedreveal/attested-reveal.js +3 -2
  9. package/dist/cjs/binary.js +6 -3
  10. package/dist/cjs/chain.js +5 -2
  11. package/dist/cjs/encryption/encryption.js +1 -1
  12. package/dist/cjs/generated/abis/TestElist.d.ts +247 -0
  13. package/dist/cjs/generated/abis/TestElist.js +152 -0
  14. package/dist/cjs/generated/abis/addTwo.d.ts +2 -38
  15. package/dist/cjs/generated/abis/addTwo.js +3 -22
  16. package/dist/cjs/generated/abis/lightning-preview.d.ts +79 -1008
  17. package/dist/cjs/generated/abis/lightning-preview.js +56 -619
  18. package/dist/cjs/generated/abis/lightning.d.ts +75 -454
  19. package/dist/cjs/generated/abis/lightning.js +58 -332
  20. package/dist/cjs/generated/abis/verifier.d.ts +1016 -0
  21. package/dist/cjs/generated/abis/verifier.js +704 -0
  22. package/dist/cjs/generated/es/cosmos_proto/cosmos_pb.js +1 -1
  23. package/dist/cjs/generated/es/inco/fhe/v1/types_pb.js +1 -1
  24. package/dist/cjs/generated/es/inco/kms/lite/v1/kms_service_pb.js +1 -1
  25. package/dist/cjs/generated/es/inco/kms/lite/v1/types_pb.js +1 -1
  26. package/dist/cjs/handle.d.ts +1 -1
  27. package/dist/cjs/handle.js +5 -3
  28. package/dist/cjs/kms/client.js +1 -1
  29. package/dist/cjs/lite/attested-compute.d.ts +4 -3
  30. package/dist/cjs/lite/attested-compute.js +4 -2
  31. package/dist/cjs/lite/attested-decrypt.js +1 -1
  32. package/dist/cjs/lite/deployments.js +1 -1
  33. package/dist/cjs/lite/ecies.d.ts +2 -2
  34. package/dist/cjs/lite/ecies.js +3 -3
  35. package/dist/cjs/lite/hadu.d.ts +1 -1
  36. package/dist/cjs/lite/hadu.js +2 -2
  37. package/dist/cjs/lite/lightning.d.ts +1 -1
  38. package/dist/cjs/lite/lightning.js +9 -4
  39. package/dist/cjs/lite/reencrypt.js +3 -2
  40. package/dist/cjs/local/local-node.js +6 -3
  41. package/dist/cjs/reencryption/eip712.d.ts +2 -2
  42. package/dist/cjs/reencryption/eip712.js +2 -11
  43. package/dist/cjs/retry.d.ts +1 -1
  44. package/dist/cjs/retry.js +2 -2
  45. package/dist/cjs/schema.js +1 -1
  46. package/dist/cjs/viem.d.ts +12 -15
  47. package/dist/cjs/viem.js +9 -2
  48. package/dist/esm/advancedacl/session-key.d.ts +1 -1
  49. package/dist/esm/advancedacl/session-key.js +65 -37
  50. package/dist/esm/attestedcompute/attested-compute.js +4 -3
  51. package/dist/esm/attestedcompute/types.js +1 -1
  52. package/dist/esm/attesteddecrypt/attested-decrypt.js +7 -5
  53. package/dist/esm/attesteddecrypt/types.js +1 -1
  54. package/dist/esm/attestedreveal/attested-reveal.js +4 -3
  55. package/dist/esm/binary.js +6 -3
  56. package/dist/esm/chain.js +5 -2
  57. package/dist/esm/encryption/encryption.js +1 -1
  58. package/dist/esm/generated/abis/TestElist.d.ts +247 -0
  59. package/dist/esm/generated/abis/TestElist.js +149 -0
  60. package/dist/esm/generated/abis/addTwo.d.ts +2 -38
  61. package/dist/esm/generated/abis/addTwo.js +3 -22
  62. package/dist/esm/generated/abis/lightning-preview.d.ts +79 -1008
  63. package/dist/esm/generated/abis/lightning-preview.js +56 -619
  64. package/dist/esm/generated/abis/lightning.d.ts +75 -454
  65. package/dist/esm/generated/abis/lightning.js +58 -332
  66. package/dist/esm/generated/abis/verifier.d.ts +1016 -0
  67. package/dist/esm/generated/abis/verifier.js +701 -0
  68. package/dist/esm/generated/es/cosmos_proto/cosmos_pb.js +1 -1
  69. package/dist/esm/generated/es/inco/fhe/v1/types_pb.js +1 -1
  70. package/dist/esm/generated/es/inco/kms/lite/v1/kms_service_pb.js +1 -1
  71. package/dist/esm/generated/es/inco/kms/lite/v1/types_pb.js +1 -1
  72. package/dist/esm/handle.d.ts +1 -1
  73. package/dist/esm/handle.js +5 -3
  74. package/dist/esm/kms/client.js +1 -1
  75. package/dist/esm/lite/attested-compute.d.ts +4 -3
  76. package/dist/esm/lite/attested-compute.js +3 -2
  77. package/dist/esm/lite/attested-decrypt.js +2 -2
  78. package/dist/esm/lite/deployments.js +1 -1
  79. package/dist/esm/lite/ecies.d.ts +2 -2
  80. package/dist/esm/lite/ecies.js +4 -4
  81. package/dist/esm/lite/hadu.d.ts +1 -1
  82. package/dist/esm/lite/hadu.js +2 -2
  83. package/dist/esm/lite/lightning.d.ts +1 -1
  84. package/dist/esm/lite/lightning.js +11 -6
  85. package/dist/esm/lite/reencrypt.js +5 -4
  86. package/dist/esm/local/local-node.js +6 -3
  87. package/dist/esm/reencryption/eip712.d.ts +2 -2
  88. package/dist/esm/reencryption/eip712.js +2 -11
  89. package/dist/esm/retry.d.ts +1 -1
  90. package/dist/esm/retry.js +2 -2
  91. package/dist/esm/schema.js +1 -1
  92. package/dist/esm/viem.d.ts +12 -15
  93. package/dist/esm/viem.js +10 -3
  94. package/dist/types/advancedacl/session-key.d.ts +1 -1
  95. package/dist/types/generated/abis/TestElist.d.ts +247 -0
  96. package/dist/types/generated/abis/addTwo.d.ts +2 -38
  97. package/dist/types/generated/abis/lightning-preview.d.ts +79 -1008
  98. package/dist/types/generated/abis/lightning.d.ts +75 -454
  99. package/dist/types/generated/abis/verifier.d.ts +1016 -0
  100. package/dist/types/handle.d.ts +1 -1
  101. package/dist/types/lite/attested-compute.d.ts +4 -3
  102. package/dist/types/lite/ecies.d.ts +2 -2
  103. package/dist/types/lite/hadu.d.ts +1 -1
  104. package/dist/types/lite/lightning.d.ts +1 -1
  105. package/dist/types/reencryption/eip712.d.ts +2 -2
  106. package/dist/types/retry.d.ts +1 -1
  107. package/dist/types/viem.d.ts +12 -15
  108. package/package.json +37 -61
@@ -14,12 +14,9 @@ export declare const chains: {
14
14
  readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
15
15
  readonly blockCreated: 751532;
16
16
  };
17
- readonly ensRegistry: {
18
- readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
19
- };
20
17
  readonly ensUniversalResolver: {
21
- readonly address: "0xc8Af999e38273D658BE1b921b88A9Ddf005769cC";
22
- readonly blockCreated: 5317080;
18
+ readonly address: "0xeeeeeeee14d718c2b47d9923deab1335e144eeee";
19
+ readonly blockCreated: 8928790;
23
20
  };
24
21
  };
25
22
  ensTlds?: readonly string[] | undefined;
@@ -180,16 +177,16 @@ export declare const chains: {
180
177
  r: import("viem").Hex;
181
178
  s: import("viem").Hex;
182
179
  v: bigint;
180
+ value: bigint;
181
+ gas: bigint;
183
182
  to: import("abitype").Address | null;
184
183
  from: import("abitype").Address;
185
- gas: bigint;
186
184
  nonce: number;
187
- value: bigint;
188
185
  blockHash: `0x${string}` | null;
189
186
  blockNumber: bigint | null;
187
+ transactionIndex: number | null;
190
188
  hash: import("viem").Hash;
191
189
  input: import("viem").Hex;
192
- transactionIndex: number | null;
193
190
  typeHex: import("viem").Hex | null;
194
191
  accessList?: undefined | undefined;
195
192
  authorizationList?: undefined | undefined;
@@ -359,7 +356,7 @@ export declare const chains: {
359
356
  readonly url: "https://testnet.monadexplorer.com";
360
357
  };
361
358
  };
362
- blockTime?: number | undefined | undefined;
359
+ blockTime: 400;
363
360
  contracts: {
364
361
  readonly multicall3: {
365
362
  readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
@@ -391,7 +388,7 @@ export declare const chains: {
391
388
  blockExplorers: {
392
389
  readonly default: {
393
390
  readonly name: "RouteScan";
394
- readonly url: "https://testnet.plasmaexplorer.io";
391
+ readonly url: "https://testnet.plasmascan.to";
395
392
  };
396
393
  };
397
394
  blockTime?: number | undefined | undefined;
@@ -402,7 +399,7 @@ export declare const chains: {
402
399
  ensRegistry?: import("viem").ChainContract | undefined;
403
400
  ensUniversalResolver?: import("viem").ChainContract | undefined;
404
401
  multicall3?: import("viem").ChainContract | undefined;
405
- universalSignatureVerifier?: import("viem").ChainContract | undefined;
402
+ erc6492Verifier?: import("viem").ChainContract | undefined;
406
403
  } | undefined;
407
404
  ensTlds?: readonly string[] | undefined;
408
405
  id: 9746;
@@ -446,7 +443,7 @@ export declare const chains: {
446
443
  ensRegistry?: import("viem").ChainContract | undefined;
447
444
  ensUniversalResolver?: import("viem").ChainContract | undefined;
448
445
  multicall3?: import("viem").ChainContract | undefined;
449
- universalSignatureVerifier?: import("viem").ChainContract | undefined;
446
+ erc6492Verifier?: import("viem").ChainContract | undefined;
450
447
  } | undefined;
451
448
  ensTlds?: readonly string[] | undefined;
452
449
  id: 31337;
@@ -610,16 +607,16 @@ export declare const chains: {
610
607
  r: import("viem").Hex;
611
608
  s: import("viem").Hex;
612
609
  v: bigint;
610
+ value: bigint;
611
+ gas: bigint;
613
612
  to: import("abitype").Address | null;
614
613
  from: import("abitype").Address;
615
- gas: bigint;
616
614
  nonce: number;
617
- value: bigint;
618
615
  blockHash: `0x${string}` | null;
619
616
  blockNumber: bigint | null;
617
+ transactionIndex: number | null;
620
618
  hash: import("viem").Hash;
621
619
  input: import("viem").Hex;
622
- transactionIndex: number | null;
623
620
  typeHex: import("viem").Hex | null;
624
621
  accessList?: undefined | undefined;
625
622
  authorizationList?: undefined | undefined;
package/dist/esm/viem.js CHANGED
@@ -1,8 +1,15 @@
1
- import { anvil, baseSepolia, monadTestnet, plasmaTestnet, sepolia, worldchainSepolia } from 'viem/chains';
1
+ import { anvil, baseSepolia, monadTestnet, plasmaTestnet, sepolia, worldchainSepolia, } from 'viem/chains';
2
2
  import { getSupportedChain } from './chain.js';
3
- export const chains = { sepolia, baseSepolia, monadTestnet, plasmaTestnet, anvil, worldchainSepolia };
3
+ export const chains = {
4
+ sepolia,
5
+ baseSepolia,
6
+ monadTestnet,
7
+ plasmaTestnet,
8
+ anvil,
9
+ worldchainSepolia,
10
+ };
4
11
  export function getViemChain(chainish) {
5
12
  const { name } = getSupportedChain(chainish);
6
13
  return chains[name];
7
14
  }
8
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmllbS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy92aWVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxLQUFLLEVBQUUsV0FBVyxFQUFFLFlBQVksRUFBRSxhQUFhLEVBQUUsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sYUFBYSxDQUFDO0FBQzFHLE9BQU8sRUFBWSxpQkFBaUIsRUFBRSxNQUFNLFlBQVksQ0FBQztBQUV6RCxNQUFNLENBQUMsTUFBTSxNQUFNLEdBQUcsRUFBRSxPQUFPLEVBQUUsV0FBVyxFQUFFLFlBQVksRUFBRSxhQUFhLEVBQUUsS0FBSyxFQUFFLGlCQUFpQixFQUFFLENBQUM7QUFNdEcsTUFBTSxVQUFVLFlBQVksQ0FBQyxRQUFrQjtJQUM3QyxNQUFNLEVBQUUsSUFBSSxFQUFFLEdBQUcsaUJBQWlCLENBQUMsUUFBUSxDQUFDLENBQUM7SUFDN0MsT0FBTyxNQUFNLENBQUMsSUFBSSxDQUFDLENBQUM7QUFDdEIsQ0FBQyJ9
15
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmllbS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy92aWVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxLQUFLLEVBQ0wsV0FBVyxFQUNYLFlBQVksRUFDWixhQUFhLEVBQ2IsT0FBTyxFQUNQLGlCQUFpQixHQUNsQixNQUFNLGFBQWEsQ0FBQztBQUNyQixPQUFPLEVBQVksaUJBQWlCLEVBQUUsTUFBTSxZQUFZLENBQUM7QUFFekQsTUFBTSxDQUFDLE1BQU0sTUFBTSxHQUFHO0lBQ3BCLE9BQU87SUFDUCxXQUFXO0lBQ1gsWUFBWTtJQUNaLGFBQWE7SUFDYixLQUFLO0lBQ0wsaUJBQWlCO0NBQ2xCLENBQUM7QUFNRixNQUFNLFVBQVUsWUFBWSxDQUFDLFFBQWtCO0lBQzdDLE1BQU0sRUFBRSxJQUFJLEVBQUUsR0FBRyxpQkFBaUIsQ0FBQyxRQUFRLENBQUMsQ0FBQztJQUM3QyxPQUFPLE1BQU0sQ0FBQyxJQUFJLENBQUMsQ0FBQztBQUN0QixDQUFDIn0=
@@ -29,7 +29,7 @@ export interface SessionKeyReencryptorArgs {
29
29
  kmsConnectRpcEndpointOrClient: string | Client<typeof KmsService>;
30
30
  allowanceVoucherWithSig: AllowanceVoucherWithSig;
31
31
  }
32
- export declare function sessionKeyReencryptor({ chainId, kmsConnectRpcEndpointOrClient, ephemeralKeypair, allowanceVoucherWithSig, }: SessionKeyReencryptorArgs): Promise<(<T extends SupportedFheType>({ handle }: ReencryptFnArgs<EciesScheme, T>) => Promise<import("../encryption/encryption.js").PlaintextOf<1, 0 | 5 | 7 | 8>>)>;
32
+ export declare function sessionKeyReencryptor({ chainId, kmsConnectRpcEndpointOrClient, ephemeralKeypair, allowanceVoucherWithSig, }: SessionKeyReencryptorArgs): Promise<(<T extends SupportedFheType>({ handle, }: ReencryptFnArgs<EciesScheme, T>) => Promise<import("../encryption/encryption.js").PlaintextOf<1, 0 | 5 | 7 | 8>>)>;
33
33
  export declare function updateActiveVouchersSessionNonce(incoLiteAddress: Address, sharerWalletClient: WalletClient<Transport, Chain, Account>): Promise<`0x${string}`>;
34
34
  export interface SessionKeyAttestedComputeArgs {
35
35
  chainId: SupportedChainId;
@@ -0,0 +1,247 @@
1
+ export declare const elistPreviewAbi: readonly [{
2
+ readonly type: "constructor";
3
+ readonly inputs: readonly [{
4
+ readonly name: "_inco";
5
+ readonly internalType: "contract IncoLightningPreview";
6
+ readonly type: "address";
7
+ }];
8
+ readonly stateMutability: "nonpayable";
9
+ }, {
10
+ readonly type: "function";
11
+ readonly inputs: readonly [];
12
+ readonly name: "list";
13
+ readonly outputs: readonly [{
14
+ readonly name: "";
15
+ readonly internalType: "elist";
16
+ readonly type: "bytes32";
17
+ }];
18
+ readonly stateMutability: "view";
19
+ }, {
20
+ readonly type: "function";
21
+ readonly inputs: readonly [{
22
+ readonly name: "ctValue";
23
+ readonly internalType: "bytes";
24
+ readonly type: "bytes";
25
+ }];
26
+ readonly name: "listAppend";
27
+ readonly outputs: readonly [{
28
+ readonly name: "";
29
+ readonly internalType: "elist";
30
+ readonly type: "bytes32";
31
+ }];
32
+ readonly stateMutability: "nonpayable";
33
+ }, {
34
+ readonly type: "function";
35
+ readonly inputs: readonly [{
36
+ readonly name: "cts";
37
+ readonly internalType: "bytes[]";
38
+ readonly type: "bytes[]";
39
+ }, {
40
+ readonly name: "listType";
41
+ readonly internalType: "enum ETypes";
42
+ readonly type: "uint8";
43
+ }, {
44
+ readonly name: "user";
45
+ readonly internalType: "address";
46
+ readonly type: "address";
47
+ }];
48
+ readonly name: "listConcat";
49
+ readonly outputs: readonly [{
50
+ readonly name: "";
51
+ readonly internalType: "elist";
52
+ readonly type: "bytes32";
53
+ }];
54
+ readonly stateMutability: "nonpayable";
55
+ }, {
56
+ readonly type: "function";
57
+ readonly inputs: readonly [{
58
+ readonly name: "index";
59
+ readonly internalType: "uint16";
60
+ readonly type: "uint16";
61
+ }];
62
+ readonly name: "listGet";
63
+ readonly outputs: readonly [{
64
+ readonly name: "";
65
+ readonly internalType: "bytes32";
66
+ readonly type: "bytes32";
67
+ }];
68
+ readonly stateMutability: "nonpayable";
69
+ }, {
70
+ readonly type: "function";
71
+ readonly inputs: readonly [{
72
+ readonly name: "ctIndex";
73
+ readonly internalType: "bytes";
74
+ readonly type: "bytes";
75
+ }, {
76
+ readonly name: "ctDefaultValue";
77
+ readonly internalType: "bytes";
78
+ readonly type: "bytes";
79
+ }];
80
+ readonly name: "listGetOr";
81
+ readonly outputs: readonly [{
82
+ readonly name: "";
83
+ readonly internalType: "bytes32";
84
+ readonly type: "bytes32";
85
+ }];
86
+ readonly stateMutability: "nonpayable";
87
+ }, {
88
+ readonly type: "function";
89
+ readonly inputs: readonly [{
90
+ readonly name: "index";
91
+ readonly internalType: "uint16";
92
+ readonly type: "uint16";
93
+ }];
94
+ readonly name: "listGetRange";
95
+ readonly outputs: readonly [{
96
+ readonly name: "";
97
+ readonly internalType: "bytes32";
98
+ readonly type: "bytes32";
99
+ }];
100
+ readonly stateMutability: "nonpayable";
101
+ }, {
102
+ readonly type: "function";
103
+ readonly inputs: readonly [{
104
+ readonly name: "ctIndex";
105
+ readonly internalType: "bytes";
106
+ readonly type: "bytes";
107
+ }, {
108
+ readonly name: "ctValue";
109
+ readonly internalType: "bytes";
110
+ readonly type: "bytes";
111
+ }];
112
+ readonly name: "listInsert";
113
+ readonly outputs: readonly [{
114
+ readonly name: "";
115
+ readonly internalType: "elist";
116
+ readonly type: "bytes32";
117
+ }];
118
+ readonly stateMutability: "nonpayable";
119
+ }, {
120
+ readonly type: "function";
121
+ readonly inputs: readonly [{
122
+ readonly name: "start";
123
+ readonly internalType: "uint16";
124
+ readonly type: "uint16";
125
+ }, {
126
+ readonly name: "end";
127
+ readonly internalType: "uint16";
128
+ readonly type: "uint16";
129
+ }];
130
+ readonly name: "listRange";
131
+ readonly outputs: readonly [{
132
+ readonly name: "";
133
+ readonly internalType: "elist";
134
+ readonly type: "bytes32";
135
+ }];
136
+ readonly stateMutability: "nonpayable";
137
+ }, {
138
+ readonly type: "function";
139
+ readonly inputs: readonly [];
140
+ readonly name: "listReverse";
141
+ readonly outputs: readonly [{
142
+ readonly name: "";
143
+ readonly internalType: "elist";
144
+ readonly type: "bytes32";
145
+ }];
146
+ readonly stateMutability: "nonpayable";
147
+ }, {
148
+ readonly type: "function";
149
+ readonly inputs: readonly [{
150
+ readonly name: "ctIndex";
151
+ readonly internalType: "bytes";
152
+ readonly type: "bytes";
153
+ }, {
154
+ readonly name: "ctValue";
155
+ readonly internalType: "bytes";
156
+ readonly type: "bytes";
157
+ }];
158
+ readonly name: "listSet";
159
+ readonly outputs: readonly [{
160
+ readonly name: "";
161
+ readonly internalType: "elist";
162
+ readonly type: "bytes32";
163
+ }];
164
+ readonly stateMutability: "nonpayable";
165
+ }, {
166
+ readonly type: "function";
167
+ readonly inputs: readonly [];
168
+ readonly name: "listShuffle";
169
+ readonly outputs: readonly [{
170
+ readonly name: "";
171
+ readonly internalType: "elist";
172
+ readonly type: "bytes32";
173
+ }];
174
+ readonly stateMutability: "nonpayable";
175
+ }, {
176
+ readonly type: "function";
177
+ readonly inputs: readonly [{
178
+ readonly name: "ctStart";
179
+ readonly internalType: "bytes";
180
+ readonly type: "bytes";
181
+ }, {
182
+ readonly name: "len";
183
+ readonly internalType: "uint16";
184
+ readonly type: "uint16";
185
+ }, {
186
+ readonly name: "ctDefaultValue";
187
+ readonly internalType: "bytes";
188
+ readonly type: "bytes";
189
+ }];
190
+ readonly name: "listSlice";
191
+ readonly outputs: readonly [{
192
+ readonly name: "";
193
+ readonly internalType: "elist";
194
+ readonly type: "bytes32";
195
+ }];
196
+ readonly stateMutability: "nonpayable";
197
+ }, {
198
+ readonly type: "function";
199
+ readonly inputs: readonly [{
200
+ readonly name: "cts";
201
+ readonly internalType: "bytes32[]";
202
+ readonly type: "bytes32[]";
203
+ }, {
204
+ readonly name: "listType";
205
+ readonly internalType: "enum ETypes";
206
+ readonly type: "uint8";
207
+ }];
208
+ readonly name: "newEList";
209
+ readonly outputs: readonly [{
210
+ readonly name: "";
211
+ readonly internalType: "elist";
212
+ readonly type: "bytes32";
213
+ }];
214
+ readonly stateMutability: "nonpayable";
215
+ }, {
216
+ readonly type: "function";
217
+ readonly inputs: readonly [{
218
+ readonly name: "inputs";
219
+ readonly internalType: "bytes[]";
220
+ readonly type: "bytes[]";
221
+ }, {
222
+ readonly name: "listType";
223
+ readonly internalType: "enum ETypes";
224
+ readonly type: "uint8";
225
+ }, {
226
+ readonly name: "user";
227
+ readonly internalType: "address";
228
+ readonly type: "address";
229
+ }];
230
+ readonly name: "newEList";
231
+ readonly outputs: readonly [{
232
+ readonly name: "";
233
+ readonly internalType: "elist";
234
+ readonly type: "bytes32";
235
+ }];
236
+ readonly stateMutability: "nonpayable";
237
+ }, {
238
+ readonly type: "function";
239
+ readonly inputs: readonly [];
240
+ readonly name: "newRangeList";
241
+ readonly outputs: readonly [{
242
+ readonly name: "";
243
+ readonly internalType: "elist";
244
+ readonly type: "bytes32";
245
+ }];
246
+ readonly stateMutability: "view";
247
+ }];
@@ -43,51 +43,15 @@ export declare const addTwoAbi: readonly [{
43
43
  }];
44
44
  readonly name: "addTwoEOA";
45
45
  readonly outputs: readonly [{
46
- readonly name: "";
47
- readonly internalType: "uint256";
48
- readonly type: "uint256";
49
- }, {
50
- readonly name: "";
46
+ readonly name: "result";
51
47
  readonly internalType: "euint256";
52
48
  readonly type: "bytes32";
53
49
  }, {
54
- readonly name: "";
55
- readonly internalType: "euint256";
56
- readonly type: "bytes32";
57
- }];
58
- readonly stateMutability: "nonpayable";
59
- }, {
60
- readonly type: "function";
61
- readonly inputs: readonly [{
62
- readonly name: "a";
63
- readonly internalType: "euint256";
64
- readonly type: "bytes32";
65
- }];
66
- readonly name: "addTwoScalar";
67
- readonly outputs: readonly [{
68
- readonly name: "";
50
+ readonly name: "resultRevealed";
69
51
  readonly internalType: "euint256";
70
52
  readonly type: "bytes32";
71
53
  }];
72
54
  readonly stateMutability: "nonpayable";
73
- }, {
74
- readonly type: "function";
75
- readonly inputs: readonly [{
76
- readonly name: "";
77
- readonly internalType: "uint256";
78
- readonly type: "uint256";
79
- }, {
80
- readonly name: "result";
81
- readonly internalType: "uint256";
82
- readonly type: "uint256";
83
- }, {
84
- readonly name: "";
85
- readonly internalType: "bytes";
86
- readonly type: "bytes";
87
- }];
88
- readonly name: "callback";
89
- readonly outputs: readonly [];
90
- readonly stateMutability: "nonpayable";
91
55
  }, {
92
56
  readonly type: "function";
93
57
  readonly inputs: readonly [];