@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.
@@ -103,6 +103,97 @@
103
103
  "name": "NotInitializing",
104
104
  "type": "error"
105
105
  },
106
+ {
107
+ "inputs": [
108
+ {
109
+ "internalType": "address",
110
+ "name": "operator_",
111
+ "type": "address"
112
+ }
113
+ ],
114
+ "name": "OPP_ChunkBufferMissing",
115
+ "type": "error"
116
+ },
117
+ {
118
+ "inputs": [
119
+ {
120
+ "internalType": "uint32",
121
+ "name": "epochIndex",
122
+ "type": "uint32"
123
+ }
124
+ ],
125
+ "name": "OPP_ChunkBufferShapeMismatch",
126
+ "type": "error"
127
+ },
128
+ {
129
+ "inputs": [
130
+ {
131
+ "internalType": "uint16",
132
+ "name": "chunkIndex",
133
+ "type": "uint16"
134
+ },
135
+ {
136
+ "internalType": "uint16",
137
+ "name": "totalChunks",
138
+ "type": "uint16"
139
+ }
140
+ ],
141
+ "name": "OPP_ChunkIndexOutOfRange",
142
+ "type": "error"
143
+ },
144
+ {
145
+ "inputs": [
146
+ {
147
+ "internalType": "uint16",
148
+ "name": "expected",
149
+ "type": "uint16"
150
+ },
151
+ {
152
+ "internalType": "uint16",
153
+ "name": "actual",
154
+ "type": "uint16"
155
+ }
156
+ ],
157
+ "name": "OPP_ChunkOutOfOrder",
158
+ "type": "error"
159
+ },
160
+ {
161
+ "inputs": [
162
+ {
163
+ "internalType": "uint16",
164
+ "name": "chunkIndex",
165
+ "type": "uint16"
166
+ },
167
+ {
168
+ "internalType": "uint256",
169
+ "name": "expected",
170
+ "type": "uint256"
171
+ },
172
+ {
173
+ "internalType": "uint256",
174
+ "name": "actual",
175
+ "type": "uint256"
176
+ }
177
+ ],
178
+ "name": "OPP_ChunkSizeMismatch",
179
+ "type": "error"
180
+ },
181
+ {
182
+ "inputs": [
183
+ {
184
+ "internalType": "uint32",
185
+ "name": "expected",
186
+ "type": "uint32"
187
+ },
188
+ {
189
+ "internalType": "uint32",
190
+ "name": "actual",
191
+ "type": "uint32"
192
+ }
193
+ ],
194
+ "name": "OPP_EnvelopeEpochMismatch",
195
+ "type": "error"
196
+ },
106
197
  {
107
198
  "inputs": [
108
199
  {
@@ -178,6 +269,22 @@
178
269
  "name": "OPP_InsufficientSignatureWeight",
179
270
  "type": "error"
180
271
  },
272
+ {
273
+ "inputs": [
274
+ {
275
+ "internalType": "uint16",
276
+ "name": "expected",
277
+ "type": "uint16"
278
+ },
279
+ {
280
+ "internalType": "uint16",
281
+ "name": "actual",
282
+ "type": "uint16"
283
+ }
284
+ ],
285
+ "name": "OPP_InvalidChunkCount",
286
+ "type": "error"
287
+ },
181
288
  {
182
289
  "inputs": [
183
290
  {
@@ -220,6 +327,17 @@
220
327
  "name": "OPP_NoAttestationsSent",
221
328
  "type": "error"
222
329
  },
330
+ {
331
+ "inputs": [
332
+ {
333
+ "internalType": "address",
334
+ "name": "operator_",
335
+ "type": "address"
336
+ }
337
+ ],
338
+ "name": "OPP_NoChunkSlot",
339
+ "type": "error"
340
+ },
223
341
  {
224
342
  "inputs": [],
225
343
  "name": "OPP_NoPendingAttestations",
@@ -289,6 +407,38 @@
289
407
  "name": "OPP_OperatorAlreadyDelivered",
290
408
  "type": "error"
291
409
  },
410
+ {
411
+ "inputs": [
412
+ {
413
+ "internalType": "uint256",
414
+ "name": "projectedEnvelopeBytes",
415
+ "type": "uint256"
416
+ },
417
+ {
418
+ "internalType": "uint256",
419
+ "name": "maxEnvelopeBytes",
420
+ "type": "uint256"
421
+ }
422
+ ],
423
+ "name": "OPP_OutboundMessageUnpackable",
424
+ "type": "error"
425
+ },
426
+ {
427
+ "inputs": [
428
+ {
429
+ "internalType": "uint256",
430
+ "name": "projectedBytes",
431
+ "type": "uint256"
432
+ },
433
+ {
434
+ "internalType": "uint256",
435
+ "name": "maxBytes",
436
+ "type": "uint256"
437
+ }
438
+ ],
439
+ "name": "OPP_OutboundQueueFull",
440
+ "type": "error"
441
+ },
292
442
  {
293
443
  "inputs": [
294
444
  {
@@ -1315,6 +1465,12 @@
1315
1465
  "name": "amount",
1316
1466
  "type": "uint256"
1317
1467
  },
1468
+ {
1469
+ "indexed": false,
1470
+ "internalType": "string",
1471
+ "name": "amountUnit",
1472
+ "type": "string"
1473
+ },
1318
1474
  {
1319
1475
  "indexed": false,
1320
1476
  "internalType": "bytes32",
package/manifest.json CHANGED
@@ -1,104 +1,110 @@
1
1
  {
2
- "schemaVersion": 1,
2
+ "schemaVersion": 2,
3
3
  "package": {
4
4
  "name": "@wireio/outpost-ethereum-artifacts",
5
- "version": "0.1.0"
5
+ "version": "0.2.0"
6
6
  },
7
7
  "source": {
8
8
  "repository": "Wire-Network/wire-ethereum",
9
- "revision": "f658dc09714d243938b35b66d9292102fef31386"
9
+ "revision": "ddebf0d7737952e8684062de1fbaf8ee09b0de96"
10
10
  },
11
11
  "contracts": {
12
12
  "OPP": {
13
13
  "path": "abis/OPP.json",
14
- "abiSha256": "48cbda4ded0192edad3ed440105a3ab6c28f46fdcc29a937ccbb5a0e97465e8c",
14
+ "abiSha256": "aab252fdf960c51c7cbed8e7a2204f2deb50c521840e3e6c07d3f8d038ee56c5",
15
15
  "runtimeBytecodePath": "runtime/OPP.bin",
16
- "runtimeBytecodeLength": 17220,
17
- "runtimeBytecodeSha256": "508a9571acccace916d810b6cd48250c56da546375275a31a58e0898849b6a42",
16
+ "runtimeBytecodeLength": 18337,
17
+ "runtimeBytecodeSha256": "f97e68467f9ec60a83dad8d94bd4e3b4ae30b18d39529935fb25cb8e6fdc9307",
18
18
  "runtimeLinkReferences": [
19
19
  {
20
20
  "sourceName": "contracts/outpost/OPPCommon.sol",
21
21
  "libraryName": "OPPCommon",
22
- "start": 5969,
22
+ "start": 6684,
23
23
  "length": 20
24
24
  },
25
25
  {
26
26
  "sourceName": "contracts/outpost/OPPCommon.sol",
27
27
  "libraryName": "OPPCommon",
28
- "start": 6285,
28
+ "start": 7212,
29
29
  "length": 20
30
30
  },
31
31
  {
32
32
  "sourceName": "contracts/outpost/OPPCommon.sol",
33
33
  "libraryName": "OPPCommon",
34
- "start": 9839,
34
+ "start": 10754,
35
35
  "length": 20
36
36
  },
37
37
  {
38
38
  "sourceName": "contracts/outpost/OPPCommon.sol",
39
39
  "libraryName": "OPPCommon",
40
- "start": 11045,
40
+ "start": 12052,
41
41
  "length": 20
42
42
  }
43
43
  ]
44
44
  },
45
45
  "OPPInbound": {
46
46
  "path": "abis/OPPInbound.json",
47
- "abiSha256": "6f416c54362ba14af5efcc611f685ed5442c16ff0d4a497836577fc9264452ff",
47
+ "abiSha256": "3fa25f8f2c3287a22d444b88f0907369c47c11d279623494c5f852a20b4f477a",
48
48
  "runtimeBytecodePath": "runtime/OPPInbound.bin",
49
- "runtimeBytecodeLength": 15273,
50
- "runtimeBytecodeSha256": "cb111bac620da08d383bbcc142cc718d57c1bf202724c69a79e58e3fb87677d9",
49
+ "runtimeBytecodeLength": 19155,
50
+ "runtimeBytecodeSha256": "20e0ce0a983f77cb16237388873d650a2b775200d99998a89b468984411fa3a3",
51
51
  "runtimeLinkReferences": [
52
+ {
53
+ "sourceName": "contracts/outpost/OPPInboundLib.sol",
54
+ "libraryName": "OPPInboundLib",
55
+ "start": 7986,
56
+ "length": 20
57
+ },
52
58
  {
53
59
  "sourceName": "contracts/outpost/OPPCommon.sol",
54
60
  "libraryName": "OPPCommon",
55
- "start": 7112,
61
+ "start": 11514,
56
62
  "length": 20
57
63
  },
58
64
  {
59
65
  "sourceName": "contracts/outpost/OPPCommon.sol",
60
66
  "libraryName": "OPPCommon",
61
- "start": 7646,
67
+ "start": 12051,
62
68
  "length": 20
63
69
  },
64
70
  {
65
71
  "sourceName": "contracts/outpost/OPPInboundLib.sol",
66
72
  "libraryName": "OPPInboundLib",
67
- "start": 12230,
73
+ "start": 16277,
68
74
  "length": 20
69
75
  },
70
76
  {
71
77
  "sourceName": "contracts/outpost/OPPInboundLib.sol",
72
78
  "libraryName": "OPPInboundLib",
73
- "start": 12453,
79
+ "start": 16500,
74
80
  "length": 20
75
81
  },
76
82
  {
77
83
  "sourceName": "contracts/outpost/OPPInboundLib.sol",
78
84
  "libraryName": "OPPInboundLib",
79
- "start": 12540,
85
+ "start": 16587,
80
86
  "length": 20
81
87
  },
82
88
  {
83
89
  "sourceName": "contracts/outpost/OPPInboundLib.sol",
84
90
  "libraryName": "OPPInboundLib",
85
- "start": 13882,
91
+ "start": 17832,
86
92
  "length": 20
87
93
  },
88
94
  {
89
95
  "sourceName": "contracts/outpost/OPPInboundLib.sol",
90
96
  "libraryName": "OPPInboundLib",
91
- "start": 14120,
97
+ "start": 18070,
92
98
  "length": 20
93
99
  }
94
100
  ]
95
101
  },
96
102
  "OperatorRegistry": {
97
103
  "path": "abis/OperatorRegistry.json",
98
- "abiSha256": "487149e4c818323d3ec3b82fea7468c5ef43c6a1b91a47bc76d4210115e1a217",
104
+ "abiSha256": "cd938c68f652f42de5e31c62e062c99ef18f5f0fcbbe3136991c7752fb4d9e5e",
99
105
  "runtimeBytecodePath": "runtime/OperatorRegistry.bin",
100
106
  "runtimeBytecodeLength": 20293,
101
- "runtimeBytecodeSha256": "6fa405536d728d632c0559d77471bc4afd8717b9487aceb3fd93e47ccbf56a3e",
107
+ "runtimeBytecodeSha256": "bb2804e96b936003ea538aea4cd1d81546fa0c46b11d64aa02c1807058641d1c",
102
108
  "runtimeLinkReferences": [
103
109
  {
104
110
  "sourceName": "contracts/common/Secp256k1.sol",
@@ -128,90 +134,104 @@
128
134
  },
129
135
  "ReserveManager": {
130
136
  "path": "abis/ReserveManager.json",
131
- "abiSha256": "dfc54f9252db92eb05d89c63b6fe99f2463bba2bb61288d2cca5f55e720b123a",
137
+ "abiSha256": "679e23b37f9a42a96dd7bd9fbd58c793586813dff86fe0612de02f7843feb4b8",
132
138
  "runtimeBytecodePath": "runtime/ReserveManager.bin",
133
- "runtimeBytecodeLength": 23648,
134
- "runtimeBytecodeSha256": "574ec74c05eb14943032bfdf20c6f88c49920142511a3bbe05e1d9cec1334f94",
139
+ "runtimeBytecodeLength": 23713,
140
+ "runtimeBytecodeSha256": "ab06ccba226c740b256445dd16f62e90a48b9973532a20313172d79584257d9f",
135
141
  "runtimeLinkReferences": [
136
142
  {
137
143
  "sourceName": "contracts/outpost/PrecisionLib.sol",
138
144
  "libraryName": "PrecisionLib",
139
- "start": 3667,
145
+ "start": 3669,
140
146
  "length": 20
141
147
  },
142
148
  {
143
149
  "sourceName": "contracts/outpost/ReserveManagerLib.sol",
144
150
  "libraryName": "ReserveManagerLib",
145
- "start": 8702,
151
+ "start": 8713,
146
152
  "length": 20
147
153
  },
148
154
  {
149
155
  "sourceName": "contracts/outpost/ReserveManagerLib.sol",
150
156
  "libraryName": "ReserveManagerLib",
151
- "start": 11292,
157
+ "start": 11357,
152
158
  "length": 20
153
159
  },
154
160
  {
155
161
  "sourceName": "contracts/outpost/ReserveManagerLib.sol",
156
162
  "libraryName": "ReserveManagerLib",
157
- "start": 11493,
163
+ "start": 11558,
158
164
  "length": 20
159
165
  },
160
166
  {
161
167
  "sourceName": "contracts/outpost/ReserveManagerLib.sol",
162
168
  "libraryName": "ReserveManagerLib",
163
- "start": 12077,
169
+ "start": 12142,
164
170
  "length": 20
165
171
  },
166
172
  {
167
173
  "sourceName": "contracts/outpost/ReserveManagerLib.sol",
168
174
  "libraryName": "ReserveManagerLib",
169
- "start": 12256,
175
+ "start": 12321,
170
176
  "length": 20
171
177
  },
172
178
  {
173
179
  "sourceName": "contracts/outpost/PrecisionLib.sol",
174
180
  "libraryName": "PrecisionLib",
175
- "start": 13922,
181
+ "start": 13987,
176
182
  "length": 20
177
183
  },
178
184
  {
179
185
  "sourceName": "contracts/outpost/ReserveManagerLib.sol",
180
186
  "libraryName": "ReserveManagerLib",
181
- "start": 14200,
187
+ "start": 14265,
182
188
  "length": 20
183
189
  },
184
190
  {
185
191
  "sourceName": "contracts/outpost/PrecisionLib.sol",
186
192
  "libraryName": "PrecisionLib",
187
- "start": 15459,
193
+ "start": 15524,
188
194
  "length": 20
189
195
  },
190
196
  {
191
197
  "sourceName": "contracts/outpost/PrecisionLib.sol",
192
198
  "libraryName": "PrecisionLib",
193
- "start": 17537,
199
+ "start": 17602,
194
200
  "length": 20
195
201
  },
196
202
  {
197
203
  "sourceName": "contracts/outpost/ReserveManagerLib.sol",
198
204
  "libraryName": "ReserveManagerLib",
199
- "start": 17597,
205
+ "start": 17662,
200
206
  "length": 20
201
207
  },
202
208
  {
203
209
  "sourceName": "contracts/outpost/PrecisionLib.sol",
204
210
  "libraryName": "PrecisionLib",
205
- "start": 19742,
211
+ "start": 19807,
206
212
  "length": 20
207
213
  },
208
214
  {
209
215
  "sourceName": "contracts/outpost/ReserveManagerLib.sol",
210
216
  "libraryName": "ReserveManagerLib",
211
- "start": 19815,
217
+ "start": 19880,
212
218
  "length": 20
213
219
  }
214
220
  ]
221
+ },
222
+ "BAR": {
223
+ "path": "abis/BAR.json",
224
+ "abiSha256": "e961d68f90cbe45f8a6749031f944b5996709d83d49f520dbdd91ae35dab79d0",
225
+ "runtimeBytecodePath": "runtime/BAR.bin",
226
+ "runtimeBytecodeLength": 13414,
227
+ "runtimeBytecodeSha256": "3a25dc7f83dad885b2c441dd98db6b416ce910b19a8a0182b29f7299723071a4",
228
+ "runtimeLinkReferences": []
229
+ }
230
+ },
231
+ "interfaces": {
232
+ "IERC1155": {
233
+ "path": "abis/IERC1155.json",
234
+ "abiSha256": "c76df0cdfc93dcf2794dfc028b0997d4ed6e341c1c685c20e0e04101f032431b"
215
235
  }
216
236
  }
217
237
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wireio/outpost-ethereum-artifacts",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Canonical Ethereum outpost interfaces generated by wire-ethereum.",
5
5
  "type": "module",
6
6
  "files": [
Binary file
package/runtime/OPP.bin CHANGED
Binary file
Binary file
Binary file
Binary file