@wireio/outpost-ethereum-artifacts 0.2.0 → 0.2.2

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 (72) hide show
  1. package/README.md +13 -5
  2. package/lib/cjs/Manifest.d.ts +101 -0
  3. package/lib/cjs/Manifest.js +292 -0
  4. package/lib/cjs/contracts/BAR.d.ts +563 -0
  5. package/lib/cjs/contracts/BAR.js +2 -0
  6. package/lib/cjs/contracts/IERC1155.d.ts +232 -0
  7. package/lib/cjs/contracts/IERC1155.js +2 -0
  8. package/lib/cjs/contracts/OPP.d.ts +472 -0
  9. package/lib/cjs/contracts/OPP.js +2 -0
  10. package/lib/cjs/contracts/OPPInbound.d.ts +907 -0
  11. package/lib/cjs/contracts/OPPInbound.js +2 -0
  12. package/lib/cjs/contracts/OperatorRegistry.d.ts +592 -0
  13. package/lib/cjs/contracts/OperatorRegistry.js +2 -0
  14. package/lib/cjs/contracts/ReserveManager.d.ts +1138 -0
  15. package/lib/cjs/contracts/ReserveManager.js +2 -0
  16. package/lib/cjs/contracts/common.d.ts +50 -0
  17. package/lib/cjs/contracts/common.js +2 -0
  18. package/lib/cjs/contracts/factories/BAR__factory.d.ts +1532 -0
  19. package/lib/cjs/contracts/factories/BAR__factory.js +2014 -0
  20. package/lib/cjs/contracts/factories/IERC1155__factory.d.ts +236 -0
  21. package/lib/cjs/contracts/factories/IERC1155__factory.js +312 -0
  22. package/lib/cjs/contracts/factories/OPPInbound__factory.d.ts +1454 -0
  23. package/lib/cjs/contracts/factories/OPPInbound__factory.js +1909 -0
  24. package/lib/cjs/contracts/factories/OPP__factory.d.ts +1029 -0
  25. package/lib/cjs/contracts/factories/OPP__factory.js +1362 -0
  26. package/lib/cjs/contracts/factories/OperatorRegistry__factory.d.ts +1517 -0
  27. package/lib/cjs/contracts/factories/OperatorRegistry__factory.js +1991 -0
  28. package/lib/cjs/contracts/factories/ReserveManager__factory.d.ts +2146 -0
  29. package/lib/cjs/contracts/factories/ReserveManager__factory.js +2783 -0
  30. package/lib/cjs/contracts/factories/index.d.ts +6 -0
  31. package/lib/cjs/contracts/factories/index.js +18 -0
  32. package/lib/cjs/contracts/index.d.ts +13 -0
  33. package/lib/cjs/contracts/index.js +49 -0
  34. package/lib/cjs/index.d.ts +3 -0
  35. package/lib/cjs/index.js +18 -0
  36. package/lib/cjs/package.json +3 -0
  37. package/lib/esm/Manifest.d.ts +101 -0
  38. package/lib/esm/Manifest.js +289 -0
  39. package/lib/esm/contracts/BAR.d.ts +563 -0
  40. package/lib/esm/contracts/BAR.js +1 -0
  41. package/lib/esm/contracts/IERC1155.d.ts +232 -0
  42. package/lib/esm/contracts/IERC1155.js +1 -0
  43. package/lib/esm/contracts/OPP.d.ts +472 -0
  44. package/lib/esm/contracts/OPP.js +1 -0
  45. package/lib/esm/contracts/OPPInbound.d.ts +907 -0
  46. package/lib/esm/contracts/OPPInbound.js +1 -0
  47. package/lib/esm/contracts/OperatorRegistry.d.ts +592 -0
  48. package/lib/esm/contracts/OperatorRegistry.js +1 -0
  49. package/lib/esm/contracts/ReserveManager.d.ts +1138 -0
  50. package/lib/esm/contracts/ReserveManager.js +1 -0
  51. package/lib/esm/contracts/common.d.ts +50 -0
  52. package/lib/esm/contracts/common.js +1 -0
  53. package/lib/esm/contracts/factories/BAR__factory.d.ts +1532 -0
  54. package/lib/esm/contracts/factories/BAR__factory.js +2010 -0
  55. package/lib/esm/contracts/factories/IERC1155__factory.d.ts +236 -0
  56. package/lib/esm/contracts/factories/IERC1155__factory.js +308 -0
  57. package/lib/esm/contracts/factories/OPPInbound__factory.d.ts +1454 -0
  58. package/lib/esm/contracts/factories/OPPInbound__factory.js +1905 -0
  59. package/lib/esm/contracts/factories/OPP__factory.d.ts +1029 -0
  60. package/lib/esm/contracts/factories/OPP__factory.js +1358 -0
  61. package/lib/esm/contracts/factories/OperatorRegistry__factory.d.ts +1517 -0
  62. package/lib/esm/contracts/factories/OperatorRegistry__factory.js +1987 -0
  63. package/lib/esm/contracts/factories/ReserveManager__factory.d.ts +2146 -0
  64. package/lib/esm/contracts/factories/ReserveManager__factory.js +2779 -0
  65. package/lib/esm/contracts/factories/index.d.ts +6 -0
  66. package/lib/esm/contracts/factories/index.js +9 -0
  67. package/lib/esm/contracts/index.d.ts +13 -0
  68. package/lib/esm/contracts/index.js +7 -0
  69. package/lib/esm/index.d.ts +3 -0
  70. package/lib/esm/index.js +2 -0
  71. package/manifest.json +54 -3
  72. package/package.json +13 -1
