@wireio/outpost-ethereum-artifacts 0.3.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/README.md +1 -1
  2. package/abis/BAR.json +244 -182
  3. package/abis/DepositManager.json +973 -0
  4. package/abis/LiqEthToken.json +1228 -0
  5. package/abis/OPP.json +127 -16
  6. package/abis/OPPInbound.json +343 -59
  7. package/abis/{OperatorRegistry.json → SyndicationPool.json} +635 -534
  8. package/lib/cjs/Manifest.d.ts +16 -9
  9. package/lib/cjs/Manifest.js +74 -141
  10. package/lib/cjs/contracts/BAR.d.ts +1 -9
  11. package/lib/cjs/contracts/DepositManager.d.ts +534 -0
  12. package/lib/cjs/contracts/LiqEthToken.d.ts +622 -0
  13. package/lib/cjs/contracts/OPPInbound.d.ts +139 -43
  14. package/lib/cjs/contracts/SyndicationPool.d.ts +650 -0
  15. package/lib/cjs/contracts/SyndicationPool.js +2 -0
  16. package/lib/cjs/contracts/factories/BAR__factory.d.ts +188 -146
  17. package/lib/cjs/contracts/factories/BAR__factory.js +243 -181
  18. package/lib/cjs/contracts/factories/DepositManager__factory.d.ts +756 -0
  19. package/lib/cjs/contracts/factories/DepositManager__factory.js +986 -0
  20. package/lib/cjs/contracts/factories/LiqEthToken__factory.d.ts +948 -0
  21. package/lib/cjs/contracts/factories/LiqEthToken__factory.js +1241 -0
  22. package/lib/cjs/contracts/factories/OPPInbound__factory.d.ts +264 -48
  23. package/lib/cjs/contracts/factories/OPPInbound__factory.js +343 -59
  24. package/lib/cjs/contracts/factories/OPP__factory.d.ts +96 -12
  25. package/lib/cjs/contracts/factories/OPP__factory.js +127 -16
  26. package/lib/{esm/contracts/factories/OperatorRegistry__factory.d.ts → cjs/contracts/factories/SyndicationPool__factory.d.ts} +489 -415
  27. package/lib/cjs/contracts/factories/{OperatorRegistry__factory.js → SyndicationPool__factory.js} +632 -531
  28. package/lib/cjs/contracts/factories/index.d.ts +3 -2
  29. package/lib/cjs/contracts/factories/index.js +7 -5
  30. package/lib/cjs/contracts/index.d.ts +6 -4
  31. package/lib/cjs/contracts/index.js +7 -5
  32. package/lib/cjs/index.d.ts +0 -1
  33. package/lib/esm/Manifest.d.ts +16 -9
  34. package/lib/esm/Manifest.js +74 -141
  35. package/lib/esm/contracts/BAR.d.ts +1 -9
  36. package/lib/esm/contracts/DepositManager.d.ts +534 -0
  37. package/lib/esm/contracts/LiqEthToken.d.ts +622 -0
  38. package/lib/esm/contracts/OPPInbound.d.ts +139 -43
  39. package/lib/esm/contracts/SyndicationPool.d.ts +650 -0
  40. package/lib/esm/contracts/SyndicationPool.js +1 -0
  41. package/lib/esm/contracts/factories/BAR__factory.d.ts +188 -146
  42. package/lib/esm/contracts/factories/BAR__factory.js +243 -181
  43. package/lib/esm/contracts/factories/DepositManager__factory.d.ts +756 -0
  44. package/lib/esm/contracts/factories/DepositManager__factory.js +982 -0
  45. package/lib/esm/contracts/factories/LiqEthToken__factory.d.ts +948 -0
  46. package/lib/esm/contracts/factories/LiqEthToken__factory.js +1237 -0
  47. package/lib/esm/contracts/factories/OPPInbound__factory.d.ts +264 -48
  48. package/lib/esm/contracts/factories/OPPInbound__factory.js +343 -59
  49. package/lib/esm/contracts/factories/OPP__factory.d.ts +96 -12
  50. package/lib/esm/contracts/factories/OPP__factory.js +127 -16
  51. package/lib/{cjs/contracts/factories/OperatorRegistry__factory.d.ts → esm/contracts/factories/SyndicationPool__factory.d.ts} +489 -415
  52. package/lib/esm/contracts/factories/{OperatorRegistry__factory.js → SyndicationPool__factory.js} +630 -529
  53. package/lib/esm/contracts/factories/index.d.ts +3 -2
  54. package/lib/esm/contracts/factories/index.js +3 -2
  55. package/lib/esm/contracts/index.d.ts +6 -4
  56. package/lib/esm/contracts/index.js +3 -2
  57. package/lib/esm/index.d.ts +0 -1
  58. package/manifest.json +74 -141
  59. package/package.json +1 -1
  60. package/runtime/BAR.bin +0 -0
  61. package/runtime/DepositManager.bin +0 -0
  62. package/runtime/LiqEthToken.bin +0 -0
  63. package/runtime/OPP.bin +0 -0
  64. package/runtime/OPPInbound.bin +0 -0
  65. package/runtime/SyndicationPool.bin +0 -0
  66. package/abis/ReserveManager.json +0 -2770
  67. package/lib/cjs/contracts/OperatorRegistry.d.ts +0 -592
  68. package/lib/cjs/contracts/ReserveManager.d.ts +0 -1138
  69. package/lib/cjs/contracts/factories/ReserveManager__factory.d.ts +0 -2146
  70. package/lib/cjs/contracts/factories/ReserveManager__factory.js +0 -2783
  71. package/lib/esm/contracts/OperatorRegistry.d.ts +0 -592
  72. package/lib/esm/contracts/ReserveManager.d.ts +0 -1138
  73. package/lib/esm/contracts/factories/ReserveManager__factory.d.ts +0 -2146
  74. package/lib/esm/contracts/factories/ReserveManager__factory.js +0 -2779
  75. package/runtime/OperatorRegistry.bin +0 -0
  76. package/runtime/ReserveManager.bin +0 -0
  77. /package/lib/cjs/contracts/{OperatorRegistry.js → DepositManager.js} +0 -0
  78. /package/lib/cjs/contracts/{ReserveManager.js → LiqEthToken.js} +0 -0
  79. /package/lib/esm/contracts/{OperatorRegistry.js → DepositManager.js} +0 -0
  80. /package/lib/esm/contracts/{ReserveManager.js → LiqEthToken.js} +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
  {