@wireio/outpost-ethereum-artifacts 0.4.3 → 0.4.5

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 (61) hide show
  1. package/README.md +2 -4
  2. package/abis/BAR.json +131 -450
  3. package/abis/DepositManager.json +1917 -233
  4. package/abis/LiqEthToken.json +2039 -79
  5. package/abis/OPP.json +138 -67
  6. package/abis/OPPInbound.json +298 -388
  7. package/abis/SyndicationPool.json +266 -99
  8. package/abis/WithdrawalQueue.json +1926 -77
  9. package/lib/cjs/Manifest.js +65 -59
  10. package/lib/cjs/contracts/BAR.d.ts +2 -180
  11. package/lib/cjs/contracts/DepositManager.d.ts +80 -188
  12. package/lib/cjs/contracts/LiqEthToken.d.ts +33 -1
  13. package/lib/cjs/contracts/OPP.d.ts +13 -1
  14. package/lib/cjs/contracts/OPPInbound.d.ts +173 -225
  15. package/lib/cjs/contracts/SyndicationPool.d.ts +89 -2
  16. package/lib/cjs/contracts/WithdrawalQueue.d.ts +13 -29
  17. package/lib/cjs/contracts/factories/BAR__factory.d.ts +105 -353
  18. package/lib/cjs/contracts/factories/BAR__factory.js +131 -450
  19. package/lib/cjs/contracts/factories/DepositManager__factory.d.ts +1465 -205
  20. package/lib/cjs/contracts/factories/DepositManager__factory.js +1914 -230
  21. package/lib/cjs/contracts/factories/LiqEthToken__factory.d.ts +1542 -68
  22. package/lib/cjs/contracts/factories/LiqEthToken__factory.js +2037 -77
  23. package/lib/cjs/contracts/factories/OPPInbound__factory.d.ts +246 -318
  24. package/lib/cjs/contracts/factories/OPPInbound__factory.js +296 -386
  25. package/lib/cjs/contracts/factories/OPP__factory.d.ts +111 -57
  26. package/lib/cjs/contracts/factories/OPP__factory.js +138 -67
  27. package/lib/cjs/contracts/factories/SyndicationPool__factory.d.ts +210 -81
  28. package/lib/cjs/contracts/factories/SyndicationPool__factory.js +266 -99
  29. package/lib/cjs/contracts/factories/WithdrawalQueue__factory.d.ts +1452 -62
  30. package/lib/cjs/contracts/factories/WithdrawalQueue__factory.js +1924 -75
  31. package/lib/esm/Manifest.js +65 -59
  32. package/lib/esm/contracts/BAR.d.ts +2 -180
  33. package/lib/esm/contracts/DepositManager.d.ts +80 -188
  34. package/lib/esm/contracts/LiqEthToken.d.ts +33 -1
  35. package/lib/esm/contracts/OPP.d.ts +13 -1
  36. package/lib/esm/contracts/OPPInbound.d.ts +173 -225
  37. package/lib/esm/contracts/SyndicationPool.d.ts +89 -2
  38. package/lib/esm/contracts/WithdrawalQueue.d.ts +13 -29
  39. package/lib/esm/contracts/factories/BAR__factory.d.ts +105 -353
  40. package/lib/esm/contracts/factories/BAR__factory.js +131 -450
  41. package/lib/esm/contracts/factories/DepositManager__factory.d.ts +1465 -205
  42. package/lib/esm/contracts/factories/DepositManager__factory.js +1914 -230
  43. package/lib/esm/contracts/factories/LiqEthToken__factory.d.ts +1542 -68
  44. package/lib/esm/contracts/factories/LiqEthToken__factory.js +2037 -77
  45. package/lib/esm/contracts/factories/OPPInbound__factory.d.ts +246 -318
  46. package/lib/esm/contracts/factories/OPPInbound__factory.js +296 -386
  47. package/lib/esm/contracts/factories/OPP__factory.d.ts +111 -57
  48. package/lib/esm/contracts/factories/OPP__factory.js +138 -67
  49. package/lib/esm/contracts/factories/SyndicationPool__factory.d.ts +210 -81
  50. package/lib/esm/contracts/factories/SyndicationPool__factory.js +266 -99
  51. package/lib/esm/contracts/factories/WithdrawalQueue__factory.d.ts +1452 -62
  52. package/lib/esm/contracts/factories/WithdrawalQueue__factory.js +1924 -75
  53. package/manifest.json +65 -59
  54. package/package.json +1 -1
  55. package/runtime/BAR.bin +0 -0
  56. package/runtime/DepositManager.bin +0 -0
  57. package/runtime/LiqEthToken.bin +0 -0
  58. package/runtime/OPP.bin +0 -0
  59. package/runtime/OPPInbound.bin +0 -0
  60. package/runtime/SyndicationPool.bin +0 -0
  61. 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
  {
@@ -546,6 +562,17 @@
546
562
  "name": "OPP_UnauthorizedAttestationType",
547
563
  "type": "error"
548
564
  },
565
+ {
566
+ "inputs": [
567
+ {
568
+ "internalType": "AttestationType",
569
+ "name": "attestationType",
570
+ "type": "uint16"
571
+ }
572
+ ],
573
+ "name": "OPP_UnhandledAttestationType",
574
+ "type": "error"
575
+ },
549
576
  {
550
577
  "inputs": [
551
578
  {
@@ -593,6 +620,11 @@
593
620
  "name": "OPP_WrongDestinationChain",
594
621
  "type": "error"
595
622
  },
623
+ {
624
+ "inputs": [],
625
+ "name": "OPP_ZeroEpochDuration",
626
+ "type": "error"
627
+ },
596
628
  {
597
629
  "inputs": [],
598
630
  "name": "OPP_ZeroTag",
@@ -1091,6 +1123,19 @@
1091
1123
  "stateMutability": "view",
1092
1124
  "type": "function"
1093
1125
  },
1126
+ {
1127
+ "inputs": [],
1128
+ "name": "outboundWordsPrewarmed",
1129
+ "outputs": [
1130
+ {
1131
+ "internalType": "uint32",
1132
+ "name": "",
1133
+ "type": "uint32"
1134
+ }
1135
+ ],
1136
+ "stateMutability": "view",
1137
+ "type": "function"
1138
+ },
1094
1139
  {
1095
1140
  "inputs": [],
1096
1141
  "name": "pendingAttestationCount",
@@ -1161,6 +1206,19 @@
1161
1206
  "stateMutability": "view",
1162
1207
  "type": "function"
1163
1208
  },
1209
+ {
1210
+ "inputs": [],
1211
+ "name": "queuedHead",
1212
+ "outputs": [
1213
+ {
1214
+ "internalType": "uint256",
1215
+ "name": "",
1216
+ "type": "uint256"
1217
+ }
1218
+ ],
1219
+ "stateMutability": "view",
1220
+ "type": "function"
1221
+ },
1164
1222
  {
1165
1223
  "inputs": [],
1166
1224
  "name": "queuedMessageCount",
@@ -1174,6 +1232,19 @@
1174
1232
  "stateMutability": "view",
1175
1233
  "type": "function"
1176
1234
  },
1235
+ {
1236
+ "inputs": [],
1237
+ "name": "queuedMessageSlots",
1238
+ "outputs": [
1239
+ {
1240
+ "internalType": "uint256",
1241
+ "name": "",
1242
+ "type": "uint256"
1243
+ }
1244
+ ],
1245
+ "stateMutability": "view",
1246
+ "type": "function"
1247
+ },
1177
1248
  {
1178
1249
  "inputs": [],
1179
1250
  "name": "sendModeTag",