@inco/js 0.5.3 → 0.6.1

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 -25
  8. package/dist/cjs/generated/abis/lightning.js +257 -23
  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 +98 -61
  12. package/dist/cjs/generated/abis/verifier.js +81 -51
  13. package/dist/cjs/generated/lightning.d.ts +42 -0
  14. package/dist/cjs/generated/lightning.js +45 -1
  15. package/dist/cjs/generated/local-node.d.ts +5 -5
  16. package/dist/cjs/generated/local-node.js +5 -5
  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 -25
  27. package/dist/esm/generated/abis/lightning.js +256 -22
  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 +98 -61
  31. package/dist/esm/generated/abis/verifier.js +81 -51
  32. package/dist/esm/generated/lightning.d.ts +42 -0
  33. package/dist/esm/generated/lightning.js +45 -1
  34. package/dist/esm/generated/local-node.d.ts +5 -5
  35. package/dist/esm/generated/local-node.js +5 -5
  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 -25
  42. package/dist/types/generated/abis/{TestElist.d.ts → test-elist.d.ts} +29 -12
  43. package/dist/types/generated/abis/verifier.d.ts +98 -61
  44. package/dist/types/generated/lightning.d.ts +42 -0
  45. package/dist/types/generated/local-node.d.ts +5 -5
  46. package/dist/types/retry.d.ts +2 -1
  47. package/package.json +1 -1
  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: "mrAggregated";
73
- readonly internalType: "bytes32";
74
- readonly type: "bytes32";
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
  }, {
@@ -658,6 +644,25 @@ export declare const incoVerifierAbi: readonly [{
658
644
  readonly name: "updateActiveVouchersSessionNonce";
659
645
  readonly outputs: readonly [];
660
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";
661
666
  }, {
662
667
  readonly type: "function";
663
668
  readonly inputs: readonly [{
@@ -727,6 +732,33 @@ export declare const incoVerifierAbi: readonly [{
727
732
  readonly name: "verifyBootstrapResult";
728
733
  readonly outputs: readonly [];
729
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";
730
762
  }, {
731
763
  readonly type: "event";
732
764
  readonly anonymous: false;
@@ -762,6 +794,21 @@ export declare const incoVerifierAbi: readonly [{
762
794
  readonly anonymous: false;
763
795
  readonly inputs: readonly [];
764
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";
765
812
  }, {
766
813
  readonly type: "event";
767
814
  readonly anonymous: false;
@@ -787,6 +834,21 @@ export declare const incoVerifierAbi: readonly [{
787
834
  readonly indexed: false;
788
835
  }];
789
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";
790
852
  }, {
791
853
  readonly type: "event";
792
854
  readonly anonymous: false;
@@ -802,16 +864,6 @@ export declare const incoVerifierAbi: readonly [{
802
864
  readonly indexed: true;
803
865
  }];
804
866
  readonly name: "OwnershipTransferred";
805
- }, {
806
- readonly type: "event";
807
- readonly anonymous: false;
808
- readonly inputs: readonly [{
809
- readonly name: "version";
810
- readonly internalType: "uint16";
811
- readonly type: "uint16";
812
- readonly indexed: true;
813
- }];
814
- readonly name: "QuoteVerifierUpdated";
815
867
  }, {
816
868
  readonly type: "event";
817
869
  readonly anonymous: false;
@@ -822,25 +874,6 @@ export declare const incoVerifierAbi: readonly [{
822
874
  readonly indexed: false;
823
875
  }];
824
876
  readonly name: "RemovedSignatureVerifier";
825
- }, {
826
- readonly type: "event";
827
- readonly anonymous: false;
828
- readonly inputs: readonly [{
829
- readonly name: "teeVersion";
830
- readonly internalType: "struct TEEVersion";
831
- readonly type: "tuple";
832
- readonly components: readonly [{
833
- readonly name: "mrAggregated";
834
- readonly internalType: "bytes32";
835
- readonly type: "bytes32";
836
- }, {
837
- readonly name: "status";
838
- readonly internalType: "enum TEEVersionStatus";
839
- readonly type: "uint8";
840
- }];
841
- readonly indexed: false;
842
- }];
843
- readonly name: "TEEVersionUpdated";
844
877
  }, {
845
878
  readonly type: "event";
846
879
  readonly anonymous: false;
@@ -891,6 +924,10 @@ export declare const incoVerifierAbi: readonly [{
891
924
  readonly type: "error";
892
925
  readonly inputs: readonly [];
893
926
  readonly name: "EOASignerAlreadyInitialized";
927
+ }, {
928
+ readonly type: "error";
929
+ readonly inputs: readonly [];
930
+ readonly name: "EOASignerNotFound";
894
931
  }, {
895
932
  readonly type: "error";
896
933
  readonly inputs: readonly [{
@@ -918,11 +955,15 @@ export declare const incoVerifierAbi: readonly [{
918
955
  }, {
919
956
  readonly type: "error";
920
957
  readonly inputs: readonly [];
921
- readonly name: "InvalidBootstrapDataSignature";
958
+ readonly name: "InvalidEIP712Signature";
922
959
  }, {
923
960
  readonly type: "error";
924
961
  readonly inputs: readonly [];
925
962
  readonly name: "InvalidInitialization";
963
+ }, {
964
+ readonly type: "error";
965
+ readonly inputs: readonly [];
966
+ readonly name: "InvalidNetworkPubkey";
926
967
  }, {
927
968
  readonly type: "error";
928
969
  readonly inputs: readonly [{
@@ -1014,11 +1055,7 @@ export declare const incoVerifierAbi: readonly [{
1014
1055
  }, {
1015
1056
  readonly type: "error";
1016
1057
  readonly inputs: readonly [];
1017
- readonly name: "TEEVersionHistoryInconsistent";
1018
- }, {
1019
- readonly type: "error";
1020
- readonly inputs: readonly [];
1021
- readonly name: "TEEVersionHistoryStatusIsNotPending";
1058
+ readonly name: "TEEVersionNotFound";
1022
1059
  }, {
1023
1060
  readonly type: "error";
1024
1061
  readonly inputs: readonly [];