@wireio/outpost-ethereum-artifacts 0.2.2 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/README.md +1 -1
  2. package/abis/BAR.json +244 -182
  3. package/abis/OPP.json +127 -16
  4. package/abis/OPPInbound.json +343 -59
  5. package/lib/cjs/Manifest.d.ts +0 -34
  6. package/lib/cjs/Manifest.js +29 -181
  7. package/lib/cjs/contracts/BAR.d.ts +1 -9
  8. package/lib/cjs/contracts/OPPInbound.d.ts +139 -43
  9. package/lib/cjs/contracts/factories/BAR__factory.d.ts +188 -146
  10. package/lib/cjs/contracts/factories/BAR__factory.js +243 -181
  11. package/lib/cjs/contracts/factories/OPPInbound__factory.d.ts +264 -48
  12. package/lib/cjs/contracts/factories/OPPInbound__factory.js +343 -59
  13. package/lib/cjs/contracts/factories/OPP__factory.d.ts +96 -12
  14. package/lib/cjs/contracts/factories/OPP__factory.js +127 -16
  15. package/lib/cjs/contracts/factories/index.d.ts +0 -2
  16. package/lib/cjs/contracts/factories/index.js +1 -5
  17. package/lib/cjs/contracts/index.d.ts +0 -4
  18. package/lib/cjs/contracts/index.js +1 -5
  19. package/lib/cjs/index.d.ts +0 -1
  20. package/lib/esm/Manifest.d.ts +0 -34
  21. package/lib/esm/Manifest.js +29 -181
  22. package/lib/esm/contracts/BAR.d.ts +1 -9
  23. package/lib/esm/contracts/OPPInbound.d.ts +139 -43
  24. package/lib/esm/contracts/factories/BAR__factory.d.ts +188 -146
  25. package/lib/esm/contracts/factories/BAR__factory.js +243 -181
  26. package/lib/esm/contracts/factories/OPPInbound__factory.d.ts +264 -48
  27. package/lib/esm/contracts/factories/OPPInbound__factory.js +343 -59
  28. package/lib/esm/contracts/factories/OPP__factory.d.ts +96 -12
  29. package/lib/esm/contracts/factories/OPP__factory.js +127 -16
  30. package/lib/esm/contracts/factories/index.d.ts +0 -2
  31. package/lib/esm/contracts/factories/index.js +0 -2
  32. package/lib/esm/contracts/index.d.ts +0 -4
  33. package/lib/esm/contracts/index.js +0 -2
  34. package/lib/esm/index.d.ts +0 -1
  35. package/manifest.json +29 -181
  36. package/package.json +1 -1
  37. package/runtime/BAR.bin +0 -0
  38. package/runtime/OPP.bin +0 -0
  39. package/runtime/OPPInbound.bin +0 -0
  40. package/abis/OperatorRegistry.json +0 -1978
  41. package/abis/ReserveManager.json +0 -2770
  42. package/lib/cjs/contracts/OperatorRegistry.d.ts +0 -592
  43. package/lib/cjs/contracts/OperatorRegistry.js +0 -2
  44. package/lib/cjs/contracts/ReserveManager.d.ts +0 -1138
  45. package/lib/cjs/contracts/ReserveManager.js +0 -2
  46. package/lib/cjs/contracts/factories/OperatorRegistry__factory.d.ts +0 -1517
  47. package/lib/cjs/contracts/factories/OperatorRegistry__factory.js +0 -1991
  48. package/lib/cjs/contracts/factories/ReserveManager__factory.d.ts +0 -2146
  49. package/lib/cjs/contracts/factories/ReserveManager__factory.js +0 -2783
  50. package/lib/esm/contracts/OperatorRegistry.d.ts +0 -592
  51. package/lib/esm/contracts/OperatorRegistry.js +0 -1
  52. package/lib/esm/contracts/ReserveManager.d.ts +0 -1138
  53. package/lib/esm/contracts/ReserveManager.js +0 -1
  54. package/lib/esm/contracts/factories/OperatorRegistry__factory.d.ts +0 -1517
  55. package/lib/esm/contracts/factories/OperatorRegistry__factory.js +0 -1987
  56. package/lib/esm/contracts/factories/ReserveManager__factory.d.ts +0 -2146
  57. package/lib/esm/contracts/factories/ReserveManager__factory.js +0 -2779
  58. package/runtime/OperatorRegistry.bin +0 -0
  59. package/runtime/ReserveManager.bin +0 -0
