@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.
@@ -0,0 +1,299 @@
1
+ {
2
+ "contractName": "IERC1155",
3
+ "sourceName": "@openzeppelin/contracts/token/ERC1155/IERC1155.sol",
4
+ "abi": [
5
+ {
6
+ "anonymous": false,
7
+ "inputs": [
8
+ {
9
+ "indexed": true,
10
+ "internalType": "address",
11
+ "name": "account",
12
+ "type": "address"
13
+ },
14
+ {
15
+ "indexed": true,
16
+ "internalType": "address",
17
+ "name": "operator",
18
+ "type": "address"
19
+ },
20
+ {
21
+ "indexed": false,
22
+ "internalType": "bool",
23
+ "name": "approved",
24
+ "type": "bool"
25
+ }
26
+ ],
27
+ "name": "ApprovalForAll",
28
+ "type": "event"
29
+ },
30
+ {
31
+ "anonymous": false,
32
+ "inputs": [
33
+ {
34
+ "indexed": true,
35
+ "internalType": "address",
36
+ "name": "operator",
37
+ "type": "address"
38
+ },
39
+ {
40
+ "indexed": true,
41
+ "internalType": "address",
42
+ "name": "from",
43
+ "type": "address"
44
+ },
45
+ {
46
+ "indexed": true,
47
+ "internalType": "address",
48
+ "name": "to",
49
+ "type": "address"
50
+ },
51
+ {
52
+ "indexed": false,
53
+ "internalType": "uint256[]",
54
+ "name": "ids",
55
+ "type": "uint256[]"
56
+ },
57
+ {
58
+ "indexed": false,
59
+ "internalType": "uint256[]",
60
+ "name": "values",
61
+ "type": "uint256[]"
62
+ }
63
+ ],
64
+ "name": "TransferBatch",
65
+ "type": "event"
66
+ },
67
+ {
68
+ "anonymous": false,
69
+ "inputs": [
70
+ {
71
+ "indexed": true,
72
+ "internalType": "address",
73
+ "name": "operator",
74
+ "type": "address"
75
+ },
76
+ {
77
+ "indexed": true,
78
+ "internalType": "address",
79
+ "name": "from",
80
+ "type": "address"
81
+ },
82
+ {
83
+ "indexed": true,
84
+ "internalType": "address",
85
+ "name": "to",
86
+ "type": "address"
87
+ },
88
+ {
89
+ "indexed": false,
90
+ "internalType": "uint256",
91
+ "name": "id",
92
+ "type": "uint256"
93
+ },
94
+ {
95
+ "indexed": false,
96
+ "internalType": "uint256",
97
+ "name": "value",
98
+ "type": "uint256"
99
+ }
100
+ ],
101
+ "name": "TransferSingle",
102
+ "type": "event"
103
+ },
104
+ {
105
+ "anonymous": false,
106
+ "inputs": [
107
+ {
108
+ "indexed": false,
109
+ "internalType": "string",
110
+ "name": "value",
111
+ "type": "string"
112
+ },
113
+ {
114
+ "indexed": true,
115
+ "internalType": "uint256",
116
+ "name": "id",
117
+ "type": "uint256"
118
+ }
119
+ ],
120
+ "name": "URI",
121
+ "type": "event"
122
+ },
123
+ {
124
+ "inputs": [
125
+ {
126
+ "internalType": "address",
127
+ "name": "account",
128
+ "type": "address"
129
+ },
130
+ {
131
+ "internalType": "uint256",
132
+ "name": "id",
133
+ "type": "uint256"
134
+ }
135
+ ],
136
+ "name": "balanceOf",
137
+ "outputs": [
138
+ {
139
+ "internalType": "uint256",
140
+ "name": "",
141
+ "type": "uint256"
142
+ }
143
+ ],
144
+ "stateMutability": "view",
145
+ "type": "function"
146
+ },
147
+ {
148
+ "inputs": [
149
+ {
150
+ "internalType": "address[]",
151
+ "name": "accounts",
152
+ "type": "address[]"
153
+ },
154
+ {
155
+ "internalType": "uint256[]",
156
+ "name": "ids",
157
+ "type": "uint256[]"
158
+ }
159
+ ],
160
+ "name": "balanceOfBatch",
161
+ "outputs": [
162
+ {
163
+ "internalType": "uint256[]",
164
+ "name": "",
165
+ "type": "uint256[]"
166
+ }
167
+ ],
168
+ "stateMutability": "view",
169
+ "type": "function"
170
+ },
171
+ {
172
+ "inputs": [
173
+ {
174
+ "internalType": "address",
175
+ "name": "account",
176
+ "type": "address"
177
+ },
178
+ {
179
+ "internalType": "address",
180
+ "name": "operator",
181
+ "type": "address"
182
+ }
183
+ ],
184
+ "name": "isApprovedForAll",
185
+ "outputs": [
186
+ {
187
+ "internalType": "bool",
188
+ "name": "",
189
+ "type": "bool"
190
+ }
191
+ ],
192
+ "stateMutability": "view",
193
+ "type": "function"
194
+ },
195
+ {
196
+ "inputs": [
197
+ {
198
+ "internalType": "address",
199
+ "name": "from",
200
+ "type": "address"
201
+ },
202
+ {
203
+ "internalType": "address",
204
+ "name": "to",
205
+ "type": "address"
206
+ },
207
+ {
208
+ "internalType": "uint256[]",
209
+ "name": "ids",
210
+ "type": "uint256[]"
211
+ },
212
+ {
213
+ "internalType": "uint256[]",
214
+ "name": "values",
215
+ "type": "uint256[]"
216
+ },
217
+ {
218
+ "internalType": "bytes",
219
+ "name": "data",
220
+ "type": "bytes"
221
+ }
222
+ ],
223
+ "name": "safeBatchTransferFrom",
224
+ "outputs": [],
225
+ "stateMutability": "nonpayable",
226
+ "type": "function"
227
+ },
228
+ {
229
+ "inputs": [
230
+ {
231
+ "internalType": "address",
232
+ "name": "from",
233
+ "type": "address"
234
+ },
235
+ {
236
+ "internalType": "address",
237
+ "name": "to",
238
+ "type": "address"
239
+ },
240
+ {
241
+ "internalType": "uint256",
242
+ "name": "id",
243
+ "type": "uint256"
244
+ },
245
+ {
246
+ "internalType": "uint256",
247
+ "name": "value",
248
+ "type": "uint256"
249
+ },
250
+ {
251
+ "internalType": "bytes",
252
+ "name": "data",
253
+ "type": "bytes"
254
+ }
255
+ ],
256
+ "name": "safeTransferFrom",
257
+ "outputs": [],
258
+ "stateMutability": "nonpayable",
259
+ "type": "function"
260
+ },
261
+ {
262
+ "inputs": [
263
+ {
264
+ "internalType": "address",
265
+ "name": "operator",
266
+ "type": "address"
267
+ },
268
+ {
269
+ "internalType": "bool",
270
+ "name": "approved",
271
+ "type": "bool"
272
+ }
273
+ ],
274
+ "name": "setApprovalForAll",
275
+ "outputs": [],
276
+ "stateMutability": "nonpayable",
277
+ "type": "function"
278
+ },
279
+ {
280
+ "inputs": [
281
+ {
282
+ "internalType": "bytes4",
283
+ "name": "interfaceId",
284
+ "type": "bytes4"
285
+ }
286
+ ],
287
+ "name": "supportsInterface",
288
+ "outputs": [
289
+ {
290
+ "internalType": "bool",
291
+ "name": "",
292
+ "type": "bool"
293
+ }
294
+ ],
295
+ "stateMutability": "view",
296
+ "type": "function"
297
+ }
298
+ ]
299
+ }
package/abis/OPP.json CHANGED
@@ -82,6 +82,97 @@
82
82
  "name": "NotInitializing",
