@wireio/outpost-ethereum-artifacts 0.4.2 → 0.4.4

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 (57) hide show
  1. package/README.md +7 -0
  2. package/abis/BAR.json +83 -434
  3. package/abis/OPP.json +122 -67
  4. package/abis/OPPInbound.json +226 -367
  5. package/abis/SyndicationPool.json +83 -83
  6. package/abis/WithdrawalQueue.json +968 -0
  7. package/lib/cjs/Manifest.d.ts +12 -0
  8. package/lib/cjs/Manifest.js +70 -46
  9. package/lib/cjs/contracts/BAR.d.ts +2 -180
  10. package/lib/cjs/contracts/OPP.d.ts +13 -1
  11. package/lib/cjs/contracts/OPPInbound.d.ts +118 -196
  12. package/lib/cjs/contracts/WithdrawalQueue.d.ts +457 -0
  13. package/lib/cjs/contracts/WithdrawalQueue.js +2 -0
  14. package/lib/cjs/contracts/factories/BAR__factory.d.ts +69 -341
  15. package/lib/cjs/contracts/factories/BAR__factory.js +83 -434
  16. package/lib/cjs/contracts/factories/OPPInbound__factory.d.ts +188 -298
  17. package/lib/cjs/contracts/factories/OPPInbound__factory.js +226 -367
  18. package/lib/cjs/contracts/factories/OPP__factory.d.ts +99 -57
  19. package/lib/cjs/contracts/factories/OPP__factory.js +122 -67
  20. package/lib/cjs/contracts/factories/SyndicationPool__factory.d.ts +69 -69
  21. package/lib/cjs/contracts/factories/SyndicationPool__factory.js +83 -83
  22. package/lib/cjs/contracts/factories/WithdrawalQueue__factory.d.ts +741 -0
  23. package/lib/cjs/contracts/factories/WithdrawalQueue__factory.js +981 -0
  24. package/lib/cjs/contracts/factories/index.d.ts +1 -0
  25. package/lib/cjs/contracts/factories/index.js +3 -1
  26. package/lib/cjs/contracts/index.d.ts +2 -0
  27. package/lib/cjs/contracts/index.js +3 -1
  28. package/lib/esm/Manifest.d.ts +12 -0
  29. package/lib/esm/Manifest.js +70 -46
  30. package/lib/esm/contracts/BAR.d.ts +2 -180
  31. package/lib/esm/contracts/OPP.d.ts +13 -1
  32. package/lib/esm/contracts/OPPInbound.d.ts +118 -196
  33. package/lib/esm/contracts/WithdrawalQueue.d.ts +457 -0
  34. package/lib/esm/contracts/WithdrawalQueue.js +1 -0
  35. package/lib/esm/contracts/factories/BAR__factory.d.ts +69 -341
  36. package/lib/esm/contracts/factories/BAR__factory.js +83 -434
  37. package/lib/esm/contracts/factories/OPPInbound__factory.d.ts +188 -298
  38. package/lib/esm/contracts/factories/OPPInbound__factory.js +226 -367
  39. package/lib/esm/contracts/factories/OPP__factory.d.ts +99 -57
  40. package/lib/esm/contracts/factories/OPP__factory.js +122 -67
  41. package/lib/esm/contracts/factories/SyndicationPool__factory.d.ts +69 -69
  42. package/lib/esm/contracts/factories/SyndicationPool__factory.js +83 -83
  43. package/lib/esm/contracts/factories/WithdrawalQueue__factory.d.ts +741 -0
  44. package/lib/esm/contracts/factories/WithdrawalQueue__factory.js +977 -0
  45. package/lib/esm/contracts/factories/index.d.ts +1 -0
  46. package/lib/esm/contracts/factories/index.js +1 -0
  47. package/lib/esm/contracts/index.d.ts +2 -0
  48. package/lib/esm/contracts/index.js +1 -0
  49. package/manifest.json +70 -46
  50. package/package.json +1 -1
  51. package/runtime/BAR.bin +0 -0
  52. package/runtime/DepositManager.bin +0 -0
  53. package/runtime/LiqEthToken.bin +0 -0
  54. package/runtime/OPP.bin +0 -0
  55. package/runtime/OPPInbound.bin +0 -0
  56. package/runtime/SyndicationPool.bin +0 -0
  57. package/runtime/WithdrawalQueue.bin +0 -0
