@hyperbridge/sdk 1.0.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/LICENSE +21 -0
- package/README.md +127 -0
- package/dist/abis/erc6160.d.ts +370 -0
- package/dist/abis/erc6160.js +238 -0
- package/dist/abis/erc6160.js.map +1 -0
- package/dist/abis/evmHost.d.ts +1752 -0
- package/dist/abis/evmHost.js +2250 -0
- package/dist/abis/evmHost.js.map +1 -0
- package/dist/abis/handler.d.ts +580 -0
- package/dist/abis/handler.js +750 -0
- package/dist/abis/handler.js.map +1 -0
- package/dist/abis/pingModule.d.ts +594 -0
- package/dist/abis/pingModule.js +765 -0
- package/dist/abis/pingModule.js.map +1 -0
- package/dist/abis/tokenGateway.d.ts +839 -0
- package/dist/abis/tokenGateway.js +471 -0
- package/dist/abis/tokenGateway.js.map +1 -0
- package/dist/chain.d.ts +83 -0
- package/dist/chain.js +34 -0
- package/dist/chain.js.map +1 -0
- package/dist/chains/evm.d.ts +86 -0
- package/dist/chains/evm.js +249 -0
- package/dist/chains/evm.js.map +1 -0
- package/dist/chains/substrate.d.ts +88 -0
- package/dist/chains/substrate.js +287 -0
- package/dist/chains/substrate.js.map +1 -0
- package/dist/client.d.ts +216 -0
- package/dist/client.js +774 -0
- package/dist/client.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -0
- package/dist/queries.d.ts +3 -0
- package/dist/queries.js +78 -0
- package/dist/queries.js.map +1 -0
- package/dist/tests/hyperbridgeRequests.test.d.ts +1 -0
- package/dist/tests/hyperbridgeRequests.test.js +415 -0
- package/dist/tests/hyperbridgeRequests.test.js.map +1 -0
- package/dist/tests/postRequest.test.d.ts +1 -0
- package/dist/tests/postRequest.test.js +293 -0
- package/dist/tests/postRequest.test.js.map +1 -0
- package/dist/tests/setup.d.ts +1 -0
- package/dist/tests/setup.js +6 -0
- package/dist/tests/setup.js.map +1 -0
- package/dist/tests/tokenGateway.test.d.ts +1 -0
- package/dist/tests/tokenGateway.test.js +85 -0
- package/dist/tests/tokenGateway.test.js.map +1 -0
- package/dist/tests/xcmGateway.test.d.ts +1 -0
- package/dist/tests/xcmGateway.test.js +71 -0
- package/dist/tests/xcmGateway.test.js.map +1 -0
- package/dist/types/index.d.ts +238 -0
- package/dist/types/index.js +30 -0
- package/dist/types/index.js.map +1 -0
- package/dist/utils/mmr.d.ts +13 -0
- package/dist/utils/mmr.js +153 -0
- package/dist/utils/mmr.js.map +1 -0
- package/dist/utils/substrate.d.ts +1913 -0
- package/dist/utils/substrate.js +361 -0
- package/dist/utils/substrate.js.map +1 -0
- package/dist/utils/tokenGateway.d.ts +68 -0
- package/dist/utils/tokenGateway.js +151 -0
- package/dist/utils/tokenGateway.js.map +1 -0
- package/dist/utils/xcmGateway.d.ts +81 -0
- package/dist/utils/xcmGateway.js +218 -0
- package/dist/utils/xcmGateway.js.map +1 -0
- package/dist/utils.d.ts +57 -0
- package/dist/utils.js +96 -0
- package/dist/utils.js.map +1 -0
- package/package.json +74 -0
|
@@ -0,0 +1,1752 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
ABI: readonly [{
|
|
3
|
+
readonly inputs: readonly [];
|
|
4
|
+
readonly name: "CannotChangeFeeToken";
|
|
5
|
+
readonly type: "error";
|
|
6
|
+
}, {
|
|
7
|
+
readonly inputs: readonly [];
|
|
8
|
+
readonly name: "DuplicateResponse";
|
|
9
|
+
readonly type: "error";
|
|
10
|
+
}, {
|
|
11
|
+
readonly inputs: readonly [];
|
|
12
|
+
readonly name: "FrozenHost";
|
|
13
|
+
readonly type: "error";
|
|
14
|
+
}, {
|
|
15
|
+
readonly inputs: readonly [];
|
|
16
|
+
readonly name: "InvalidAddressLength";
|
|
17
|
+
readonly type: "error";
|
|
18
|
+
}, {
|
|
19
|
+
readonly inputs: readonly [];
|
|
20
|
+
readonly name: "InvalidConsensusClient";
|
|
21
|
+
readonly type: "error";
|
|
22
|
+
}, {
|
|
23
|
+
readonly inputs: readonly [];
|
|
24
|
+
readonly name: "InvalidHandler";
|
|
25
|
+
readonly type: "error";
|
|
26
|
+
}, {
|
|
27
|
+
readonly inputs: readonly [];
|
|
28
|
+
readonly name: "InvalidHostManager";
|
|
29
|
+
readonly type: "error";
|
|
30
|
+
}, {
|
|
31
|
+
readonly inputs: readonly [];
|
|
32
|
+
readonly name: "InvalidHyperbridgeId";
|
|
33
|
+
readonly type: "error";
|
|
34
|
+
}, {
|
|
35
|
+
readonly inputs: readonly [];
|
|
36
|
+
readonly name: "InvalidStateMachinesLength";
|
|
37
|
+
readonly type: "error";
|
|
38
|
+
}, {
|
|
39
|
+
readonly inputs: readonly [];
|
|
40
|
+
readonly name: "InvalidUnstakingPeriod";
|
|
41
|
+
readonly type: "error";
|
|
42
|
+
}, {
|
|
43
|
+
readonly inputs: readonly [];
|
|
44
|
+
readonly name: "MaxFishermanCountExceeded";
|
|
45
|
+
readonly type: "error";
|
|
46
|
+
}, {
|
|
47
|
+
readonly inputs: readonly [];
|
|
48
|
+
readonly name: "UnauthorizedAccount";
|
|
49
|
+
readonly type: "error";
|
|
50
|
+
}, {
|
|
51
|
+
readonly inputs: readonly [];
|
|
52
|
+
readonly name: "UnauthorizedAction";
|
|
53
|
+
readonly type: "error";
|
|
54
|
+
}, {
|
|
55
|
+
readonly inputs: readonly [];
|
|
56
|
+
readonly name: "UnauthorizedResponse";
|
|
57
|
+
readonly type: "error";
|
|
58
|
+
}, {
|
|
59
|
+
readonly inputs: readonly [];
|
|
60
|
+
readonly name: "UnknownRequest";
|
|
61
|
+
readonly type: "error";
|
|
62
|
+
}, {
|
|
63
|
+
readonly inputs: readonly [];
|
|
64
|
+
readonly name: "UnknownResponse";
|
|
65
|
+
readonly type: "error";
|
|
66
|
+
}, {
|
|
67
|
+
readonly inputs: readonly [];
|
|
68
|
+
readonly name: "WithdrawalFailed";
|
|
69
|
+
readonly type: "error";
|
|
70
|
+
}, {
|
|
71
|
+
readonly anonymous: false;
|
|
72
|
+
readonly inputs: readonly [{
|
|
73
|
+
readonly indexed: false;
|
|
74
|
+
readonly internalType: "string";
|
|
75
|
+
readonly name: "source";
|
|
76
|
+
readonly type: "string";
|
|
77
|
+
}, {
|
|
78
|
+
readonly indexed: false;
|
|
79
|
+
readonly internalType: "string";
|
|
80
|
+
readonly name: "dest";
|
|
81
|
+
readonly type: "string";
|
|
82
|
+
}, {
|
|
83
|
+
readonly indexed: true;
|
|
84
|
+
readonly internalType: "address";
|
|
85
|
+
readonly name: "from";
|
|
86
|
+
readonly type: "address";
|
|
87
|
+
}, {
|
|
88
|
+
readonly indexed: false;
|
|
89
|
+
readonly internalType: "bytes[]";
|
|
90
|
+
readonly name: "keys";
|
|
91
|
+
readonly type: "bytes[]";
|
|
92
|
+
}, {
|
|
93
|
+
readonly indexed: false;
|
|
94
|
+
readonly internalType: "uint256";
|
|
95
|
+
readonly name: "height";
|
|
96
|
+
readonly type: "uint256";
|
|
97
|
+
}, {
|
|
98
|
+
readonly indexed: false;
|
|
99
|
+
readonly internalType: "uint256";
|
|
100
|
+
readonly name: "nonce";
|
|
101
|
+
readonly type: "uint256";
|
|
102
|
+
}, {
|
|
103
|
+
readonly indexed: false;
|
|
104
|
+
readonly internalType: "uint256";
|
|
105
|
+
readonly name: "timeoutTimestamp";
|
|
106
|
+
readonly type: "uint256";
|
|
107
|
+
}, {
|
|
108
|
+
readonly indexed: false;
|
|
109
|
+
readonly internalType: "bytes";
|
|
110
|
+
readonly name: "context";
|
|
111
|
+
readonly type: "bytes";
|
|
112
|
+
}, {
|
|
113
|
+
readonly indexed: false;
|
|
114
|
+
readonly internalType: "uint256";
|
|
115
|
+
readonly name: "fee";
|
|
116
|
+
readonly type: "uint256";
|
|
117
|
+
}];
|
|
118
|
+
readonly name: "GetRequestEvent";
|
|
119
|
+
readonly type: "event";
|
|
120
|
+
}, {
|
|
121
|
+
readonly anonymous: false;
|
|
122
|
+
readonly inputs: readonly [{
|
|
123
|
+
readonly indexed: true;
|
|
124
|
+
readonly internalType: "bytes32";
|
|
125
|
+
readonly name: "commitment";
|
|
126
|
+
readonly type: "bytes32";
|
|
127
|
+
}, {
|
|
128
|
+
readonly indexed: false;
|
|
129
|
+
readonly internalType: "address";
|
|
130
|
+
readonly name: "relayer";
|
|
131
|
+
readonly type: "address";
|
|
132
|
+
}];
|
|
133
|
+
readonly name: "GetRequestHandled";
|
|
134
|
+
readonly type: "event";
|
|
135
|
+
}, {
|
|
136
|
+
readonly anonymous: false;
|
|
137
|
+
readonly inputs: readonly [{
|
|
138
|
+
readonly indexed: true;
|
|
139
|
+
readonly internalType: "bytes32";
|
|
140
|
+
readonly name: "commitment";
|
|
141
|
+
readonly type: "bytes32";
|
|
142
|
+
}, {
|
|
143
|
+
readonly indexed: false;
|
|
144
|
+
readonly internalType: "string";
|
|
145
|
+
readonly name: "dest";
|
|
146
|
+
readonly type: "string";
|
|
147
|
+
}];
|
|
148
|
+
readonly name: "GetRequestTimeoutHandled";
|
|
149
|
+
readonly type: "event";
|
|
150
|
+
}, {
|
|
151
|
+
readonly anonymous: false;
|
|
152
|
+
readonly inputs: readonly [{
|
|
153
|
+
readonly indexed: false;
|
|
154
|
+
readonly internalType: "enum FrozenStatus";
|
|
155
|
+
readonly name: "status";
|
|
156
|
+
readonly type: "uint8";
|
|
157
|
+
}];
|
|
158
|
+
readonly name: "HostFrozen";
|
|
159
|
+
readonly type: "event";
|
|
160
|
+
}, {
|
|
161
|
+
readonly anonymous: false;
|
|
162
|
+
readonly inputs: readonly [{
|
|
163
|
+
readonly components: readonly [{
|
|
164
|
+
readonly internalType: "uint256";
|
|
165
|
+
readonly name: "defaultTimeout";
|
|
166
|
+
readonly type: "uint256";
|
|
167
|
+
}, {
|
|
168
|
+
readonly internalType: "uint256";
|
|
169
|
+
readonly name: "perByteFee";
|
|
170
|
+
readonly type: "uint256";
|
|
171
|
+
}, {
|
|
172
|
+
readonly internalType: "uint256";
|
|
173
|
+
readonly name: "stateCommitmentFee";
|
|
174
|
+
readonly type: "uint256";
|
|
175
|
+
}, {
|
|
176
|
+
readonly internalType: "address";
|
|
177
|
+
readonly name: "feeToken";
|
|
178
|
+
readonly type: "address";
|
|
179
|
+
}, {
|
|
180
|
+
readonly internalType: "address";
|
|
181
|
+
readonly name: "admin";
|
|
182
|
+
readonly type: "address";
|
|
183
|
+
}, {
|
|
184
|
+
readonly internalType: "address";
|
|
185
|
+
readonly name: "handler";
|
|
186
|
+
readonly type: "address";
|
|
187
|
+
}, {
|
|
188
|
+
readonly internalType: "address";
|
|
189
|
+
readonly name: "hostManager";
|
|
190
|
+
readonly type: "address";
|
|
191
|
+
}, {
|
|
192
|
+
readonly internalType: "address";
|
|
193
|
+
readonly name: "uniswapV2";
|
|
194
|
+
readonly type: "address";
|
|
195
|
+
}, {
|
|
196
|
+
readonly internalType: "uint256";
|
|
197
|
+
readonly name: "unStakingPeriod";
|
|
198
|
+
readonly type: "uint256";
|
|
199
|
+
}, {
|
|
200
|
+
readonly internalType: "uint256";
|
|
201
|
+
readonly name: "challengePeriod";
|
|
202
|
+
readonly type: "uint256";
|
|
203
|
+
}, {
|
|
204
|
+
readonly internalType: "address";
|
|
205
|
+
readonly name: "consensusClient";
|
|
206
|
+
readonly type: "address";
|
|
207
|
+
}, {
|
|
208
|
+
readonly internalType: "uint256[]";
|
|
209
|
+
readonly name: "stateMachines";
|
|
210
|
+
readonly type: "uint256[]";
|
|
211
|
+
}, {
|
|
212
|
+
readonly internalType: "address[]";
|
|
213
|
+
readonly name: "fishermen";
|
|
214
|
+
readonly type: "address[]";
|
|
215
|
+
}, {
|
|
216
|
+
readonly internalType: "bytes";
|
|
217
|
+
readonly name: "hyperbridge";
|
|
218
|
+
readonly type: "bytes";
|
|
219
|
+
}];
|
|
220
|
+
readonly indexed: false;
|
|
221
|
+
readonly internalType: "struct HostParams";
|
|
222
|
+
readonly name: "oldParams";
|
|
223
|
+
readonly type: "tuple";
|
|
224
|
+
}, {
|
|
225
|
+
readonly components: readonly [{
|
|
226
|
+
readonly internalType: "uint256";
|
|
227
|
+
readonly name: "defaultTimeout";
|
|
228
|
+
readonly type: "uint256";
|
|
229
|
+
}, {
|
|
230
|
+
readonly internalType: "uint256";
|
|
231
|
+
readonly name: "perByteFee";
|
|
232
|
+
readonly type: "uint256";
|
|
233
|
+
}, {
|
|
234
|
+
readonly internalType: "uint256";
|
|
235
|
+
readonly name: "stateCommitmentFee";
|
|
236
|
+
readonly type: "uint256";
|
|
237
|
+
}, {
|
|
238
|
+
readonly internalType: "address";
|
|
239
|
+
readonly name: "feeToken";
|
|
240
|
+
readonly type: "address";
|
|
241
|
+
}, {
|
|
242
|
+
readonly internalType: "address";
|
|
243
|
+
readonly name: "admin";
|
|
244
|
+
readonly type: "address";
|
|
245
|
+
}, {
|
|
246
|
+
readonly internalType: "address";
|
|
247
|
+
readonly name: "handler";
|
|
248
|
+
readonly type: "address";
|
|
249
|
+
}, {
|
|
250
|
+
readonly internalType: "address";
|
|
251
|
+
readonly name: "hostManager";
|
|
252
|
+
readonly type: "address";
|
|
253
|
+
}, {
|
|
254
|
+
readonly internalType: "address";
|
|
255
|
+
readonly name: "uniswapV2";
|
|
256
|
+
readonly type: "address";
|
|
257
|
+
}, {
|
|
258
|
+
readonly internalType: "uint256";
|
|
259
|
+
readonly name: "unStakingPeriod";
|
|
260
|
+
readonly type: "uint256";
|
|
261
|
+
}, {
|
|
262
|
+
readonly internalType: "uint256";
|
|
263
|
+
readonly name: "challengePeriod";
|
|
264
|
+
readonly type: "uint256";
|
|
265
|
+
}, {
|
|
266
|
+
readonly internalType: "address";
|
|
267
|
+
readonly name: "consensusClient";
|
|
268
|
+
readonly type: "address";
|
|
269
|
+
}, {
|
|
270
|
+
readonly internalType: "uint256[]";
|
|
271
|
+
readonly name: "stateMachines";
|
|
272
|
+
readonly type: "uint256[]";
|
|
273
|
+
}, {
|
|
274
|
+
readonly internalType: "address[]";
|
|
275
|
+
readonly name: "fishermen";
|
|
276
|
+
readonly type: "address[]";
|
|
277
|
+
}, {
|
|
278
|
+
readonly internalType: "bytes";
|
|
279
|
+
readonly name: "hyperbridge";
|
|
280
|
+
readonly type: "bytes";
|
|
281
|
+
}];
|
|
282
|
+
readonly indexed: false;
|
|
283
|
+
readonly internalType: "struct HostParams";
|
|
284
|
+
readonly name: "newParams";
|
|
285
|
+
readonly type: "tuple";
|
|
286
|
+
}];
|
|
287
|
+
readonly name: "HostParamsUpdated";
|
|
288
|
+
readonly type: "event";
|
|
289
|
+
}, {
|
|
290
|
+
readonly anonymous: false;
|
|
291
|
+
readonly inputs: readonly [{
|
|
292
|
+
readonly indexed: false;
|
|
293
|
+
readonly internalType: "uint256";
|
|
294
|
+
readonly name: "amount";
|
|
295
|
+
readonly type: "uint256";
|
|
296
|
+
}, {
|
|
297
|
+
readonly indexed: false;
|
|
298
|
+
readonly internalType: "address";
|
|
299
|
+
readonly name: "beneficiary";
|
|
300
|
+
readonly type: "address";
|
|
301
|
+
}, {
|
|
302
|
+
readonly indexed: false;
|
|
303
|
+
readonly internalType: "bool";
|
|
304
|
+
readonly name: "native";
|
|
305
|
+
readonly type: "bool";
|
|
306
|
+
}];
|
|
307
|
+
readonly name: "HostWithdrawal";
|
|
308
|
+
readonly type: "event";
|
|
309
|
+
}, {
|
|
310
|
+
readonly anonymous: false;
|
|
311
|
+
readonly inputs: readonly [{
|
|
312
|
+
readonly indexed: false;
|
|
313
|
+
readonly internalType: "string";
|
|
314
|
+
readonly name: "source";
|
|
315
|
+
readonly type: "string";
|
|
316
|
+
}, {
|
|
317
|
+
readonly indexed: false;
|
|
318
|
+
readonly internalType: "string";
|
|
319
|
+
readonly name: "dest";
|
|
320
|
+
readonly type: "string";
|
|
321
|
+
}, {
|
|
322
|
+
readonly indexed: true;
|
|
323
|
+
readonly internalType: "address";
|
|
324
|
+
readonly name: "from";
|
|
325
|
+
readonly type: "address";
|
|
326
|
+
}, {
|
|
327
|
+
readonly indexed: false;
|
|
328
|
+
readonly internalType: "bytes";
|
|
329
|
+
readonly name: "to";
|
|
330
|
+
readonly type: "bytes";
|
|
331
|
+
}, {
|
|
332
|
+
readonly indexed: false;
|
|
333
|
+
readonly internalType: "uint256";
|
|
334
|
+
readonly name: "nonce";
|
|
335
|
+
readonly type: "uint256";
|
|
336
|
+
}, {
|
|
337
|
+
readonly indexed: false;
|
|
338
|
+
readonly internalType: "uint256";
|
|
339
|
+
readonly name: "timeoutTimestamp";
|
|
340
|
+
readonly type: "uint256";
|
|
341
|
+
}, {
|
|
342
|
+
readonly indexed: false;
|
|
343
|
+
readonly internalType: "bytes";
|
|
344
|
+
readonly name: "body";
|
|
345
|
+
readonly type: "bytes";
|
|
346
|
+
}, {
|
|
347
|
+
readonly indexed: false;
|
|
348
|
+
readonly internalType: "uint256";
|
|
349
|
+
readonly name: "fee";
|
|
350
|
+
readonly type: "uint256";
|
|
351
|
+
}];
|
|
352
|
+
readonly name: "PostRequestEvent";
|
|
353
|
+
readonly type: "event";
|
|
354
|
+
}, {
|
|
355
|
+
readonly anonymous: false;
|
|
356
|
+
readonly inputs: readonly [{
|
|
357
|
+
readonly indexed: true;
|
|
358
|
+
readonly internalType: "bytes32";
|
|
359
|
+
readonly name: "commitment";
|
|
360
|
+
readonly type: "bytes32";
|
|
361
|
+
}, {
|
|
362
|
+
readonly indexed: false;
|
|
363
|
+
readonly internalType: "address";
|
|
364
|
+
readonly name: "relayer";
|
|
365
|
+
readonly type: "address";
|
|
366
|
+
}];
|
|
367
|
+
readonly name: "PostRequestHandled";
|
|
368
|
+
readonly type: "event";
|
|
369
|
+
}, {
|
|
370
|
+
readonly anonymous: false;
|
|
371
|
+
readonly inputs: readonly [{
|
|
372
|
+
readonly indexed: true;
|
|
373
|
+
readonly internalType: "bytes32";
|
|
374
|
+
readonly name: "commitment";
|
|
375
|
+
readonly type: "bytes32";
|
|
376
|
+
}, {
|
|
377
|
+
readonly indexed: false;
|
|
378
|
+
readonly internalType: "string";
|
|
379
|
+
readonly name: "dest";
|
|
380
|
+
readonly type: "string";
|
|
381
|
+
}];
|
|
382
|
+
readonly name: "PostRequestTimeoutHandled";
|
|
383
|
+
readonly type: "event";
|
|
384
|
+
}, {
|
|
385
|
+
readonly anonymous: false;
|
|
386
|
+
readonly inputs: readonly [{
|
|
387
|
+
readonly indexed: false;
|
|
388
|
+
readonly internalType: "string";
|
|
389
|
+
readonly name: "source";
|
|
390
|
+
readonly type: "string";
|
|
391
|
+
}, {
|
|
392
|
+
readonly indexed: false;
|
|
393
|
+
readonly internalType: "string";
|
|
394
|
+
readonly name: "dest";
|
|
395
|
+
readonly type: "string";
|
|
396
|
+
}, {
|
|
397
|
+
readonly indexed: true;
|
|
398
|
+
readonly internalType: "address";
|
|
399
|
+
readonly name: "from";
|
|
400
|
+
readonly type: "address";
|
|
401
|
+
}, {
|
|
402
|
+
readonly indexed: false;
|
|
403
|
+
readonly internalType: "bytes";
|
|
404
|
+
readonly name: "to";
|
|
405
|
+
readonly type: "bytes";
|
|
406
|
+
}, {
|
|
407
|
+
readonly indexed: false;
|
|
408
|
+
readonly internalType: "uint256";
|
|
409
|
+
readonly name: "nonce";
|
|
410
|
+
readonly type: "uint256";
|
|
411
|
+
}, {
|
|
412
|
+
readonly indexed: false;
|
|
413
|
+
readonly internalType: "uint256";
|
|
414
|
+
readonly name: "timeoutTimestamp";
|
|
415
|
+
readonly type: "uint256";
|
|
416
|
+
}, {
|
|
417
|
+
readonly indexed: false;
|
|
418
|
+
readonly internalType: "bytes";
|
|
419
|
+
readonly name: "body";
|
|
420
|
+
readonly type: "bytes";
|
|
421
|
+
}, {
|
|
422
|
+
readonly indexed: false;
|
|
423
|
+
readonly internalType: "bytes";
|
|
424
|
+
readonly name: "response";
|
|
425
|
+
readonly type: "bytes";
|
|
426
|
+
}, {
|
|
427
|
+
readonly indexed: false;
|
|
428
|
+
readonly internalType: "uint256";
|
|
429
|
+
readonly name: "responseTimeoutTimestamp";
|
|
430
|
+
readonly type: "uint256";
|
|
431
|
+
}, {
|
|
432
|
+
readonly indexed: false;
|
|
433
|
+
readonly internalType: "uint256";
|
|
434
|
+
readonly name: "fee";
|
|
435
|
+
readonly type: "uint256";
|
|
436
|
+
}];
|
|
437
|
+
readonly name: "PostResponseEvent";
|
|
438
|
+
readonly type: "event";
|
|
439
|
+
}, {
|
|
440
|
+
readonly anonymous: false;
|
|
441
|
+
readonly inputs: readonly [{
|
|
442
|
+
readonly indexed: true;
|
|
443
|
+
readonly internalType: "bytes32";
|
|
444
|
+
readonly name: "commitment";
|
|
445
|
+
readonly type: "bytes32";
|
|
446
|
+
}, {
|
|
447
|
+
readonly indexed: false;
|
|
448
|
+
readonly internalType: "uint256";
|
|
449
|
+
readonly name: "newFee";
|
|
450
|
+
readonly type: "uint256";
|
|
451
|
+
}];
|
|
452
|
+
readonly name: "PostResponseFunded";
|
|
453
|
+
readonly type: "event";
|
|
454
|
+
}, {
|
|
455
|
+
readonly anonymous: false;
|
|
456
|
+
readonly inputs: readonly [{
|
|
457
|
+
readonly indexed: true;
|
|
458
|
+
readonly internalType: "bytes32";
|
|
459
|
+
readonly name: "commitment";
|
|
460
|
+
readonly type: "bytes32";
|
|
461
|
+
}, {
|
|
462
|
+
readonly indexed: false;
|
|
463
|
+
readonly internalType: "address";
|
|
464
|
+
readonly name: "relayer";
|
|
465
|
+
readonly type: "address";
|
|
466
|
+
}];
|
|
467
|
+
readonly name: "PostResponseHandled";
|
|
468
|
+
readonly type: "event";
|
|
469
|
+
}, {
|
|
470
|
+
readonly anonymous: false;
|
|
471
|
+
readonly inputs: readonly [{
|
|
472
|
+
readonly indexed: true;
|
|
473
|
+
readonly internalType: "bytes32";
|
|
474
|
+
readonly name: "commitment";
|
|
475
|
+
readonly type: "bytes32";
|
|
476
|
+
}, {
|
|
477
|
+
readonly indexed: false;
|
|
478
|
+
readonly internalType: "string";
|
|
479
|
+
readonly name: "dest";
|
|
480
|
+
readonly type: "string";
|
|
481
|
+
}];
|
|
482
|
+
readonly name: "PostResponseTimeoutHandled";
|
|
483
|
+
readonly type: "event";
|
|
484
|
+
}, {
|
|
485
|
+
readonly anonymous: false;
|
|
486
|
+
readonly inputs: readonly [{
|
|
487
|
+
readonly indexed: true;
|
|
488
|
+
readonly internalType: "bytes32";
|
|
489
|
+
readonly name: "commitment";
|
|
490
|
+
readonly type: "bytes32";
|
|
491
|
+
}, {
|
|
492
|
+
readonly indexed: false;
|
|
493
|
+
readonly internalType: "uint256";
|
|
494
|
+
readonly name: "newFee";
|
|
495
|
+
readonly type: "uint256";
|
|
496
|
+
}];
|
|
497
|
+
readonly name: "RequestFunded";
|
|
498
|
+
readonly type: "event";
|
|
499
|
+
}, {
|
|
500
|
+
readonly anonymous: false;
|
|
501
|
+
readonly inputs: readonly [{
|
|
502
|
+
readonly indexed: true;
|
|
503
|
+
readonly internalType: "address";
|
|
504
|
+
readonly name: "caller";
|
|
505
|
+
readonly type: "address";
|
|
506
|
+
}, {
|
|
507
|
+
readonly indexed: false;
|
|
508
|
+
readonly internalType: "uint256";
|
|
509
|
+
readonly name: "fee";
|
|
510
|
+
readonly type: "uint256";
|
|
511
|
+
}];
|
|
512
|
+
readonly name: "StateCommitmentRead";
|
|
513
|
+
readonly type: "event";
|
|
514
|
+
}, {
|
|
515
|
+
readonly anonymous: false;
|
|
516
|
+
readonly inputs: readonly [{
|
|
517
|
+
readonly indexed: false;
|
|
518
|
+
readonly internalType: "string";
|
|
519
|
+
readonly name: "stateMachineId";
|
|
520
|
+
readonly type: "string";
|
|
521
|
+
}, {
|
|
522
|
+
readonly indexed: false;
|
|
523
|
+
readonly internalType: "uint256";
|
|
524
|
+
readonly name: "height";
|
|
525
|
+
readonly type: "uint256";
|
|
526
|
+
}, {
|
|
527
|
+
readonly components: readonly [{
|
|
528
|
+
readonly internalType: "uint256";
|
|
529
|
+
readonly name: "timestamp";
|
|
530
|
+
readonly type: "uint256";
|
|
531
|
+
}, {
|
|
532
|
+
readonly internalType: "bytes32";
|
|
533
|
+
readonly name: "overlayRoot";
|
|
534
|
+
readonly type: "bytes32";
|
|
535
|
+
}, {
|
|
536
|
+
readonly internalType: "bytes32";
|
|
537
|
+
readonly name: "stateRoot";
|
|
538
|
+
readonly type: "bytes32";
|
|
539
|
+
}];
|
|
540
|
+
readonly indexed: false;
|
|
541
|
+
readonly internalType: "struct StateCommitment";
|
|
542
|
+
readonly name: "stateCommitment";
|
|
543
|
+
readonly type: "tuple";
|
|
544
|
+
}, {
|
|
545
|
+
readonly indexed: true;
|
|
546
|
+
readonly internalType: "address";
|
|
547
|
+
readonly name: "fisherman";
|
|
548
|
+
readonly type: "address";
|
|
549
|
+
}];
|
|
550
|
+
readonly name: "StateCommitmentVetoed";
|
|
551
|
+
readonly type: "event";
|
|
552
|
+
}, {
|
|
553
|
+
readonly anonymous: false;
|
|
554
|
+
readonly inputs: readonly [{
|
|
555
|
+
readonly indexed: false;
|
|
556
|
+
readonly internalType: "string";
|
|
557
|
+
readonly name: "stateMachineId";
|
|
558
|
+
readonly type: "string";
|
|
559
|
+
}, {
|
|
560
|
+
readonly indexed: false;
|
|
561
|
+
readonly internalType: "uint256";
|
|
562
|
+
readonly name: "height";
|
|
563
|
+
readonly type: "uint256";
|
|
564
|
+
}];
|
|
565
|
+
readonly name: "StateMachineUpdated";
|
|
566
|
+
readonly type: "event";
|
|
567
|
+
}, {
|
|
568
|
+
readonly inputs: readonly [];
|
|
569
|
+
readonly name: "admin";
|
|
570
|
+
readonly outputs: readonly [{
|
|
571
|
+
readonly internalType: "address";
|
|
572
|
+
readonly name: "";
|
|
573
|
+
readonly type: "address";
|
|
574
|
+
}];
|
|
575
|
+
readonly stateMutability: "view";
|
|
576
|
+
readonly type: "function";
|
|
577
|
+
}, {
|
|
578
|
+
readonly inputs: readonly [];
|
|
579
|
+
readonly name: "chainId";
|
|
580
|
+
readonly outputs: readonly [{
|
|
581
|
+
readonly internalType: "uint256";
|
|
582
|
+
readonly name: "";
|
|
583
|
+
readonly type: "uint256";
|
|
584
|
+
}];
|
|
585
|
+
readonly stateMutability: "nonpayable";
|
|
586
|
+
readonly type: "function";
|
|
587
|
+
}, {
|
|
588
|
+
readonly inputs: readonly [];
|
|
589
|
+
readonly name: "challengePeriod";
|
|
590
|
+
readonly outputs: readonly [{
|
|
591
|
+
readonly internalType: "uint256";
|
|
592
|
+
readonly name: "";
|
|
593
|
+
readonly type: "uint256";
|
|
594
|
+
}];
|
|
595
|
+
readonly stateMutability: "view";
|
|
596
|
+
readonly type: "function";
|
|
597
|
+
}, {
|
|
598
|
+
readonly inputs: readonly [];
|
|
599
|
+
readonly name: "consensusClient";
|
|
600
|
+
readonly outputs: readonly [{
|
|
601
|
+
readonly internalType: "address";
|
|
602
|
+
readonly name: "";
|
|
603
|
+
readonly type: "address";
|
|
604
|
+
}];
|
|
605
|
+
readonly stateMutability: "view";
|
|
606
|
+
readonly type: "function";
|
|
607
|
+
}, {
|
|
608
|
+
readonly inputs: readonly [];
|
|
609
|
+
readonly name: "consensusState";
|
|
610
|
+
readonly outputs: readonly [{
|
|
611
|
+
readonly internalType: "bytes";
|
|
612
|
+
readonly name: "";
|
|
613
|
+
readonly type: "bytes";
|
|
614
|
+
}];
|
|
615
|
+
readonly stateMutability: "view";
|
|
616
|
+
readonly type: "function";
|
|
617
|
+
}, {
|
|
618
|
+
readonly inputs: readonly [];
|
|
619
|
+
readonly name: "consensusUpdateTime";
|
|
620
|
+
readonly outputs: readonly [{
|
|
621
|
+
readonly internalType: "uint256";
|
|
622
|
+
readonly name: "";
|
|
623
|
+
readonly type: "uint256";
|
|
624
|
+
}];
|
|
625
|
+
readonly stateMutability: "view";
|
|
626
|
+
readonly type: "function";
|
|
627
|
+
}, {
|
|
628
|
+
readonly inputs: readonly [{
|
|
629
|
+
readonly components: readonly [{
|
|
630
|
+
readonly internalType: "uint256";
|
|
631
|
+
readonly name: "stateMachineId";
|
|
632
|
+
readonly type: "uint256";
|
|
633
|
+
}, {
|
|
634
|
+
readonly internalType: "uint256";
|
|
635
|
+
readonly name: "height";
|
|
636
|
+
readonly type: "uint256";
|
|
637
|
+
}];
|
|
638
|
+
readonly internalType: "struct StateMachineHeight";
|
|
639
|
+
readonly name: "height";
|
|
640
|
+
readonly type: "tuple";
|
|
641
|
+
}, {
|
|
642
|
+
readonly internalType: "address";
|
|
643
|
+
readonly name: "fisherman";
|
|
644
|
+
readonly type: "address";
|
|
645
|
+
}];
|
|
646
|
+
readonly name: "deleteStateMachineCommitment";
|
|
647
|
+
readonly outputs: readonly [];
|
|
648
|
+
readonly stateMutability: "nonpayable";
|
|
649
|
+
readonly type: "function";
|
|
650
|
+
}, {
|
|
651
|
+
readonly inputs: readonly [{
|
|
652
|
+
readonly components: readonly [{
|
|
653
|
+
readonly components: readonly [{
|
|
654
|
+
readonly internalType: "bytes";
|
|
655
|
+
readonly name: "source";
|
|
656
|
+
readonly type: "bytes";
|
|
657
|
+
}, {
|
|
658
|
+
readonly internalType: "bytes";
|
|
659
|
+
readonly name: "dest";
|
|
660
|
+
readonly type: "bytes";
|
|
661
|
+
}, {
|
|
662
|
+
readonly internalType: "uint64";
|
|
663
|
+
readonly name: "nonce";
|
|
664
|
+
readonly type: "uint64";
|
|
665
|
+
}, {
|
|
666
|
+
readonly internalType: "bytes";
|
|
667
|
+
readonly name: "from";
|
|
668
|
+
readonly type: "bytes";
|
|
669
|
+
}, {
|
|
670
|
+
readonly internalType: "bytes";
|
|
671
|
+
readonly name: "to";
|
|
672
|
+
readonly type: "bytes";
|
|
673
|
+
}, {
|
|
674
|
+
readonly internalType: "uint64";
|
|
675
|
+
readonly name: "timeoutTimestamp";
|
|
676
|
+
readonly type: "uint64";
|
|
677
|
+
}, {
|
|
678
|
+
readonly internalType: "bytes";
|
|
679
|
+
readonly name: "body";
|
|
680
|
+
readonly type: "bytes";
|
|
681
|
+
}];
|
|
682
|
+
readonly internalType: "struct PostRequest";
|
|
683
|
+
readonly name: "request";
|
|
684
|
+
readonly type: "tuple";
|
|
685
|
+
}, {
|
|
686
|
+
readonly internalType: "bytes";
|
|
687
|
+
readonly name: "response";
|
|
688
|
+
readonly type: "bytes";
|
|
689
|
+
}, {
|
|
690
|
+
readonly internalType: "uint64";
|
|
691
|
+
readonly name: "timeout";
|
|
692
|
+
readonly type: "uint64";
|
|
693
|
+
}, {
|
|
694
|
+
readonly internalType: "uint256";
|
|
695
|
+
readonly name: "fee";
|
|
696
|
+
readonly type: "uint256";
|
|
697
|
+
}, {
|
|
698
|
+
readonly internalType: "address";
|
|
699
|
+
readonly name: "payer";
|
|
700
|
+
readonly type: "address";
|
|
701
|
+
}];
|
|
702
|
+
readonly internalType: "struct DispatchPostResponse";
|
|
703
|
+
readonly name: "post";
|
|
704
|
+
readonly type: "tuple";
|
|
705
|
+
}];
|
|
706
|
+
readonly name: "dispatch";
|
|
707
|
+
readonly outputs: readonly [{
|
|
708
|
+
readonly internalType: "bytes32";
|
|
709
|
+
readonly name: "commitment";
|
|
710
|
+
readonly type: "bytes32";
|
|
711
|
+
}];
|
|
712
|
+
readonly stateMutability: "payable";
|
|
713
|
+
readonly type: "function";
|
|
714
|
+
}, {
|
|
715
|
+
readonly inputs: readonly [{
|
|
716
|
+
readonly components: readonly [{
|
|
717
|
+
readonly internalType: "bytes";
|
|
718
|
+
readonly name: "dest";
|
|
719
|
+
readonly type: "bytes";
|
|
720
|
+
}, {
|
|
721
|
+
readonly internalType: "bytes";
|
|
722
|
+
readonly name: "to";
|
|
723
|
+
readonly type: "bytes";
|
|
724
|
+
}, {
|
|
725
|
+
readonly internalType: "bytes";
|
|
726
|
+
readonly name: "body";
|
|
727
|
+
readonly type: "bytes";
|
|
728
|
+
}, {
|
|
729
|
+
readonly internalType: "uint64";
|
|
730
|
+
readonly name: "timeout";
|
|
731
|
+
readonly type: "uint64";
|
|
732
|
+
}, {
|
|
733
|
+
readonly internalType: "uint256";
|
|
734
|
+
readonly name: "fee";
|
|
735
|
+
readonly type: "uint256";
|
|
736
|
+
}, {
|
|
737
|
+
readonly internalType: "address";
|
|
738
|
+
readonly name: "payer";
|
|
739
|
+
readonly type: "address";
|
|
740
|
+
}];
|
|
741
|
+
readonly internalType: "struct DispatchPost";
|
|
742
|
+
readonly name: "post";
|
|
743
|
+
readonly type: "tuple";
|
|
744
|
+
}];
|
|
745
|
+
readonly name: "dispatch";
|
|
746
|
+
readonly outputs: readonly [{
|
|
747
|
+
readonly internalType: "bytes32";
|
|
748
|
+
readonly name: "commitment";
|
|
749
|
+
readonly type: "bytes32";
|
|
750
|
+
}];
|
|
751
|
+
readonly stateMutability: "payable";
|
|
752
|
+
readonly type: "function";
|
|
753
|
+
}, {
|
|
754
|
+
readonly inputs: readonly [{
|
|
755
|
+
readonly components: readonly [{
|
|
756
|
+
readonly internalType: "bytes";
|
|
757
|
+
readonly name: "dest";
|
|
758
|
+
readonly type: "bytes";
|
|
759
|
+
}, {
|
|
760
|
+
readonly internalType: "uint64";
|
|
761
|
+
readonly name: "height";
|
|
762
|
+
readonly type: "uint64";
|
|
763
|
+
}, {
|
|
764
|
+
readonly internalType: "bytes[]";
|
|
765
|
+
readonly name: "keys";
|
|
766
|
+
readonly type: "bytes[]";
|
|
767
|
+
}, {
|
|
768
|
+
readonly internalType: "uint64";
|
|
769
|
+
readonly name: "timeout";
|
|
770
|
+
readonly type: "uint64";
|
|
771
|
+
}, {
|
|
772
|
+
readonly internalType: "uint256";
|
|
773
|
+
readonly name: "fee";
|
|
774
|
+
readonly type: "uint256";
|
|
775
|
+
}, {
|
|
776
|
+
readonly internalType: "bytes";
|
|
777
|
+
readonly name: "context";
|
|
778
|
+
readonly type: "bytes";
|
|
779
|
+
}];
|
|
780
|
+
readonly internalType: "struct DispatchGet";
|
|
781
|
+
readonly name: "get";
|
|
782
|
+
readonly type: "tuple";
|
|
783
|
+
}];
|
|
784
|
+
readonly name: "dispatch";
|
|
785
|
+
readonly outputs: readonly [{
|
|
786
|
+
readonly internalType: "bytes32";
|
|
787
|
+
readonly name: "commitment";
|
|
788
|
+
readonly type: "bytes32";
|
|
789
|
+
}];
|
|
790
|
+
readonly stateMutability: "payable";
|
|
791
|
+
readonly type: "function";
|
|
792
|
+
}, {
|
|
793
|
+
readonly inputs: readonly [{
|
|
794
|
+
readonly components: readonly [{
|
|
795
|
+
readonly components: readonly [{
|
|
796
|
+
readonly internalType: "bytes";
|
|
797
|
+
readonly name: "source";
|
|
798
|
+
readonly type: "bytes";
|
|
799
|
+
}, {
|
|
800
|
+
readonly internalType: "bytes";
|
|
801
|
+
readonly name: "dest";
|
|
802
|
+
readonly type: "bytes";
|
|
803
|
+
}, {
|
|
804
|
+
readonly internalType: "uint64";
|
|
805
|
+
readonly name: "nonce";
|
|
806
|
+
readonly type: "uint64";
|
|
807
|
+
}, {
|
|
808
|
+
readonly internalType: "bytes";
|
|
809
|
+
readonly name: "from";
|
|
810
|
+
readonly type: "bytes";
|
|
811
|
+
}, {
|
|
812
|
+
readonly internalType: "bytes";
|
|
813
|
+
readonly name: "to";
|
|
814
|
+
readonly type: "bytes";
|
|
815
|
+
}, {
|
|
816
|
+
readonly internalType: "uint64";
|
|
817
|
+
readonly name: "timeoutTimestamp";
|
|
818
|
+
readonly type: "uint64";
|
|
819
|
+
}, {
|
|
820
|
+
readonly internalType: "bytes";
|
|
821
|
+
readonly name: "body";
|
|
822
|
+
readonly type: "bytes";
|
|
823
|
+
}];
|
|
824
|
+
readonly internalType: "struct PostRequest";
|
|
825
|
+
readonly name: "request";
|
|
826
|
+
readonly type: "tuple";
|
|
827
|
+
}, {
|
|
828
|
+
readonly internalType: "bytes";
|
|
829
|
+
readonly name: "response";
|
|
830
|
+
readonly type: "bytes";
|
|
831
|
+
}, {
|
|
832
|
+
readonly internalType: "uint64";
|
|
833
|
+
readonly name: "timeoutTimestamp";
|
|
834
|
+
readonly type: "uint64";
|
|
835
|
+
}];
|
|
836
|
+
readonly internalType: "struct PostResponse";
|
|
837
|
+
readonly name: "response";
|
|
838
|
+
readonly type: "tuple";
|
|
839
|
+
}, {
|
|
840
|
+
readonly internalType: "address";
|
|
841
|
+
readonly name: "relayer";
|
|
842
|
+
readonly type: "address";
|
|
843
|
+
}];
|
|
844
|
+
readonly name: "dispatchIncoming";
|
|
845
|
+
readonly outputs: readonly [];
|
|
846
|
+
readonly stateMutability: "nonpayable";
|
|
847
|
+
readonly type: "function";
|
|
848
|
+
}, {
|
|
849
|
+
readonly inputs: readonly [{
|
|
850
|
+
readonly components: readonly [{
|
|
851
|
+
readonly internalType: "bytes";
|
|
852
|
+
readonly name: "source";
|
|
853
|
+
readonly type: "bytes";
|
|
854
|
+
}, {
|
|
855
|
+
readonly internalType: "bytes";
|
|
856
|
+
readonly name: "dest";
|
|
857
|
+
readonly type: "bytes";
|
|
858
|
+
}, {
|
|
859
|
+
readonly internalType: "uint64";
|
|
860
|
+
readonly name: "nonce";
|
|
861
|
+
readonly type: "uint64";
|
|
862
|
+
}, {
|
|
863
|
+
readonly internalType: "bytes";
|
|
864
|
+
readonly name: "from";
|
|
865
|
+
readonly type: "bytes";
|
|
866
|
+
}, {
|
|
867
|
+
readonly internalType: "bytes";
|
|
868
|
+
readonly name: "to";
|
|
869
|
+
readonly type: "bytes";
|
|
870
|
+
}, {
|
|
871
|
+
readonly internalType: "uint64";
|
|
872
|
+
readonly name: "timeoutTimestamp";
|
|
873
|
+
readonly type: "uint64";
|
|
874
|
+
}, {
|
|
875
|
+
readonly internalType: "bytes";
|
|
876
|
+
readonly name: "body";
|
|
877
|
+
readonly type: "bytes";
|
|
878
|
+
}];
|
|
879
|
+
readonly internalType: "struct PostRequest";
|
|
880
|
+
readonly name: "request";
|
|
881
|
+
readonly type: "tuple";
|
|
882
|
+
}, {
|
|
883
|
+
readonly internalType: "address";
|
|
884
|
+
readonly name: "relayer";
|
|
885
|
+
readonly type: "address";
|
|
886
|
+
}];
|
|
887
|
+
readonly name: "dispatchIncoming";
|
|
888
|
+
readonly outputs: readonly [];
|
|
889
|
+
readonly stateMutability: "nonpayable";
|
|
890
|
+
readonly type: "function";
|
|
891
|
+
}, {
|
|
892
|
+
readonly inputs: readonly [{
|
|
893
|
+
readonly components: readonly [{
|
|
894
|
+
readonly components: readonly [{
|
|
895
|
+
readonly internalType: "bytes";
|
|
896
|
+
readonly name: "source";
|
|
897
|
+
readonly type: "bytes";
|
|
898
|
+
}, {
|
|
899
|
+
readonly internalType: "bytes";
|
|
900
|
+
readonly name: "dest";
|
|
901
|
+
readonly type: "bytes";
|
|
902
|
+
}, {
|
|
903
|
+
readonly internalType: "uint64";
|
|
904
|
+
readonly name: "nonce";
|
|
905
|
+
readonly type: "uint64";
|
|
906
|
+
}, {
|
|
907
|
+
readonly internalType: "address";
|
|
908
|
+
readonly name: "from";
|
|
909
|
+
readonly type: "address";
|
|
910
|
+
}, {
|
|
911
|
+
readonly internalType: "uint64";
|
|
912
|
+
readonly name: "timeoutTimestamp";
|
|
913
|
+
readonly type: "uint64";
|
|
914
|
+
}, {
|
|
915
|
+
readonly internalType: "bytes[]";
|
|
916
|
+
readonly name: "keys";
|
|
917
|
+
readonly type: "bytes[]";
|
|
918
|
+
}, {
|
|
919
|
+
readonly internalType: "uint64";
|
|
920
|
+
readonly name: "height";
|
|
921
|
+
readonly type: "uint64";
|
|
922
|
+
}, {
|
|
923
|
+
readonly internalType: "bytes";
|
|
924
|
+
readonly name: "context";
|
|
925
|
+
readonly type: "bytes";
|
|
926
|
+
}];
|
|
927
|
+
readonly internalType: "struct GetRequest";
|
|
928
|
+
readonly name: "request";
|
|
929
|
+
readonly type: "tuple";
|
|
930
|
+
}, {
|
|
931
|
+
readonly components: readonly [{
|
|
932
|
+
readonly internalType: "bytes";
|
|
933
|
+
readonly name: "key";
|
|
934
|
+
readonly type: "bytes";
|
|
935
|
+
}, {
|
|
936
|
+
readonly internalType: "bytes";
|
|
937
|
+
readonly name: "value";
|
|
938
|
+
readonly type: "bytes";
|
|
939
|
+
}];
|
|
940
|
+
readonly internalType: "struct StorageValue[]";
|
|
941
|
+
readonly name: "values";
|
|
942
|
+
readonly type: "tuple[]";
|
|
943
|
+
}];
|
|
944
|
+
readonly internalType: "struct GetResponse";
|
|
945
|
+
readonly name: "response";
|
|
946
|
+
readonly type: "tuple";
|
|
947
|
+
}, {
|
|
948
|
+
readonly internalType: "address";
|
|
949
|
+
readonly name: "relayer";
|
|
950
|
+
readonly type: "address";
|
|
951
|
+
}];
|
|
952
|
+
readonly name: "dispatchIncoming";
|
|
953
|
+
readonly outputs: readonly [];
|
|
954
|
+
readonly stateMutability: "nonpayable";
|
|
955
|
+
readonly type: "function";
|
|
956
|
+
}, {
|
|
957
|
+
readonly inputs: readonly [{
|
|
958
|
+
readonly components: readonly [{
|
|
959
|
+
readonly components: readonly [{
|
|
960
|
+
readonly internalType: "bytes";
|
|
961
|
+
readonly name: "source";
|
|
962
|
+
readonly type: "bytes";
|
|
963
|
+
}, {
|
|
964
|
+
readonly internalType: "bytes";
|
|
965
|
+
readonly name: "dest";
|
|
966
|
+
readonly type: "bytes";
|
|
967
|
+
}, {
|
|
968
|
+
readonly internalType: "uint64";
|
|
969
|
+
readonly name: "nonce";
|
|
970
|
+
readonly type: "uint64";
|
|
971
|
+
}, {
|
|
972
|
+
readonly internalType: "bytes";
|
|
973
|
+
readonly name: "from";
|
|
974
|
+
readonly type: "bytes";
|
|
975
|
+
}, {
|
|
976
|
+
readonly internalType: "bytes";
|
|
977
|
+
readonly name: "to";
|
|
978
|
+
readonly type: "bytes";
|
|
979
|
+
}, {
|
|
980
|
+
readonly internalType: "uint64";
|
|
981
|
+
readonly name: "timeoutTimestamp";
|
|
982
|
+
readonly type: "uint64";
|
|
983
|
+
}, {
|
|
984
|
+
readonly internalType: "bytes";
|
|
985
|
+
readonly name: "body";
|
|
986
|
+
readonly type: "bytes";
|
|
987
|
+
}];
|
|
988
|
+
readonly internalType: "struct PostRequest";
|
|
989
|
+
readonly name: "request";
|
|
990
|
+
readonly type: "tuple";
|
|
991
|
+
}, {
|
|
992
|
+
readonly internalType: "bytes";
|
|
993
|
+
readonly name: "response";
|
|
994
|
+
readonly type: "bytes";
|
|
995
|
+
}, {
|
|
996
|
+
readonly internalType: "uint64";
|
|
997
|
+
readonly name: "timeoutTimestamp";
|
|
998
|
+
readonly type: "uint64";
|
|
999
|
+
}];
|
|
1000
|
+
readonly internalType: "struct PostResponse";
|
|
1001
|
+
readonly name: "response";
|
|
1002
|
+
readonly type: "tuple";
|
|
1003
|
+
}, {
|
|
1004
|
+
readonly components: readonly [{
|
|
1005
|
+
readonly internalType: "uint256";
|
|
1006
|
+
readonly name: "fee";
|
|
1007
|
+
readonly type: "uint256";
|
|
1008
|
+
}, {
|
|
1009
|
+
readonly internalType: "address";
|
|
1010
|
+
readonly name: "sender";
|
|
1011
|
+
readonly type: "address";
|
|
1012
|
+
}];
|
|
1013
|
+
readonly internalType: "struct FeeMetadata";
|
|
1014
|
+
readonly name: "meta";
|
|
1015
|
+
readonly type: "tuple";
|
|
1016
|
+
}, {
|
|
1017
|
+
readonly internalType: "bytes32";
|
|
1018
|
+
readonly name: "commitment";
|
|
1019
|
+
readonly type: "bytes32";
|
|
1020
|
+
}];
|
|
1021
|
+
readonly name: "dispatchTimeOut";
|
|
1022
|
+
readonly outputs: readonly [];
|
|
1023
|
+
readonly stateMutability: "nonpayable";
|
|
1024
|
+
readonly type: "function";
|
|
1025
|
+
}, {
|
|
1026
|
+
readonly inputs: readonly [{
|
|
1027
|
+
readonly components: readonly [{
|
|
1028
|
+
readonly internalType: "bytes";
|
|
1029
|
+
readonly name: "source";
|
|
1030
|
+
readonly type: "bytes";
|
|
1031
|
+
}, {
|
|
1032
|
+
readonly internalType: "bytes";
|
|
1033
|
+
readonly name: "dest";
|
|
1034
|
+
readonly type: "bytes";
|
|
1035
|
+
}, {
|
|
1036
|
+
readonly internalType: "uint64";
|
|
1037
|
+
readonly name: "nonce";
|
|
1038
|
+
readonly type: "uint64";
|
|
1039
|
+
}, {
|
|
1040
|
+
readonly internalType: "bytes";
|
|
1041
|
+
readonly name: "from";
|
|
1042
|
+
readonly type: "bytes";
|
|
1043
|
+
}, {
|
|
1044
|
+
readonly internalType: "bytes";
|
|
1045
|
+
readonly name: "to";
|
|
1046
|
+
readonly type: "bytes";
|
|
1047
|
+
}, {
|
|
1048
|
+
readonly internalType: "uint64";
|
|
1049
|
+
readonly name: "timeoutTimestamp";
|
|
1050
|
+
readonly type: "uint64";
|
|
1051
|
+
}, {
|
|
1052
|
+
readonly internalType: "bytes";
|
|
1053
|
+
readonly name: "body";
|
|
1054
|
+
readonly type: "bytes";
|
|
1055
|
+
}];
|
|
1056
|
+
readonly internalType: "struct PostRequest";
|
|
1057
|
+
readonly name: "request";
|
|
1058
|
+
readonly type: "tuple";
|
|
1059
|
+
}, {
|
|
1060
|
+
readonly components: readonly [{
|
|
1061
|
+
readonly internalType: "uint256";
|
|
1062
|
+
readonly name: "fee";
|
|
1063
|
+
readonly type: "uint256";
|
|
1064
|
+
}, {
|
|
1065
|
+
readonly internalType: "address";
|
|
1066
|
+
readonly name: "sender";
|
|
1067
|
+
readonly type: "address";
|
|
1068
|
+
}];
|
|
1069
|
+
readonly internalType: "struct FeeMetadata";
|
|
1070
|
+
readonly name: "meta";
|
|
1071
|
+
readonly type: "tuple";
|
|
1072
|
+
}, {
|
|
1073
|
+
readonly internalType: "bytes32";
|
|
1074
|
+
readonly name: "commitment";
|
|
1075
|
+
readonly type: "bytes32";
|
|
1076
|
+
}];
|
|
1077
|
+
readonly name: "dispatchTimeOut";
|
|
1078
|
+
readonly outputs: readonly [];
|
|
1079
|
+
readonly stateMutability: "nonpayable";
|
|
1080
|
+
readonly type: "function";
|
|
1081
|
+
}, {
|
|
1082
|
+
readonly inputs: readonly [{
|
|
1083
|
+
readonly components: readonly [{
|
|
1084
|
+
readonly internalType: "bytes";
|
|
1085
|
+
readonly name: "source";
|
|
1086
|
+
readonly type: "bytes";
|
|
1087
|
+
}, {
|
|
1088
|
+
readonly internalType: "bytes";
|
|
1089
|
+
readonly name: "dest";
|
|
1090
|
+
readonly type: "bytes";
|
|
1091
|
+
}, {
|
|
1092
|
+
readonly internalType: "uint64";
|
|
1093
|
+
readonly name: "nonce";
|
|
1094
|
+
readonly type: "uint64";
|
|
1095
|
+
}, {
|
|
1096
|
+
readonly internalType: "address";
|
|
1097
|
+
readonly name: "from";
|
|
1098
|
+
readonly type: "address";
|
|
1099
|
+
}, {
|
|
1100
|
+
readonly internalType: "uint64";
|
|
1101
|
+
readonly name: "timeoutTimestamp";
|
|
1102
|
+
readonly type: "uint64";
|
|
1103
|
+
}, {
|
|
1104
|
+
readonly internalType: "bytes[]";
|
|
1105
|
+
readonly name: "keys";
|
|
1106
|
+
readonly type: "bytes[]";
|
|
1107
|
+
}, {
|
|
1108
|
+
readonly internalType: "uint64";
|
|
1109
|
+
readonly name: "height";
|
|
1110
|
+
readonly type: "uint64";
|
|
1111
|
+
}, {
|
|
1112
|
+
readonly internalType: "bytes";
|
|
1113
|
+
readonly name: "context";
|
|
1114
|
+
readonly type: "bytes";
|
|
1115
|
+
}];
|
|
1116
|
+
readonly internalType: "struct GetRequest";
|
|
1117
|
+
readonly name: "request";
|
|
1118
|
+
readonly type: "tuple";
|
|
1119
|
+
}, {
|
|
1120
|
+
readonly components: readonly [{
|
|
1121
|
+
readonly internalType: "uint256";
|
|
1122
|
+
readonly name: "fee";
|
|
1123
|
+
readonly type: "uint256";
|
|
1124
|
+
}, {
|
|
1125
|
+
readonly internalType: "address";
|
|
1126
|
+
readonly name: "sender";
|
|
1127
|
+
readonly type: "address";
|
|
1128
|
+
}];
|
|
1129
|
+
readonly internalType: "struct FeeMetadata";
|
|
1130
|
+
readonly name: "meta";
|
|
1131
|
+
readonly type: "tuple";
|
|
1132
|
+
}, {
|
|
1133
|
+
readonly internalType: "bytes32";
|
|
1134
|
+
readonly name: "commitment";
|
|
1135
|
+
readonly type: "bytes32";
|
|
1136
|
+
}];
|
|
1137
|
+
readonly name: "dispatchTimeOut";
|
|
1138
|
+
readonly outputs: readonly [];
|
|
1139
|
+
readonly stateMutability: "nonpayable";
|
|
1140
|
+
readonly type: "function";
|
|
1141
|
+
}, {
|
|
1142
|
+
readonly inputs: readonly [];
|
|
1143
|
+
readonly name: "feeToken";
|
|
1144
|
+
readonly outputs: readonly [{
|
|
1145
|
+
readonly internalType: "address";
|
|
1146
|
+
readonly name: "";
|
|
1147
|
+
readonly type: "address";
|
|
1148
|
+
}];
|
|
1149
|
+
readonly stateMutability: "view";
|
|
1150
|
+
readonly type: "function";
|
|
1151
|
+
}, {
|
|
1152
|
+
readonly inputs: readonly [];
|
|
1153
|
+
readonly name: "frozen";
|
|
1154
|
+
readonly outputs: readonly [{
|
|
1155
|
+
readonly internalType: "enum FrozenStatus";
|
|
1156
|
+
readonly name: "";
|
|
1157
|
+
readonly type: "uint8";
|
|
1158
|
+
}];
|
|
1159
|
+
readonly stateMutability: "view";
|
|
1160
|
+
readonly type: "function";
|
|
1161
|
+
}, {
|
|
1162
|
+
readonly inputs: readonly [{
|
|
1163
|
+
readonly internalType: "bytes32";
|
|
1164
|
+
readonly name: "commitment";
|
|
1165
|
+
readonly type: "bytes32";
|
|
1166
|
+
}, {
|
|
1167
|
+
readonly internalType: "uint256";
|
|
1168
|
+
readonly name: "amount";
|
|
1169
|
+
readonly type: "uint256";
|
|
1170
|
+
}];
|
|
1171
|
+
readonly name: "fundRequest";
|
|
1172
|
+
readonly outputs: readonly [];
|
|
1173
|
+
readonly stateMutability: "payable";
|
|
1174
|
+
readonly type: "function";
|
|
1175
|
+
}, {
|
|
1176
|
+
readonly inputs: readonly [{
|
|
1177
|
+
readonly internalType: "bytes32";
|
|
1178
|
+
readonly name: "commitment";
|
|
1179
|
+
readonly type: "bytes32";
|
|
1180
|
+
}, {
|
|
1181
|
+
readonly internalType: "uint256";
|
|
1182
|
+
readonly name: "amount";
|
|
1183
|
+
readonly type: "uint256";
|
|
1184
|
+
}];
|
|
1185
|
+
readonly name: "fundResponse";
|
|
1186
|
+
readonly outputs: readonly [];
|
|
1187
|
+
readonly stateMutability: "payable";
|
|
1188
|
+
readonly type: "function";
|
|
1189
|
+
}, {
|
|
1190
|
+
readonly inputs: readonly [];
|
|
1191
|
+
readonly name: "host";
|
|
1192
|
+
readonly outputs: readonly [{
|
|
1193
|
+
readonly internalType: "bytes";
|
|
1194
|
+
readonly name: "";
|
|
1195
|
+
readonly type: "bytes";
|
|
1196
|
+
}];
|
|
1197
|
+
readonly stateMutability: "view";
|
|
1198
|
+
readonly type: "function";
|
|
1199
|
+
}, {
|
|
1200
|
+
readonly inputs: readonly [];
|
|
1201
|
+
readonly name: "hostParams";
|
|
1202
|
+
readonly outputs: readonly [{
|
|
1203
|
+
readonly components: readonly [{
|
|
1204
|
+
readonly internalType: "uint256";
|
|
1205
|
+
readonly name: "defaultTimeout";
|
|
1206
|
+
readonly type: "uint256";
|
|
1207
|
+
}, {
|
|
1208
|
+
readonly internalType: "uint256";
|
|
1209
|
+
readonly name: "perByteFee";
|
|
1210
|
+
readonly type: "uint256";
|
|
1211
|
+
}, {
|
|
1212
|
+
readonly internalType: "uint256";
|
|
1213
|
+
readonly name: "stateCommitmentFee";
|
|
1214
|
+
readonly type: "uint256";
|
|
1215
|
+
}, {
|
|
1216
|
+
readonly internalType: "address";
|
|
1217
|
+
readonly name: "feeToken";
|
|
1218
|
+
readonly type: "address";
|
|
1219
|
+
}, {
|
|
1220
|
+
readonly internalType: "address";
|
|
1221
|
+
readonly name: "admin";
|
|
1222
|
+
readonly type: "address";
|
|
1223
|
+
}, {
|
|
1224
|
+
readonly internalType: "address";
|
|
1225
|
+
readonly name: "handler";
|
|
1226
|
+
readonly type: "address";
|
|
1227
|
+
}, {
|
|
1228
|
+
readonly internalType: "address";
|
|
1229
|
+
readonly name: "hostManager";
|
|
1230
|
+
readonly type: "address";
|
|
1231
|
+
}, {
|
|
1232
|
+
readonly internalType: "address";
|
|
1233
|
+
readonly name: "uniswapV2";
|
|
1234
|
+
readonly type: "address";
|
|
1235
|
+
}, {
|
|
1236
|
+
readonly internalType: "uint256";
|
|
1237
|
+
readonly name: "unStakingPeriod";
|
|
1238
|
+
readonly type: "uint256";
|
|
1239
|
+
}, {
|
|
1240
|
+
readonly internalType: "uint256";
|
|
1241
|
+
readonly name: "challengePeriod";
|
|
1242
|
+
readonly type: "uint256";
|
|
1243
|
+
}, {
|
|
1244
|
+
readonly internalType: "address";
|
|
1245
|
+
readonly name: "consensusClient";
|
|
1246
|
+
readonly type: "address";
|
|
1247
|
+
}, {
|
|
1248
|
+
readonly internalType: "uint256[]";
|
|
1249
|
+
readonly name: "stateMachines";
|
|
1250
|
+
readonly type: "uint256[]";
|
|
1251
|
+
}, {
|
|
1252
|
+
readonly internalType: "address[]";
|
|
1253
|
+
readonly name: "fishermen";
|
|
1254
|
+
readonly type: "address[]";
|
|
1255
|
+
}, {
|
|
1256
|
+
readonly internalType: "bytes";
|
|
1257
|
+
readonly name: "hyperbridge";
|
|
1258
|
+
readonly type: "bytes";
|
|
1259
|
+
}];
|
|
1260
|
+
readonly internalType: "struct HostParams";
|
|
1261
|
+
readonly name: "";
|
|
1262
|
+
readonly type: "tuple";
|
|
1263
|
+
}];
|
|
1264
|
+
readonly stateMutability: "view";
|
|
1265
|
+
readonly type: "function";
|
|
1266
|
+
}, {
|
|
1267
|
+
readonly inputs: readonly [];
|
|
1268
|
+
readonly name: "hyperbridge";
|
|
1269
|
+
readonly outputs: readonly [{
|
|
1270
|
+
readonly internalType: "bytes";
|
|
1271
|
+
readonly name: "";
|
|
1272
|
+
readonly type: "bytes";
|
|
1273
|
+
}];
|
|
1274
|
+
readonly stateMutability: "view";
|
|
1275
|
+
readonly type: "function";
|
|
1276
|
+
}, {
|
|
1277
|
+
readonly inputs: readonly [{
|
|
1278
|
+
readonly internalType: "uint256";
|
|
1279
|
+
readonly name: "id";
|
|
1280
|
+
readonly type: "uint256";
|
|
1281
|
+
}];
|
|
1282
|
+
readonly name: "latestStateMachineHeight";
|
|
1283
|
+
readonly outputs: readonly [{
|
|
1284
|
+
readonly internalType: "uint256";
|
|
1285
|
+
readonly name: "";
|
|
1286
|
+
readonly type: "uint256";
|
|
1287
|
+
}];
|
|
1288
|
+
readonly stateMutability: "view";
|
|
1289
|
+
readonly type: "function";
|
|
1290
|
+
}, {
|
|
1291
|
+
readonly inputs: readonly [];
|
|
1292
|
+
readonly name: "nonce";
|
|
1293
|
+
readonly outputs: readonly [{
|
|
1294
|
+
readonly internalType: "uint256";
|
|
1295
|
+
readonly name: "";
|
|
1296
|
+
readonly type: "uint256";
|
|
1297
|
+
}];
|
|
1298
|
+
readonly stateMutability: "view";
|
|
1299
|
+
readonly type: "function";
|
|
1300
|
+
}, {
|
|
1301
|
+
readonly inputs: readonly [];
|
|
1302
|
+
readonly name: "perByteFee";
|
|
1303
|
+
readonly outputs: readonly [{
|
|
1304
|
+
readonly internalType: "uint256";
|
|
1305
|
+
readonly name: "";
|
|
1306
|
+
readonly type: "uint256";
|
|
1307
|
+
}];
|
|
1308
|
+
readonly stateMutability: "view";
|
|
1309
|
+
readonly type: "function";
|
|
1310
|
+
}, {
|
|
1311
|
+
readonly inputs: readonly [{
|
|
1312
|
+
readonly internalType: "bytes32";
|
|
1313
|
+
readonly name: "commitment";
|
|
1314
|
+
readonly type: "bytes32";
|
|
1315
|
+
}];
|
|
1316
|
+
readonly name: "requestCommitments";
|
|
1317
|
+
readonly outputs: readonly [{
|
|
1318
|
+
readonly components: readonly [{
|
|
1319
|
+
readonly internalType: "uint256";
|
|
1320
|
+
readonly name: "fee";
|
|
1321
|
+
readonly type: "uint256";
|
|
1322
|
+
}, {
|
|
1323
|
+
readonly internalType: "address";
|
|
1324
|
+
readonly name: "sender";
|
|
1325
|
+
readonly type: "address";
|
|
1326
|
+
}];
|
|
1327
|
+
readonly internalType: "struct FeeMetadata";
|
|
1328
|
+
readonly name: "";
|
|
1329
|
+
readonly type: "tuple";
|
|
1330
|
+
}];
|
|
1331
|
+
readonly stateMutability: "view";
|
|
1332
|
+
readonly type: "function";
|
|
1333
|
+
}, {
|
|
1334
|
+
readonly inputs: readonly [{
|
|
1335
|
+
readonly internalType: "bytes32";
|
|
1336
|
+
readonly name: "commitment";
|
|
1337
|
+
readonly type: "bytes32";
|
|
1338
|
+
}];
|
|
1339
|
+
readonly name: "requestReceipts";
|
|
1340
|
+
readonly outputs: readonly [{
|
|
1341
|
+
readonly internalType: "address";
|
|
1342
|
+
readonly name: "";
|
|
1343
|
+
readonly type: "address";
|
|
1344
|
+
}];
|
|
1345
|
+
readonly stateMutability: "view";
|
|
1346
|
+
readonly type: "function";
|
|
1347
|
+
}, {
|
|
1348
|
+
readonly inputs: readonly [{
|
|
1349
|
+
readonly internalType: "bytes32";
|
|
1350
|
+
readonly name: "commitment";
|
|
1351
|
+
readonly type: "bytes32";
|
|
1352
|
+
}];
|
|
1353
|
+
readonly name: "responded";
|
|
1354
|
+
readonly outputs: readonly [{
|
|
1355
|
+
readonly internalType: "bool";
|
|
1356
|
+
readonly name: "";
|
|
1357
|
+
readonly type: "bool";
|
|
1358
|
+
}];
|
|
1359
|
+
readonly stateMutability: "view";
|
|
1360
|
+
readonly type: "function";
|
|
1361
|
+
}, {
|
|
1362
|
+
readonly inputs: readonly [{
|
|
1363
|
+
readonly internalType: "bytes32";
|
|
1364
|
+
readonly name: "commitment";
|
|
1365
|
+
readonly type: "bytes32";
|
|
1366
|
+
}];
|
|
1367
|
+
readonly name: "responseCommitments";
|
|
1368
|
+
readonly outputs: readonly [{
|
|
1369
|
+
readonly components: readonly [{
|
|
1370
|
+
readonly internalType: "uint256";
|
|
1371
|
+
readonly name: "fee";
|
|
1372
|
+
readonly type: "uint256";
|
|
1373
|
+
}, {
|
|
1374
|
+
readonly internalType: "address";
|
|
1375
|
+
readonly name: "sender";
|
|
1376
|
+
readonly type: "address";
|
|
1377
|
+
}];
|
|
1378
|
+
readonly internalType: "struct FeeMetadata";
|
|
1379
|
+
readonly name: "";
|
|
1380
|
+
readonly type: "tuple";
|
|
1381
|
+
}];
|
|
1382
|
+
readonly stateMutability: "view";
|
|
1383
|
+
readonly type: "function";
|
|
1384
|
+
}, {
|
|
1385
|
+
readonly inputs: readonly [{
|
|
1386
|
+
readonly internalType: "bytes32";
|
|
1387
|
+
readonly name: "commitment";
|
|
1388
|
+
readonly type: "bytes32";
|
|
1389
|
+
}];
|
|
1390
|
+
readonly name: "responseReceipts";
|
|
1391
|
+
readonly outputs: readonly [{
|
|
1392
|
+
readonly components: readonly [{
|
|
1393
|
+
readonly internalType: "bytes32";
|
|
1394
|
+
readonly name: "responseCommitment";
|
|
1395
|
+
readonly type: "bytes32";
|
|
1396
|
+
}, {
|
|
1397
|
+
readonly internalType: "address";
|
|
1398
|
+
readonly name: "relayer";
|
|
1399
|
+
readonly type: "address";
|
|
1400
|
+
}];
|
|
1401
|
+
readonly internalType: "struct ResponseReceipt";
|
|
1402
|
+
readonly name: "";
|
|
1403
|
+
readonly type: "tuple";
|
|
1404
|
+
}];
|
|
1405
|
+
readonly stateMutability: "view";
|
|
1406
|
+
readonly type: "function";
|
|
1407
|
+
}, {
|
|
1408
|
+
readonly inputs: readonly [{
|
|
1409
|
+
readonly internalType: "bytes";
|
|
1410
|
+
readonly name: "state";
|
|
1411
|
+
readonly type: "bytes";
|
|
1412
|
+
}, {
|
|
1413
|
+
readonly components: readonly [{
|
|
1414
|
+
readonly internalType: "uint256";
|
|
1415
|
+
readonly name: "stateMachineId";
|
|
1416
|
+
readonly type: "uint256";
|
|
1417
|
+
}, {
|
|
1418
|
+
readonly internalType: "uint256";
|
|
1419
|
+
readonly name: "height";
|
|
1420
|
+
readonly type: "uint256";
|
|
1421
|
+
}];
|
|
1422
|
+
readonly internalType: "struct StateMachineHeight";
|
|
1423
|
+
readonly name: "height";
|
|
1424
|
+
readonly type: "tuple";
|
|
1425
|
+
}, {
|
|
1426
|
+
readonly components: readonly [{
|
|
1427
|
+
readonly internalType: "uint256";
|
|
1428
|
+
readonly name: "timestamp";
|
|
1429
|
+
readonly type: "uint256";
|
|
1430
|
+
}, {
|
|
1431
|
+
readonly internalType: "bytes32";
|
|
1432
|
+
readonly name: "overlayRoot";
|
|
1433
|
+
readonly type: "bytes32";
|
|
1434
|
+
}, {
|
|
1435
|
+
readonly internalType: "bytes32";
|
|
1436
|
+
readonly name: "stateRoot";
|
|
1437
|
+
readonly type: "bytes32";
|
|
1438
|
+
}];
|
|
1439
|
+
readonly internalType: "struct StateCommitment";
|
|
1440
|
+
readonly name: "commitment";
|
|
1441
|
+
readonly type: "tuple";
|
|
1442
|
+
}];
|
|
1443
|
+
readonly name: "setConsensusState";
|
|
1444
|
+
readonly outputs: readonly [];
|
|
1445
|
+
readonly stateMutability: "nonpayable";
|
|
1446
|
+
readonly type: "function";
|
|
1447
|
+
}, {
|
|
1448
|
+
readonly inputs: readonly [{
|
|
1449
|
+
readonly internalType: "enum FrozenStatus";
|
|
1450
|
+
readonly name: "newState";
|
|
1451
|
+
readonly type: "uint8";
|
|
1452
|
+
}];
|
|
1453
|
+
readonly name: "setFrozenState";
|
|
1454
|
+
readonly outputs: readonly [];
|
|
1455
|
+
readonly stateMutability: "nonpayable";
|
|
1456
|
+
readonly type: "function";
|
|
1457
|
+
}, {
|
|
1458
|
+
readonly inputs: readonly [];
|
|
1459
|
+
readonly name: "stateCommitmentFee";
|
|
1460
|
+
readonly outputs: readonly [{
|
|
1461
|
+
readonly internalType: "uint256";
|
|
1462
|
+
readonly name: "";
|
|
1463
|
+
readonly type: "uint256";
|
|
1464
|
+
}];
|
|
1465
|
+
readonly stateMutability: "view";
|
|
1466
|
+
readonly type: "function";
|
|
1467
|
+
}, {
|
|
1468
|
+
readonly inputs: readonly [{
|
|
1469
|
+
readonly components: readonly [{
|
|
1470
|
+
readonly internalType: "uint256";
|
|
1471
|
+
readonly name: "stateMachineId";
|
|
1472
|
+
readonly type: "uint256";
|
|
1473
|
+
}, {
|
|
1474
|
+
readonly internalType: "uint256";
|
|
1475
|
+
readonly name: "height";
|
|
1476
|
+
readonly type: "uint256";
|
|
1477
|
+
}];
|
|
1478
|
+
readonly internalType: "struct StateMachineHeight";
|
|
1479
|
+
readonly name: "height";
|
|
1480
|
+
readonly type: "tuple";
|
|
1481
|
+
}];
|
|
1482
|
+
readonly name: "stateMachineCommitment";
|
|
1483
|
+
readonly outputs: readonly [{
|
|
1484
|
+
readonly components: readonly [{
|
|
1485
|
+
readonly internalType: "uint256";
|
|
1486
|
+
readonly name: "timestamp";
|
|
1487
|
+
readonly type: "uint256";
|
|
1488
|
+
}, {
|
|
1489
|
+
readonly internalType: "bytes32";
|
|
1490
|
+
readonly name: "overlayRoot";
|
|
1491
|
+
readonly type: "bytes32";
|
|
1492
|
+
}, {
|
|
1493
|
+
readonly internalType: "bytes32";
|
|
1494
|
+
readonly name: "stateRoot";
|
|
1495
|
+
readonly type: "bytes32";
|
|
1496
|
+
}];
|
|
1497
|
+
readonly internalType: "struct StateCommitment";
|
|
1498
|
+
readonly name: "";
|
|
1499
|
+
readonly type: "tuple";
|
|
1500
|
+
}];
|
|
1501
|
+
readonly stateMutability: "payable";
|
|
1502
|
+
readonly type: "function";
|
|
1503
|
+
}, {
|
|
1504
|
+
readonly inputs: readonly [{
|
|
1505
|
+
readonly components: readonly [{
|
|
1506
|
+
readonly internalType: "uint256";
|
|
1507
|
+
readonly name: "stateMachineId";
|
|
1508
|
+
readonly type: "uint256";
|
|
1509
|
+
}, {
|
|
1510
|
+
readonly internalType: "uint256";
|
|
1511
|
+
readonly name: "height";
|
|
1512
|
+
readonly type: "uint256";
|
|
1513
|
+
}];
|
|
1514
|
+
readonly internalType: "struct StateMachineHeight";
|
|
1515
|
+
readonly name: "height";
|
|
1516
|
+
readonly type: "tuple";
|
|
1517
|
+
}];
|
|
1518
|
+
readonly name: "stateMachineCommitmentUpdateTime";
|
|
1519
|
+
readonly outputs: readonly [{
|
|
1520
|
+
readonly internalType: "uint256";
|
|
1521
|
+
readonly name: "";
|
|
1522
|
+
readonly type: "uint256";
|
|
1523
|
+
}];
|
|
1524
|
+
readonly stateMutability: "view";
|
|
1525
|
+
readonly type: "function";
|
|
1526
|
+
}, {
|
|
1527
|
+
readonly inputs: readonly [{
|
|
1528
|
+
readonly internalType: "bytes";
|
|
1529
|
+
readonly name: "parachainId";
|
|
1530
|
+
readonly type: "bytes";
|
|
1531
|
+
}, {
|
|
1532
|
+
readonly internalType: "uint256";
|
|
1533
|
+
readonly name: "id";
|
|
1534
|
+
readonly type: "uint256";
|
|
1535
|
+
}];
|
|
1536
|
+
readonly name: "stateMachineId";
|
|
1537
|
+
readonly outputs: readonly [{
|
|
1538
|
+
readonly internalType: "string";
|
|
1539
|
+
readonly name: "";
|
|
1540
|
+
readonly type: "string";
|
|
1541
|
+
}];
|
|
1542
|
+
readonly stateMutability: "pure";
|
|
1543
|
+
readonly type: "function";
|
|
1544
|
+
}, {
|
|
1545
|
+
readonly inputs: readonly [{
|
|
1546
|
+
readonly internalType: "bytes";
|
|
1547
|
+
readonly name: "state";
|
|
1548
|
+
readonly type: "bytes";
|
|
1549
|
+
}];
|
|
1550
|
+
readonly name: "storeConsensusState";
|
|
1551
|
+
readonly outputs: readonly [];
|
|
1552
|
+
readonly stateMutability: "nonpayable";
|
|
1553
|
+
readonly type: "function";
|
|
1554
|
+
}, {
|
|
1555
|
+
readonly inputs: readonly [{
|
|
1556
|
+
readonly components: readonly [{
|
|
1557
|
+
readonly internalType: "uint256";
|
|
1558
|
+
readonly name: "stateMachineId";
|
|
1559
|
+
readonly type: "uint256";
|
|
1560
|
+
}, {
|
|
1561
|
+
readonly internalType: "uint256";
|
|
1562
|
+
readonly name: "height";
|
|
1563
|
+
readonly type: "uint256";
|
|
1564
|
+
}];
|
|
1565
|
+
readonly internalType: "struct StateMachineHeight";
|
|
1566
|
+
readonly name: "height";
|
|
1567
|
+
readonly type: "tuple";
|
|
1568
|
+
}, {
|
|
1569
|
+
readonly components: readonly [{
|
|
1570
|
+
readonly internalType: "uint256";
|
|
1571
|
+
readonly name: "timestamp";
|
|
1572
|
+
readonly type: "uint256";
|
|
1573
|
+
}, {
|
|
1574
|
+
readonly internalType: "bytes32";
|
|
1575
|
+
readonly name: "overlayRoot";
|
|
1576
|
+
readonly type: "bytes32";
|
|
1577
|
+
}, {
|
|
1578
|
+
readonly internalType: "bytes32";
|
|
1579
|
+
readonly name: "stateRoot";
|
|
1580
|
+
readonly type: "bytes32";
|
|
1581
|
+
}];
|
|
1582
|
+
readonly internalType: "struct StateCommitment";
|
|
1583
|
+
readonly name: "commitment";
|
|
1584
|
+
readonly type: "tuple";
|
|
1585
|
+
}];
|
|
1586
|
+
readonly name: "storeStateMachineCommitment";
|
|
1587
|
+
readonly outputs: readonly [];
|
|
1588
|
+
readonly stateMutability: "nonpayable";
|
|
1589
|
+
readonly type: "function";
|
|
1590
|
+
}, {
|
|
1591
|
+
readonly inputs: readonly [];
|
|
1592
|
+
readonly name: "timestamp";
|
|
1593
|
+
readonly outputs: readonly [{
|
|
1594
|
+
readonly internalType: "uint256";
|
|
1595
|
+
readonly name: "";
|
|
1596
|
+
readonly type: "uint256";
|
|
1597
|
+
}];
|
|
1598
|
+
readonly stateMutability: "view";
|
|
1599
|
+
readonly type: "function";
|
|
1600
|
+
}, {
|
|
1601
|
+
readonly inputs: readonly [];
|
|
1602
|
+
readonly name: "unStakingPeriod";
|
|
1603
|
+
readonly outputs: readonly [{
|
|
1604
|
+
readonly internalType: "uint256";
|
|
1605
|
+
readonly name: "";
|
|
1606
|
+
readonly type: "uint256";
|
|
1607
|
+
}];
|
|
1608
|
+
readonly stateMutability: "view";
|
|
1609
|
+
readonly type: "function";
|
|
1610
|
+
}, {
|
|
1611
|
+
readonly inputs: readonly [];
|
|
1612
|
+
readonly name: "uniswapV2Router";
|
|
1613
|
+
readonly outputs: readonly [{
|
|
1614
|
+
readonly internalType: "address";
|
|
1615
|
+
readonly name: "";
|
|
1616
|
+
readonly type: "address";
|
|
1617
|
+
}];
|
|
1618
|
+
readonly stateMutability: "view";
|
|
1619
|
+
readonly type: "function";
|
|
1620
|
+
}, {
|
|
1621
|
+
readonly inputs: readonly [{
|
|
1622
|
+
readonly components: readonly [{
|
|
1623
|
+
readonly internalType: "uint256";
|
|
1624
|
+
readonly name: "defaultTimeout";
|
|
1625
|
+
readonly type: "uint256";
|
|
1626
|
+
}, {
|
|
1627
|
+
readonly internalType: "uint256";
|
|
1628
|
+
readonly name: "perByteFee";
|
|
1629
|
+
readonly type: "uint256";
|
|
1630
|
+
}, {
|
|
1631
|
+
readonly internalType: "uint256";
|
|
1632
|
+
readonly name: "stateCommitmentFee";
|
|
1633
|
+
readonly type: "uint256";
|
|
1634
|
+
}, {
|
|
1635
|
+
readonly internalType: "address";
|
|
1636
|
+
readonly name: "feeToken";
|
|
1637
|
+
readonly type: "address";
|
|
1638
|
+
}, {
|
|
1639
|
+
readonly internalType: "address";
|
|
1640
|
+
readonly name: "admin";
|
|
1641
|
+
readonly type: "address";
|
|
1642
|
+
}, {
|
|
1643
|
+
readonly internalType: "address";
|
|
1644
|
+
readonly name: "handler";
|
|
1645
|
+
readonly type: "address";
|
|
1646
|
+
}, {
|
|
1647
|
+
readonly internalType: "address";
|
|
1648
|
+
readonly name: "hostManager";
|
|
1649
|
+
readonly type: "address";
|
|
1650
|
+
}, {
|
|
1651
|
+
readonly internalType: "address";
|
|
1652
|
+
readonly name: "uniswapV2";
|
|
1653
|
+
readonly type: "address";
|
|
1654
|
+
}, {
|
|
1655
|
+
readonly internalType: "uint256";
|
|
1656
|
+
readonly name: "unStakingPeriod";
|
|
1657
|
+
readonly type: "uint256";
|
|
1658
|
+
}, {
|
|
1659
|
+
readonly internalType: "uint256";
|
|
1660
|
+
readonly name: "challengePeriod";
|
|
1661
|
+
readonly type: "uint256";
|
|
1662
|
+
}, {
|
|
1663
|
+
readonly internalType: "address";
|
|
1664
|
+
readonly name: "consensusClient";
|
|
1665
|
+
readonly type: "address";
|
|
1666
|
+
}, {
|
|
1667
|
+
readonly internalType: "uint256[]";
|
|
1668
|
+
readonly name: "stateMachines";
|
|
1669
|
+
readonly type: "uint256[]";
|
|
1670
|
+
}, {
|
|
1671
|
+
readonly internalType: "address[]";
|
|
1672
|
+
readonly name: "fishermen";
|
|
1673
|
+
readonly type: "address[]";
|
|
1674
|
+
}, {
|
|
1675
|
+
readonly internalType: "bytes";
|
|
1676
|
+
readonly name: "hyperbridge";
|
|
1677
|
+
readonly type: "bytes";
|
|
1678
|
+
}];
|
|
1679
|
+
readonly internalType: "struct HostParams";
|
|
1680
|
+
readonly name: "params";
|
|
1681
|
+
readonly type: "tuple";
|
|
1682
|
+
}];
|
|
1683
|
+
readonly name: "updateHostParams";
|
|
1684
|
+
readonly outputs: readonly [];
|
|
1685
|
+
readonly stateMutability: "nonpayable";
|
|
1686
|
+
readonly type: "function";
|
|
1687
|
+
}, {
|
|
1688
|
+
readonly inputs: readonly [{
|
|
1689
|
+
readonly components: readonly [{
|
|
1690
|
+
readonly internalType: "uint256";
|
|
1691
|
+
readonly name: "stateMachineId";
|
|
1692
|
+
readonly type: "uint256";
|
|
1693
|
+
}, {
|
|
1694
|
+
readonly internalType: "uint256";
|
|
1695
|
+
readonly name: "height";
|
|
1696
|
+
readonly type: "uint256";
|
|
1697
|
+
}];
|
|
1698
|
+
readonly internalType: "struct StateMachineHeight";
|
|
1699
|
+
readonly name: "height";
|
|
1700
|
+
readonly type: "tuple";
|
|
1701
|
+
}];
|
|
1702
|
+
readonly name: "vetoStateCommitment";
|
|
1703
|
+
readonly outputs: readonly [];
|
|
1704
|
+
readonly stateMutability: "nonpayable";
|
|
1705
|
+
readonly type: "function";
|
|
1706
|
+
}, {
|
|
1707
|
+
readonly inputs: readonly [{
|
|
1708
|
+
readonly internalType: "uint256";
|
|
1709
|
+
readonly name: "paraId";
|
|
1710
|
+
readonly type: "uint256";
|
|
1711
|
+
}, {
|
|
1712
|
+
readonly internalType: "uint256";
|
|
1713
|
+
readonly name: "height";
|
|
1714
|
+
readonly type: "uint256";
|
|
1715
|
+
}];
|
|
1716
|
+
readonly name: "vetoes";
|
|
1717
|
+
readonly outputs: readonly [{
|
|
1718
|
+
readonly internalType: "address";
|
|
1719
|
+
readonly name: "";
|
|
1720
|
+
readonly type: "address";
|
|
1721
|
+
}];
|
|
1722
|
+
readonly stateMutability: "view";
|
|
1723
|
+
readonly type: "function";
|
|
1724
|
+
}, {
|
|
1725
|
+
readonly inputs: readonly [{
|
|
1726
|
+
readonly components: readonly [{
|
|
1727
|
+
readonly internalType: "address";
|
|
1728
|
+
readonly name: "beneficiary";
|
|
1729
|
+
readonly type: "address";
|
|
1730
|
+
}, {
|
|
1731
|
+
readonly internalType: "uint256";
|
|
1732
|
+
readonly name: "amount";
|
|
1733
|
+
readonly type: "uint256";
|
|
1734
|
+
}, {
|
|
1735
|
+
readonly internalType: "bool";
|
|
1736
|
+
readonly name: "native";
|
|
1737
|
+
readonly type: "bool";
|
|
1738
|
+
}];
|
|
1739
|
+
readonly internalType: "struct WithdrawParams";
|
|
1740
|
+
readonly name: "params";
|
|
1741
|
+
readonly type: "tuple";
|
|
1742
|
+
}];
|
|
1743
|
+
readonly name: "withdraw";
|
|
1744
|
+
readonly outputs: readonly [];
|
|
1745
|
+
readonly stateMutability: "nonpayable";
|
|
1746
|
+
readonly type: "function";
|
|
1747
|
+
}, {
|
|
1748
|
+
readonly stateMutability: "payable";
|
|
1749
|
+
readonly type: "receive";
|
|
1750
|
+
}];
|
|
1751
|
+
};
|
|
1752
|
+
export default _default;
|