@inco/js 0.5.2 → 0.6.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 (51) hide show
  1. package/dist/cjs/advancedacl/session-key.js +2 -2
  2. package/dist/cjs/attestedcompute/attested-compute.js +7 -4
  3. package/dist/{esm/generated/abis/addTwo.d.ts → cjs/generated/abis/add-two.d.ts} +27 -0
  4. package/dist/cjs/generated/abis/add-two.js +67 -0
  5. package/dist/cjs/generated/abis/lightning-preview.d.ts +346 -293
  6. package/dist/cjs/generated/abis/lightning-preview.js +192 -214
  7. package/dist/cjs/generated/abis/lightning.d.ts +339 -5
  8. package/dist/cjs/generated/abis/lightning.js +266 -7
  9. package/dist/cjs/generated/abis/{TestElist.d.ts → test-elist.d.ts} +29 -12
  10. package/dist/cjs/generated/abis/test-elist.js +161 -0
  11. package/dist/cjs/generated/abis/verifier.d.ts +127 -72
  12. package/dist/cjs/generated/abis/verifier.js +98 -56
  13. package/dist/cjs/generated/lightning.d.ts +28 -7
  14. package/dist/cjs/generated/lightning.js +30 -8
  15. package/dist/cjs/generated/local-node.d.ts +4 -4
  16. package/dist/cjs/generated/local-node.js +4 -4
  17. package/dist/cjs/local/local-node.js +3 -7
  18. package/dist/cjs/retry.d.ts +2 -1
  19. package/dist/cjs/retry.js +4 -3
  20. package/dist/esm/advancedacl/session-key.js +3 -3
  21. package/dist/esm/attestedcompute/attested-compute.js +7 -4
  22. package/dist/{types/generated/abis/addTwo.d.ts → esm/generated/abis/add-two.d.ts} +27 -0
  23. package/dist/esm/generated/abis/add-two.js +64 -0
  24. package/dist/esm/generated/abis/lightning-preview.d.ts +346 -293
  25. package/dist/esm/generated/abis/lightning-preview.js +191 -213
  26. package/dist/esm/generated/abis/lightning.d.ts +339 -5
  27. package/dist/esm/generated/abis/lightning.js +265 -6
  28. package/dist/esm/generated/abis/{TestElist.d.ts → test-elist.d.ts} +29 -12
  29. package/dist/esm/generated/abis/test-elist.js +158 -0
  30. package/dist/esm/generated/abis/verifier.d.ts +127 -72
  31. package/dist/esm/generated/abis/verifier.js +98 -56
  32. package/dist/esm/generated/lightning.d.ts +28 -7
  33. package/dist/esm/generated/lightning.js +30 -8
  34. package/dist/esm/generated/local-node.d.ts +4 -4
  35. package/dist/esm/generated/local-node.js +4 -4
  36. package/dist/esm/local/local-node.js +3 -7
  37. package/dist/esm/retry.d.ts +2 -1
  38. package/dist/esm/retry.js +4 -3
  39. package/dist/{cjs/generated/abis/addTwo.d.ts → types/generated/abis/add-two.d.ts} +27 -0
  40. package/dist/types/generated/abis/lightning-preview.d.ts +346 -293
  41. package/dist/types/generated/abis/lightning.d.ts +339 -5
  42. package/dist/types/generated/abis/{TestElist.d.ts → test-elist.d.ts} +29 -12
  43. package/dist/types/generated/abis/verifier.d.ts +127 -72
  44. package/dist/types/generated/lightning.d.ts +28 -7
  45. package/dist/types/generated/local-node.d.ts +4 -4
  46. package/dist/types/retry.d.ts +2 -1
  47. package/package.json +2 -2
  48. package/dist/cjs/generated/abis/TestElist.js +0 -152
  49. package/dist/cjs/generated/abis/addTwo.js +0 -51
  50. package/dist/esm/generated/abis/TestElist.js +0 -149
  51. package/dist/esm/generated/abis/addTwo.js +0 -48
