@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
@@ -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";
@@ -409,6 +421,14 @@ export declare class OPP__factory {
409
421
  }];
410
422
  readonly name: "OPP_UnauthorizedAttestationType";
411
423
  readonly type: "error";
424
+ }, {
425
+ readonly inputs: readonly [{
426
+ readonly internalType: "AttestationType";
427
+ readonly name: "attestationType";
428
+ readonly type: "uint16";
429
+ }];
430
+ readonly name: "OPP_UnhandledAttestationType";
431
+ readonly type: "error";
412
432
  }, {
413
433
  readonly inputs: readonly [{
414
434
  readonly internalType: "uint32";
@@ -445,6 +465,10 @@ export declare class OPP__factory {
445
465
  }];
446
466
  readonly name: "OPP_WrongDestinationChain";
447
467
  readonly type: "error";
468
+ }, {
469
+ readonly inputs: readonly [];
470
+ readonly name: "OPP_ZeroEpochDuration";
471
+ readonly type: "error";
448
472
  }, {
449
473
  readonly inputs: readonly [];
450
474
  readonly name: "OPP_ZeroTag";
@@ -827,6 +851,16 @@ export declare class OPP__factory {
827
851
  }];
828
852
  readonly stateMutability: "view";
829
853
  readonly type: "function";
854
+ }, {
855
+ readonly inputs: readonly [];
856
+ readonly name: "outboundWordsPrewarmed";
857
+ readonly outputs: readonly [{
858
+ readonly internalType: "uint32";
859
+ readonly name: "";
860
+ readonly type: "uint32";
861
+ }];
862
+ readonly stateMutability: "view";
863
+ readonly type: "function";
830
864
  }, {
831
865
  readonly inputs: readonly [];
832
866
  readonly name: "pendingAttestationCount";
@@ -881,6 +915,16 @@ export declare class OPP__factory {
881
915
  }];
882
916
  readonly stateMutability: "view";
883
917
  readonly type: "function";
918
+ }, {
919
+ readonly inputs: readonly [];
920
+ readonly name: "queuedHead";
921
+ readonly outputs: readonly [{
922
+ readonly internalType: "uint256";
923
+ readonly name: "";
924
+ readonly type: "uint256";
925
+ }];
926
+ readonly stateMutability: "view";
927
+ readonly type: "function";
884
928
  }, {
885
929
  readonly inputs: readonly [];
886
930
  readonly name: "queuedMessageCount";
@@ -891,6 +935,16 @@ export declare class OPP__factory {
891
935
  }];
892
936
  readonly stateMutability: "view";
893
937
  readonly type: "function";
938
+ }, {
939
+ readonly inputs: readonly [];
940
+ readonly name: "queuedMessageSlots";
941
+ readonly outputs: readonly [{
942
+ readonly internalType: "uint256";
943
+ readonly name: "";
944
+ readonly type: "uint256";
945
+ }];
946
+ readonly stateMutability: "view";
947
+ readonly type: "function";
894
948
  }, {
895
949
  readonly inputs: readonly [];
896
950
  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
  {
@@ -550,6 +566,17 @@ const _abi = [
550
566
  name: "OPP_UnauthorizedAttestationType",
551
567
  type: "error",
552
568
  },
569
+ {
570
+ inputs: [
571
+ {
572
+ internalType: "AttestationType",
573
+ name: "attestationType",
574
+ type: "uint16",
575
+ },
576
+ ],
577
+ name: "OPP_UnhandledAttestationType",
578
+ type: "error",
579
+ },
553
580
  {
554
581
  inputs: [
555
582
  {
@@ -597,6 +624,11 @@ const _abi = [
597
624
  name: "OPP_WrongDestinationChain",
598
625
  type: "error",
599
626
  },
627
+ {
628
+ inputs: [],
629
+ name: "OPP_ZeroEpochDuration",
630
+ type: "error",
631
+ },
600
632
  {
601
633
  inputs: [],
602
634
  name: "OPP_ZeroTag",
@@ -1095,6 +1127,19 @@ const _abi = [
1095
1127
  stateMutability: "view",
1096
1128
  type: "function",
1097
1129
  },
1130
+ {
1131
+ inputs: [],
1132
+ name: "outboundWordsPrewarmed",
1133
+ outputs: [
1134
+ {
1135
+ internalType: "uint32",
1136
+ name: "",
1137
+ type: "uint32",
1138
+ },
1139
+ ],
1140
+ stateMutability: "view",
1141
+ type: "function",
1142
+ },
1098
1143
  {
1099
1144
  inputs: [],
1100
1145
  name: "pendingAttestationCount",
@@ -1165,6 +1210,19 @@ const _abi = [
1165
1210
  stateMutability: "view",
1166
1211
  type: "function",
1167
1212
  },
1213
+ {
1214
+ inputs: [],
1215
+ name: "queuedHead",
1216
+ outputs: [
1217
+ {
1218
+ internalType: "uint256",
1219
+ name: "",
1220
+ type: "uint256",
1221
+ },
1222
+ ],
1223
+ stateMutability: "view",
1224
+ type: "function",
1225
+ },
1168
1226
  {
1169
1227
  inputs: [],
1170
1228
  name: "queuedMessageCount",
@@ -1178,6 +1236,19 @@ const _abi = [
1178
1236
  stateMutability: "view",
1179
1237
  type: "function",
1180
1238
  },
1239
+ {
1240
+ inputs: [],
1241
+ name: "queuedMessageSlots",
1242
+ outputs: [
1243
+ {
1244
+ internalType: "uint256",
1245
+ name: "",
1246
+ type: "uint256",
1247
+ },
1248
+ ],
1249
+ stateMutability: "view",
1250
+ type: "function",
1251
+ },
1181
1252
  {
1182
1253
  inputs: [],
1183
1254
  name: "sendModeTag",