@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
@@ -57,6 +57,22 @@ export declare class OPP__factory {
57
57
  readonly inputs: readonly [];
58
58
  readonly name: "InvalidInitialization";
59
59
  readonly type: "error";
60
+ }, {
61
+ readonly inputs: readonly [{
62
+ readonly internalType: "uint256";
63
+ readonly name: "position";
64
+ readonly type: "uint256";
65
+ }];
66
+ readonly name: "MalformedEnvelope";
67
+ readonly type: "error";
68
+ }, {
69
+ readonly inputs: readonly [{
70
+ readonly internalType: "uint256";
71
+ readonly name: "position";
72
+ readonly type: "uint256";
73
+ }];
74
+ readonly name: "MalformedVarint";
75
+ readonly type: "error";
60
76
  }, {
61
77
  readonly inputs: readonly [];
62
78
  readonly name: "NotInitializing";
@@ -75,59 +91,27 @@ export declare class OPP__factory {
75
91
  readonly type: "error";
76
92
  }, {
77
93
  readonly inputs: readonly [{
78
- readonly internalType: "address";
79
- readonly name: "operator_";
80
- readonly type: "address";
81
- }];
82
- readonly name: "OPP_ChunkBufferMissing";
83
- readonly type: "error";
84
- }, {
85
- readonly inputs: readonly [{
86
- readonly internalType: "uint32";
87
- readonly name: "epochIndex";
88
- readonly type: "uint32";
89
- }];
90
- readonly name: "OPP_ChunkBufferShapeMismatch";
91
- readonly type: "error";
92
- }, {
93
- readonly inputs: readonly [{
94
- readonly internalType: "uint16";
95
- readonly name: "chunkIndex";
96
- readonly type: "uint16";
97
- }, {
98
- readonly internalType: "uint16";
99
- readonly name: "totalChunks";
100
- readonly type: "uint16";
101
- }];
102
- readonly name: "OPP_ChunkIndexOutOfRange";
103
- readonly type: "error";
104
- }, {
105
- readonly inputs: readonly [{
106
- readonly internalType: "uint16";
94
+ readonly internalType: "bytes32";
107
95
  readonly name: "expected";
108
- readonly type: "uint16";
96
+ readonly type: "bytes32";
109
97
  }, {
110
- readonly internalType: "uint16";
111
- readonly name: "actual";
112
- readonly type: "uint16";
98
+ readonly internalType: "bytes32";
99
+ readonly name: "found";
100
+ readonly type: "bytes32";
113
101
  }];
114
- readonly name: "OPP_ChunkOutOfOrder";
102
+ readonly name: "OPP_DigestMismatch";
115
103
  readonly type: "error";
116
104
  }, {
117
105
  readonly inputs: readonly [{
118
- readonly internalType: "uint16";
119
- readonly name: "chunkIndex";
120
- readonly type: "uint16";
121
- }, {
122
106
  readonly internalType: "uint256";
123
- readonly name: "expected";
107
+ readonly name: "gasLeft";
124
108
  readonly type: "uint256";
125
109
  }, {
126
110
  readonly internalType: "uint256";
127
- readonly name: "actual";
111
+ readonly name: "floor";
128
112
  readonly type: "uint256";
129
113
  }];
130
- readonly name: "OPP_ChunkSizeMismatch";
114
+ readonly name: "OPP_DispatchUnderfunded";
131
115
  readonly type: "error";
132
116
  }, {
133
117
  readonly inputs: readonly [{
@@ -165,6 +149,22 @@ export declare class OPP__factory {
165
149
  }];
166
150
  readonly name: "OPP_EpochHashMismatch";
167
151
  readonly type: "error";
152
+ }, {
153
+ readonly inputs: readonly [{
154
+ readonly internalType: "address";
155
+ readonly name: "handler";
156
+ readonly type: "address";
157
+ }, {
158
+ readonly internalType: "AttestationType";
159
+ readonly name: "attestationType";
160
+ readonly type: "uint16";
161
+ }, {
162
+ readonly internalType: "uint256";
163
+ readonly name: "gasBound";
164
+ readonly type: "uint256";
165
+ }];
166
+ readonly name: "OPP_HandlerGasExhausted";
167
+ readonly type: "error";
168
168
  }, {
169
169
  readonly inputs: readonly [{
170
170
  readonly internalType: "uint32";
@@ -187,15 +187,11 @@ export declare class OPP__factory {
187
187
  readonly type: "error";
188
188
  }, {
189
189
  readonly inputs: readonly [{
190
- readonly internalType: "uint16";
191
- readonly name: "expected";
192
- readonly type: "uint16";
193
- }, {
194
- readonly internalType: "uint16";
195
- readonly name: "actual";
196
- readonly type: "uint16";
190
+ readonly internalType: "address";
191
+ readonly name: "caller";
192
+ readonly type: "address";
197
193
  }];
198
- readonly name: "OPP_InvalidChunkCount";
194
+ readonly name: "OPP_InternalDispatchOnly";
199
195
  readonly type: "error";
200
196
  }, {
201
197
  readonly inputs: readonly [{
@@ -253,14 +249,6 @@ export declare class OPP__factory {
253
249
  readonly inputs: readonly [];
254
250
  readonly name: "OPP_NoAttestationsSent";
255
251
  readonly type: "error";
256
- }, {
257
- readonly inputs: readonly [{
258
- readonly internalType: "address";
259
- readonly name: "operator_";
260
- readonly type: "address";
261
- }];
262
- readonly name: "OPP_NoChunkSlot";
263
- readonly type: "error";
264
252
  }, {
265
253
  readonly inputs: readonly [];
266
254
  readonly name: "OPP_NoPendingAttestations";
@@ -353,6 +341,18 @@ export declare class OPP__factory {
353
341
  }];
354
342
  readonly name: "OPP_OperatorAlreadyDelivered";
355
343
  readonly type: "error";
344
+ }, {
345
+ readonly inputs: readonly [{
346
+ readonly internalType: "uint256";
347
+ readonly name: "warmedWords";
348
+ readonly type: "uint256";
349
+ }, {
350
+ readonly internalType: "uint256";
351
+ readonly name: "wordCount";
352
+ readonly type: "uint256";
353
+ }];
354
+ readonly name: "OPP_OutboundBankNotWarm";
355
+ readonly type: "error";
356
356
  }, {
357
357
  readonly inputs: readonly [{
358
358
  readonly internalType: "uint256";
@@ -365,6 +365,18 @@ export declare class OPP__factory {
365
365
  }];
366
366
  readonly name: "OPP_OutboundMessageUnpackable";
367
367
  readonly type: "error";
368
+ }, {
369
+ readonly inputs: readonly [{
370
+ readonly internalType: "uint256";
371
+ readonly name: "warmedWords";
372
+ readonly type: "uint256";
373
+ }, {
374
+ readonly internalType: "uint256";
375
+ readonly name: "fromWord";
376
+ readonly type: "uint256";
377
+ }];
378
+ readonly name: "OPP_OutboundPrewarmNotContiguous";
379
+ readonly type: "error";
368
380
  }, {
369
381
  readonly inputs: readonly [{
370
382
  readonly internalType: "uint256";
@@ -827,6 +839,16 @@ export declare class OPP__factory {
827
839
  }];
828
840
  readonly stateMutability: "view";
829
841
  readonly type: "function";
842
+ }, {
843
+ readonly inputs: readonly [];
844
+ readonly name: "outboundWordsPrewarmed";
845
+ readonly outputs: readonly [{
846
+ readonly internalType: "uint32";
847
+ readonly name: "";
848
+ readonly type: "uint32";
849
+ }];
850
+ readonly stateMutability: "view";
851
+ readonly type: "function";
830
852
  }, {
831
853
  readonly inputs: readonly [];
832
854
  readonly name: "pendingAttestationCount";
@@ -881,6 +903,16 @@ export declare class OPP__factory {
881
903
  }];
882
904
  readonly stateMutability: "view";
883
905
  readonly type: "function";
906
+ }, {
907
+ readonly inputs: readonly [];
908
+ readonly name: "queuedHead";
909
+ readonly outputs: readonly [{
910
+ readonly internalType: "uint256";
911
+ readonly name: "";
912
+ readonly type: "uint256";
913
+ }];
914
+ readonly stateMutability: "view";
915
+ readonly type: "function";
884
916
  }, {
885
917
  readonly inputs: readonly [];
886
918
  readonly name: "queuedMessageCount";
@@ -891,6 +923,16 @@ export declare class OPP__factory {
891
923
  }];
892
924
  readonly stateMutability: "view";
893
925
  readonly type: "function";
926
+ }, {
927
+ readonly inputs: readonly [];
928
+ readonly name: "queuedMessageSlots";
929
+ readonly outputs: readonly [{
930
+ readonly internalType: "uint256";
931
+ readonly name: "";
932
+ readonly type: "uint256";
933
+ }];
934
+ readonly stateMutability: "view";
935
+ readonly type: "function";
894
936
  }, {
895
937
  readonly inputs: readonly [];
896
938
  readonly name: "sendModeTag";
@@ -81,100 +81,79 @@ const _abi = [
81
81
  name: "InvalidInitialization",
82
82
  type: "error",
83
83
  },
84
- {
85
- inputs: [],
86
- name: "NotInitializing",
87
- type: "error",
88
- },
89
84
  {
90
85
  inputs: [
91
86
  {
92
- internalType: "uint32",
93
- name: "nextEpochIndex",
94
- type: "uint32",
95
- },
96
- {
97
- internalType: "uint32",
98
- name: "deliveries",
99
- type: "uint32",
87
+ internalType: "uint256",
88
+ name: "position",
89
+ type: "uint256",
100
90
  },
101
91
  ],
102
- name: "OPP_BootstrapWindowClosed",
92
+ name: "MalformedEnvelope",
103
93
  type: "error",
104
94
  },
105
95
  {
106
96
  inputs: [
107
97
  {
108
- internalType: "address",
109
- name: "operator_",
110
- type: "address",
98
+ internalType: "uint256",
99
+ name: "position",
100
+ type: "uint256",
111
101
  },
112
102
  ],
113
- name: "OPP_ChunkBufferMissing",
103
+ name: "MalformedVarint",
114
104
  type: "error",
115
105
  },
116
106
  {
117
- inputs: [
118
- {
119
- internalType: "uint32",
120
- name: "epochIndex",
121
- type: "uint32",
122
- },
123
- ],
124
- name: "OPP_ChunkBufferShapeMismatch",
107
+ inputs: [],
108
+ name: "NotInitializing",
125
109
  type: "error",
126
110
  },
127
111
  {
128
112
  inputs: [
129
113
  {
130
- internalType: "uint16",
131
- name: "chunkIndex",
132
- type: "uint16",
114
+ internalType: "uint32",
115
+ name: "nextEpochIndex",
116
+ type: "uint32",
133
117
  },
134
118
  {
135
- internalType: "uint16",
136
- name: "totalChunks",
137
- type: "uint16",
119
+ internalType: "uint32",
120
+ name: "deliveries",
121
+ type: "uint32",
138
122
  },
139
123
  ],
140
- name: "OPP_ChunkIndexOutOfRange",
124
+ name: "OPP_BootstrapWindowClosed",
141
125
  type: "error",
142
126
  },
143
127
  {
144
128
  inputs: [
145
129
  {
146
- internalType: "uint16",
130
+ internalType: "bytes32",
147
131
  name: "expected",
148
- type: "uint16",
132
+ type: "bytes32",
149
133
  },
150
134
  {
151
- internalType: "uint16",
152
- name: "actual",
153
- type: "uint16",
135
+ internalType: "bytes32",
136
+ name: "found",
137
+ type: "bytes32",
154
138
  },
155
139
  ],
156
- name: "OPP_ChunkOutOfOrder",
140
+ name: "OPP_DigestMismatch",
157
141
  type: "error",
158
142
  },
159
143
  {
160
144
  inputs: [
161
- {
162
- internalType: "uint16",
163
- name: "chunkIndex",
164
- type: "uint16",
165
- },
166
145
  {
167
146
  internalType: "uint256",
168
- name: "expected",
147
+ name: "gasLeft",
169
148
  type: "uint256",
170
149
  },
171
150
  {
172
151
  internalType: "uint256",
173
- name: "actual",
152
+ name: "floor",
174
153
  type: "uint256",
175
154
  },
176
155
  ],
177
- name: "OPP_ChunkSizeMismatch",
156
+ name: "OPP_DispatchUnderfunded",
178
157
  type: "error",
179
158
  },
180
159
  {
@@ -225,6 +204,27 @@ const _abi = [
225
204
  name: "OPP_EpochHashMismatch",
226
205
  type: "error",
227
206
  },
207
+ {
208
+ inputs: [
209
+ {
210
+ internalType: "address",
211
+ name: "handler",
212
+ type: "address",
213
+ },
214
+ {
215
+ internalType: "AttestationType",
216
+ name: "attestationType",
217
+ type: "uint16",
218
+ },
219
+ {
220
+ internalType: "uint256",
221
+ name: "gasBound",
222
+ type: "uint256",
223
+ },
224
+ ],
225
+ name: "OPP_HandlerGasExhausted",
226
+ type: "error",
227
+ },
228
228
  {
229
229
  inputs: [
230
230
  {
@@ -255,17 +255,12 @@ const _abi = [
255
255
  {
256
256
  inputs: [
257
257
  {
258
- internalType: "uint16",
259
- name: "expected",
260
- type: "uint16",
261
- },
262
- {
263
- internalType: "uint16",
264
- name: "actual",
265
- type: "uint16",
258
+ internalType: "address",
259
+ name: "caller",
260
+ type: "address",
266
261
  },
267
262
  ],
268
- name: "OPP_InvalidChunkCount",
263
+ name: "OPP_InternalDispatchOnly",
269
264
  type: "error",
270
265
  },
271
266
  {
@@ -342,17 +337,6 @@ const _abi = [
342
337
  name: "OPP_NoAttestationsSent",
343
338
  type: "error",
344
339
  },
345
- {
346
- inputs: [
347
- {
348
- internalType: "address",
349
- name: "operator_",
350
- type: "address",
351
- },
352
- ],
353
- name: "OPP_NoChunkSlot",
354
- type: "error",
355
- },
356
340
  {
357
341
  inputs: [],
358
342
  name: "OPP_NoPendingAttestations",
@@ -475,6 +459,22 @@ const _abi = [
475
459
  name: "OPP_OperatorAlreadyDelivered",
476
460
  type: "error",
477
461
  },
462
+ {
463
+ inputs: [
464
+ {
465
+ internalType: "uint256",
466
+ name: "warmedWords",
467
+ type: "uint256",
468
+ },
469
+ {
470
+ internalType: "uint256",
471
+ name: "wordCount",
472
+ type: "uint256",
473
+ },
474
+ ],
475
+ name: "OPP_OutboundBankNotWarm",
476
+ type: "error",
477
+ },
478
478
  {
479
479
  inputs: [
480
480
  {
@@ -491,6 +491,22 @@ const _abi = [
491
491
  name: "OPP_OutboundMessageUnpackable",
492
492
  type: "error",
493
493
  },
494
+ {
495
+ inputs: [
496
+ {
497
+ internalType: "uint256",
498
+ name: "warmedWords",
499
+ type: "uint256",
500
+ },
501
+ {
502
+ internalType: "uint256",
503
+ name: "fromWord",
504
+ type: "uint256",
505
+ },
506
+ ],
507
+ name: "OPP_OutboundPrewarmNotContiguous",
508
+ type: "error",
509
+ },
494
510
  {
495
511
  inputs: [
496
512
  {
@@ -1095,6 +1111,19 @@ const _abi = [
1095
1111
  stateMutability: "view",
1096
1112
  type: "function",
1097
1113
  },
1114
+ {
1115
+ inputs: [],
1116
+ name: "outboundWordsPrewarmed",
1117
+ outputs: [
1118
+ {
1119
+ internalType: "uint32",
1120
+ name: "",
1121
+ type: "uint32",
1122
+ },
1123
+ ],
1124
+ stateMutability: "view",
1125
+ type: "function",
1126
+ },
1098
1127
  {
1099
1128
  inputs: [],
1100
1129
  name: "pendingAttestationCount",
@@ -1165,6 +1194,19 @@ const _abi = [
1165
1194
  stateMutability: "view",
1166
1195
  type: "function",
1167
1196
  },
1197
+ {
1198
+ inputs: [],
1199
+ name: "queuedHead",
1200
+ outputs: [
1201
+ {
1202
+ internalType: "uint256",
1203
+ name: "",
1204
+ type: "uint256",
1205
+ },
1206
+ ],
1207
+ stateMutability: "view",
1208
+ type: "function",
1209
+ },
1168
1210
  {
1169
1211
  inputs: [],
1170
1212
  name: "queuedMessageCount",
@@ -1178,6 +1220,19 @@ const _abi = [
1178
1220
  stateMutability: "view",
1179
1221
  type: "function",
1180
1222
  },
1223
+ {
1224
+ inputs: [],
1225
+ name: "queuedMessageSlots",
1226
+ outputs: [
1227
+ {
1228
+ internalType: "uint256",
1229
+ name: "",
1230
+ type: "uint256",
1231
+ },
1232
+ ],
1233
+ stateMutability: "view",
1234
+ type: "function",
1235
+ },
1181
1236
  {
1182
1237
  inputs: [],
1183
1238
  name: "sendModeTag",