@@ -1,11 +1,24 @@
1
- export declare const elistPreviewAbi: readonly [{
1
+ export declare const elistTesterAbi: readonly [{
2
2
  readonly type: "constructor";
3
3
  readonly inputs: readonly [{
4
4
  readonly name: "_inco";
5
- readonly internalType: "contract IncoLightningPreview";
5
+ readonly internalType: "contract IIncoLightningPreview";
6
6
  readonly type: "address";
7
7
  }];
8
8
  readonly stateMutability: "nonpayable";
9
+ }, {
10
+ readonly type: "receive";
11
+ readonly stateMutability: "payable";
12
+ }, {
13
+ readonly type: "function";
14
+ readonly inputs: readonly [];
15
+ readonly name: "getFee";
16
+ readonly outputs: readonly [{
17
+ readonly name: "";
18
+ readonly internalType: "uint256";
19
+ readonly type: "uint256";
20
+ }];
21
+ readonly stateMutability: "pure";
9
22
  }, {
10
23
  readonly type: "function";
11
24
  readonly inputs: readonly [];
@@ -29,7 +42,7 @@ export declare const elistPreviewAbi: readonly [{
29
42
  readonly internalType: "elist";
30
43
  readonly type: "bytes32";
31
44
  }];
32
- readonly stateMutability: "nonpayable";
45
+ readonly stateMutability: "payable";
33
46
  }, {
34
47
  readonly type: "function";
35
48
  readonly inputs: readonly [{
@@ -51,7 +64,7 @@ export declare const elistPreviewAbi: readonly [{
51
64
  readonly internalType: "elist";
52
65
  readonly type: "bytes32";
53
66
  }];
54
- readonly stateMutability: "nonpayable";
67
+ readonly stateMutability: "payable";
55
68
  }, {
56
69
  readonly type: "function";
57
70
  readonly inputs: readonly [{
@@ -83,7 +96,7 @@ export declare const elistPreviewAbi: readonly [{
83
96
  readonly internalType: "bytes32";
84
97
  readonly type: "bytes32";
85
98
  }];
86
- readonly stateMutability: "nonpayable";
99
+ readonly stateMutability: "payable";
87
100
  }, {
88
101
  readonly type: "function";
89
102
  readonly inputs: readonly [{
@@ -115,7 +128,7 @@ export declare const elistPreviewAbi: readonly [{
115
128
  readonly internalType: "elist";
116
129
  readonly type: "bytes32";
117
130
  }];
118
- readonly stateMutability: "nonpayable";
131
+ readonly stateMutability: "payable";
119
132
  }, {
120
133
  readonly type: "function";
121
134
  readonly inputs: readonly [{
@@ -161,7 +174,7 @@ export declare const elistPreviewAbi: readonly [{
161
174
  readonly internalType: "elist";
162
175
  readonly type: "bytes32";
163
176
  }];
164
- readonly stateMutability: "nonpayable";
177
+ readonly stateMutability: "payable";
165
178
  }, {
166
179
  readonly type: "function";
167
180
  readonly inputs: readonly [];
@@ -171,7 +184,7 @@ export declare const elistPreviewAbi: readonly [{
171
184
  readonly internalType: "elist";
172
185
  readonly type: "bytes32";
173
186
  }];
174
- readonly stateMutability: "nonpayable";
187
+ readonly stateMutability: "payable";
175
188
  }, {
176
189
  readonly type: "function";
177
190
  readonly inputs: readonly [{
@@ -193,11 +206,11 @@ export declare const elistPreviewAbi: readonly [{
193
206
  readonly internalType: "elist";
194
207
  readonly type: "bytes32";
195
208
  }];
196
- readonly stateMutability: "nonpayable";
209
+ readonly stateMutability: "payable";
197
210
  }, {
198
211
  readonly type: "function";
199
212
  readonly inputs: readonly [{
200
- readonly name: "cts";
213
+ readonly name: "handles";
201
214
  readonly internalType: "bytes32[]";
202
215
  readonly type: "bytes32[]";
203
216
  }, {
@@ -211,7 +224,7 @@ export declare const elistPreviewAbi: readonly [{
211
224
  readonly internalType: "elist";
212
225
  readonly type: "bytes32";
213
226
  }];
214
- readonly stateMutability: "nonpayable";
227
+ readonly stateMutability: "payable";
215
228
  }, {
216
229
  readonly type: "function";
217
230
  readonly inputs: readonly [{
@@ -233,7 +246,7 @@ export declare const elistPreviewAbi: readonly [{
233
246
  readonly internalType: "elist";
234
247
  readonly type: "bytes32";
235
248
  }];
236
- readonly stateMutability: "nonpayable";
249
+ readonly stateMutability: "payable";
237
250
  }, {
238
251
  readonly type: "function";
239
252
  readonly inputs: readonly [];
@@ -244,4 +257,8 @@ export declare const elistPreviewAbi: readonly [{
244
257
  readonly type: "bytes32";
245
258
  }];
246
259
  readonly stateMutability: "view";
260
+ }, {
261
+ readonly type: "error";
262
+ readonly inputs: readonly [];
263
+ readonly name: "FeeNotPaid";
247
264
  }];
@@ -0,0 +1,161 @@
1
+ "use strict";
2
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
3
+ // ElistTester
4
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.elistTesterAbi = void 0;
7
+ exports.elistTesterAbi = [
8
+ {
9
+ type: 'constructor',
10
+ inputs: [
11
+ {
12
+ name: '_inco',
13
+ internalType: 'contract IIncoLightningPreview',
14
+ type: 'address',
15
+ },
16
+ ],
17
+ stateMutability: 'nonpayable',
18
+ },
19
+ { type: 'receive', stateMutability: 'payable' },
20
+ {
21
+ type: 'function',
22
+ inputs: [],
23
+ name: 'getFee',
24
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
25
+ stateMutability: 'pure',
26
+ },
27
+ {
28
+ type: 'function',
29
+ inputs: [],
30
+ name: 'list',
31
+ outputs: [{ name: '', internalType: 'elist', type: 'bytes32' }],
32
+ stateMutability: 'view',
33
+ },
34
+ {
35
+ type: 'function',
36
+ inputs: [{ name: 'ctValue', internalType: 'bytes', type: 'bytes' }],
37
+ name: 'listAppend',
38
+ outputs: [{ name: '', internalType: 'elist', type: 'bytes32' }],
39
+ stateMutability: 'payable',
40
+ },
41
+ {
42
+ type: 'function',
43
+ inputs: [
44
+ { name: 'cts', internalType: 'bytes[]', type: 'bytes[]' },
45
+ { name: 'listType', internalType: 'enum ETypes', type: 'uint8' },
46
+ { name: 'user', internalType: 'address', type: 'address' },
47
+ ],
48
+ name: 'listConcat',
49
+ outputs: [{ name: '', internalType: 'elist', type: 'bytes32' }],
50
+ stateMutability: 'payable',
51
+ },
52
+ {
53
+ type: 'function',
54
+ inputs: [{ name: 'index', internalType: 'uint16', type: 'uint16' }],
55
+ name: 'listGet',
56
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
57
+ stateMutability: 'nonpayable',
58
+ },
59
+ {
60
+ type: 'function',
61
+ inputs: [
62
+ { name: 'ctIndex', internalType: 'bytes', type: 'bytes' },
63
+ { name: 'ctDefaultValue', internalType: 'bytes', type: 'bytes' },
64
+ ],
65
+ name: 'listGetOr',
66
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
67
+ stateMutability: 'payable',
68
+ },
69
+ {
70
+ type: 'function',
71
+ inputs: [{ name: 'index', internalType: 'uint16', type: 'uint16' }],
72
+ name: 'listGetRange',
73
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
74
+ stateMutability: 'nonpayable',
75
+ },
76
+ {
77
+ type: 'function',
78
+ inputs: [
79
+ { name: 'ctIndex', internalType: 'bytes', type: 'bytes' },
80
+ { name: 'ctValue', internalType: 'bytes', type: 'bytes' },
81
+ ],
82
+ name: 'listInsert',
83
+ outputs: [{ name: '', internalType: 'elist', type: 'bytes32' }],
84
+ stateMutability: 'payable',
85
+ },
86
+ {
87
+ type: 'function',
88
+ inputs: [
89
+ { name: 'start', internalType: 'uint16', type: 'uint16' },
90
+ { name: 'end', internalType: 'uint16', type: 'uint16' },
91
+ ],
92
+ name: 'listRange',
93
+ outputs: [{ name: '', internalType: 'elist', type: 'bytes32' }],
94
+ stateMutability: 'nonpayable',
95
+ },
96
+ {
97
+ type: 'function',
98
+ inputs: [],
99
+ name: 'listReverse',
100
+ outputs: [{ name: '', internalType: 'elist', type: 'bytes32' }],
101
+ stateMutability: 'nonpayable',
102
+ },
103
+ {
104
+ type: 'function',
105
+ inputs: [
106
+ { name: 'ctIndex', internalType: 'bytes', type: 'bytes' },
107
+ { name: 'ctValue', internalType: 'bytes', type: 'bytes' },
108
+ ],
109
+ name: 'listSet',
110
+ outputs: [{ name: '', internalType: 'elist', type: 'bytes32' }],
111
+ stateMutability: 'payable',
112
+ },
113
+ {
114
+ type: 'function',
115
+ inputs: [],
116
+ name: 'listShuffle',
117
+ outputs: [{ name: '', internalType: 'elist', type: 'bytes32' }],
118
+ stateMutability: 'payable',
119
+ },
120
+ {
121
+ type: 'function',
122
+ inputs: [
123
+ { name: 'ctStart', internalType: 'bytes', type: 'bytes' },
124
+ { name: 'len', internalType: 'uint16', type: 'uint16' },
125
+ { name: 'ctDefaultValue', internalType: 'bytes', type: 'bytes' },
126
+ ],
127
+ name: 'listSlice',
128
+ outputs: [{ name: '', internalType: 'elist', type: 'bytes32' }],
129
+ stateMutability: 'payable',
130
+ },
131
+ {
132
+ type: 'function',
133
+ inputs: [
134
+ { name: 'handles', internalType: 'bytes32[]', type: 'bytes32[]' },
135
+ { name: 'listType', internalType: 'enum ETypes', type: 'uint8' },
136
+ ],
137
+ name: 'newEList',
138
+ outputs: [{ name: '', internalType: 'elist', type: 'bytes32' }],
139
+ stateMutability: 'payable',
140
+ },
141
+ {
142
+ type: 'function',
143
+ inputs: [
144
+ { name: 'inputs', internalType: 'bytes[]', type: 'bytes[]' },
145
+ { name: 'listType', internalType: 'enum ETypes', type: 'uint8' },
146
+ { name: 'user', internalType: 'address', type: 'address' },
147
+ ],
148
+ name: 'newEList',
149
+ outputs: [{ name: '', internalType: 'elist', type: 'bytes32' }],
150
+ stateMutability: 'payable',
151
+ },
152
+ {
153
+ type: 'function',
154
+ inputs: [],
155
+ name: 'newRangeList',
156
+ outputs: [{ name: '', internalType: 'elist', type: 'bytes32' }],
157
+ stateMutability: 'view',
158
+ },
159
+ { type: 'error', inputs: [], name: 'FeeNotPaid' },
160
+ ];
161
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdC1lbGlzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvYWJpcy90ZXN0LWVsaXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxzS0FBc0s7QUFDdEssY0FBYztBQUNkLHNLQUFzSzs7O0FBRXpKLFFBQUEsY0FBYyxHQUFHO0lBQzVCO1FBQ0UsSUFBSSxFQUFFLGFBQWE7UUFDbkIsTUFBTSxFQUFFO1lBQ047Z0JBQ0UsSUFBSSxFQUFFLE9BQU87Z0JBQ2IsWUFBWSxFQUFFLGdDQUFnQztnQkFDOUMsSUFBSSxFQUFFLFNBQVM7YUFDaEI7U0FDRjtRQUNELGVBQWUsRUFBRSxZQUFZO0tBQzlCO0lBQ0QsRUFBRSxJQUFJLEVBQUUsU0FBUyxFQUFFLGVBQWUsRUFBRSxTQUFTLEVBQUU7SUFDL0M7UUFDRSxJQUFJLEVBQUUsVUFBVTtRQUNoQixNQUFNLEVBQUUsRUFBRTtRQUNWLElBQUksRUFBRSxRQUFRO1FBQ2QsT0FBTyxFQUFFLENBQUMsRUFBRSxJQUFJLEVBQUUs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BQVksRUFBRSxTQUFTLEVBQUUsSUFBSSxFQUFFLFNBQVMsRUFBRTtZQUM1RCxFQUFFLElBQUksRUFBRSxVQUFVLEVBQUUsWUFBWSxFQUFFLGFBQWEsRUFBRSxJQUFJLEVBQUUsT0FBTyxFQUFFO1lBQ2hFLEVBQUUsSUFBSSxFQUFFLE1BQU0sRUFBRSxZQUFZLEVBQUUsU0FBUyxFQUFFLElBQUksRUFBRSxTQUFTLEVBQUU7U0FDM0Q7UUFDRCxJQUFJLEVBQUUsVUFBVTtRQUNoQixPQUFPLEVBQUUsQ0FBQyxFQUFFLElBQUksRUFBRSxFQUFFLEVBQUUsWUFBWSxFQUFFLE9BQU8sRUFBRSxJQUFJLEVBQUUsU0FBUyxFQUFFLENBQUM7UUFDL0QsZUFBZSxFQUFFLFNBQVM7S0FDM0I7SUFDRDtRQUNFLElBQUksRUFBRSxVQUFVO1FBQ2hCLE1BQU0sRUFBRSxFQUFFO1FBQ1YsSUFBSSxFQUFFLGNBQWM7UUFDcEIsT0FBTyxFQUFFLENBQUMsRUFBRSxJQUFJLEVBQUUsRUFBRSxFQUFFLFlBQVksRUFBRSxPQUFPLEVBQUUsSUFBSSxFQUFFLFNBQVMsRUFBRSxDQUFDO1FBQy9ELGVBQWUsRUFBRSxNQUFNO0tBQ3hCO0lBQ0QsRUFBRSxJQUFJLEVBQUUsT0FBTyxFQUFFLE1BQU0sRUFBRSxFQUFFLEVBQUUsSUFBSSxFQUFFLFlBQVksRUFBRTtDQUN6QyxDQUFBIn0=
@@ -8,12 +8,16 @@ export declare const incoVerifierAbi: readonly [{
8
8
  readonly stateMutability: "nonpayable";
9
9
  }, {
10
10
  readonly type: "function";
11
- readonly inputs: readonly [];
12
- readonly name: "BootstrapComplete";
11
+ readonly inputs: readonly [{
12
+ readonly name: "";
13
+ readonly internalType: "uint256";
14
+ readonly type: "uint256";
15
+ }];
16
+ readonly name: "ApprovedTEEVersions";
13
17
  readonly outputs: readonly [{
14
18
  readonly name: "";
15
- readonly internalType: "bool";
16
- readonly type: "bool";
19
+ readonly internalType: "bytes32";
20
+ readonly type: "bytes32";
17
21
  }];
18
22
  readonly stateMutability: "view";
19
23
  }, {
@@ -60,24 +64,6 @@ export declare const incoVerifierAbi: readonly [{
60
64
  readonly type: "uint16";
61
65
  }];
62
66
  readonly stateMutability: "view";
63
- }, {
64
- readonly type: "function";
65
- readonly inputs: readonly [{
66
- readonly name: "";
67
- readonly internalType: "uint256";
68
- readonly type: "uint256";
69
- }];
70
- readonly name: "TEEVersionHistory";
71
- readonly outputs: readonly [{
72
- readonly name: "mrtd";
73
- readonly internalType: "bytes";
74
- readonly type: "bytes";
75
- }, {
76
- readonly name: "status";
77
- readonly internalType: "enum TEEVersionStatus";
78
- readonly type: "uint8";
79
- }];
80
- readonly stateMutability: "view";
81
67
  }, {
82
68
  readonly type: "function";
83
69
  readonly inputs: readonly [];
@@ -91,11 +77,11 @@ export declare const incoVerifierAbi: readonly [{
91
77
  }, {
92
78
  readonly type: "function";
93
79
  readonly inputs: readonly [];
94
- readonly name: "VerifiedBootstrapResult";
80
+ readonly name: "UpgradeResultStructHash";
95
81
  readonly outputs: readonly [{
96
- readonly name: "ecies_pubkey";
97
- readonly internalType: "bytes";
98
- readonly type: "bytes";
82
+ readonly name: "";
83
+ readonly internalType: "bytes32";
84
+ readonly type: "bytes32";
99
85
  }];
100
86
  readonly stateMutability: "view";
101
87
  }, {
@@ -152,9 +138,9 @@ export declare const incoVerifierAbi: readonly [{
152
138
  }, {
153
139
  readonly type: "function";
154
140
  readonly inputs: readonly [{
155
- readonly name: "newMRTD";
156
- readonly internalType: "bytes";
157
- readonly type: "bytes";
141
+ readonly name: "newMrAggregated";
142
+ readonly internalType: "bytes32";
143
+ readonly type: "bytes32";
158
144
  }];
159
145
  readonly name: "approveNewTEEVersion";
160
146
  readonly outputs: readonly [];
@@ -178,6 +164,32 @@ export declare const incoVerifierAbi: readonly [{
178
164
  readonly type: "bytes32";
179
165
  }];
180
166
  readonly stateMutability: "view";
167
+ }, {
168
+ readonly type: "function";
169
+ readonly inputs: readonly [{
170
+ readonly name: "mrTd";
171
+ readonly internalType: "bytes";
172
+ readonly type: "bytes";
173
+ }, {
174
+ readonly name: "rtMr0";
175
+ readonly internalType: "bytes";
176
+ readonly type: "bytes";
177
+ }, {
178
+ readonly name: "rtMr1";
179
+ readonly internalType: "bytes";
180
+ readonly type: "bytes";
181
+ }, {
182
+ readonly name: "rtMr2";
183
+ readonly internalType: "bytes";
184
+ readonly type: "bytes";
185
+ }];
186
+ readonly name: "computeMrAggregated";
187
+ readonly outputs: readonly [{
188
+ readonly name: "";
189
+ readonly internalType: "bytes32";
190
+ readonly type: "bytes32";
191
+ }];
192
+ readonly stateMutability: "pure";
181
193
  }, {
182
194
  readonly type: "function";
183
195
  readonly inputs: readonly [{
@@ -501,8 +513,8 @@ export declare const incoVerifierAbi: readonly [{
501
513
  readonly type: "address";
502
514
  }, {
503
515
  readonly name: "";
504
- readonly internalType: "bytes";
505
- readonly type: "bytes";
516
+ readonly internalType: "bytes32";
517
+ readonly type: "bytes32";
506
518
  }];
507
519
  readonly stateMutability: "pure";
508
520
  }, {
@@ -632,6 +644,25 @@ export declare const incoVerifierAbi: readonly [{
632
644
  readonly name: "updateActiveVouchersSessionNonce";
633
645
  readonly outputs: readonly [];
634
646
  readonly stateMutability: "nonpayable";
647
+ }, {
648
+ readonly type: "function";
649
+ readonly inputs: readonly [{
650
+ readonly name: "upgradeResult";
651
+ readonly internalType: "struct UpgradeResult";
652
+ readonly type: "tuple";
653
+ readonly components: readonly [{
654
+ readonly name: "network_pubkey";
655
+ readonly internalType: "bytes";
656
+ readonly type: "bytes";
657
+ }];
658
+ }];
659
+ readonly name: "upgradeResultDigest";
660
+ readonly outputs: readonly [{
661
+ readonly name: "";
662
+ readonly internalType: "bytes32";
663
+ readonly type: "bytes32";
664
+ }];
665
+ readonly stateMutability: "view";
635
666
  }, {
636
667
  readonly type: "function";
637
668
  readonly inputs: readonly [{
@@ -701,6 +732,33 @@ export declare const incoVerifierAbi: readonly [{
701
732
  readonly name: "verifyBootstrapResult";
702
733
  readonly outputs: readonly [];
703
734
  readonly stateMutability: "nonpayable";
735
+ }, {
736
+ readonly type: "function";
737
+ readonly inputs: readonly [{
738
+ readonly name: "newMrAggregated";
739
+ readonly internalType: "bytes32";
740
+ readonly type: "bytes32";
741
+ }, {
742
+ readonly name: "upgradeResult";
743
+ readonly internalType: "struct UpgradeResult";
744
+ readonly type: "tuple";
745
+ readonly components: readonly [{
746
+ readonly name: "network_pubkey";
747
+ readonly internalType: "bytes";
748
+ readonly type: "bytes";
749
+ }];
750
+ }, {
751
+ readonly name: "quote";
752
+ readonly internalType: "bytes";
753
+ readonly type: "bytes";
754
+ }, {
755
+ readonly name: "signature";
756
+ readonly internalType: "bytes";
757
+ readonly type: "bytes";
758
+ }];
759
+ readonly name: "verifyUpgradeResult";
760
+ readonly outputs: readonly [];
761
+ readonly stateMutability: "nonpayable";
704
762
  }, {
705
763
  readonly type: "event";
706
764
  readonly anonymous: false;
@@ -736,6 +794,21 @@ export declare const incoVerifierAbi: readonly [{
736
794
  readonly anonymous: false;
737
795
  readonly inputs: readonly [];
738
796
  readonly name: "EIP712DomainChanged";
797
+ }, {
798
+ readonly type: "event";
799
+ readonly anonymous: false;
800
+ readonly inputs: readonly [{
801
+ readonly name: "eoaSigner";
802
+ readonly internalType: "address";
803
+ readonly type: "address";
804
+ readonly indexed: true;
805
+ }, {
806
+ readonly name: "mrAggregated";
807
+ readonly internalType: "bytes32";
808
+ readonly type: "bytes32";
809
+ readonly indexed: true;
810
+ }];
811
+ readonly name: "EOAHasUpdatedTDX";
739
812
  }, {
740
813
  readonly type: "event";
741
814
  readonly anonymous: false;
@@ -761,6 +834,21 @@ export declare const incoVerifierAbi: readonly [{
761
834
  readonly indexed: false;
762
835
  }];
763
836
  readonly name: "NewCovalidatorAdded";
837
+ }, {
838
+ readonly type: "event";
839
+ readonly anonymous: false;
840
+ readonly inputs: readonly [{
841
+ readonly name: "version";
842
+ readonly internalType: "uint256";
843
+ readonly type: "uint256";
844
+ readonly indexed: true;
845
+ }, {
846
+ readonly name: "mrAggregated";
847
+ readonly internalType: "bytes32";
848
+ readonly type: "bytes32";
849
+ readonly indexed: true;
850
+ }];
851
+ readonly name: "NewTEEVersionApproved";
764
852
  }, {
765
853
  readonly type: "event";
766
854
  readonly anonymous: false;
@@ -776,16 +864,6 @@ export declare const incoVerifierAbi: readonly [{
776
864
  readonly indexed: true;
777
865
  }];
778
866
  readonly name: "OwnershipTransferred";
779
- }, {
780
- readonly type: "event";
781
- readonly anonymous: false;
782
- readonly inputs: readonly [{
783
- readonly name: "version";
784
- readonly internalType: "uint16";
785
- readonly type: "uint16";
786
- readonly indexed: true;
787
- }];
788
- readonly name: "QuoteVerifierUpdated";
789
867
  }, {
790
868
  readonly type: "event";
791
869
  readonly anonymous: false;
@@ -796,25 +874,6 @@ export declare const incoVerifierAbi: readonly [{
796
874
  readonly indexed: false;
797
875
  }];
798
876
  readonly name: "RemovedSignatureVerifier";
799
- }, {
800
- readonly type: "event";
801
- readonly anonymous: false;
802
- readonly inputs: readonly [{
803
- readonly name: "teeVersion";
804
- readonly internalType: "struct TEEVersion";
805
- readonly type: "tuple";
806
- readonly components: readonly [{
807
- readonly name: "mrtd";
808
- readonly internalType: "bytes";
809
- readonly type: "bytes";
810
- }, {
811
- readonly name: "status";
812
- readonly internalType: "enum TEEVersionStatus";
813
- readonly type: "uint8";
814
- }];
815
- readonly indexed: false;
816
- }];
817
- readonly name: "TEEVersionUpdated";
818
877
  }, {
819
878
  readonly type: "event";
820
879
  readonly anonymous: false;
@@ -865,6 +924,10 @@ export declare const incoVerifierAbi: readonly [{
865
924
  readonly type: "error";
866
925
  readonly inputs: readonly [];
867
926
  readonly name: "EOASignerAlreadyInitialized";
927
+ }, {
928
+ readonly type: "error";
929
+ readonly inputs: readonly [];
930
+ readonly name: "EOASignerNotFound";
868
931
  }, {
869
932
  readonly type: "error";
870
933
  readonly inputs: readonly [{
@@ -892,7 +955,7 @@ export declare const incoVerifierAbi: readonly [{
892
955
  }, {
893
956
  readonly type: "error";
894
957
  readonly inputs: readonly [];
895
- readonly name: "InvalidBootstrapDataSignature";
958
+ readonly name: "InvalidEIP712Signature";
896
959
  }, {
897
960
  readonly type: "error";
898
961
  readonly inputs: readonly [];
@@ -900,7 +963,7 @@ export declare const incoVerifierAbi: readonly [{
900
963
  }, {
901
964
  readonly type: "error";
902
965
  readonly inputs: readonly [];
903
- readonly name: "InvalidMrtdReport";
966
+ readonly name: "InvalidNetworkPubkey";
904
967
  }, {
905
968
  readonly type: "error";
906
969
  readonly inputs: readonly [{
@@ -920,7 +983,7 @@ export declare const incoVerifierAbi: readonly [{
920
983
  }, {
921
984
  readonly type: "error";
922
985
  readonly inputs: readonly [];
923
- readonly name: "InvalidReportMRTD";
986
+ readonly name: "InvalidReportMrAggregated";
924
987
  }, {
925
988
  readonly type: "error";
926
989
  readonly inputs: readonly [{
@@ -949,10 +1012,6 @@ export declare const incoVerifierAbi: readonly [{
949
1012
  readonly type: "bytes";
950
1013
  }];
951
1014
  readonly name: "InvalidVoucherSignature";
952
- }, {
953
- readonly type: "error";
954
- readonly inputs: readonly [];
955
- readonly name: "MrtdInvalidLength";
956
1015
  }, {
957
1016
  readonly type: "error";
958
1017
  readonly inputs: readonly [];
@@ -996,11 +1055,7 @@ export declare const incoVerifierAbi: readonly [{
996
1055
  }, {
997
1056
  readonly type: "error";
998
1057
  readonly inputs: readonly [];
999
- readonly name: "TEEVersionHistoryInconsistent";
1000
- }, {
1001
- readonly type: "error";
1002
- readonly inputs: readonly [];
1003
- readonly name: "TEEVersionHistoryStatusIsNotPending";
1058
+ readonly name: "TEEVersionNotFound";
1004
1059
  }, {
1005
1060
  readonly type: "error";
1006
1061
  readonly inputs: readonly [];