@@ -73,6 +73,22 @@ export declare class SyndicationPool__factory {
73
73
  readonly inputs: readonly [];
74
74
  readonly name: "InvalidInitialization";
75
75
  readonly type: "error";
76
+ }, {
77
+ readonly inputs: readonly [{
78
+ readonly internalType: "uint256";
79
+ readonly name: "position";
80
+ readonly type: "uint256";
81
+ }];
82
+ readonly name: "MalformedEnvelope";
83
+ readonly type: "error";
84
+ }, {
85
+ readonly inputs: readonly [{
86
+ readonly internalType: "uint256";
87
+ readonly name: "position";
88
+ readonly type: "uint256";
89
+ }];
90
+ readonly name: "MalformedVarint";
91
+ readonly type: "error";
76
92
  }, {
77
93
  readonly inputs: readonly [];
78
94
  readonly name: "NotInitializing";
@@ -91,59 +107,27 @@ export declare class SyndicationPool__factory {
91
107
  readonly type: "error";
92
108
  }, {
93
109
  readonly inputs: readonly [{
94
- readonly internalType: "address";
95
- readonly name: "operator_";
96
- readonly type: "address";
97
- }];
98
- readonly name: "OPP_ChunkBufferMissing";
99
- readonly type: "error";
100
- }, {
101
- readonly inputs: readonly [{
102
- readonly internalType: "uint32";
103
- readonly name: "epochIndex";
104
- readonly type: "uint32";
105
- }];
106
- readonly name: "OPP_ChunkBufferShapeMismatch";
107
- readonly type: "error";
108
- }, {
109
- readonly inputs: readonly [{
110
- readonly internalType: "uint16";
111
- readonly name: "chunkIndex";
112
- readonly type: "uint16";
113
- }, {
114
- readonly internalType: "uint16";
115
- readonly name: "totalChunks";
116
- readonly type: "uint16";
117
- }];
118
- readonly name: "OPP_ChunkIndexOutOfRange";
119
- readonly type: "error";
120
- }, {
121
- readonly inputs: readonly [{
122
- readonly internalType: "uint16";
110
+ readonly internalType: "bytes32";
123
111
  readonly name: "expected";
124
- readonly type: "uint16";
112
+ readonly type: "bytes32";
125
113
  }, {
126
- readonly internalType: "uint16";
127
- readonly name: "actual";
128
- readonly type: "uint16";
114
+ readonly internalType: "bytes32";
115
+ readonly name: "found";
116
+ readonly type: "bytes32";
129
117
  }];
130
- readonly name: "OPP_ChunkOutOfOrder";
118
+ readonly name: "OPP_DigestMismatch";
131
119
  readonly type: "error";
132
120
  }, {
133
121
  readonly inputs: readonly [{
134
- readonly internalType: "uint16";
135
- readonly name: "chunkIndex";
136
- readonly type: "uint16";
137
- }, {
138
122
  readonly internalType: "uint256";
139
- readonly name: "expected";
123
+ readonly name: "gasLeft";
140
124
  readonly type: "uint256";
141
125
  }, {
142
126
  readonly internalType: "uint256";
143
- readonly name: "actual";
127
+ readonly name: "floor";
144
128
  readonly type: "uint256";
145
129
  }];
146
- readonly name: "OPP_ChunkSizeMismatch";
130
+ readonly name: "OPP_DispatchUnderfunded";
147
131
  readonly type: "error";
148
132
  }, {
149
133
  readonly inputs: readonly [{
@@ -181,6 +165,22 @@ export declare class SyndicationPool__factory {
181
165
  }];
182
166
  readonly name: "OPP_EpochHashMismatch";
183
167
  readonly type: "error";
168
+ }, {
169
+ readonly inputs: readonly [{
170
+ readonly internalType: "address";
171
+ readonly name: "handler";
172
+ readonly type: "address";
173
+ }, {
174
+ readonly internalType: "AttestationType";
175
+ readonly name: "attestationType";
176
+ readonly type: "uint16";
177
+ }, {
178
+ readonly internalType: "uint256";
179
+ readonly name: "gasBound";
180
+ readonly type: "uint256";
181
+ }];
182
+ readonly name: "OPP_HandlerGasExhausted";
183
+ readonly type: "error";
184
184
  }, {
185
185
  readonly inputs: readonly [{
186
186
  readonly internalType: "uint32";
@@ -203,15 +203,11 @@ export declare class SyndicationPool__factory {
203
203
  readonly type: "error";
204
204
  }, {
205
205
  readonly inputs: readonly [{
206
- readonly internalType: "uint16";
207
- readonly name: "expected";
208
- readonly type: "uint16";
209
- }, {
210
- readonly internalType: "uint16";
211
- readonly name: "actual";
212
- readonly type: "uint16";
206
+ readonly internalType: "address";
207
+ readonly name: "caller";
208
+ readonly type: "address";
213
209
  }];
214
- readonly name: "OPP_InvalidChunkCount";
210
+ readonly name: "OPP_InternalDispatchOnly";
215
211
  readonly type: "error";
216
212
  }, {
217
213
  readonly inputs: readonly [{
@@ -269,14 +265,6 @@ export declare class SyndicationPool__factory {
269
265
  readonly inputs: readonly [];
270
266
  readonly name: "OPP_NoAttestationsSent";
271
267
  readonly type: "error";
272
- }, {
273
- readonly inputs: readonly [{
274
- readonly internalType: "address";
275
- readonly name: "operator_";
276
- readonly type: "address";
277
- }];
278
- readonly name: "OPP_NoChunkSlot";
279
- readonly type: "error";
280
268
  }, {
281
269
  readonly inputs: readonly [];
282
270
  readonly name: "OPP_NoPendingAttestations";
@@ -369,6 +357,18 @@ export declare class SyndicationPool__factory {
369
357
  }];
370
358
  readonly name: "OPP_OperatorAlreadyDelivered";
371
359
  readonly type: "error";
360
+ }, {
361
+ readonly inputs: readonly [{
362
+ readonly internalType: "uint256";
363
+ readonly name: "warmedWords";
364
+ readonly type: "uint256";
365
+ }, {
366
+ readonly internalType: "uint256";
367
+ readonly name: "wordCount";
368
+ readonly type: "uint256";
369
+ }];
370
+ readonly name: "OPP_OutboundBankNotWarm";
371
+ readonly type: "error";
372
372
  }, {
373
373
  readonly inputs: readonly [{
374
374
  readonly internalType: "uint256";
@@ -381,6 +381,18 @@ export declare class SyndicationPool__factory {
381
381
  }];
382
382
  readonly name: "OPP_OutboundMessageUnpackable";
383
383
  readonly type: "error";
384
+ }, {
385
+ readonly inputs: readonly [{
386
+ readonly internalType: "uint256";
387
+ readonly name: "warmedWords";
388
+ readonly type: "uint256";
389
+ }, {
390
+ readonly internalType: "uint256";
391
+ readonly name: "fromWord";
392
+ readonly type: "uint256";
393
+ }];
394
+ readonly name: "OPP_OutboundPrewarmNotContiguous";
395
+ readonly type: "error";
384
396
  }, {
385
397
  readonly inputs: readonly [{
386
398
  readonly internalType: "uint256";
@@ -557,18 +569,6 @@ export declare class SyndicationPool__factory {
557
569
  readonly inputs: readonly [];
558
570
  readonly name: "WIRE_GoLiveInProgress";
559
571
  readonly type: "error";
560
- }, {
561
- readonly inputs: readonly [{
562
- readonly internalType: "uint64";
563
- readonly name: "initialPrincipal";
564
- readonly type: "uint64";
565
- }, {
566
- readonly internalType: "uint64";
567
- readonly name: "balanceDepot";
568
- readonly type: "uint64";
569
- }];
570
- readonly name: "WIRE_InitialPrincipalExceedsBalance";
571
- readonly type: "error";
572
572
  }, {
573
573
  readonly inputs: readonly [{
574
574
  readonly internalType: "uint256";
@@ -99,100 +99,79 @@ const _abi = [
99
99
  name: "InvalidInitialization",
100
100
  type: "error",
101
101
  },
102
- {
103
- inputs: [],
104
- name: "NotInitializing",
105
- type: "error",
106
- },
107
102
  {
108
103
  inputs: [
109
104
  {
110
- internalType: "uint32",
111
- name: "nextEpochIndex",
112
- type: "uint32",
113
- },
114
- {
115
- internalType: "uint32",
116
- name: "deliveries",
117
- type: "uint32",
105
+ internalType: "uint256",
106
+ name: "position",
107
+ type: "uint256",
118
108
  },
119
109
  ],
120
- name: "OPP_BootstrapWindowClosed",
110
+ name: "MalformedEnvelope",
121
111
  type: "error",
122
112
  },
123
113
  {
124
114
  inputs: [
125
115
  {
126
- internalType: "address",
127
- name: "operator_",
128
- type: "address",
116
+ internalType: "uint256",
117
+ name: "position",
118
+ type: "uint256",
129
119
  },
130
120
  ],
131
- name: "OPP_ChunkBufferMissing",
121
+ name: "MalformedVarint",
132
122
  type: "error",
133
123
  },
134
124
  {
135
- inputs: [
136
- {
137
- internalType: "uint32",
138
- name: "epochIndex",
139
- type: "uint32",
140
- },
141
- ],
142
- name: "OPP_ChunkBufferShapeMismatch",
125
+ inputs: [],
126
+ name: "NotInitializing",
143
127
  type: "error",
144
128
  },
145
129
  {
146
130
  inputs: [
147
131
  {
148
- internalType: "uint16",
149
- name: "chunkIndex",
150
- type: "uint16",
132
+ internalType: "uint32",
133
+ name: "nextEpochIndex",
134
+ type: "uint32",
151
135
  },
152
136
  {
153
- internalType: "uint16",
154
- name: "totalChunks",
155
- type: "uint16",
137
+ internalType: "uint32",
138
+ name: "deliveries",
139
+ type: "uint32",
156
140
  },
157
141
  ],
158
- name: "OPP_ChunkIndexOutOfRange",
142
+ name: "OPP_BootstrapWindowClosed",
159
143
  type: "error",
160
144
  },
161
145
  {
162
146
  inputs: [
163
147
  {
164
- internalType: "uint16",
148
+ internalType: "bytes32",
165
149
  name: "expected",
166
- type: "uint16",
150
+ type: "bytes32",
167
151
  },
168
152
  {
169
- internalType: "uint16",
170
- name: "actual",
171
- type: "uint16",
153
+ internalType: "bytes32",
154
+ name: "found",
155
+ type: "bytes32",
172
156
  },
173
157
  ],
174
- name: "OPP_ChunkOutOfOrder",
158
+ name: "OPP_DigestMismatch",
175
159
  type: "error",
176
160
  },
177
161
  {
178
162
  inputs: [
179
- {
180
- internalType: "uint16",
181
- name: "chunkIndex",
182
- type: "uint16",
183
- },
184
163
  {
185
164
  internalType: "uint256",
186
- name: "expected",
165
+ name: "gasLeft",
187
166
  type: "uint256",
188
167
  },
189
168
  {
190
169
  internalType: "uint256",
191
- name: "actual",
170
+ name: "floor",
192
171
  type: "uint256",
193
172
  },
194
173
  ],
195
- name: "OPP_ChunkSizeMismatch",
174
+ name: "OPP_DispatchUnderfunded",
196
175
  type: "error",
197
176
  },
198
177
  {
@@ -243,6 +222,27 @@ const _abi = [
243
222
  name: "OPP_EpochHashMismatch",
244
223
  type: "error",
245
224
  },
225
+ {
226
+ inputs: [
227
+ {
228
+ internalType: "address",
229
+ name: "handler",
230
+ type: "address",
231
+ },
232
+ {
233
+ internalType: "AttestationType",
234
+ name: "attestationType",
235
+ type: "uint16",
236
+ },
237
+ {
238
+ internalType: "uint256",
239
+ name: "gasBound",
240
+ type: "uint256",
241
+ },
242
+ ],
243
+ name: "OPP_HandlerGasExhausted",
244
+ type: "error",
245
+ },
246
246
  {
247
247
  inputs: [
248
248
  {
@@ -273,17 +273,12 @@ const _abi = [
273
273
  {
274
274
  inputs: [
275
275
  {
276
- internalType: "uint16",
277
- name: "expected",
278
- type: "uint16",
279
- },
280
- {
281
- internalType: "uint16",
282
- name: "actual",
283
- type: "uint16",
276
+ internalType: "address",
277
+ name: "caller",
278
+ type: "address",
284
279
  },
285
280
  ],
286
- name: "OPP_InvalidChunkCount",
281
+ name: "OPP_InternalDispatchOnly",
287
282
  type: "error",
288
283
  },
289
284
  {
@@ -360,17 +355,6 @@ const _abi = [
360
355
  name: "OPP_NoAttestationsSent",
361
356
  type: "error",
362
357
  },
363
- {
364
- inputs: [
365
- {
366
- internalType: "address",
367
- name: "operator_",
368
- type: "address",
369
- },
370
- ],
371
- name: "OPP_NoChunkSlot",
372
- type: "error",
373
- },
374
358
  {
375
359
  inputs: [],
376
360
  name: "OPP_NoPendingAttestations",
@@ -493,6 +477,22 @@ const _abi = [
493
477
  name: "OPP_OperatorAlreadyDelivered",
494
478
  type: "error",
495
479
  },
480
+ {
481
+ inputs: [
482
+ {
483
+ internalType: "uint256",
484
+ name: "warmedWords",
485
+ type: "uint256",
486
+ },
487
+ {
488
+ internalType: "uint256",
489
+ name: "wordCount",
490
+ type: "uint256",
491
+ },
492
+ ],
493
+ name: "OPP_OutboundBankNotWarm",
494
+ type: "error",
495
+ },
496
496
  {
497
497
  inputs: [
498
498
  {
@@ -509,6 +509,22 @@ const _abi = [
509
509
  name: "OPP_OutboundMessageUnpackable",
510
510
  type: "error",
511
511
  },
512
+ {
513
+ inputs: [
514
+ {
515
+ internalType: "uint256",
516
+ name: "warmedWords",
517
+ type: "uint256",
518
+ },
519
+ {
520
+ internalType: "uint256",
521
+ name: "fromWord",
522
+ type: "uint256",
523
+ },
524
+ ],
525
+ name: "OPP_OutboundPrewarmNotContiguous",
526
+ type: "error",
527
+ },
512
528
  {
513
529
  inputs: [
514
530
  {
@@ -742,22 +758,6 @@ const _abi = [
742
758
  name: "WIRE_GoLiveInProgress",
743
759
  type: "error",
744
760
  },
745
- {
746
- inputs: [
747
- {
748
- internalType: "uint64",
749
- name: "initialPrincipal",
750
- type: "uint64",
751
- },
752
- {
753
- internalType: "uint64",
754
- name: "balanceDepot",
755
- type: "uint64",
756
- },
757
- ],
758
- name: "WIRE_InitialPrincipalExceedsBalance",
759
- type: "error",
760
- },
761
761
  {
762
762
  inputs: [
763
763
  {