@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";
@@ -78,100 +78,79 @@ const _abi = [
78
78
  name: "InvalidInitialization",
79
79
  type: "error",
80
80
  },
81
- {
82
- inputs: [],
83
- name: "NotInitializing",
84
- type: "error",
85
- },
86
81
  {
87
82
  inputs: [
88
83
  {
89
- internalType: "uint32",
90
- name: "nextEpochIndex",
91
- type: "uint32",
92
- },
93
- {
94
- internalType: "uint32",
95
- name: "deliveries",
96
- type: "uint32",
84
+ internalType: "uint256",
85
+ name: "position",
86
+ type: "uint256",
97
87
  },
98
88
  ],
99
- name: "OPP_BootstrapWindowClosed",
89
+ name: "MalformedEnvelope",
100
90
  type: "error",
101
91
  },
102
92
  {
103
93
  inputs: [
104
94
  {
105
- internalType: "address",
106
- name: "operator_",
107
- type: "address",
95
+ internalType: "uint256",
96
+ name: "position",
97
+ type: "uint256",
108
98
  },
109
99
  ],
110
- name: "OPP_ChunkBufferMissing",
100
+ name: "MalformedVarint",
111
101
  type: "error",
112
102
  },
113
103
  {
114
- inputs: [
115
- {
116
- internalType: "uint32",
117
- name: "epochIndex",
118
- type: "uint32",
119
- },
120
- ],
121
- name: "OPP_ChunkBufferShapeMismatch",
104
+ inputs: [],
105
+ name: "NotInitializing",
122
106
  type: "error",
123
107
  },
124
108
  {
125
109
  inputs: [
126
110
  {
127
- internalType: "uint16",
128
- name: "chunkIndex",
129
- type: "uint16",
111
+ internalType: "uint32",
112
+ name: "nextEpochIndex",
113
+ type: "uint32",
130
114
  },
131
115
  {
132
- internalType: "uint16",
133
- name: "totalChunks",
134
- type: "uint16",
116
+ internalType: "uint32",
117
+ name: "deliveries",
118
+ type: "uint32",
135
119
  },
136
120
  ],
137
- name: "OPP_ChunkIndexOutOfRange",
121
+ name: "OPP_BootstrapWindowClosed",
138
122
  type: "error",
139
123
  },
140
124
  {
141
125
  inputs: [
142
126
  {
143
- internalType: "uint16",
127
+ internalType: "bytes32",
144
128
  name: "expected",
145
- type: "uint16",
129
+ type: "bytes32",
146
130
  },
147
131
  {
148
- internalType: "uint16",
149
- name: "actual",
150
- type: "uint16",
132
+ internalType: "bytes32",
133
+ name: "found",
134
+ type: "bytes32",
151
135
  },
152
136
  ],
153
- name: "OPP_ChunkOutOfOrder",
137
+ name: "OPP_DigestMismatch",
154
138
  type: "error",
155
139
  },
156
140
  {
157
141
  inputs: [
158
- {
159
- internalType: "uint16",
160
- name: "chunkIndex",
161
- type: "uint16",
162
- },
163
142
  {
164
143
  internalType: "uint256",
165
- name: "expected",
144
+ name: "gasLeft",
166
145
  type: "uint256",
167
146
  },
168
147
  {
169
148
  internalType: "uint256",
170
- name: "actual",
149
+ name: "floor",
171
150
  type: "uint256",
172
151
  },
173
152
  ],
174
- name: "OPP_ChunkSizeMismatch",
153
+ name: "OPP_DispatchUnderfunded",
175
154
  type: "error",
176
155
  },