package/README.md CHANGED
@@ -3,11 +3,19 @@
3
3
  Canonical, deployment-independent Ethereum outpost interfaces generated from
4
4
  `wire-ethereum` Hardhat artifacts.
5
5
 
6
- The package contains the ABIs and normalized deployable runtime templates
7
- required by `@wireio/sdk-outpost`, plus interface-only ABIs used to interact
8
- with external standards such as ERC-1155. Its manifest records the source
9
- revision, checksums, and library-link byte ranges. It deliberately contains no
10
- deployed addresses, RPC endpoints, private keys, or environment configuration.
6
+ The package contains directly importable TypeScript contract types and
7
+ factories, the ABIs and normalized deployable runtime templates required by
8
+ `@wireio/sdk-outpost`, and interface-only ABIs for standards such as ERC-1155.
9
+ Its manifest records the source revision, checksums, and library-link byte
10
+ ranges. It deliberately contains no deployed addresses, RPC endpoints, private
11
+ keys, or environment configuration.
12
+
13
+ ```ts
14
+ import {
15
+ EthereumOutpostArtifactManifest,
16
+ ReserveManager__factory,
17
+ } from "@wireio/outpost-ethereum-artifacts";
18
+ ```
11
19
 
12
20
  Generate and inspect the package from the repository root:
13
21
 