83
83
  "type": "error"
84
84
  },
85
+ {
86
+ "inputs": [
87
+ {
88
+ "internalType": "address",
89
+ "name": "operator_",
90
+ "type": "address"
91
+ }
92
+ ],
93
+ "name": "OPP_ChunkBufferMissing",
94
+ "type": "error"
95
+ },
96
+ {
97
+ "inputs": [
98
+ {
99
+ "internalType": "uint32",
100
+ "name": "epochIndex",
101
+ "type": "uint32"
102
+ }
103
+ ],
104
+ "name": "OPP_ChunkBufferShapeMismatch",
105
+ "type": "error"
106
+ },
107
+ {
108
+ "inputs": [
109
+ {
110
+ "internalType": "uint16",
111
+ "name": "chunkIndex",
112
+ "type": "uint16"
113
+ },
114
+ {
115
+ "internalType": "uint16",
116
+ "name": "totalChunks",
117
+ "type": "uint16"
118
+ }
119
+ ],
120
+ "name": "OPP_ChunkIndexOutOfRange",
121
+ "type": "error"
122
+ },
123
+ {
124
+ "inputs": [
125
+ {
126
+ "internalType": "uint16",
127
+ "name": "expected",
128
+ "type": "uint16"
129
+ },
130
+ {
131
+ "internalType": "uint16",
132
+ "name": "actual",
133
+ "type": "uint16"
134
+ }
135
+ ],
136
+ "name": "OPP_ChunkOutOfOrder",
137
+ "type": "error"
138
+ },
139
+ {
140
+ "inputs": [
141
+ {
142
+ "internalType": "uint16",
143
+ "name": "chunkIndex",
144
+ "type": "uint16"
145
+ },
146
+ {
147
+ "internalType": "uint256",
148
+ "name": "expected",
149
+ "type": "uint256"
150
+ },
151
+ {
152
+ "internalType": "uint256",
153
+ "name": "actual",
154
+ "type": "uint256"
155
+ }
156
+ ],
157
+ "name": "OPP_ChunkSizeMismatch",
158
+ "type": "error"
159
+ },
160
+ {
161
+ "inputs": [
162
+ {
163
+ "internalType": "uint32",
164
+ "name": "expected",
165
+ "type": "uint32"
166
+ },
167
+ {
168
+ "internalType": "uint32",
169
+ "name": "actual",
170
+ "type": "uint32"
171
+ }
172
+ ],
173
+ "name": "OPP_EnvelopeEpochMismatch",
174
+ "type": "error"
175
+ },
85
176
  {
86
177
  "inputs": [
87
178
  {
@@ -157,6 +248,22 @@
157
248
  "name": "OPP_InsufficientSignatureWeight",
158
249
  "type": "error"
159
250
  },
251
+ {
252
+ "inputs": [
253
+ {
254
+ "internalType": "uint16",
255
+ "name": "expected",
256
+ "type": "uint16"
257
+ },
258
+ {
259
+ "internalType": "uint16",
260
+ "name": "actual",
261
+ "type": "uint16"
262
+ }
263
+ ],
264
+ "name": "OPP_InvalidChunkCount",
265
+ "type": "error"
266
+ },
160
267
  {
161
268
  "inputs": [
162
269
  {
@@ -199,6 +306,17 @@
199
306
  "name": "OPP_NoAttestationsSent",
200
307
  "type": "error"
201
308
  },
309
+ {
310
+ "inputs": [
311
+ {
312
+ "internalType": "address",
313
+ "name": "operator_",
314
+ "type": "address"
315
+ }
316
+ ],
317
+ "name": "OPP_NoChunkSlot",
318
+ "type": "error"
319
+ },
202
320
  {
203
321
  "inputs": [],
204
322
  "name": "OPP_NoPendingAttestations",
@@ -268,6 +386,38 @@
268
386
  "name": "OPP_OperatorAlreadyDelivered",
269
387
  "type": "error"
270
388
  },
389
+ {
390
+ "inputs": [
391
+ {
392
+ "internalType": "uint256",
393
+ "name": "projectedEnvelopeBytes",
394
+ "type": "uint256"
395
+ },
396
+ {
397
+ "internalType": "uint256",
398
+ "name": "maxEnvelopeBytes",
399
+ "type": "uint256"
400
+ }
401
+ ],
402
+ "name": "OPP_OutboundMessageUnpackable",
403
+ "type": "error"
404
+ },
405
+ {
406
+ "inputs": [
407
+ {
408
+ "internalType": "uint256",
409
+ "name": "projectedBytes",
410
+ "type": "uint256"
411
+ },
412
+ {
413
+ "internalType": "uint256",
414
+ "name": "maxBytes",
415
+ "type": "uint256"
416
+ }
417
+ ],
418
+ "name": "OPP_OutboundQueueFull",
419
+ "type": "error"
420
+ },
271
421
  {
272
422
  "inputs": [
273
423
  {
@@ -437,6 +587,32 @@
437
587
  "name": "Upgraded",
438
588
  "type": "event"
439
589
  },
590
+ {
591
+ "inputs": [],
592
+ "name": "ENVELOPE_BASE_BYTES",
593
+ "outputs": [
594
+ {
595
+ "internalType": "uint256",
596
+ "name": "",
597
+ "type": "uint256"
598
+ }
599
+ ],
600
+ "stateMutability": "view",
601
+ "type": "function"
602
+ },
603
+ {
604
+ "inputs": [],
605
+ "name": "MAX_CHUNK_BYTES",
606
+ "outputs": [
607
+ {
608
+ "internalType": "uint32",
609
+ "name": "",
610
+ "type": "uint32"
611
+ }
612
+ ],
613
+ "stateMutability": "view",
614
+ "type": "function"
615
+ },
440
616
  {
441
617
  "inputs": [],
442
618
  "name": "MAX_ENVELOPE_BYTES",
@@ -450,6 +626,32 @@
450
626
  "stateMutability": "view",
451
627
  "type": "function"
452
628
  },
629
+ {
630
+ "inputs": [],
631
+ "name": "MESSAGE_ESTIMATE_OVERHEAD_BYTES",
632
+ "outputs": [
633
+ {
634
+ "internalType": "uint256",
635
+ "name": "",
636
+ "type": "uint256"
637
+ }
638
+ ],
639
+ "stateMutability": "view",
640
+ "type": "function"
641
+ },
642
+ {
643
+ "inputs": [],
644
+ "name": "OUTBOUND_WORD_COUNT",
645
+ "outputs": [
646
+ {
647
+ "internalType": "uint256",
648
+ "name": "",
649
+ "type": "uint256"
650
+ }
651
+ ],
652
+ "stateMutability": "view",
653
+ "type": "function"
654
+ },
453
655
  {
454
656
  "inputs": [],
455
657
  "name": "UPGRADE_INTERFACE_VERSION",
@@ -651,6 +853,13 @@
651
853
  "stateMutability": "nonpayable",
652
854
  "type": "function"
653
855
  },
856
+ {
857
+ "inputs": [],
858
+ "name": "initializeOutboundQueueBytes",
859
+ "outputs": [],
860
+ "stateMutability": "nonpayable",
861
+ "type": "function"
862
+ },
654
863
  {
655
864
  "inputs": [],
656
865
  "name": "isConsumingScheduledOp",
@@ -692,12 +901,12 @@
692
901
  },
693
902
  {
694
903
  "inputs": [],
695
- "name": "latestOutboundEnvelope",
904
+ "name": "latestOutboundEpoch",
696
905
  "outputs": [
697
906
  {
698
- "internalType": "bytes",
907
+ "internalType": "uint32",
699
908
  "name": "",
700
- "type": "bytes"
909
+ "type": "uint32"
701
910
  }
702
911
  ],
703
912
  "stateMutability": "view",
@@ -705,12 +914,12 @@
705
914
  },
706
915
  {
707
916
  "inputs": [],
708
- "name": "latestOutboundEpoch",
917
+ "name": "oppInboundAddress",
709
918
  "outputs": [
710
919
  {
711
- "internalType": "uint32",
920
+ "internalType": "address",
712
921
  "name": "",
713
- "type": "uint32"
922
+ "type": "address"
714
923
  }
715
924
  ],
716
925
  "stateMutability": "view",
@@ -745,6 +954,19 @@
745
954
  "stateMutability": "view",
746
955
  "type": "function"
747
956
  },
957
+ {
958
+ "inputs": [],
959
+ "name": "outboundLen",
960
+ "outputs": [
961
+ {
962
+ "internalType": "uint32",
963
+ "name": "",
964
+ "type": "uint32"
965
+ }
966
+ ],
967
+ "stateMutability": "view",
968
+ "type": "function"
969
+ },
748
970
  {
749
971
  "inputs": [],
750
972
  "name": "outboundRetentionConfig",
@@ -771,6 +993,24 @@
771
993
  "stateMutability": "view",
772
994
  "type": "function"
773
995
  },
996
+ {
997
+ "inputs": [
998
+ {
999
+ "internalType": "uint256",
1000
+ "name": "fromWord",
1001
+ "type": "uint256"
1002
+ },
1003
+ {
1004
+ "internalType": "uint256",
1005
+ "name": "toWord",
1006
+ "type": "uint256"
1007
+ }
1008
+ ],
1009
+ "name": "prewarmOutbound",
1010
+ "outputs": [],
1011
+ "stateMutability": "nonpayable",
1012
+ "type": "function"
1013
+ },
774
1014
  {
775
1015
  "inputs": [],
776
1016
  "name": "proxiableUUID",
@@ -797,6 +1037,19 @@
797
1037
  "stateMutability": "nonpayable",
798
1038
  "type": "function"
799
1039
  },
1040
+ {
1041
+ "inputs": [],
1042
+ "name": "queuedEstimatedBytes",
1043
+ "outputs": [
1044
+ {
1045
+ "internalType": "uint256",
1046
+ "name": "",
1047
+ "type": "uint256"
1048
+ }
1049
+ ],
1050
+ "stateMutability": "view",
1051
+ "type": "function"
1052
+ },
800
1053
  {
801
1054
  "inputs": [],
802
1055
  "name": "queuedMessageCount",
@@ -1048,6 +1301,32 @@
1048
1301
  "stateMutability": "nonpayable",
1049
1302
  "type": "function"
1050
1303
  },
1304
+ {
1305
+ "inputs": [
1306
+ {
1307
+ "internalType": "bool",
1308
+ "name": "active",
1309
+ "type": "bool"
1310
+ }
1311
+ ],
1312
+ "name": "setInboundDispatch",
1313
+ "outputs": [],
1314
+ "stateMutability": "nonpayable",
1315
+ "type": "function"
1316
+ },
1317
+ {
1318
+ "inputs": [
1319
+ {
1320
+ "internalType": "address",
1321
+ "name": "oppInbound_",
1322
+ "type": "address"
1323
+ }
1324
+ ],
1325
+ "name": "setOPPInbound",
1326
+ "outputs": [],
1327
+ "stateMutability": "nonpayable",
1328
+ "type": "function"
1329
+ },
1051
1330
  {
1052
1331
  "inputs": [
1053
1332
  {