@wireio/outpost-ethereum-artifacts 0.1.0 → 0.2.0

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.
@@ -104,6 +104,97 @@
104
104
  "name": "NotInitializing",
105
105
  "type": "error"
106
106
  },
107
+ {
108
+ "inputs": [
109
+ {
110
+ "internalType": "address",
111
+ "name": "operator_",
112
+ "type": "address"
113
+ }
114
+ ],
115
+ "name": "OPP_ChunkBufferMissing",
116
+ "type": "error"
117
+ },
118
+ {
119
+ "inputs": [
120
+ {
121
+ "internalType": "uint32",
122
+ "name": "epochIndex",
123
+ "type": "uint32"
124
+ }
125
+ ],
126
+ "name": "OPP_ChunkBufferShapeMismatch",
127
+ "type": "error"
128
+ },
129
+ {
130
+ "inputs": [
131
+ {
132
+ "internalType": "uint16",
133
+ "name": "chunkIndex",
134
+ "type": "uint16"
135
+ },
136
+ {
137
+ "internalType": "uint16",
138
+ "name": "totalChunks",
139
+ "type": "uint16"
140
+ }
141
+ ],
142
+ "name": "OPP_ChunkIndexOutOfRange",
143
+ "type": "error"
144
+ },
145
+ {
146
+ "inputs": [
147
+ {
148
+ "internalType": "uint16",
149
+ "name": "expected",
150
+ "type": "uint16"
151
+ },
152
+ {
153
+ "internalType": "uint16",
154
+ "name": "actual",
155
+ "type": "uint16"
156
+ }
157
+ ],
158
+ "name": "OPP_ChunkOutOfOrder",
159
+ "type": "error"
160
+ },
161
+ {
162
+ "inputs": [
163
+ {
164
+ "internalType": "uint16",
165
+ "name": "chunkIndex",
166
+ "type": "uint16"
167
+ },
168
+ {
169
+ "internalType": "uint256",
170
+ "name": "expected",
171
+ "type": "uint256"
172
+ },
173
+ {
174
+ "internalType": "uint256",
175
+ "name": "actual",
176
+ "type": "uint256"
177
+ }
178
+ ],
179
+ "name": "OPP_ChunkSizeMismatch",
180
+ "type": "error"
181
+ },
182
+ {
183
+ "inputs": [
184
+ {
185
+ "internalType": "uint32",
186
+ "name": "expected",
187
+ "type": "uint32"
188
+ },
189
+ {
190
+ "internalType": "uint32",
191
+ "name": "actual",
192
+ "type": "uint32"
193
+ }
194
+ ],
195
+ "name": "OPP_EnvelopeEpochMismatch",
196
+ "type": "error"
197
+ },
107
198
  {
108
199
  "inputs": [
109
200
  {
@@ -179,6 +270,22 @@
179
270
  "name": "OPP_InsufficientSignatureWeight",
180
271
  "type": "error"
181
272
  },
273
+ {
274
+ "inputs": [
275
+ {
276
+ "internalType": "uint16",
277
+ "name": "expected",
278
+ "type": "uint16"
279
+ },
280
+ {
281
+ "internalType": "uint16",
282
+ "name": "actual",
283
+ "type": "uint16"
284
+ }
285
+ ],
286
+ "name": "OPP_InvalidChunkCount",
287
+ "type": "error"
288
+ },
182
289
  {
183
290
  "inputs": [
184
291
  {
@@ -221,6 +328,17 @@
221
328
  "name": "OPP_NoAttestationsSent",
222
329
  "type": "error"
223
330
  },
331
+ {
332
+ "inputs": [
333
+ {
334
+ "internalType": "address",
335
+ "name": "operator_",
336
+ "type": "address"
337
+ }
338
+ ],
339
+ "name": "OPP_NoChunkSlot",
340
+ "type": "error"
341
+ },
224
342
  {
225
343
  "inputs": [],
226
344
  "name": "OPP_NoPendingAttestations",
@@ -290,6 +408,38 @@
290
408
  "name": "OPP_OperatorAlreadyDelivered",
291
409
  "type": "error"
292
410
  },
411
+ {
412
+ "inputs": [
413
+ {
414
+ "internalType": "uint256",
415
+ "name": "projectedEnvelopeBytes",
416
+ "type": "uint256"
417
+ },
418
+ {
419
+ "internalType": "uint256",
420
+ "name": "maxEnvelopeBytes",
421
+ "type": "uint256"
422
+ }
423
+ ],
424
+ "name": "OPP_OutboundMessageUnpackable",
425
+ "type": "error"
426
+ },
427
+ {
428
+ "inputs": [
429
+ {
430
+ "internalType": "uint256",
431
+ "name": "projectedBytes",
432
+ "type": "uint256"
433
+ },
434
+ {
435
+ "internalType": "uint256",
436
+ "name": "maxBytes",
437
+ "type": "uint256"
438
+ }
439
+ ],
440
+ "name": "OPP_OutboundQueueFull",
441
+ "type": "error"
442
+ },
293
443
  {
294
444
  "inputs": [
295
445
  {
@@ -359,6 +509,11 @@
359
509
  "name": "OPP_ZeroTag",
360
510
  "type": "error"
361
511
  },
512
+ {
513
+ "inputs": [],
514
+ "name": "ReentrancyGuardReentrantCall",
515
+ "type": "error"
516
+ },
362
517
  {
363
518
  "inputs": [],
364
519
  "name": "UUPSUnauthorizedCallContext",
@@ -494,6 +649,25 @@
494
649
  "name": "AuthorityUpdated",
495
650
  "type": "event"
496
651
  },
652
+ {
653
+ "anonymous": false,
654
+ "inputs": [
655
+ {
656
+ "indexed": true,
657
+ "internalType": "uint32",
658
+ "name": "epochIndex",
659
+ "type": "uint32"
660
+ },
661
+ {
662
+ "indexed": true,
663
+ "internalType": "address",
664
+ "name": "operator_",
665
+ "type": "address"
666
+ }
667
+ ],
668
+ "name": "EnvelopeChunksDiscarded",
669
+ "type": "event"
670
+ },
497
671
  {
498
672
  "anonymous": false,
499
673
  "inputs": [
@@ -526,6 +700,37 @@
526
700
  "name": "EnvelopeRetentionConfigUpdated",
527
701
  "type": "event"
528
702
  },
703
+ {
704
+ "anonymous": false,
705
+ "inputs": [
706
+ {
707
+ "indexed": true,
708
+ "internalType": "uint32",
709
+ "name": "epochIndex",
710
+ "type": "uint32"
711
+ },
712
+ {
713
+ "indexed": true,
714
+ "internalType": "address",
715
+ "name": "operator_",
716
+ "type": "address"
717
+ },
718
+ {
719
+ "indexed": false,
720
+ "internalType": "uint16",
721
+ "name": "chunkIndex",
722
+ "type": "uint16"
723
+ },
724
+ {
725
+ "indexed": false,
726
+ "internalType": "uint16",
727
+ "name": "totalChunks",
728
+ "type": "uint16"
729
+ }
730
+ ],
731
+ "name": "EpochChunk",
732
+ "type": "event"
733
+ },
529
734
  {
530
735
  "anonymous": false,
531
736
  "inputs": [
@@ -659,6 +864,45 @@
659
864
  "name": "Upgraded",
660
865
  "type": "event"
661
866
  },
867
+ {
868
+ "inputs": [],
869
+ "name": "MAX_CHUNKS",
870
+ "outputs": [
871
+ {
872
+ "internalType": "uint16",
873
+ "name": "",
874
+ "type": "uint16"
875
+ }
876
+ ],
877
+ "stateMutability": "view",
878
+ "type": "function"
879
+ },
880
+ {
881
+ "inputs": [],
882
+ "name": "MAX_CHUNK_BYTES",
883
+ "outputs": [
884
+ {
885
+ "internalType": "uint32",
886
+ "name": "",
887
+ "type": "uint32"
888
+ }
889
+ ],
890
+ "stateMutability": "view",
891
+ "type": "function"
892
+ },
893
+ {
894
+ "inputs": [],
895
+ "name": "MAX_CHUNK_SLOTS",
896
+ "outputs": [
897
+ {
898
+ "internalType": "uint16",
899
+ "name": "",
900
+ "type": "uint16"
901
+ }
902
+ ],
903
+ "stateMutability": "view",
904
+ "type": "function"
905
+ },
662
906
  {
663
907
  "inputs": [],
664
908
  "name": "MAX_ENVELOPE_BYTES",
@@ -685,6 +929,32 @@
685
929
  "stateMutability": "view",
686
930
  "type": "function"
687
931
  },
932
+ {
933
+ "inputs": [],
934
+ "name": "OPERATORS_PER_GROUP",
935
+ "outputs": [
936
+ {
937
+ "internalType": "uint16",
938
+ "name": "",
939
+ "type": "uint16"
940
+ }
941
+ ],
942
+ "stateMutability": "view",
943
+ "type": "function"
944
+ },
945
+ {
946
+ "inputs": [],
947
+ "name": "SLOT_EMPTY",
948
+ "outputs": [
949
+ {
950
+ "internalType": "uint16",
951
+ "name": "",
952
+ "type": "uint16"
953
+ }
954
+ ],
955
+ "stateMutability": "view",
956
+ "type": "function"
957
+ },
688
958
  {
689
959
  "inputs": [],
690
960
  "name": "UPGRADE_INTERFACE_VERSION",
@@ -767,6 +1037,56 @@
767
1037
  "stateMutability": "view",
768
1038
  "type": "function"
769
1039
  },
1040
+ {
1041
+ "inputs": [],
1042
+ "name": "chunkCellCount",
1043
+ "outputs": [
1044
+ {
1045
+ "internalType": "uint256",
1046
+ "name": "",
1047
+ "type": "uint256"
1048
+ }
1049
+ ],
1050
+ "stateMutability": "view",
1051
+ "type": "function"
1052
+ },
1053
+ {
1054
+ "inputs": [],
1055
+ "name": "chunkHeaderCount",
1056
+ "outputs": [
1057
+ {
1058
+ "internalType": "uint256",
1059
+ "name": "",
1060
+ "type": "uint256"
1061
+ }
1062
+ ],
1063
+ "stateMutability": "view",
1064
+ "type": "function"
1065
+ },
1066
+ {
1067
+ "inputs": [
1068
+ {
1069
+ "internalType": "address",
1070
+ "name": "operator_",
1071
+ "type": "address"
1072
+ }
1073
+ ],
1074
+ "name": "chunkHeaderOf",
1075
+ "outputs": [
1076
+ {
1077
+ "internalType": "uint256",
1078
+ "name": "position",
1079
+ "type": "uint256"
1080
+ },
1081
+ {
1082
+ "internalType": "bool",
1083
+ "name": "found",
1084
+ "type": "bool"
1085
+ }
1086
+ ],
1087
+ "stateMutability": "view",
1088
+ "type": "function"
1089
+ },
770
1090
  {
771
1091
  "inputs": [],
772
1092
  "name": "consensusReached",
@@ -793,6 +1113,57 @@
793
1113
  "stateMutability": "view",
794
1114
  "type": "function"
795
1115
  },
1116
+ {
1117
+ "inputs": [],
1118
+ "name": "discardEnvelopeChunks",
1119
+ "outputs": [],
1120
+ "stateMutability": "nonpayable",
1121
+ "type": "function"
1122
+ },
1123
+ {
1124
+ "inputs": [
1125
+ {
1126
+ "internalType": "address",
1127
+ "name": "operator_",
1128
+ "type": "address"
1129
+ }
1130
+ ],
1131
+ "name": "envelopeChunkState",
1132
+ "outputs": [
1133
+ {
1134
+ "internalType": "uint32",
1135
+ "name": "epochIndex",
1136
+ "type": "uint32"
1137
+ },
1138
+ {
1139
+ "internalType": "address",
1140
+ "name": "owner",
1141
+ "type": "address"
1142
+ },
1143
+ {
1144
+ "internalType": "uint16",
1145
+ "name": "totalChunks",
1146
+ "type": "uint16"
1147
+ },
1148
+ {
1149
+ "internalType": "uint16",
1150
+ "name": "receivedChunks",
1151
+ "type": "uint16"
1152
+ },
1153
+ {
1154
+ "internalType": "uint32",
1155
+ "name": "totalBytes",
1156
+ "type": "uint32"
1157
+ },
1158
+ {
1159
+ "internalType": "uint256",
1160
+ "name": "storedBytes",
1161
+ "type": "uint256"
1162
+ }
1163
+ ],
1164
+ "stateMutability": "view",
1165
+ "type": "function"
1166
+ },
796
1167
  {
797
1168
  "inputs": [
798
1169
  {
@@ -875,9 +1246,29 @@
875
1246
  },
876
1247
  {
877
1248
  "inputs": [
1249
+ {
1250
+ "internalType": "uint32",
1251
+ "name": "epochIndex",
1252
+ "type": "uint32"
1253
+ },
1254
+ {
1255
+ "internalType": "uint16",
1256
+ "name": "chunkIndex",
1257
+ "type": "uint16"
1258
+ },
1259
+ {
1260
+ "internalType": "uint16",
1261
+ "name": "totalChunks",
1262
+ "type": "uint16"
1263
+ },
1264
+ {
1265
+ "internalType": "uint32",
1266
+ "name": "totalBytes",
1267
+ "type": "uint32"
1268
+ },
878
1269
  {
879
1270
  "internalType": "bytes",
880
- "name": "data",
1271
+ "name": "chunkData",
881
1272
  "type": "bytes"
882
1273
  }
883
1274
  ],
@@ -977,6 +1368,13 @@
977
1368
  "stateMutability": "nonpayable",
978
1369
  "type": "function"
979
1370
  },
1371
+ {
1372
+ "inputs": [],
1373
+ "name": "initializeChunkSlots",
1374
+ "outputs": [],
1375
+ "stateMutability": "nonpayable",
1376
+ "type": "function"
1377
+ },
980
1378
  {
981
1379
  "inputs": [
982
1380
  {
@@ -126,6 +126,97 @@
126
126
  "name": "NotInitializing",
127
127
  "type": "error"
128
128
  },
129
+ {
130
+ "inputs": [
131
+ {
132
+ "internalType": "address",
133
+ "name": "operator_",
134
+ "type": "address"
135
+ }
136
+ ],
137
+ "name": "OPP_ChunkBufferMissing",
138
+ "type": "error"
139
+ },
140
+ {
141
+ "inputs": [
142
+ {
143
+ "internalType": "uint32",
144
+ "name": "epochIndex",
145
+ "type": "uint32"
146
+ }
147
+ ],
148
+ "name": "OPP_ChunkBufferShapeMismatch",
149
+ "type": "error"
150
+ },
151
+ {
152
+ "inputs": [
153
+ {
154
+ "internalType": "uint16",
155
+ "name": "chunkIndex",
156
+ "type": "uint16"
157
+ },
158
+ {
159
+ "internalType": "uint16",
160
+ "name": "totalChunks",
161
+ "type": "uint16"
162
+ }
163
+ ],
164
+ "name": "OPP_ChunkIndexOutOfRange",
165
+ "type": "error"
166
+ },
167
+ {
168
+ "inputs": [
169
+ {
170
+ "internalType": "uint16",
171
+ "name": "expected",
172
+ "type": "uint16"
173
+ },
174
+ {
175
+ "internalType": "uint16",
176
+ "name": "actual",
177
+ "type": "uint16"
178
+ }
179
+ ],
180
+ "name": "OPP_ChunkOutOfOrder",
181
+ "type": "error"
182
+ },
183
+ {
184
+ "inputs": [
185
+ {
186
+ "internalType": "uint16",
187
+ "name": "chunkIndex",
188
+ "type": "uint16"
189
+ },
190
+ {
191
+ "internalType": "uint256",
192
+ "name": "expected",
193
+ "type": "uint256"
194
+ },
195
+ {
196
+ "internalType": "uint256",
197
+ "name": "actual",
198
+ "type": "uint256"
199
+ }
200
+ ],
201
+ "name": "OPP_ChunkSizeMismatch",
202
+ "type": "error"
203
+ },
204
+ {
205
+ "inputs": [
206
+ {
207
+ "internalType": "uint32",
208
+ "name": "expected",
209
+ "type": "uint32"
210
+ },
211
+ {
212
+ "internalType": "uint32",
213
+ "name": "actual",
214
+ "type": "uint32"
215
+ }
216
+ ],
217
+ "name": "OPP_EnvelopeEpochMismatch",
218
+ "type": "error"
219
+ },
129
220
  {
130
221
  "inputs": [
131
222
  {
@@ -201,6 +292,22 @@
201
292
  "name": "OPP_InsufficientSignatureWeight",
202
293
  "type": "error"
203
294
  },
295
+ {
296
+ "inputs": [
297
+ {
298
+ "internalType": "uint16",
299
+ "name": "expected",
300
+ "type": "uint16"
301
+ },
302
+ {
303
+ "internalType": "uint16",
304
+ "name": "actual",
305
+ "type": "uint16"
306
+ }
307
+ ],
308
+ "name": "OPP_InvalidChunkCount",
309
+ "type": "error"
310
+ },
204
311
  {
205
312
  "inputs": [
206
313
  {
@@ -243,6 +350,17 @@
243
350
  "name": "OPP_NoAttestationsSent",
244
351
  "type": "error"
245
352
  },
353
+ {
354
+ "inputs": [
355
+ {
356
+ "internalType": "address",
357
+ "name": "operator_",
358
+ "type": "address"
359
+ }
360
+ ],
361
+ "name": "OPP_NoChunkSlot",
362
+ "type": "error"
363
+ },
246
364
  {
247
365
  "inputs": [],
248
366
  "name": "OPP_NoPendingAttestations",
@@ -312,6 +430,38 @@
312
430
  "name": "OPP_OperatorAlreadyDelivered",
313
431
  "type": "error"
314
432
  },
433
+ {
434
+ "inputs": [
435
+ {
436
+ "internalType": "uint256",
437
+ "name": "projectedEnvelopeBytes",
438
+ "type": "uint256"
439
+ },
440
+ {
441
+ "internalType": "uint256",
442
+ "name": "maxEnvelopeBytes",
443
+ "type": "uint256"
444
+ }
445
+ ],
446
+ "name": "OPP_OutboundMessageUnpackable",
447
+ "type": "error"
448
+ },
449
+ {
450
+ "inputs": [
451
+ {
452
+ "internalType": "uint256",
453
+ "name": "projectedBytes",
454
+ "type": "uint256"
455
+ },
456
+ {
457
+ "internalType": "uint256",
458
+ "name": "maxBytes",
459
+ "type": "uint256"
460
+ }
461
+ ],
462
+ "name": "OPP_OutboundQueueFull",
463
+ "type": "error"
464
+ },
315
465
  {
316
466
  "inputs": [
317
467
  {