@wireio/outpost-ethereum-artifacts 0.4.3 → 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 (37) hide show
  1. package/abis/BAR.json +83 -434
  2. package/abis/OPP.json +122 -67
  3. package/abis/OPPInbound.json +226 -367
  4. package/abis/SyndicationPool.json +83 -83
  5. package/lib/cjs/Manifest.js +53 -47
  6. package/lib/cjs/contracts/BAR.d.ts +2 -180
  7. package/lib/cjs/contracts/OPP.d.ts +13 -1
  8. package/lib/cjs/contracts/OPPInbound.d.ts +118 -196
  9. package/lib/cjs/contracts/factories/BAR__factory.d.ts +69 -341
  10. package/lib/cjs/contracts/factories/BAR__factory.js +83 -434
  11. package/lib/cjs/contracts/factories/OPPInbound__factory.d.ts +188 -298
  12. package/lib/cjs/contracts/factories/OPPInbound__factory.js +226 -367
  13. package/lib/cjs/contracts/factories/OPP__factory.d.ts +99 -57
  14. package/lib/cjs/contracts/factories/OPP__factory.js +122 -67
  15. package/lib/cjs/contracts/factories/SyndicationPool__factory.d.ts +69 -69
  16. package/lib/cjs/contracts/factories/SyndicationPool__factory.js +83 -83
  17. package/lib/esm/Manifest.js +53 -47
  18. package/lib/esm/contracts/BAR.d.ts +2 -180
  19. package/lib/esm/contracts/OPP.d.ts +13 -1
  20. package/lib/esm/contracts/OPPInbound.d.ts +118 -196
  21. package/lib/esm/contracts/factories/BAR__factory.d.ts +69 -341
  22. package/lib/esm/contracts/factories/BAR__factory.js +83 -434
  23. package/lib/esm/contracts/factories/OPPInbound__factory.d.ts +188 -298
  24. package/lib/esm/contracts/factories/OPPInbound__factory.js +226 -367
  25. package/lib/esm/contracts/factories/OPP__factory.d.ts +99 -57
  26. package/lib/esm/contracts/factories/OPP__factory.js +122 -67
  27. package/lib/esm/contracts/factories/SyndicationPool__factory.d.ts +69 -69
  28. package/lib/esm/contracts/factories/SyndicationPool__factory.js +83 -83
  29. package/manifest.json +53 -47
  30. package/package.json +1 -1
  31. package/runtime/BAR.bin +0 -0
  32. package/runtime/DepositManager.bin +0 -0
  33. package/runtime/LiqEthToken.bin +0 -0
  34. package/runtime/OPP.bin +0 -0
  35. package/runtime/OPPInbound.bin +0 -0
  36. package/runtime/SyndicationPool.bin +0 -0
  37. package/runtime/WithdrawalQueue.bin +0 -0
package/abis/OPP.json CHANGED
@@ -77,100 +77,79 @@
77
77
  "name": "InvalidInitialization",
78
78
  "type": "error"
79
79
  },
80
- {
81
- "inputs": [],
82
- "name": "NotInitializing",
83
- "type": "error"
84
- },
85
80
  {
86
81
  "inputs": [
87
82
  {
88
- "internalType": "uint32",
89
- "name": "nextEpochIndex",
90
- "type": "uint32"
91
- },
92
- {
93
- "internalType": "uint32",
94
- "name": "deliveries",
95
- "type": "uint32"
83
+ "internalType": "uint256",
84
+ "name": "position",
85
+ "type": "uint256"
96
86
  }
97
87
  ],
98
- "name": "OPP_BootstrapWindowClosed",
88
+ "name": "MalformedEnvelope",
99
89
  "type": "error"
100
90
  },
101
91
  {
102
92
  "inputs": [
103
93
  {
104
- "internalType": "address",
105
- "name": "operator_",
106
- "type": "address"
94
+ "internalType": "uint256",
95
+ "name": "position",
96
+ "type": "uint256"
107
97
  }
108
98
  ],
109
- "name": "OPP_ChunkBufferMissing",
99
+ "name": "MalformedVarint",
110
100
  "type": "error"
111
101
  },