@@ -61,6 +61,18 @@ export declare class OPP__factory {
61
61
  readonly inputs: readonly [];
62
62
  readonly name: "NotInitializing";
63
63
  readonly type: "error";
64
+ }, {
65
+ readonly inputs: readonly [{
66
+ readonly internalType: "uint32";
67
+ readonly name: "nextEpochIndex";
68
+ readonly type: "uint32";
69
+ }, {
70
+ readonly internalType: "uint32";
71
+ readonly name: "deliveries";
72
+ readonly type: "uint32";
73
+ }];
74
+ readonly name: "OPP_BootstrapWindowClosed";
75
+ readonly type: "error";
64
76
  }, {
65
77
  readonly inputs: readonly [{
66
78
  readonly internalType: "address";
@@ -173,18 +185,6 @@ export declare class OPP__factory {
173
185
  }];
174
186
  readonly name: "OPP_InboundEnvelopeStillInRetention";
175
187
  readonly type: "error";
176
- }, {
177
- readonly inputs: readonly [{
178
- readonly internalType: "uint256";
179
- readonly name: "required";
180
- readonly type: "uint256";
181
- }, {
182
- readonly internalType: "uint256";
183
- readonly name: "provided";
184
- readonly type: "uint256";
185
- }];
186
- readonly name: "OPP_InsufficientSignatureWeight";
187
- readonly type: "error";
188
188
  }, {
189
189
  readonly inputs: readonly [{
190
190
  readonly internalType: "uint16";
@@ -197,6 +197,14 @@ export declare class OPP__factory {
197
197
  }];
198
198
  readonly name: "OPP_InvalidChunkCount";
199
199
  readonly type: "error";
200
+ }, {
201
+ readonly inputs: readonly [{
202
+ readonly internalType: "string";
203
+ readonly name: "reason";
204
+ readonly type: "string";
205
+ }];
206
+ readonly name: "OPP_InvalidInitialRoster";
207
+ readonly type: "error";
200
208
  }, {
201
209
  readonly inputs: readonly [{
202
210
  readonly internalType: "address";
@@ -213,6 +221,22 @@ export declare class OPP__factory {
213
221
  readonly inputs: readonly [];
214
222
  readonly name: "OPP_InvalidRetentionConfig";
215
223
  readonly type: "error";
224
+ }, {
225
+ readonly inputs: readonly [{
226
+ readonly internalType: "uint256";
227
+ readonly name: "index";
228
+ readonly type: "uint256";
229
+ }, {
230
+ readonly internalType: "bytes32";
231
+ readonly name: "expected";
232
+ readonly type: "bytes32";
233
+ }, {
234
+ readonly internalType: "bytes32";
235
+ readonly name: "actual";
236
+ readonly type: "bytes32";
237
+ }];
238
+ readonly name: "OPP_MessageChainMismatch";
239
+ readonly type: "error";
216
240
  }, {
217
241
  readonly inputs: readonly [{
218
242
  readonly internalType: "bytes";
@@ -241,6 +265,18 @@ export declare class OPP__factory {
241
265
  readonly inputs: readonly [];
242
266
  readonly name: "OPP_NoPendingAttestations";
243
267
  readonly type: "error";
268
+ }, {
269
+ readonly inputs: readonly [{
270
+ readonly internalType: "uint256";
271
+ readonly name: "index";
272
+ readonly type: "uint256";
273
+ }, {
274
+ readonly internalType: "bytes";
275
+ readonly name: "messageId";
276
+ readonly type: "bytes";
277
+ }];
278
+ readonly name: "OPP_NonCanonicalMessageId";
279
+ readonly type: "error";
244
280
  }, {
245
281
  readonly inputs: readonly [{
246
282
  readonly internalType: "bytes";
@@ -249,6 +285,18 @@ export declare class OPP__factory {
249
285
  }];
250
286
  readonly name: "OPP_NonCanonicalPreviousEpochHash";
251
287
  readonly type: "error";
288
+ }, {
289
+ readonly inputs: readonly [{
290
+ readonly internalType: "uint256";
291
+ readonly name: "index";
292
+ readonly type: "uint256";
293
+ }, {
294
+ readonly internalType: "bytes";
295
+ readonly name: "previousMessageId";
296
+ readonly type: "bytes";
297
+ }];
298
+ readonly name: "OPP_NonCanonicalPreviousMessageId";
299
+ readonly type: "error";
252
300
  }, {
253
301
  readonly inputs: readonly [{
254
302
  readonly internalType: "uint32";
@@ -261,6 +309,22 @@ export declare class OPP__factory {
261
309
  }];
262
310
  readonly name: "OPP_NonSequentialEpoch";
263
311
  readonly type: "error";
312
+ }, {
313
+ readonly inputs: readonly [{
314
+ readonly internalType: "uint256";
315
+ readonly name: "index";
316
+ readonly type: "uint256";
317
+ }, {
318
+ readonly internalType: "uint256";
319
+ readonly name: "expected";
320
+ readonly type: "uint256";
321
+ }, {
322
+ readonly internalType: "uint256";
323
+ readonly name: "actual";
324
+ readonly type: "uint256";
325
+ }];
326
+ readonly name: "OPP_NonSequentialMessage";
327
+ readonly type: "error";
264
328
  }, {
265
329
  readonly inputs: readonly [{
266
330
  readonly internalType: "address";
@@ -345,6 +409,26 @@ export declare class OPP__factory {
345
409
  }];
346
410
  readonly name: "OPP_UnauthorizedAttestationType";
347
411
  readonly type: "error";
412
+ }, {
413
+ readonly inputs: readonly [{
414
+ readonly internalType: "uint32";
415
+ readonly name: "epochIndex";
416
+ readonly type: "uint32";
417
+ }, {
418
+ readonly internalType: "uint32";
419
+ readonly name: "rosterEpochIndex";
420
+ readonly type: "uint32";
421
+ }, {
422
+ readonly internalType: "uint32";
423
+ readonly name: "activeGroupIndex";
424
+ readonly type: "uint32";
425
+ }, {
426
+ readonly internalType: "uint32";
427
+ readonly name: "groupCount";
428
+ readonly type: "uint32";
429
+ }];
430
+ readonly name: "OPP_UnmappedEpochGroup";
431
+ readonly type: "error";
348
432
  }, {
349
433
  readonly inputs: readonly [{
350
434
  readonly internalType: "uint256";
@@ -83,6 +83,22 @@ const _abi = [
83
83
  name: "NotInitializing",
84
84
  type: "error",
85
85
  },
86
+ {
87
+ inputs: [
88
+ {
89
+ internalType: "uint32",
90
+ name: "nextEpochIndex",
91
+ type: "uint32",
92
+ },
93
+ {
94
+ internalType: "uint32",
95
+ name: "deliveries",
96
+ type: "uint32",
97
+ },
98
+ ],
99
+ name: "OPP_BootstrapWindowClosed",
100
+ type: "error",
101
+ },
86
102
  {
87
103
  inputs: [
88
104
  {
@@ -233,22 +249,6 @@ const _abi = [
233
249
  name: "OPP_InboundEnvelopeStillInRetention",
234
250
  type: "error",
235
251
  },
236
- {
237
- inputs: [
238
- {
239
- internalType: "uint256",
240
- name: "required",
241
- type: "uint256",
242
- },
243
- {
244
- internalType: "uint256",
245
- name: "provided",
246
- type: "uint256",
247
- },
248
- ],
249
- name: "OPP_InsufficientSignatureWeight",
250
- type: "error",
251
- },
252
252
  {
253
253
  inputs: [
254
254
  {
@@ -265,6 +265,17 @@ const _abi = [
265
265
  name: "OPP_InvalidChunkCount",
266
266
  type: "error",
267
267
  },
268
+ {
269
+ inputs: [
270
+ {
271
+ internalType: "string",
272
+ name: "reason",
273
+ type: "string",
274
+ },
275
+ ],
276
+ name: "OPP_InvalidInitialRoster",
277
+ type: "error",
278
+ },
268
279
  {
269
280
  inputs: [
270
281
  {
@@ -286,6 +297,27 @@ const _abi = [
286
297
  name: "OPP_InvalidRetentionConfig",
287
298
  type: "error",
288
299
  },
300
+ {
301
+ inputs: [
302
+ {
303
+ internalType: "uint256",
304
+ name: "index",
305
+ type: "uint256",
306
+ },
307
+ {
308
+ internalType: "bytes32",
309
+ name: "expected",
310
+ type: "bytes32",
311
+ },
312
+ {
313
+ internalType: "bytes32",
314
+ name: "actual",
315
+ type: "bytes32",
316
+ },
317
+ ],
318
+ name: "OPP_MessageChainMismatch",
319
+ type: "error",
320
+ },
289
321
  {
290
322
  inputs: [
291
323
  {
@@ -323,6 +355,22 @@ const _abi = [
323
355
  name: "OPP_NoPendingAttestations",
324
356
  type: "error",
325
357
  },
358
+ {
359
+ inputs: [
360
+ {
361
+ internalType: "uint256",
362
+ name: "index",
363
+ type: "uint256",
364
+ },
365
+ {
366
+ internalType: "bytes",
367
+ name: "messageId",
368
+ type: "bytes",
369
+ },
370
+ ],
371
+ name: "OPP_NonCanonicalMessageId",
372
+ type: "error",
373
+ },
326
374
  {
327
375
  inputs: [
328
376
  {
@@ -334,6 +382,22 @@ const _abi = [
334
382
  name: "OPP_NonCanonicalPreviousEpochHash",
335
383
  type: "error",
336
384
  },
385
+ {
386
+ inputs: [
387
+ {
388
+ internalType: "uint256",
389
+ name: "index",
390
+ type: "uint256",
391
+ },
392
+ {
393
+ internalType: "bytes",
394
+ name: "previousMessageId",
395
+ type: "bytes",
396
+ },
397
+ ],
398
+ name: "OPP_NonCanonicalPreviousMessageId",
399
+ type: "error",
400
+ },
337
401
  {
338
402
  inputs: [
339
403
  {
@@ -350,6 +414,27 @@ const _abi = [
350
414
  name: "OPP_NonSequentialEpoch",
351
415
  type: "error",
352
416
  },
417
+ {
418
+ inputs: [
419
+ {
420
+ internalType: "uint256",
421
+ name: "index",
422
+ type: "uint256",
423
+ },
424
+ {
425
+ internalType: "uint256",
426
+ name: "expected",
427
+ type: "uint256",
428
+ },
429
+ {
430
+ internalType: "uint256",
431
+ name: "actual",
432
+ type: "uint256",
433
+ },
434
+ ],
435
+ name: "OPP_NonSequentialMessage",
436
+ type: "error",
437
+ },
353
438
  {
354
439
  inputs: [
355
440
  {
@@ -462,6 +547,32 @@ const _abi = [
462
547
  name: "OPP_UnauthorizedAttestationType",
463
548
  type: "error",
464
549
  },
550
+ {
551
+ inputs: [
552
+ {
553
+ internalType: "uint32",
554
+ name: "epochIndex",
555
+ type: "uint32",
556
+ },
557
+ {
558
+ internalType: "uint32",
559
+ name: "rosterEpochIndex",
560
+ type: "uint32",
561
+ },
562
+ {
563
+ internalType: "uint32",
564
+ name: "activeGroupIndex",
565
+ type: "uint32",
566
+ },
567
+ {
568
+ internalType: "uint32",
569
+ name: "groupCount",
570
+ type: "uint32",
571
+ },
572
+ ],
573
+ name: "OPP_UnmappedEpochGroup",
574
+ type: "error",
575
+ },
465
576
  {
466
577
  inputs: [
467
578
  {
@@ -2,5 +2,3 @@ export { BAR__factory } from "./BAR__factory.js";
2
2
  export { IERC1155__factory } from "./IERC1155__factory.js";
3
3
  export { OPP__factory } from "./OPP__factory.js";
4
4
  export { OPPInbound__factory } from "./OPPInbound__factory.js";
5
- export { OperatorRegistry__factory } from "./OperatorRegistry__factory.js";
6
- export { ReserveManager__factory } from "./ReserveManager__factory.js";
@@ -5,5 +5,3 @@ export { BAR__factory } from "./BAR__factory.js";
5
5
  export { IERC1155__factory } from "./IERC1155__factory.js";
6
6
  export { OPP__factory } from "./OPP__factory.js";
7
7
  export { OPPInbound__factory } from "./OPPInbound__factory.js";
8
- export { OperatorRegistry__factory } from "./OperatorRegistry__factory.js";
9
- export { ReserveManager__factory } from "./ReserveManager__factory.js";
@@ -2,12 +2,8 @@ export type { BAR } from "./BAR.js";
2
2
  export type { IERC1155 } from "./IERC1155.js";
3
3
  export type { OPP } from "./OPP.js";
4
4
  export type { OPPInbound } from "./OPPInbound.js";
5
- export type { OperatorRegistry } from "./OperatorRegistry.js";
6
- export type { ReserveManager } from "./ReserveManager.js";
7
5
  export * as factories from "./factories/index.js";
8
6
  export { OPP__factory } from "./factories/OPP__factory.js";
9
7
  export { OPPInbound__factory } from "./factories/OPPInbound__factory.js";
10
- export { OperatorRegistry__factory } from "./factories/OperatorRegistry__factory.js";
11
- export { ReserveManager__factory } from "./factories/ReserveManager__factory.js";
12
8
  export { BAR__factory } from "./factories/BAR__factory.js";
13
9
  export { IERC1155__factory } from "./factories/IERC1155__factory.js";
@@ -1,7 +1,5 @@
1
1
  export * as factories from "./factories/index.js";
2
2
  export { OPP__factory } from "./factories/OPP__factory.js";
3
3
  export { OPPInbound__factory } from "./factories/OPPInbound__factory.js";
4
- export { OperatorRegistry__factory } from "./factories/OperatorRegistry__factory.js";
5
- export { ReserveManager__factory } from "./factories/ReserveManager__factory.js";
6
4
  export { BAR__factory } from "./factories/BAR__factory.js";
7
5
  export { IERC1155__factory } from "./factories/IERC1155__factory.js";
@@ -1,3 +1,2 @@
1
1
  export * from "./contracts/index.js";
2
- export type { ReserveManagerLib } from "./contracts/ReserveManager.js";
3
2
  export * from "./Manifest.js";