@wireio/outpost-ethereum-artifacts 0.4.3 → 0.4.4

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 (37) hide show
  1. package/abis/BAR.json +83 -434
  2. package/abis/OPP.json +122 -67
  3. package/abis/OPPInbound.json +226 -367
  4. package/abis/SyndicationPool.json +83 -83
  5. package/lib/cjs/Manifest.js +53 -47
  6. package/lib/cjs/contracts/BAR.d.ts +2 -180
  7. package/lib/cjs/contracts/OPP.d.ts +13 -1
  8. package/lib/cjs/contracts/OPPInbound.d.ts +118 -196
  9. package/lib/cjs/contracts/factories/BAR__factory.d.ts +69 -341
  10. package/lib/cjs/contracts/factories/BAR__factory.js +83 -434
  11. package/lib/cjs/contracts/factories/OPPInbound__factory.d.ts +188 -298
  12. package/lib/cjs/contracts/factories/OPPInbound__factory.js +226 -367
  13. package/lib/cjs/contracts/factories/OPP__factory.d.ts +99 -57
  14. package/lib/cjs/contracts/factories/OPP__factory.js +122 -67
  15. package/lib/cjs/contracts/factories/SyndicationPool__factory.d.ts +69 -69
  16. package/lib/cjs/contracts/factories/SyndicationPool__factory.js +83 -83
  17. package/lib/esm/Manifest.js +53 -47
  18. package/lib/esm/contracts/BAR.d.ts +2 -180
  19. package/lib/esm/contracts/OPP.d.ts +13 -1
  20. package/lib/esm/contracts/OPPInbound.d.ts +118 -196
  21. package/lib/esm/contracts/factories/BAR__factory.d.ts +69 -341
  22. package/lib/esm/contracts/factories/BAR__factory.js +83 -434
  23. package/lib/esm/contracts/factories/OPPInbound__factory.d.ts +188 -298
  24. package/lib/esm/contracts/factories/OPPInbound__factory.js +226 -367
  25. package/lib/esm/contracts/factories/OPP__factory.d.ts +99 -57
  26. package/lib/esm/contracts/factories/OPP__factory.js +122 -67
  27. package/lib/esm/contracts/factories/SyndicationPool__factory.d.ts +69 -69
  28. package/lib/esm/contracts/factories/SyndicationPool__factory.js +83 -83
  29. package/manifest.json +53 -47
  30. package/package.json +1 -1
  31. package/runtime/BAR.bin +0 -0
  32. package/runtime/DepositManager.bin +0 -0
  33. package/runtime/LiqEthToken.bin +0 -0
  34. package/runtime/OPP.bin +0 -0
  35. package/runtime/OPPInbound.bin +0 -0
  36. package/runtime/SyndicationPool.bin +0 -0
  37. package/runtime/WithdrawalQueue.bin +0 -0
@@ -98,100 +98,79 @@
98
98
  "name": "InvalidInitialization",
99
99
  "type": "error"
100
100
  },
101
- {
102
- "inputs": [],
103
- "name": "NotInitializing",
104
- "type": "error"
105
- },
106
101
  {
107
102
  "inputs": [
108
103
  {
109
- "internalType": "uint32",
110
- "name": "nextEpochIndex",
111
- "type": "uint32"
112
- },
113
- {
114
- "internalType": "uint32",
115
- "name": "deliveries",
116
- "type": "uint32"
104
+ "internalType": "uint256",
105
+ "name": "position",
106
+ "type": "uint256"
117
107
  }
118
108
  ],
119
- "name": "OPP_BootstrapWindowClosed",
109
+ "name": "MalformedEnvelope",
120
110
  "type": "error"
121
111
  },