112
102
  {
113
- "inputs": [
114
- {
115
- "internalType": "uint32",
116
- "name": "epochIndex",
117
- "type": "uint32"
118
- }
119
- ],
120
- "name": "OPP_ChunkBufferShapeMismatch",
103
+ "inputs": [],
104
+ "name": "NotInitializing",
121
105
  "type": "error"
122
106
  },
123
107
  {
124
108
  "inputs": [
125
109
  {
126
- "internalType": "uint16",
127
- "name": "chunkIndex",
128
- "type": "uint16"
110
+ "internalType": "uint32",
111
+ "name": "nextEpochIndex",
112
+ "type": "uint32"
129
113
  },
130
114
  {
131
- "internalType": "uint16",
132
- "name": "totalChunks",
133
- "type": "uint16"
115
+ "internalType": "uint32",
116
+ "name": "deliveries",
117
+ "type": "uint32"
134
118
  }
135
119
  ],
136
- "name": "OPP_ChunkIndexOutOfRange",
120
+ "name": "OPP_BootstrapWindowClosed",
137
121
  "type": "error"
138
122
  },
139
123
  {
140
124
  "inputs": [
141
125
  {
142
- "internalType": "uint16",
126
+ "internalType": "bytes32",
143
127
  "name": "expected",
144
- "type": "uint16"
128
+ "type": "bytes32"
145
129
  },
146
130
  {
147
- "internalType": "uint16",
148
- "name": "actual",
149
- "type": "uint16"
131
+ "internalType": "bytes32",
132
+ "name": "found",
133
+ "type": "bytes32"
150
134
  }
151
135
  ],
152
- "name": "OPP_ChunkOutOfOrder",
136
+ "name": "OPP_DigestMismatch",
153
137
  "type": "error"
154
138
  },
155
139
  {
156
140
  "inputs": [
157
- {
158
- "internalType": "uint16",
159
- "name": "chunkIndex",
160
- "type": "uint16"
161
- },
162
141
  {
163
142
  "internalType": "uint256",
164
- "name": "expected",
143
+ "name": "gasLeft",
165
144
  "type": "uint256"
166
145
  },
167
146
  {
168
147
  "internalType": "uint256",
169
- "name": "actual",
148
+ "name": "floor",
170
149
  "type": "uint256"
171
150
  }
172
151
  ],
173
- "name": "OPP_ChunkSizeMismatch",
152
+ "name": "OPP_DispatchUnderfunded",
174
153
  "type": "error"
175
154
  },
176
155
  {
@@ -221,6 +200,27 @@
221
200
  "name": "OPP_EpochHashMismatch",
222
201
  "type": "error"
223
202
  },
