@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.
- 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 -25
- package/dist/cjs/generated/abis/lightning.js +257 -23
- 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 +98 -61
- package/dist/cjs/generated/abis/verifier.js +81 -51
- package/dist/cjs/generated/lightning.d.ts +42 -0
- package/dist/cjs/generated/lightning.js +45 -1
- package/dist/cjs/generated/local-node.d.ts +5 -5
- package/dist/cjs/generated/local-node.js +5 -5
- 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 -25
- package/dist/esm/generated/abis/lightning.js +256 -22
- 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 +98 -61
- package/dist/esm/generated/abis/verifier.js +81 -51
- package/dist/esm/generated/lightning.d.ts +42 -0
- package/dist/esm/generated/lightning.js +45 -1
- package/dist/esm/generated/local-node.d.ts +5 -5
- package/dist/esm/generated/local-node.js +5 -5
- 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 -25
- package/dist/types/generated/abis/{TestElist.d.ts → test-elist.d.ts} +29 -12
- package/dist/types/generated/abis/verifier.d.ts +98 -61
- package/dist/types/generated/lightning.d.ts +42 -0
- package/dist/types/generated/local-node.d.ts +5 -5
- package/dist/types/retry.d.ts +2 -1
- package/package.json +1 -1
- 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: "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: "
|
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
|
}, {
|
@@ -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: "
|
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: "
|
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 [];
|