177
156
  {
@@ -222,6 +201,27 @@ const _abi = [
222
201
  name: "OPP_EpochHashMismatch",
223
202
  type: "error",
224
203
  },
204
+ {
205
+ inputs: [
206
+ {
207
+ internalType: "address",
208
+ name: "handler",
209
+ type: "address",
210
+ },
211
+ {
212
+ internalType: "AttestationType",
213
+ name: "attestationType",
214
+ type: "uint16",
215
+ },
216
+ {
217
+ internalType: "uint256",
218
+ name: "gasBound",
219
+ type: "uint256",
220
+ },
221
+ ],
222
+ name: "OPP_HandlerGasExhausted",
223
+ type: "error",
224
+ },
225
225
  {
226
226
  inputs: [
227
227
  {
@@ -252,17 +252,12 @@ const _abi = [
252
252
  {
253
253
  inputs: [
254
254
  {
255
- internalType: "uint16",
256
- name: "expected",
257
- type: "uint16",
258
- },
259
- {
260
- internalType: "uint16",
261
- name: "actual",
262
- type: "uint16",
255
+ internalType: "address",
256
+ name: "caller",
257
+ type: "address",
263
258
  },
264
259
  ],
265
- name: "OPP_InvalidChunkCount",
260
+ name: "OPP_InternalDispatchOnly",
266
261
  type: "error",
267
262
  },
268
263
  {
@@ -339,17 +334,6 @@ const _abi = [
339
334
  name: "OPP_NoAttestationsSent",
340
335
  type: "error",
341
336
  },
342
- {
343
- inputs: [
344
- {
345
- internalType: "address",
346
- name: "operator_",
347
- type: "address",
348
- },
349
- ],
350
- name: "OPP_NoChunkSlot",
351
- type: "error",
352
- },
353
337
  {
354
338
  inputs: [],
355
339
  name: "OPP_NoPendingAttestations",
@@ -472,6 +456,22 @@ const _abi = [
472
456
  name: "OPP_OperatorAlreadyDelivered",
473
457
  type: "error",
474
458
  },
459
+ {
460
+ inputs: [
461
+ {
462
+ internalType: "uint256",
463
+ name: "warmedWords",
464
+ type: "uint256",
465
+ },
466
+ {
467
+ internalType: "uint256",
468
+ name: "wordCount",
469
+ type: "uint256",
470
+ },
471
+ ],
472
+ name: "OPP_OutboundBankNotWarm",
473
+ type: "error",
474
+ },
475
475
  {
476
476
  inputs: [
477
477
  {
@@ -488,6 +488,22 @@ const _abi = [
488
488
  name: "OPP_OutboundMessageUnpackable",
489
489
  type: "error",
490
490
  },
491
+ {
492
+ inputs: [
493
+ {
494
+ internalType: "uint256",
495
+ name: "warmedWords",
496
+ type: "uint256",
497
+ },
498
+ {
499
+ internalType: "uint256",
500
+ name: "fromWord",
501
+ type: "uint256",
502
+ },
503
+ ],
504
+ name: "OPP_OutboundPrewarmNotContiguous",
505
+ type: "error",
506
+ },
491
507
  {
492
508
  inputs: [
493
509
  {
@@ -1092,6 +1108,19 @@ const _abi = [
1092
1108
  stateMutability: "view",
1093
1109
  type: "function",
1094
1110
  },
1111
+ {
1112
+ inputs: [],
1113
+ name: "outboundWordsPrewarmed",
1114
+ outputs: [
1115
+ {
1116
+ internalType: "uint32",
1117
+ name: "",
1118
+ type: "uint32",
1119
+ },
1120
+ ],
1121
+ stateMutability: "view",
1122
+ type: "function",
1123
+ },
1095
1124
  {
1096
1125
  inputs: [],
1097
1126
  name: "pendingAttestationCount",
@@ -1162,6 +1191,19 @@ const _abi = [
1162
1191
  stateMutability: "view",
1163
1192
  type: "function",
1164
1193
  },
1194
+ {
1195
+ inputs: [],
1196
+ name: "queuedHead",
1197
+ outputs: [
1198
+ {
1199
+ internalType: "uint256",
1200
+ name: "",
1201
+ type: "uint256",
1202
+ },
1203
+ ],
1204
+ stateMutability: "view",
1205
+ type: "function",
1206
+ },
1165
1207
  {
1166
1208
  inputs: [],
1167
1209
  name: "queuedMessageCount",
@@ -1175,6 +1217,19 @@ const _abi = [
1175
1217
  stateMutability: "view",
1176
1218
  type: "function",
1177
1219
  },
1220
+ {
1221
+ inputs: [],
1222
+ name: "queuedMessageSlots",
1223
+ outputs: [
1224
+ {
1225
+ internalType: "uint256",
1226
+ name: "",
1227
+ type: "uint256",
1228
+ },
1229
+ ],
1230
+ stateMutability: "view",
1231
+ type: "function",
1232
+ },
1178
1233
  {
1179
1234
  inputs: [],
1180
1235
  name: "sendModeTag",