@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";
@@ -86,6 +86,22 @@ const _abi = [
86
86
  name: "NotInitializing",
87
87
  type: "error",
88
88
  },
89
+ {
90
+ inputs: [
91
+ {
92
+ internalType: "uint32",
93
+ name: "nextEpochIndex",
94
+ type: "uint32",
95
+ },
96
+ {
97
+ internalType: "uint32",
98
+ name: "deliveries",
99
+ type: "uint32",
100
+ },
101
+ ],
102
+ name: "OPP_BootstrapWindowClosed",
103
+ type: "error",
104
+ },
89
105
  {
90
106
  inputs: [
91
107
  {
@@ -236,22 +252,6 @@ const _abi = [
236
252
  name: "OPP_InboundEnvelopeStillInRetention",
237
253
  type: "error",
238
254
  },
239
- {
240
- inputs: [
241
- {
242
- internalType: "uint256",
243
- name: "required",
244
- type: "uint256",
245
- },
246
- {
247
- internalType: "uint256",
248
- name: "provided",
249
- type: "uint256",
250
- },
251
- ],
252
- name: "OPP_InsufficientSignatureWeight",
253
- type: "error",
254
- },
255
255
  {
256
256
  inputs: [
257
257
  {
@@ -268,6 +268,17 @@ const _abi = [
268
268
  name: "OPP_InvalidChunkCount",
269
269
  type: "error",
270
270
  },
271
+ {
272
+ inputs: [
273
+ {
274
+ internalType: "string",
275
+ name: "reason",
276
+ type: "string",
277
+ },
278
+ ],
279
+ name: "OPP_InvalidInitialRoster",
280
+ type: "error",
281
+ },
271
282
  {
272
283
  inputs: [
273
284
  {
@@ -289,6 +300,27 @@ const _abi = [
289
300
  name: "OPP_InvalidRetentionConfig",
290
301
  type: "error",
291
302
  },
303
+ {
304
+ inputs: [
305
+ {
306
+ internalType: "uint256",
307
+ name: "index",
308
+ type: "uint256",
309
+ },
310
+ {
311
+ internalType: "bytes32",
312
+ name: "expected",
313
+ type: "bytes32",
314
+ },
315
+ {
316
+ internalType: "bytes32",
317
+ name: "actual",
318
+ type: "bytes32",
319
+ },
320
+ ],
321
+ name: "OPP_MessageChainMismatch",
322
+ type: "error",
323
+ },
292
324
  {
293
325
  inputs: [
294
326
  {
@@ -326,6 +358,22 @@ const _abi = [
326
358
  name: "OPP_NoPendingAttestations",
327
359
  type: "error",
328
360
  },
361
+ {
362
+ inputs: [
363
+ {
364
+ internalType: "uint256",
365
+ name: "index",
366
+ type: "uint256",
367
+ },
368
+ {
369
+ internalType: "bytes",
370
+ name: "messageId",
371
+ type: "bytes",
372
+ },
373
+ ],
374
+ name: "OPP_NonCanonicalMessageId",
375
+ type: "error",
376
+ },
329
377
  {
330
378
  inputs: [
331
379
  {
@@ -337,6 +385,22 @@ const _abi = [
337
385
  name: "OPP_NonCanonicalPreviousEpochHash",
338
386
  type: "error",
339
387
  },
388
+ {
389
+ inputs: [
390
+ {
391
+ internalType: "uint256",
392
+ name: "index",
393
+ type: "uint256",
394
+ },
395
+ {
396
+ internalType: "bytes",
397
+ name: "previousMessageId",
398
+ type: "bytes",
399
+ },
400
+ ],
401
+ name: "OPP_NonCanonicalPreviousMessageId",
402
+ type: "error",
403
+ },
340
404
  {
341
405
  inputs: [
342
406
  {
@@ -353,6 +417,27 @@ const _abi = [
353
417
  name: "OPP_NonSequentialEpoch",
354
418
  type: "error",
355
419
  },
420
+ {
421
+ inputs: [
422
+ {
423
+ internalType: "uint256",
424
+ name: "index",
425
+ type: "uint256",
426
+ },
427
+ {
428
+ internalType: "uint256",
429
+ name: "expected",
430
+ type: "uint256",
431
+ },
432
+ {
433
+ internalType: "uint256",
434
+ name: "actual",
435
+ type: "uint256",
436
+ },
437
+ ],
438
+ name: "OPP_NonSequentialMessage",
439
+ type: "error",
440
+ },
356
441
  {
357
442
  inputs: [
358
443
  {
@@ -465,6 +550,32 @@ const _abi = [
465
550
  name: "OPP_UnauthorizedAttestationType",
466
551
  type: "error",
467
552
  },
553
+ {
554
+ inputs: [
555
+ {
556
+ internalType: "uint32",
557
+ name: "epochIndex",
558
+ type: "uint32",
559
+ },
560
+ {
561
+ internalType: "uint32",
562
+ name: "rosterEpochIndex",
563
+ type: "uint32",
564
+ },
565
+ {
566
+ internalType: "uint32",
567
+ name: "activeGroupIndex",
568
+ type: "uint32",
569
+ },
570
+ {
571
+ internalType: "uint32",
572
+ name: "groupCount",
573
+ type: "uint32",
574
+ },
575
+ ],
576
+ name: "OPP_UnmappedEpochGroup",
577
+ type: "error",
578
+ },
468
579
  {
469
580
  inputs: [
470
581
  {
@@ -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";
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ReserveManager__factory = exports.OperatorRegistry__factory = exports.OPPInbound__factory = exports.OPP__factory = exports.IERC1155__factory = exports.BAR__factory = void 0;
3
+ exports.OPPInbound__factory = exports.OPP__factory = exports.IERC1155__factory = exports.BAR__factory = void 0;
4
4
  /* Autogenerated file. Do not edit manually. */
5
5
  /* tslint:disable */
6
6
  /* eslint-disable */
@@ -12,7 +12,3 @@ var OPP__factory_js_1 = require("./OPP__factory.js");
12
12
  Object.defineProperty(exports, "OPP__factory", { enumerable: true, get: function () { return OPP__factory_js_1.OPP__factory; } });
13
13
  var OPPInbound__factory_js_1 = require("./OPPInbound__factory.js");
14
14
  Object.defineProperty(exports, "OPPInbound__factory", { enumerable: true, get: function () { return OPPInbound__factory_js_1.OPPInbound__factory; } });
15
- var OperatorRegistry__factory_js_1 = require("./OperatorRegistry__factory.js");
16
- Object.defineProperty(exports, "OperatorRegistry__factory", { enumerable: true, get: function () { return OperatorRegistry__factory_js_1.OperatorRegistry__factory; } });
17
- var ReserveManager__factory_js_1 = require("./ReserveManager__factory.js");
18
- Object.defineProperty(exports, "ReserveManager__factory", { enumerable: true, get: function () { return ReserveManager__factory_js_1.ReserveManager__factory; } });
@@ -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";
@@ -33,16 +33,12 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.IERC1155__factory = exports.BAR__factory = exports.ReserveManager__factory = exports.OperatorRegistry__factory = exports.OPPInbound__factory = exports.OPP__factory = exports.factories = void 0;
36
+ exports.IERC1155__factory = exports.BAR__factory = exports.OPPInbound__factory = exports.OPP__factory = exports.factories = void 0;
37
37
  exports.factories = __importStar(require("./factories/index.js"));
38
38
  var OPP__factory_js_1 = require("./factories/OPP__factory.js");
39
39
  Object.defineProperty(exports, "OPP__factory", { enumerable: true, get: function () { return OPP__factory_js_1.OPP__factory; } });
40
40
  var OPPInbound__factory_js_1 = require("./factories/OPPInbound__factory.js");
41
41
  Object.defineProperty(exports, "OPPInbound__factory", { enumerable: true, get: function () { return OPPInbound__factory_js_1.OPPInbound__factory; } });
42
- var OperatorRegistry__factory_js_1 = require("./factories/OperatorRegistry__factory.js");
43
- Object.defineProperty(exports, "OperatorRegistry__factory", { enumerable: true, get: function () { return OperatorRegistry__factory_js_1.OperatorRegistry__factory; } });
44
- var ReserveManager__factory_js_1 = require("./factories/ReserveManager__factory.js");
45
- Object.defineProperty(exports, "ReserveManager__factory", { enumerable: true, get: function () { return ReserveManager__factory_js_1.ReserveManager__factory; } });
46
42
  var BAR__factory_js_1 = require("./factories/BAR__factory.js");
47
43
  Object.defineProperty(exports, "BAR__factory", { enumerable: true, get: function () { return BAR__factory_js_1.BAR__factory; } });
48
44
  var IERC1155__factory_js_1 = require("./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";
@@ -45,40 +45,6 @@ export declare const EthereumOutpostArtifactManifest: {
45
45
  length: number;
46
46
  }[];
47
47
  };
48
- OperatorRegistry: {
49
- path: string;
50
- abiSha256: string;
51
- runtimeBytecodePath: string;
52
- runtimeBytecodeLength: number;
53
- runtimeBytecodeSha256: string;
54
- runtimeLinkReferences: {
55
- sourceName: string;
56
- libraryName: string;
57
- start: number;
58
- length: number;
59
- }[];
60
- runtimeImmutableReferences: {
61
- start: number;
62
- length: number;
63
- }[];
64
- };
65
- ReserveManager: {
66
- path: string;
67
- abiSha256: string;
68
- runtimeBytecodePath: string;
69
- runtimeBytecodeLength: number;
70
- runtimeBytecodeSha256: string;
71
- runtimeLinkReferences: {
72
- sourceName: string;
73
- libraryName: string;
74
- start: number;
75
- length: number;
76
- }[];
77
- runtimeImmutableReferences: {
78
- start: number;
79
- length: number;
80
- }[];
81
- };
82
48
  BAR: {
83
49
  path: string;
84
50
  abiSha256: string;