203
+ {
204
+ "inputs": [
205
+ {
206
+ "internalType": "address",
207
+ "name": "handler",
208
+ "type": "address"
209
+ },
210
+ {
211
+ "internalType": "AttestationType",
212
+ "name": "attestationType",
213
+ "type": "uint16"
214
+ },
215
+ {
216
+ "internalType": "uint256",
217
+ "name": "gasBound",
218
+ "type": "uint256"
219
+ }
220
+ ],
221
+ "name": "OPP_HandlerGasExhausted",
222
+ "type": "error"
223
+ },
224
224
  {
225
225
  "inputs": [
226
226
  {
@@ -251,17 +251,12 @@
251
251
  {
252
252
  "inputs": [
253
253
  {
254
- "internalType": "uint16",
255
- "name": "expected",
256
- "type": "uint16"
257
- },
258
- {
259
- "internalType": "uint16",
260
- "name": "actual",
261
- "type": "uint16"
254
+ "internalType": "address",
255
+ "name": "caller",
256
+ "type": "address"
262
257
  }
263
258
  ],
264
- "name": "OPP_InvalidChunkCount",
259
+ "name": "OPP_InternalDispatchOnly",
265
260
  "type": "error"
266
261
  },
267
262
  {
@@ -338,17 +333,6 @@
338
333
  "name": "OPP_NoAttestationsSent",
339
334
  "type": "error"
340
335
  },
341
- {
342
- "inputs": [
343
- {
344
- "internalType": "address",
345
- "name": "operator_",
346
- "type": "address"
347
- }
348
- ],
349
- "name": "OPP_NoChunkSlot",
350
- "type": "error"
351
- },
352
336
  {
353
337
  "inputs": [],
354
338
  "name": "OPP_NoPendingAttestations",
@@ -471,6 +455,22 @@
471
455
  "name": "OPP_OperatorAlreadyDelivered",
472
456
  "type": "error"
473
457
  },
458
+ {
459
+ "inputs": [
460
+ {
461
+ "internalType": "uint256",
462
+ "name": "warmedWords",
463
+ "type": "uint256"
464
+ },
465
+ {
466
+ "internalType": "uint256",
467
+ "name": "wordCount",
468
+ "type": "uint256"
469
+ }
470
+ ],
471
+ "name": "OPP_OutboundBankNotWarm",
472
+ "type": "error"
473
+ },
474
474
  {
475
475
  "inputs": [
476
476
  {
@@ -487,6 +487,22 @@
487
487
  "name": "OPP_OutboundMessageUnpackable",
488
488
  "type": "error"
489
489
  },
490
+ {
491
+ "inputs": [
492
+ {
493
+ "internalType": "uint256",
494
+ "name": "warmedWords",
495
+ "type": "uint256"
496
+ },
497
+ {
498
+ "internalType": "uint256",
499
+ "name": "fromWord",
500
+ "type": "uint256"
501
+ }
502
+ ],
503
+ "name": "OPP_OutboundPrewarmNotContiguous",
504
+ "type": "error"
505
+ },
490
506
  {
491
507
  "inputs": [
492
508
  {
@@ -1091,6 +1107,19 @@
1091
1107
  "stateMutability": "view",
1092
1108
  "type": "function"
1093
1109
  },
1110
+ {
1111
+ "inputs": [],
1112
+ "name": "outboundWordsPrewarmed",
1113
+ "outputs": [
1114
+ {
1115
+ "internalType": "uint32",
1116
+ "name": "",
1117
+ "type": "uint32"
1118
+ }
1119
+ ],
1120
+ "stateMutability": "view",
1121
+ "type": "function"
1122
+ },
1094
1123
  {
1095
1124
  "inputs": [],
1096
1125
  "name": "pendingAttestationCount",
@@ -1161,6 +1190,19 @@
1161
1190
  "stateMutability": "view",
1162
1191
  "type": "function"
1163
1192
  },
1193
+ {
1194
+ "inputs": [],
1195
+ "name": "queuedHead",
1196
+ "outputs": [
1197
+ {
1198
+ "internalType": "uint256",
1199
+ "name": "",
1200
+ "type": "uint256"
1201
+ }
1202
+ ],
1203
+ "stateMutability": "view",
1204
+ "type": "function"
1205
+ },
1164
1206
  {
1165
1207
  "inputs": [],
1166
1208
  "name": "queuedMessageCount",
@@ -1174,6 +1216,19 @@
1174
1216
  "stateMutability": "view",
1175
1217
  "type": "function"
1176
1218
  },
1219
+ {
1220
+ "inputs": [],
1221
+ "name": "queuedMessageSlots",
1222
+ "outputs": [
1223
+ {
1224
+ "internalType": "uint256",
1225
+ "name": "",
1226
+ "type": "uint256"
1227
+ }
1228
+ ],
1229
+ "stateMutability": "view",
1230
+ "type": "function"
1231
+ },
1177
1232
  {
1178
1233
  "inputs": [],
1179
1234
  "name": "sendModeTag",