122
112
  {
123
113
  "inputs": [
124
114
  {
125
- "internalType": "address",
126
- "name": "operator_",
127
- "type": "address"
115
+ "internalType": "uint256",
116
+ "name": "position",
117
+ "type": "uint256"
128
118
  }
129
119
  ],
130
- "name": "OPP_ChunkBufferMissing",
120
+ "name": "MalformedVarint",
131
121
  "type": "error"
132
122
  },
133
123
  {
134
- "inputs": [
135
- {
136
- "internalType": "uint32",
137
- "name": "epochIndex",
138
- "type": "uint32"
139
- }
140
- ],
141
- "name": "OPP_ChunkBufferShapeMismatch",
124
+ "inputs": [],
125
+ "name": "NotInitializing",
142
126
  "type": "error"
143
127
  },
144
128
  {
145
129
  "inputs": [
146
130
  {
147
- "internalType": "uint16",
148
- "name": "chunkIndex",
149
- "type": "uint16"
131
+ "internalType": "uint32",
132
+ "name": "nextEpochIndex",
133
+ "type": "uint32"
150
134
  },
151
135
  {
152
- "internalType": "uint16",
153
- "name": "totalChunks",
154
- "type": "uint16"
136
+ "internalType": "uint32",
137
+ "name": "deliveries",
138
+ "type": "uint32"
155
139
  }
156
140
  ],
157
- "name": "OPP_ChunkIndexOutOfRange",
141
+ "name": "OPP_BootstrapWindowClosed",
158
142
  "type": "error"
159
143
  },
160
144
  {
161
145
  "inputs": [
162
146
  {
163
- "internalType": "uint16",
147
+ "internalType": "bytes32",
164
148
  "name": "expected",
165
- "type": "uint16"
149
+ "type": "bytes32"
166
150
  },
167
151
  {
168
- "internalType": "uint16",
169
- "name": "actual",
170
- "type": "uint16"
152
+ "internalType": "bytes32",
153
+ "name": "found",
154
+ "type": "bytes32"
171
155
  }
172
156
  ],
173
- "name": "OPP_ChunkOutOfOrder",
157
+ "name": "OPP_DigestMismatch",
174
158
  "type": "error"
175
159
  },
176
160
  {
177
161
  "inputs": [
178
- {
179
- "internalType": "uint16",
180
- "name": "chunkIndex",
181
- "type": "uint16"
182
- },
183
162
  {
184
163
  "internalType": "uint256",
185
- "name": "expected",
164
+ "name": "gasLeft",
186
165
  "type": "uint256"
187
166
  },
188
167
  {
189
168
  "internalType": "uint256",
190
- "name": "actual",
169
+ "name": "floor",
191
170
  "type": "uint256"
192
171
  }
193
172
  ],
194
- "name": "OPP_ChunkSizeMismatch",
173
+ "name": "OPP_DispatchUnderfunded",
195
174
  "type": "error"
196
175
  },
197
176
  {
@@ -242,6 +221,27 @@
242
221
  "name": "OPP_EpochHashMismatch",
243
222
  "type": "error"
244
223
  },
