@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.
- package/dist/cjs/advancedacl/session-key.js +2 -2
- package/dist/cjs/attestedcompute/attested-compute.js +7 -4
- package/dist/{esm/generated/abis/addTwo.d.ts → cjs/generated/abis/add-two.d.ts} +27 -0
- package/dist/cjs/generated/abis/add-two.js +67 -0
- package/dist/cjs/generated/abis/lightning-preview.d.ts +346 -293
- package/dist/cjs/generated/abis/lightning-preview.js +192 -214
- package/dist/cjs/generated/abis/lightning.d.ts +339 -5
- package/dist/cjs/generated/abis/lightning.js +266 -7
- package/dist/cjs/generated/abis/{TestElist.d.ts → test-elist.d.ts} +29 -12
- package/dist/cjs/generated/abis/test-elist.js +161 -0
- package/dist/cjs/generated/abis/verifier.d.ts +127 -72
- package/dist/cjs/generated/abis/verifier.js +98 -56
- package/dist/cjs/generated/lightning.d.ts +28 -7
- package/dist/cjs/generated/lightning.js +30 -8
- package/dist/cjs/generated/local-node.d.ts +4 -4
- package/dist/cjs/generated/local-node.js +4 -4
- package/dist/cjs/local/local-node.js +3 -7
- package/dist/cjs/retry.d.ts +2 -1
- package/dist/cjs/retry.js +4 -3
- package/dist/esm/advancedacl/session-key.js +3 -3
- package/dist/esm/attestedcompute/attested-compute.js +7 -4
- package/dist/{types/generated/abis/addTwo.d.ts → esm/generated/abis/add-two.d.ts} +27 -0
- package/dist/esm/generated/abis/add-two.js +64 -0
- package/dist/esm/generated/abis/lightning-preview.d.ts +346 -293
- package/dist/esm/generated/abis/lightning-preview.js +191 -213
- package/dist/esm/generated/abis/lightning.d.ts +339 -5
- package/dist/esm/generated/abis/lightning.js +265 -6
- package/dist/esm/generated/abis/{TestElist.d.ts → test-elist.d.ts} +29 -12
- package/dist/esm/generated/abis/test-elist.js +158 -0
- package/dist/esm/generated/abis/verifier.d.ts +127 -72
- package/dist/esm/generated/abis/verifier.js +98 -56
- package/dist/esm/generated/lightning.d.ts +28 -7
- package/dist/esm/generated/lightning.js +30 -8
- package/dist/esm/generated/local-node.d.ts +4 -4
- package/dist/esm/generated/local-node.js +4 -4
- package/dist/esm/local/local-node.js +3 -7
- package/dist/esm/retry.d.ts +2 -1
- package/dist/esm/retry.js +4 -3
- package/dist/{cjs/generated/abis/addTwo.d.ts → types/generated/abis/add-two.d.ts} +27 -0
- package/dist/types/generated/abis/lightning-preview.d.ts +346 -293
- package/dist/types/generated/abis/lightning.d.ts +339 -5
- package/dist/types/generated/abis/{TestElist.d.ts → test-elist.d.ts} +29 -12
- package/dist/types/generated/abis/verifier.d.ts +127 -72
- package/dist/types/generated/lightning.d.ts +28 -7
- package/dist/types/generated/local-node.d.ts +4 -4
- package/dist/types/retry.d.ts +2 -1
- package/package.json +2 -2
- package/dist/cjs/generated/abis/TestElist.js +0 -152
- package/dist/cjs/generated/abis/addTwo.js +0 -51
- package/dist/esm/generated/abis/TestElist.js +0 -149
- package/dist/esm/generated/abis/addTwo.js +0 -48
@@ -1,11 +1,24 @@
|
|
1
|
-
export declare const
|
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
|
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: "
|
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: "
|
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: "
|
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: "
|
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: "
|
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: "
|
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: "
|
209
|
+
readonly stateMutability: "payable";
|
197
210
|
}, {
|
198
211
|
readonly type: "function";
|
199
212
|
readonly inputs: readonly [{
|
200
|
-
readonly name: "
|
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: "
|
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: "
|
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,158 @@
|
|
1
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
2
|
+
// ElistTester
|
3
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
4
|
+
export const elistTesterAbi = [
|
5
|
+
{
|
6
|
+
type: 'constructor',
|
7
|
+
inputs: [
|
8
|
+
{
|
9
|
+
name: '_inco',
|
10
|
+
internalType: 'contract IIncoLightningPreview',
|
11
|
+
type: 'address',
|
12
|
+
},
|
13
|
+
],
|
14
|
+
stateMutability: 'nonpayable',
|
15
|
+
},
|
16
|
+
{ type: 'receive', stateMutability: 'payable' },
|
17
|
+
{
|
18
|
+
type: 'function',
|
19
|
+
inputs: [],
|
20
|
+
name: 'getFee',
|
21
|
+
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
22
|
+
stateMutability: 'pure',
|
23
|
+
},
|
24
|
+
{
|
25
|
+
type: 'function',
|
26
|
+
inputs: [],
|
27
|
+
name: 'list',
|
28
|
+
outputs: [{ name: '', internalType: 'elist', type: 'bytes32' }],
|
29
|
+
stateMutability: 'view',
|
30
|
+
},
|
31
|
+
{
|
32
|
+
type: 'function',
|
33
|
+
inputs: [{ name: 'ctValue', internalType: 'bytes', type: 'bytes' }],
|
34
|
+
name: 'listAppend',
|
35
|
+
outputs: [{ name: '', internalType: 'elist', type: 'bytes32' }],
|
36
|
+
stateMutability: 'payable',
|
37
|
+
},
|
38
|
+
{
|
39
|
+
type: 'function',
|
40
|
+
inputs: [
|
41
|
+
{ name: 'cts', internalType: 'bytes[]', type: 'bytes[]' },
|
42
|
+
{ name: 'listType', internalType: 'enum ETypes', type: 'uint8' },
|
43
|
+
{ name: 'user', internalType: 'address', type: 'address' },
|
44
|
+
],
|
45
|
+
name: 'listConcat',
|
46
|
+
outputs: [{ name: '', internalType: 'elist', type: 'bytes32' }],
|
47
|
+
stateMutability: 'payable',
|
48
|
+
},
|
49
|
+
{
|
50
|
+
type: 'function',
|
51
|
+
inputs: [{ name: 'index', internalType: 'uint16', type: 'uint16' }],
|
52
|
+
name: 'listGet',
|
53
|
+
outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
|
54
|
+
stateMutability: 'nonpayable',
|
55
|
+
},
|
56
|
+
{
|
57
|
+
type: 'function',
|
58
|
+
inputs: [
|
59
|
+
{ name: 'ctIndex', internalType: 'bytes', type: 'bytes' },
|
60
|
+
{ name: 'ctDefaultValue', internalType: 'bytes', type: 'bytes' },
|
61
|
+
],
|
62
|
+
name: 'listGetOr',
|
63
|
+
outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
|
64
|
+
stateMutability: 'payable',
|
65
|
+
},
|
66
|
+
{
|
67
|
+
type: 'function',
|
68
|
+
inputs: [{ name: 'index', internalType: 'uint16', type: 'uint16' }],
|
69
|
+
name: 'listGetRange',
|
70
|
+
outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
|
71
|
+
stateMutability: 'nonpayable',
|
72
|
+
},
|
73
|
+
{
|
74
|
+
type: 'function',
|
75
|
+
inputs: [
|
76
|
+
{ name: 'ctIndex', internalType: 'bytes', type: 'bytes' },
|
77
|
+
{ name: 'ctValue', internalType: 'bytes', type: 'bytes' },
|
78
|
+
],
|
79
|
+
name: 'listInsert',
|
80
|
+
outputs: [{ name: '', internalType: 'elist', type: 'bytes32' }],
|
81
|
+
stateMutability: 'payable',
|
82
|
+
},
|
83
|
+
{
|
84
|
+
type: 'function',
|
85
|
+
inputs: [
|
86
|
+
{ name: 'start', internalType: 'uint16', type: 'uint16' },
|
87
|
+
{ name: 'end', internalType: 'uint16', type: 'uint16' },
|
88
|
+
],
|
89
|
+
name: 'listRange',
|
90
|
+
outputs: [{ name: '', internalType: 'elist', type: 'bytes32' }],
|
91
|
+
stateMutability: 'nonpayable',
|
92
|
+
},
|
93
|
+
{
|
94
|
+
type: 'function',
|
95
|
+
inputs: [],
|
96
|
+
name: 'listReverse',
|
97
|
+
outputs: [{ name: '', internalType: 'elist', type: 'bytes32' }],
|
98
|
+
stateMutability: 'nonpayable',
|
99
|
+
},
|
100
|
+
{
|
101
|
+
type: 'function',
|
102
|
+
inputs: [
|
103
|
+
{ name: 'ctIndex', internalType: 'bytes', type: 'bytes' },
|
104
|
+
{ name: 'ctValue', internalType: 'bytes', type: 'bytes' },
|
105
|
+
],
|
106
|
+
name: 'listSet',
|
107
|
+
outputs: [{ name: '', internalType: 'elist', type: 'bytes32' }],
|
108
|
+
stateMutability: 'payable',
|
109
|
+
},
|
110
|
+
{
|
111
|
+
type: 'function',
|
112
|
+
inputs: [],
|
113
|
+
name: 'listShuffle',
|
114
|
+
outputs: [{ name: '', internalType: 'elist', type: 'bytes32' }],
|
115
|
+
stateMutability: 'payable',
|
116
|
+
},
|
117
|
+
{
|
118
|
+
type: 'function',
|
119
|
+
inputs: [
|
120
|
+
{ name: 'ctStart', internalType: 'bytes', type: 'bytes' },
|
121
|
+
{ name: 'len', internalType: 'uint16', type: 'uint16' },
|
122
|
+
{ name: 'ctDefaultValue', internalType: 'bytes', type: 'bytes' },
|
123
|
+
],
|
124
|
+
name: 'listSlice',
|
125
|
+
outputs: [{ name: '', internalType: 'elist', type: 'bytes32' }],
|
126
|
+
stateMutability: 'payable',
|
127
|
+
},
|
128
|
+
{
|
129
|
+
type: 'function',
|
130
|
+
inputs: [
|
131
|
+
{ name: 'handles', internalType: 'bytes32[]', type: 'bytes32[]' },
|
132
|
+
{ name: 'listType', internalType: 'enum ETypes', type: 'uint8' },
|
133
|
+
],
|
134
|
+
name: 'newEList',
|
135
|
+
outputs: [{ name: '', internalType: 'elist', type: 'bytes32' }],
|
136
|
+
stateMutability: 'payable',
|
137
|
+
},
|
138
|
+
{
|
139
|
+
type: 'function',
|
140
|
+
inputs: [
|
141
|
+
{ name: 'inputs', internalType: 'bytes[]', type: 'bytes[]' },
|
142
|
+
{ name: 'listType', internalType: 'enum ETypes', type: 'uint8' },
|
143
|
+
{ name: 'user', internalType: 'address', type: 'address' },
|
144
|
+
],
|
145
|
+
name: 'newEList',
|
146
|
+
outputs: [{ name: '', internalType: 'elist', type: 'bytes32' }],
|
147
|
+
stateMutability: 'payable',
|
148
|
+
},
|
149
|
+
{
|
150
|
+
type: 'function',
|
151
|
+
inputs: [],
|
152
|
+
name: 'newRangeList',
|
153
|
+
outputs: [{ name: '', internalType: 'elist', type: 'bytes32' }],
|
154
|
+
stateMutability: 'view',
|
155
|
+
},
|
156
|
+
{ type: 'error', inputs: [], name: 'FeeNotPaid' },
|
157
|
+
];
|
158
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdC1lbGlzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvYWJpcy90ZXN0LWVsaXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHNLQUFzSztBQUN0SyxjQUFjO0FBQ2Qsc0tBQXNLO0FBRXRLLE1BQU0sQ0FBQyxNQUFNLGNBQWMsR0FBRztJQUM1QjtRQUNFLElBQUksRUFBRSxhQUFhO1FBQ25CLE1BQU0sRUFBRTtZQUNOO2dCQUNFLElBQUksRUFBRSxPQUFPO2dCQUNiLFlBQVksRUFBRSxnQ0FBZ0M7Z0JBQzlDLElBQUksRUFBRSxTQUFTO2FBQ2hCO1NBQ0Y7UUFDRCxlQUFlLEVBQUUsWUFBWTtLQUM5QjtJQUNELEVBQUUsSUFBSSxFQUFFLFNBQVMsRUFBRSxlQUFlLEVBQUUsU0FBUyxFQUFFO0lBQy9DO1FBQ0UsSUFBSSxFQUFFLFVBQVU7UUFDaEIsTUFBTSxFQUFFLEVBQUU7UUFDVixJQUFJLEVBQUUsUUFBUTtRQUNkLE9BQU8sRUFBRSxDQUFDLEVBQUUsSUFBSSxFQUFFLEVBQUUsRUFBRSxZQUFZLEVBQUUsU0FBUyxFQUFFLElBQUksRUFBRSxTQUFTLEVBQUUsQ0FBQztRQUNqRSxlQUFlLEVBQUUsTUFBTTtLQUN4QjtJQUNEO1FBQ0UsSUFBSSxFQUFFLFVBQVU7UUFDaEIsTUFBTSxFQUFFLEVBQUU7UUFDVixJQUFJLEVBQUUsTUFB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FQUFFLFNBQVMsRUFBRSxJQUFJLEVBQUUsU0FBUyxFQUFFO1NBQzNEO1FBQ0QsSUFBSSxFQUFFLFVBQVU7UUFDaEIsT0FBTyxFQUFFLENBQUMsRUFBRSxJQUFJLEVBQUUsRUFBRSxFQUFFLFlBQVksRUFBRSxPQUFPLEVBQUUsSUFBSSxFQUFFLFNBQVMsRUFBRSxDQUFDO1FBQy9ELGVBQWUsRUFBRSxTQUFTO0tBQzNCO0lBQ0Q7UUFDRSxJQUFJLEVBQUUsVUFBVTtRQUNoQixNQUFNLEVBQUUsRUFBRTtRQUNWLElBQUksRUFBRSxjQUFjO1FBQ3BCLE9BQU8sRUFBRSxDQUFDLEVBQUUsSUFBSSxFQUFFLEVBQUUsRUFBRSxZQUFZLEVBQUUsT0FBTyxFQUFFLElBQUksRUFBRSxTQUFTLEVBQUUsQ0FBQztRQUMvRCxlQUFlLEVBQUUsTUFBTTtLQUN4QjtJQUNELEVBQUUsSUFBSSxFQUFFLE9BQU8sRUFBRSxNQUFNLEVBQUUsRUFBRSxFQUFFLElBQUksRUFBRSxZQUFZLEVBQUU7Q0FDekMsQ0FBQSJ9
|
@@ -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
|
-
|
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: "
|
16
|
-
readonly type: "
|
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: "
|
80
|
+
readonly name: "UpgradeResultStructHash";
|
95
81
|
readonly outputs: readonly [{
|
96
|
-
readonly name: "
|
97
|
-
readonly internalType: "
|
98
|
-
readonly type: "
|
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: "
|
156
|
-
readonly internalType: "
|
157
|
-
readonly type: "
|
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: "
|
505
|
-
readonly type: "
|
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: "
|
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: "
|
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: "
|
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: "
|
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 [];
|