@@ -0,0 +1,101 @@
1
+ /** Exact source manifest compiled into this package. */
2
+ export declare const EthereumOutpostArtifactManifest: {
3
+ schemaVersion: number;
4
+ package: {
5
+ name: string;
6
+ version: string;
7
+ };
8
+ source: {
9
+ repository: string;
10
+ revision: string;
11
+ artifactsSha256: string;
12
+ };
13
+ contracts: {
14
+ OPP: {
15
+ path: string;
16
+ abiSha256: string;
17
+ runtimeBytecodePath: string;
18
+ runtimeBytecodeLength: number;
19
+ runtimeBytecodeSha256: string;
20
+ runtimeLinkReferences: {
21
+ sourceName: string;
22
+ libraryName: string;
23
+ start: number;
24
+ length: number;
25
+ }[];
26
+ runtimeImmutableReferences: {
27
+ start: number;
28
+ length: number;
29
+ }[];
30
+ };
31
+ OPPInbound: {
32
+ path: string;
33
+ abiSha256: string;
34
+ runtimeBytecodePath: string;
35
+ runtimeBytecodeLength: number;
36
+ runtimeBytecodeSha256: string;
37
+ runtimeLinkReferences: {
38
+ sourceName: string;
39
+ libraryName: string;
40
+ start: number;
41
+ length: number;
42
+ }[];
43
+ runtimeImmutableReferences: {
44
+ start: number;
45
+ length: number;
46
+ }[];
47
+ };
48
+ OperatorRegistry: {
49
+ path: string;
50
+ abiSha256: string;
51
+ runtimeBytecodePath: string;
52
+ runtimeBytecodeLength: number;
53
+ runtimeBytecodeSha256: string;
54
+ runtimeLinkReferences: {
55
+ sourceName: string;
56
+ libraryName: string;
57
+ start: number;
58
+ length: number;
59
+ }[];
60
+ runtimeImmutableReferences: {
61
+ start: number;
62
+ length: number;
63
+ }[];
64
+ };
65
+ ReserveManager: {
66
+ path: string;
67
+ abiSha256: string;
68
+ runtimeBytecodePath: string;
69
+ runtimeBytecodeLength: number;
70
+ runtimeBytecodeSha256: string;
71
+ runtimeLinkReferences: {
72
+ sourceName: string;
73
+ libraryName: string;
74
+ start: number;
75
+ length: number;
76
+ }[];
77
+ runtimeImmutableReferences: {
78
+ start: number;
79
+ length: number;
80
+ }[];
81
+ };
82
+ BAR: {
83
+ path: string;
84
+ abiSha256: string;
85
+ runtimeBytecodePath: string;
86
+ runtimeBytecodeLength: number;
87
+ runtimeBytecodeSha256: string;
88
+ runtimeLinkReferences: any[];
89
+ runtimeImmutableReferences: {
90
+ start: number;
91
+ length: number;
92
+ }[];
93
+ };
94
+ };
95
+ interfaces: {
96
+ IERC1155: {
97
+ path: string;
98
+ abiSha256: string;
99
+ };
100
+ };
101
+ };
@@ -0,0 +1,292 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EthereumOutpostArtifactManifest = void 0;
4
+ /** Exact source manifest compiled into this package. */
5
+ exports.EthereumOutpostArtifactManifest = {
6
+ "schemaVersion": 2,
7
+ "package": {
8
+ "name": "@wireio/outpost-ethereum-artifacts",
9
+ "version": "0.2.2"
10
+ },
11
+ "source": {
12
+ "repository": "Wire-Network/wire-ethereum",
13
+ "revision": "20be2fbe17e02023a98469a701ffd30a3b85a3d9",
14
+ "artifactsSha256": "4a871cf277b91ad5397eef58b52e4be00e997b521cf48e4fdc75308ac3539390"
15
+ },
16
+ "contracts": {
17
+ "OPP": {
18
+ "path": "abis/OPP.json",
19
+ "abiSha256": "aab252fdf960c51c7cbed8e7a2204f2deb50c521840e3e6c07d3f8d038ee56c5",
20
+ "runtimeBytecodePath": "runtime/OPP.bin",
21
+ "runtimeBytecodeLength": 18337,
22
+ "runtimeBytecodeSha256": "f97e68467f9ec60a83dad8d94bd4e3b4ae30b18d39529935fb25cb8e6fdc9307",
23
+ "runtimeLinkReferences": [
24
+ {
25
+ "sourceName": "contracts/outpost/OPPCommon.sol",
26
+ "libraryName": "OPPCommon",
27
+ "start": 6684,
28
+ "length": 20
29
+ },
30
+ {
31
+ "sourceName": "contracts/outpost/OPPCommon.sol",
32
+ "libraryName": "OPPCommon",
33
+ "start": 7212,
34
+ "length": 20
35
+ },
36
+ {
37
+ "sourceName": "contracts/outpost/OPPCommon.sol",
38
+ "libraryName": "OPPCommon",
39
+ "start": 10754,
40
+ "length": 20
41
+ },
42
+ {
43
+ "sourceName": "contracts/outpost/OPPCommon.sol",
44
+ "libraryName": "OPPCommon",
45
+ "start": 12052,
46
+ "length": 20
47
+ }
48
+ ],
49
+ "runtimeImmutableReferences": [
50
+ {
51
+ "start": 2391,
52
+ "length": 32
53
+ },
54
+ {
55
+ "start": 15314,
56
+ "length": 32
57
+ }
58
+ ]
59
+ },
60
+ "OPPInbound": {
61
+ "path": "abis/OPPInbound.json",
62
+ "abiSha256": "3fa25f8f2c3287a22d444b88f0907369c47c11d279623494c5f852a20b4f477a",
63
+ "runtimeBytecodePath": "runtime/OPPInbound.bin",
64
+ "runtimeBytecodeLength": 19155,
65
+ "runtimeBytecodeSha256": "20e0ce0a983f77cb16237388873d650a2b775200d99998a89b468984411fa3a3",
66
+ "runtimeLinkReferences": [
67
+ {
68
+ "sourceName": "contracts/outpost/OPPInboundLib.sol",
69
+ "libraryName": "OPPInboundLib",
70
+ "start": 7986,
71
+ "length": 20
72
+ },
73
+ {
74
+ "sourceName": "contracts/outpost/OPPCommon.sol",
75
+ "libraryName": "OPPCommon",
76
+ "start": 11514,
77
+ "length": 20
78
+ },
79
+ {
80
+ "sourceName": "contracts/outpost/OPPCommon.sol",
81
+ "libraryName": "OPPCommon",
82
+ "start": 12051,
83
+ "length": 20
84
+ },
85
+ {
86
+ "sourceName": "contracts/outpost/OPPInboundLib.sol",
87
+ "libraryName": "OPPInboundLib",
88
+ "start": 16277,
89
+ "length": 20
90
+ },
91
+ {
92
+ "sourceName": "contracts/outpost/OPPInboundLib.sol",
93
+ "libraryName": "OPPInboundLib",
94
+ "start": 16500,
95
+ "length": 20
96
+ },
97
+ {
98
+ "sourceName": "contracts/outpost/OPPInboundLib.sol",
99
+ "libraryName": "OPPInboundLib",
100
+ "start": 16587,
101
+ "length": 20
102
+ },
103
+ {
104
+ "sourceName": "contracts/outpost/OPPInboundLib.sol",
105
+ "libraryName": "OPPInboundLib",
106
+ "start": 17832,
107
+ "length": 20
108
+ },
109
+ {
110
+ "sourceName": "contracts/outpost/OPPInboundLib.sol",
111
+ "libraryName": "OPPInboundLib",
112
+ "start": 18070,
113
+ "length": 20
114
+ }
115
+ ],
116
+ "runtimeImmutableReferences": [
117
+ {
118
+ "start": 2735,
119
+ "length": 32
120
+ },
121
+ {
122
+ "start": 12456,
123
+ "length": 32
124
+ }
125
+ ]
126
+ },
127
+ "OperatorRegistry": {
128
+ "path": "abis/OperatorRegistry.json",
129
+ "abiSha256": "cd938c68f652f42de5e31c62e062c99ef18f5f0fcbbe3136991c7752fb4d9e5e",
130
+ "runtimeBytecodePath": "runtime/OperatorRegistry.bin",
131
+ "runtimeBytecodeLength": 20293,
132
+ "runtimeBytecodeSha256": "bb2804e96b936003ea538aea4cd1d81546fa0c46b11d64aa02c1807058641d1c",
133
+ "runtimeLinkReferences": [
134
+ {
135
+ "sourceName": "contracts/common/Secp256k1.sol",
136
+ "libraryName": "Secp256k1",
137
+ "start": 6556,
138
+ "length": 20
139
+ },
140
+ {
141
+ "sourceName": "contracts/common/Secp256k1.sol",
142
+ "libraryName": "Secp256k1",
143
+ "start": 8872,
144
+ "length": 20
145
+ },
146
+ {
147
+ "sourceName": "contracts/common/Secp256k1.sol",
148
+ "libraryName": "Secp256k1",
149
+ "start": 9442,
150
+ "length": 20
151
+ },
152
+ {
153
+ "sourceName": "contracts/common/Secp256k1.sol",
154
+ "libraryName": "Secp256k1",
155
+ "start": 18622,
156
+ "length": 20
157
+ }
158
+ ],
159
+ "runtimeImmutableReferences": [
160
+ {
161
+ "start": 2690,
162
+ "length": 32
163
+ },
164
+ {
165
+ "start": 15099,
166
+ "length": 32
167
+ }
168
+ ]
169
+ },
170
+ "ReserveManager": {
171
+ "path": "abis/ReserveManager.json",
172
+ "abiSha256": "679e23b37f9a42a96dd7bd9fbd58c793586813dff86fe0612de02f7843feb4b8",
173
+ "runtimeBytecodePath": "runtime/ReserveManager.bin",
174
+ "runtimeBytecodeLength": 23713,
175
+ "runtimeBytecodeSha256": "ab06ccba226c740b256445dd16f62e90a48b9973532a20313172d79584257d9f",
176
+ "runtimeLinkReferences": [
177
+ {
178
+ "sourceName": "contracts/outpost/PrecisionLib.sol",
179
+ "libraryName": "PrecisionLib",
180
+ "start": 3669,
181
+ "length": 20
182
+ },
183
+ {
184
+ "sourceName": "contracts/outpost/ReserveManagerLib.sol",
185
+ "libraryName": "ReserveManagerLib",
186
+ "start": 8713,
187
+ "length": 20
188
+ },
189
+ {
190
+ "sourceName": "contracts/outpost/ReserveManagerLib.sol",
191
+ "libraryName": "ReserveManagerLib",
192
+ "start": 11357,
193
+ "length": 20
194
+ },
195
+ {
196
+ "sourceName": "contracts/outpost/ReserveManagerLib.sol",
197
+ "libraryName": "ReserveManagerLib",
198
+ "start": 11558,
199
+ "length": 20
200
+ },
201
+ {
202
+ "sourceName": "contracts/outpost/ReserveManagerLib.sol",
203
+ "libraryName": "ReserveManagerLib",
204
+ "start": 12142,
205
+ "length": 20
206
+ },
207
+ {
208
+ "sourceName": "contracts/outpost/ReserveManagerLib.sol",
209
+ "libraryName": "ReserveManagerLib",
210
+ "start": 12321,
211
+ "length": 20
212
+ },
213
+ {
214
+ "sourceName": "contracts/outpost/PrecisionLib.sol",
215
+ "libraryName": "PrecisionLib",
216
+ "start": 13987,
217
+ "length": 20
218
+ },
219
+ {
220
+ "sourceName": "contracts/outpost/ReserveManagerLib.sol",
221
+ "libraryName": "ReserveManagerLib",
222
+ "start": 14265,
223
+ "length": 20
224
+ },
225
+ {
226
+ "sourceName": "contracts/outpost/PrecisionLib.sol",
227
+ "libraryName": "PrecisionLib",
228
+ "start": 15524,
229
+ "length": 20
230
+ },
231
+ {
232
+ "sourceName": "contracts/outpost/PrecisionLib.sol",
233
+ "libraryName": "PrecisionLib",
234
+ "start": 17602,
235
+ "length": 20
236
+ },
237
+ {
238
+ "sourceName": "contracts/outpost/ReserveManagerLib.sol",
239
+ "libraryName": "ReserveManagerLib",
240
+ "start": 17662,
241
+ "length": 20
242
+ },
243
+ {
244
+ "sourceName": "contracts/outpost/PrecisionLib.sol",
245
+ "libraryName": "PrecisionLib",
246
+ "start": 19807,
247
+ "length": 20
248
+ },
249
+ {
250
+ "sourceName": "contracts/outpost/ReserveManagerLib.sol",
251
+ "libraryName": "ReserveManagerLib",
252
+ "start": 19880,
253
+ "length": 20
254
+ }
255
+ ],
256
+ "runtimeImmutableReferences": [
257
+ {
258
+ "start": 4117,
259
+ "length": 32
260
+ },
261
+ {
262
+ "start": 19293,
263
+ "length": 32
264
+ }
265
+ ]
266
+ },
267
+ "BAR": {
268
+ "path": "abis/BAR.json",
269
+ "abiSha256": "e961d68f90cbe45f8a6749031f944b5996709d83d49f520dbdd91ae35dab79d0",
270
+ "runtimeBytecodePath": "runtime/BAR.bin",
271
+ "runtimeBytecodeLength": 13414,
272
+ "runtimeBytecodeSha256": "3a25dc7f83dad885b2c441dd98db6b416ce910b19a8a0182b29f7299723071a4",
273
+ "runtimeLinkReferences": [],
274
+ "runtimeImmutableReferences": [
275
+ {
276
+ "start": 2307,
277
+ "length": 32
278
+ },
279
+ {
280
+ "start": 11818,
281
+ "length": 32
282
+ }
283
+ ]
284
+ }
285
+ },
286
+ "interfaces": {
287
+ "IERC1155": {
288
+ "path": "abis/IERC1155.json",
289
+ "abiSha256": "c76df0cdfc93dcf2794dfc028b0997d4ed6e341c1c685c20e0e04101f032431b"
290
+ }
291
+ }
292
+ };