224
+ {
225
+ "inputs": [
226
+ {
227
+ "internalType": "address",
228
+ "name": "handler",
229
+ "type": "address"
230
+ },
231
+ {
232
+ "internalType": "AttestationType",
233
+ "name": "attestationType",
234
+ "type": "uint16"
235
+ },
236
+ {
237
+ "internalType": "uint256",
238
+ "name": "gasBound",
239
+ "type": "uint256"
240
+ }
241
+ ],
242
+ "name": "OPP_HandlerGasExhausted",
243
+ "type": "error"
244
+ },
245
245
  {
246
246
  "inputs": [
247
247
  {
@@ -272,17 +272,12 @@
272
272
  {
273
273
  "inputs": [
274
274
  {
275
- "internalType": "uint16",
276
- "name": "expected",
277
- "type": "uint16"
278
- },
279
- {
280
- "internalType": "uint16",
281
- "name": "actual",
282
- "type": "uint16"
275
+ "internalType": "address",
276
+ "name": "caller",
277
+ "type": "address"
283
278
  }
284
279
  ],
285
- "name": "OPP_InvalidChunkCount",
280
+ "name": "OPP_InternalDispatchOnly",
286
281
  "type": "error"
287
282
  },
288
283
  {
@@ -359,17 +354,6 @@
359
354
  "name": "OPP_NoAttestationsSent",
360
355
  "type": "error"
361
356
  },
362
- {
363
- "inputs": [
364
- {
365
- "internalType": "address",
366
- "name": "operator_",
367
- "type": "address"
368
- }
369
- ],
370
- "name": "OPP_NoChunkSlot",
371
- "type": "error"
372
- },
373
357
  {
374
358
  "inputs": [],
375
359
  "name": "OPP_NoPendingAttestations",
@@ -492,6 +476,22 @@
492
476
  "name": "OPP_OperatorAlreadyDelivered",
493
477
  "type": "error"
494
478
  },
479
+ {
480
+ "inputs": [
481
+ {
482
+ "internalType": "uint256",
483
+ "name": "warmedWords",
484
+ "type": "uint256"
485
+ },
486
+ {
487
+ "internalType": "uint256",
488
+ "name": "wordCount",
489
+ "type": "uint256"
490
+ }
491
+ ],
492
+ "name": "OPP_OutboundBankNotWarm",
493
+ "type": "error"
494
+ },
495
495
  {
496
496
  "inputs": [
497
497
  {
@@ -508,6 +508,22 @@
508
508
  "name": "OPP_OutboundMessageUnpackable",
509
509
  "type": "error"
510
510
  },
511
+ {
512
+ "inputs": [
513
+ {
514
+ "internalType": "uint256",
515
+ "name": "warmedWords",
516
+ "type": "uint256"
517
+ },
518
+ {
519
+ "internalType": "uint256",
520
+ "name": "fromWord",
521
+ "type": "uint256"
522
+ }
523
+ ],
524
+ "name": "OPP_OutboundPrewarmNotContiguous",
525
+ "type": "error"
526
+ },
511
527
  {
512
528
  "inputs": [
513
529
  {
@@ -741,22 +757,6 @@
741
757
  "name": "WIRE_GoLiveInProgress",
742
758
  "type": "error"
743
759
  },
744
- {
745
- "inputs": [
746
- {
747
- "internalType": "uint64",
748
- "name": "initialPrincipal",
749
- "type": "uint64"
750
- },
751
- {
752
- "internalType": "uint64",
753
- "name": "balanceDepot",
754
- "type": "uint64"
755
- }
756
- ],
757
- "name": "WIRE_InitialPrincipalExceedsBalance",
758
- "type": "error"
759
- },
760
760
  {
761
761
  "inputs": [
762
762
  {
@@ -6,136 +6,142 @@ exports.EthereumOutpostArtifactManifest = {
6
6
  "schemaVersion": 2,
7
7
  "package": {
8
8
  "name": "@wireio/outpost-ethereum-artifacts",
9
- "version": "0.4.3"
9
+ "version": "0.4.4"
10
10
  },
11
11
  "source": {
12
12
  "repository": "Wire-Network/wire-ethereum",
13
- "revision": "e7a91e27f85510ae3a3b168c101669a9ef6b46e9",
14
- "artifactsSha256": "e63a17255469e5c0e47b9e591f20c70fd28c397ca8c0a3b47cc1f264d5672189"
13
+ "revision": "a76e7a0b70ce38db3460d06d71e51ed755c2f8c4",
14
+ "artifactsSha256": "2dfcf3a46d8ec0daf67761a6654f6cca90a5b5dd202f1e72359c018f31660832"
15
15
  },
16
16
  "contracts": {
17
17
  "OPP": {
18
18
  "path": "abis/OPP.json",
19
- "abiSha256": "2038e3d6deb98f3da15038b6e4ca855c41b2b0539ec910adc3c843592c1424d9",
19
+ "abiSha256": "2b6be7497a1990c31323d61a9664a7f8ab1de7cffa463c3d55a0c9d571fbb6fc",
20
20
  "runtimeBytecodePath": "runtime/OPP.bin",
21
- "runtimeBytecodeLength": 18337,
22
- "runtimeBytecodeSha256": "3d2c2dde52e673513bba29e1ab42ac7b354c90b6b903df743f5bef46ae531d04",
21
+ "runtimeBytecodeLength": 17793,
22
+ "runtimeBytecodeSha256": "c97b251463a2e2cf20ca6f55254c5a0ce1fa4e1d4bd7062399097b996609a5c3",
23
23
  "runtimeLinkReferences": [
24
24
  {
25
25
  "sourceName": "contracts/outpost/OPPCommon.sol",
26
26
  "libraryName": "OPPCommonV2",
27
- "start": 6684,
27
+ "start": 6698,
28
28
  "length": 20
29
29
  },
30
30
  {
31
31
  "sourceName": "contracts/outpost/OPPCommon.sol",
32
32
  "libraryName": "OPPCommonV2",
33
- "start": 7212,
33
+ "start": 7221,
34
34
  "length": 20
35
35
  },
36
36
  {
37
37
  "sourceName": "contracts/outpost/OPPCommon.sol",
38
38
  "libraryName": "OPPCommonV2",
39
- "start": 10754,
39
+ "start": 9704,
40
40
  "length": 20
41
41
  },
42
42
  {
43
43
  "sourceName": "contracts/outpost/OPPCommon.sol",
44
44
  "libraryName": "OPPCommonV2",
45
- "start": 12052,
45
+ "start": 11086,
46
46
  "length": 20
47
47
  }
48
48
  ],
49
49
  "runtimeImmutableReferences": [
50
50
  {
51
- "start": 2391,
51
+ "start": 2439,
52
52
  "length": 32
53
53
  },
54
54
  {
55
- "start": 15314,
55
+ "start": 14770,
56
56
  "length": 32
57
57
  }
58
58
  ]
59
59
  },
60
60
  "OPPInbound": {
61
61
  "path": "abis/OPPInbound.json",
62
- "abiSha256": "114371369ad02ee071355604991608efe1efbce911fcaa2c47c4bec6631ffd5e",
62
+ "abiSha256": "bd649db50220b158b610bca9bf27ab937069222d6d741b66fb33a38b917cb9a0",
63
63
  "runtimeBytecodePath": "runtime/OPPInbound.bin",
64
- "runtimeBytecodeLength": 21735,
65
- "runtimeBytecodeSha256": "4f7d5d032ad1f30707a7a89c0b87f344a0dd81082d107d1a8b286579ce9a2654",
64
+ "runtimeBytecodeLength": 19455,
65
+ "runtimeBytecodeSha256": "dec1ba4ae763823e272e53af37603ccbd62f1bea64cc789e792a418bb1dd2263",
66
66
  "runtimeLinkReferences": [
67
+ {
68
+ "sourceName": "contracts/outpost/OPPCommon.sol",
69
+ "libraryName": "OPPCommonV2",
70
+ "start": 8552,
71
+ "length": 20
72
+ },
67
73
  {
68
74
  "sourceName": "contracts/outpost/OPPInboundLib.sol",
69
75
  "libraryName": "OPPInboundLib",
70
- "start": 8888,
76
+ "start": 11199,
71
77
  "length": 20
72
78
  },
73
79
  {
74
- "sourceName": "contracts/outpost/OPPCommon.sol",
75
- "libraryName": "OPPCommonV2",
76
- "start": 14072,
80
+ "sourceName": "contracts/outpost/OPPInboundLib.sol",
81
+ "libraryName": "OPPInboundLib",
82
+ "start": 11803,
77
83
  "length": 20
78
84
  },
79
85
  {
80
- "sourceName": "contracts/outpost/OPPCommon.sol",
81
- "libraryName": "OPPCommonV2",
82
- "start": 14599,
86
+ "sourceName": "contracts/outpost/OPPEnvelopeWalkLib.sol",
87
+ "libraryName": "OPPEnvelopeWalkLib",
88
+ "start": 12591,
83
89
  "length": 20
84
90
  },
85
91
  {
86
- "sourceName": "contracts/outpost/OPPCommon.sol",
87
- "libraryName": "OPPCommonV2",
88
- "start": 16045,
92
+ "sourceName": "contracts/outpost/OPPEnvelopeWalkLib.sol",
93
+ "libraryName": "OPPEnvelopeWalkLib",
94
+ "start": 13067,
89
95
  "length": 20
90
96
  },
91
97
  {
92
- "sourceName": "contracts/outpost/OPPInboundLib.sol",
93
- "libraryName": "OPPInboundLib",
94
- "start": 20489,
98
+ "sourceName": "contracts/outpost/OPPCommon.sol",
99
+ "libraryName": "OPPCommonV2",
100
+ "start": 14334,
95
101
  "length": 20
96
102
  },
97
103
  {
98
104
  "sourceName": "contracts/outpost/OPPInboundLib.sol",
99
105
  "libraryName": "OPPInboundLib",
100
- "start": 20858,
106
+ "start": 16417,
101
107
  "length": 20
102
108
  }
103
109
  ],
104
110
  "runtimeImmutableReferences": [
105
111
  {
106
- "start": 3727,
112
+ "start": 3615,
107
113
  "length": 32
108
114
  },
109
115
  {
110
- "start": 15050,
116
+ "start": 15794,
111
117
  "length": 32
112
118
  }
113
119
  ]
114
120
  },
115
121
  "BAR": {
116
122
  "path": "abis/BAR.json",
117
- "abiSha256": "819645bfb63a31803ac29b503acd891a43690049b4501c5dabd776ae3485d90b",
123
+ "abiSha256": "a66f5768a20533190610820da0248df319e25075cb4c5426651f3fa0407d5f23",
118
124
  "runtimeBytecodePath": "runtime/BAR.bin",
119
- "runtimeBytecodeLength": 13166,
120
- "runtimeBytecodeSha256": "6542678032241ec5d9e308c1bf4eee294ebadfd98455801c2fd16da823501336",
125
+ "runtimeBytecodeLength": 9489,
126
+ "runtimeBytecodeSha256": "6420dc4f5c11a546e68df5fe8b7f38f173029d07f43cdd779e46e32f78659b36",
121
127
  "runtimeLinkReferences": [],
122
128
  "runtimeImmutableReferences": [
123
129
  {
124
- "start": 2291,
130
+ "start": 1318,
125
131
  "length": 32
126
132
  },
127
133
  {
128
- "start": 11570,
134
+ "start": 7879,
129
135
  "length": 32
130
136
  }
131
137
  ]
132
138
  },
133
139
  "SyndicationPool": {
134
140
  "path": "abis/SyndicationPool.json",
135
- "abiSha256": "118932bedef1aacf3e0a564fe955231976ca156ef8e5f9005371cbf1b9759e77",
141
+ "abiSha256": "559538b906a07be1d54cf101c7f168a10b641865e703489f994ef983388d4498",
136
142
  "runtimeBytecodePath": "runtime/SyndicationPool.bin",
137
- "runtimeBytecodeLength": 17879,
138
- "runtimeBytecodeSha256": "f91557f8a3630d756082f4795c21c9ac8225fd762569151b769f46e81710800e",
143
+ "runtimeBytecodeLength": 17817,
144
+ "runtimeBytecodeSha256": "cd92e26e738600a1557df010c14dc6f8ce19a712c22eb34381479ba13c33f926",
139
145
  "runtimeLinkReferences": [
140
146
  {
141
147
  "sourceName": "contracts/outpost/PrecisionLib.sol",
@@ -146,25 +152,25 @@ exports.EthereumOutpostArtifactManifest = {
146
152
  {
147
153
  "sourceName": "contracts/common/Secp256k1.sol",
148
154
  "libraryName": "Secp256k1",
149
- "start": 6648,
155
+ "start": 6586,
150
156
  "length": 20
151
157
  },
152
158
  {
153
159
  "sourceName": "contracts/outpost/PrecisionLib.sol",
154
160
  "libraryName": "PrecisionLib",
155
- "start": 7001,
161
+ "start": 6939,
156
162
  "length": 20
157
163
  },
158
164
  {
159
165
  "sourceName": "contracts/outpost/PrecisionLib.sol",
160
166
  "libraryName": "PrecisionLib",
161
- "start": 9927,
167
+ "start": 9865,
162
168
  "length": 20
163
169
  },
164
170
  {
165
171
  "sourceName": "contracts/common/Secp256k1.sol",
166
172
  "libraryName": "Secp256k1",
167
- "start": 15599,
173
+ "start": 15537,
168
174
  "length": 20
169
175
  }
170
176
  ],
@@ -174,7 +180,7 @@ exports.EthereumOutpostArtifactManifest = {
174
180
  "length": 32
175
181
  },
176
182
  {
177
- "start": 12444,
183
+ "start": 12382,
178
184
  "length": 32
179
185
  }
180
186
  ]
@@ -184,7 +190,7 @@ exports.EthereumOutpostArtifactManifest = {
184
190
  "abiSha256": "7103f2462210a8de84210c7cbaad4f218ce367468b3607ab5970ece9ba267fda",
185
191
  "runtimeBytecodePath": "runtime/DepositManager.bin",
186
192
  "runtimeBytecodeLength": 9013,
187
- "runtimeBytecodeSha256": "1392e7c2a1d30addfef3091519236334a72b511cf95788b01ab2d72345eca748",
193
+ "runtimeBytecodeSha256": "dff5899818bd2f7b3491339dd2e02f7d622d14467177c57dcdd6e7012c70ff57",
188
194
  "runtimeLinkReferences": [],
189
195
  "runtimeImmutableReferences": [
190
196
  {
@@ -202,7 +208,7 @@ exports.EthereumOutpostArtifactManifest = {
202
208
  "abiSha256": "3c47e5f481620e3ef66fc17448445150e510ac1f9f2b495c1766943eb32eb4a4",
203
209
  "runtimeBytecodePath": "runtime/LiqEthToken.bin",
204
210
  "runtimeBytecodeLength": 12322,
205
- "runtimeBytecodeSha256": "0601a68196445878735fe85ffc941172ecef016f7545cb4ab611c41fa3b7e22f",
211
+ "runtimeBytecodeSha256": "b2b15283e551138234c075460fc1d49d29fea5c9e6370ff801ccf01f8a774206",
206
212
  "runtimeLinkReferences": [],
207
213
  "runtimeImmutableReferences": [
208
214
  {
@@ -220,7 +226,7 @@ exports.EthereumOutpostArtifactManifest = {
220
226
  "abiSha256": "c7d2037d4348ad496509ecf7cd473935aa6deb2b2b42b2b3c48b238641e545e6",
221
227
  "runtimeBytecodePath": "runtime/WithdrawalQueue.bin",
222
228
  "runtimeBytecodeLength": 8657,
223
- "runtimeBytecodeSha256": "2ee8f743375f3fc064f7cd488f77bfe45d2c3ed7cbb2f18fff5f3250223f4105",
229
+ "runtimeBytecodeSha256": "d82eb5b5d1ee14b0e9e7bd43089f94c9e737e3df45121d9e76b30f3854758d0a",
224
230
  "runtimeLinkReferences": [],
225
231
  "runtimeImmutableReferences": [
226
232
  {