@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";
@@ -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
  {
@@ -547,6 +563,17 @@ const _abi = [
547
563
  name: "OPP_UnauthorizedAttestationType",
548
564
  type: "error",
549
565
  },
566
+ {
567
+ inputs: [
568
+ {
569
+ internalType: "AttestationType",
570
+ name: "attestationType",
571
+ type: "uint16",
572
+ },
573
+ ],
574
+ name: "OPP_UnhandledAttestationType",
575
+ type: "error",
576
+ },
550
577
  {
551
578
  inputs: [
552
579
  {
@@ -594,6 +621,11 @@ const _abi = [
594
621
  name: "OPP_WrongDestinationChain",
595
622
  type: "error",
596
623
  },
624
+ {
625
+ inputs: [],
626
+ name: "OPP_ZeroEpochDuration",
627
+ type: "error",
628
+ },
597
629
  {
598
630
  inputs: [],
599
631
  name: "OPP_ZeroTag",
@@ -1092,6 +1124,19 @@ const _abi = [
1092
1124
  stateMutability: "view",
1093
1125
  type: "function",
1094
1126
  },
1127
+ {
1128
+ inputs: [],
1129
+ name: "outboundWordsPrewarmed",
1130
+ outputs: [
1131
+ {
1132
+ internalType: "uint32",
1133
+ name: "",
1134
+ type: "uint32",
1135
+ },
1136
+ ],
1137
+ stateMutability: "view",
1138
+ type: "function",
1139
+ },
1095
1140
  {
1096
1141
  inputs: [],
1097
1142
  name: "pendingAttestationCount",
@@ -1162,6 +1207,19 @@ const _abi = [
1162
1207
  stateMutability: "view",
1163
1208
  type: "function",
1164
1209
  },
1210
+ {
1211
+ inputs: [],
1212
+ name: "queuedHead",
1213
+ outputs: [
1214
+ {
1215
+ internalType: "uint256",
1216
+ name: "",
1217
+ type: "uint256",
1218
+ },
1219
+ ],
1220
+ stateMutability: "view",
1221
+ type: "function",
1222
+ },
1165
1223
  {
1166
1224
  inputs: [],
1167
1225
  name: "queuedMessageCount",
@@ -1175,6 +1233,19 @@ const _abi = [
1175
1233
  stateMutability: "view",
1176
1234
  type: "function",
1177
1235
  },
1236
+ {
1237
+ inputs: [],
1238
+ name: "queuedMessageSlots",
1239
+ outputs: [
1240
+ {
1241
+ internalType: "uint256",
1242
+ name: "",
1243
+ type: "uint256",
1244
+ },
1245
+ ],
1246
+ stateMutability: "view",
1247
+ type: "function",
1248
+ },
1178
1249
  {
1179
1250
  inputs: [],
1180
1251
  name: "sendModeTag",