@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";
@@ -102,100 +102,79 @@ const _abi = [
102
102
  name: "InvalidInitialization",
103
103
  type: "error",
104
104
  },
105
- {
106
- inputs: [],
107
- name: "NotInitializing",
108
- type: "error",
109
- },
110
105
  {
111
106
  inputs: [
112
107
  {
113
- internalType: "uint32",
114
- name: "nextEpochIndex",
115
- type: "uint32",
116
- },
117
- {
118
- internalType: "uint32",
119
- name: "deliveries",
120
- type: "uint32",
108
+ internalType: "uint256",
109
+ name: "position",
110
+ type: "uint256",
121
111
  },
122
112
  ],
123
- name: "OPP_BootstrapWindowClosed",
113
+ name: "MalformedEnvelope",
124
114
  type: "error",
125
115
  },
126
116
  {
127
117
  inputs: [
128
118
  {
129
- internalType: "address",
130
- name: "operator_",
131
- type: "address",
119
+ internalType: "uint256",
120
+ name: "position",
121
+ type: "uint256",
132
122
  },
133
123
  ],
134
- name: "OPP_ChunkBufferMissing",
124
+ name: "MalformedVarint",
135
125
  type: "error",
136
126
  },
137
127
  {
138
- inputs: [
139
- {
140
- internalType: "uint32",
141
- name: "epochIndex",
142
- type: "uint32",
143
- },
144
- ],
145
- name: "OPP_ChunkBufferShapeMismatch",
128
+ inputs: [],
129
+ name: "NotInitializing",
146
130
  type: "error",
147
131
  },
148
132
  {
149
133
  inputs: [
150
134
  {
151
- internalType: "uint16",
152
- name: "chunkIndex",
153
- type: "uint16",
135
+ internalType: "uint32",
136
+ name: "nextEpochIndex",
137
+ type: "uint32",
154
138
  },
155
139
  {
156
- internalType: "uint16",
157
- name: "totalChunks",
158
- type: "uint16",
140
+ internalType: "uint32",
141
+ name: "deliveries",
142
+ type: "uint32",
159
143
  },
160
144
  ],
161
- name: "OPP_ChunkIndexOutOfRange",
145
+ name: "OPP_BootstrapWindowClosed",
162
146
  type: "error",
163
147
  },
164
148
  {
165
149
  inputs: [
166
150
  {
167
- internalType: "uint16",
151
+ internalType: "bytes32",
168
152
  name: "expected",
169
- type: "uint16",
153
+ type: "bytes32",
170
154
  },
171
155
  {
172
- internalType: "uint16",
173
- name: "actual",
174
- type: "uint16",
156
+ internalType: "bytes32",
157
+ name: "found",
158
+ type: "bytes32",
175
159
  },
176
160
  ],
177
- name: "OPP_ChunkOutOfOrder",
161
+ name: "OPP_DigestMismatch",
178
162
  type: "error",
179
163
  },
180
164
  {
181
165
  inputs: [
182
- {
183
- internalType: "uint16",
184
- name: "chunkIndex",
185
- type: "uint16",
186
- },
187
166
  {
188
167
  internalType: "uint256",
189
- name: "expected",
168
+ name: "gasLeft",
190
169
  type: "uint256",
191
170
  },
192
171
  {
193
172
  internalType: "uint256",
194
- name: "actual",
173
+ name: "floor",
195
174
  type: "uint256",
196
175
  },
197
176
  ],
198
- name: "OPP_ChunkSizeMismatch",
177
+ name: "OPP_DispatchUnderfunded",
199
178
  type: "error",
200
179
  },
201
180
  {
@@ -246,6 +225,27 @@ const _abi = [
246
225
  name: "OPP_EpochHashMismatch",
247
226
  type: "error",
248
227
  },
228
+ {
229
+ inputs: [
230
+ {
231
+ internalType: "address",
232
+ name: "handler",
233
+ type: "address",
234
+ },
235
+ {
236
+ internalType: "AttestationType",
237
+ name: "attestationType",
238
+ type: "uint16",
239
+ },
240
+ {
241
+ internalType: "uint256",
242
+ name: "gasBound",
243
+ type: "uint256",
244
+ },
245
+ ],
246
+ name: "OPP_HandlerGasExhausted",
247
+ type: "error",
248
+ },
249
249
  {
250
250
  inputs: [
251
251
  {
@@ -276,17 +276,12 @@ const _abi = [
276
276
  {
277
277
  inputs: [
278
278
  {
279
- internalType: "uint16",
280
- name: "expected",
281
- type: "uint16",
282
- },
283
- {
284
- internalType: "uint16",
285
- name: "actual",
286
- type: "uint16",
279
+ internalType: "address",
280
+ name: "caller",
281
+ type: "address",
287
282
  },
288
283
  ],
289
- name: "OPP_InvalidChunkCount",
284
+ name: "OPP_InternalDispatchOnly",
290
285
  type: "error",
291
286
  },
292
287
  {
@@ -363,17 +358,6 @@ const _abi = [
363
358
  name: "OPP_NoAttestationsSent",
364
359
  type: "error",
365
360
  },
366
- {
367
- inputs: [
368
- {
369
- internalType: "address",
370
- name: "operator_",
371
- type: "address",
372
- },
373
- ],
374
- name: "OPP_NoChunkSlot",
375
- type: "error",
376
- },
377
361
  {
378
362
  inputs: [],
379
363
  name: "OPP_NoPendingAttestations",
@@ -496,6 +480,22 @@ const _abi = [
496
480
  name: "OPP_OperatorAlreadyDelivered",
497
481
  type: "error",
498
482
  },
483
+ {
484
+ inputs: [
485
+ {
486
+ internalType: "uint256",
487
+ name: "warmedWords",
488
+ type: "uint256",
489
+ },
490
+ {
491
+ internalType: "uint256",
492
+ name: "wordCount",
493
+ type: "uint256",
494
+ },
495
+ ],
496
+ name: "OPP_OutboundBankNotWarm",
497
+ type: "error",
498
+ },
499
499
  {
500
500
  inputs: [
501
501
  {
@@ -512,6 +512,22 @@ const _abi = [
512
512
  name: "OPP_OutboundMessageUnpackable",
513
513
  type: "error",
514
514
  },
515
+ {
516
+ inputs: [
517
+ {
518
+ internalType: "uint256",
519
+ name: "warmedWords",
520
+ type: "uint256",
521
+ },
522
+ {
523
+ internalType: "uint256",
524
+ name: "fromWord",
525
+ type: "uint256",
526
+ },
527
+ ],
528
+ name: "OPP_OutboundPrewarmNotContiguous",
529
+ type: "error",
530
+ },
515
531
  {
516
532
  inputs: [
517
533
  {
@@ -745,22 +761,6 @@ const _abi = [
745
761
  name: "WIRE_GoLiveInProgress",
746
762
  type: "error",
747
763
  },
748
- {
749
- inputs: [
750
- {
751
- internalType: "uint64",
752
- name: "initialPrincipal",
753
- type: "uint64",
754
- },
755
- {
756
- internalType: "uint64",
757
- name: "balanceDepot",
758
- type: "uint64",
759
- },
760
- ],
761
- name: "WIRE_InitialPrincipalExceedsBalance",
762
- type: "error",
763
- },
764
764
  {
765
765
  inputs: [
766
766
  {