@wireio/outpost-ethereum-artifacts 0.2.0 → 0.2.1

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 +80 -0
  3. package/lib/cjs/Manifest.js +241 -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 +80 -0
  38. package/lib/esm/Manifest.js +238 -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 +2 -2
  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,80 @@
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
+ };
12
+ contracts: {
13
+ OPP: {
14
+ path: string;
15
+ abiSha256: string;
16
+ runtimeBytecodePath: string;
17
+ runtimeBytecodeLength: number;
18
+ runtimeBytecodeSha256: string;
19
+ runtimeLinkReferences: {
20
+ sourceName: string;
21
+ libraryName: string;
22
+ start: number;
23
+ length: number;
24
+ }[];
25
+ };
26
+ OPPInbound: {
27
+ path: string;
28
+ abiSha256: string;
29
+ runtimeBytecodePath: string;
30
+ runtimeBytecodeLength: number;
31
+ runtimeBytecodeSha256: string;
32
+ runtimeLinkReferences: {
33
+ sourceName: string;
34
+ libraryName: string;
35
+ start: number;
36
+ length: number;
37
+ }[];
38
+ };
39
+ OperatorRegistry: {
40
+ path: string;
41
+ abiSha256: string;
42
+ runtimeBytecodePath: string;
43
+ runtimeBytecodeLength: number;
44
+ runtimeBytecodeSha256: string;
45
+ runtimeLinkReferences: {
46
+ sourceName: string;
47
+ libraryName: string;
48
+ start: number;
49
+ length: number;
50
+ }[];
51
+ };
52
+ ReserveManager: {
53
+ path: string;
54
+ abiSha256: string;
55
+ runtimeBytecodePath: string;
56
+ runtimeBytecodeLength: number;
57
+ runtimeBytecodeSha256: string;
58
+ runtimeLinkReferences: {
59
+ sourceName: string;
60
+ libraryName: string;
61
+ start: number;
62
+ length: number;
63
+ }[];
64
+ };
65
+ BAR: {
66
+ path: string;
67
+ abiSha256: string;
68
+ runtimeBytecodePath: string;
69
+ runtimeBytecodeLength: number;
70
+ runtimeBytecodeSha256: string;
71
+ runtimeLinkReferences: any[];
72
+ };
73
+ };
74
+ interfaces: {
75
+ IERC1155: {
76
+ path: string;
77
+ abiSha256: string;
78
+ };
79
+ };
80
+ };
@@ -0,0 +1,241 @@
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.1"
10
+ },
11
+ "source": {
12
+ "repository": "Wire-Network/wire-ethereum",
13
+ "revision": "20be2fbe17e02023a98469a701ffd30a3b85a3d9"
14
+ },
15
+ "contracts": {
16
+ "OPP": {
17
+ "path": "abis/OPP.json",
18
+ "abiSha256": "aab252fdf960c51c7cbed8e7a2204f2deb50c521840e3e6c07d3f8d038ee56c5",
19
+ "runtimeBytecodePath": "runtime/OPP.bin",
20
+ "runtimeBytecodeLength": 18337,
21
+ "runtimeBytecodeSha256": "f97e68467f9ec60a83dad8d94bd4e3b4ae30b18d39529935fb25cb8e6fdc9307",
22
+ "runtimeLinkReferences": [
23
+ {
24
+ "sourceName": "contracts/outpost/OPPCommon.sol",
25
+ "libraryName": "OPPCommon",
26
+ "start": 6684,
27
+ "length": 20
28
+ },
29
+ {
30
+ "sourceName": "contracts/outpost/OPPCommon.sol",
31
+ "libraryName": "OPPCommon",
32
+ "start": 7212,
33
+ "length": 20
34
+ },
35
+ {
36
+ "sourceName": "contracts/outpost/OPPCommon.sol",
37
+ "libraryName": "OPPCommon",
38
+ "start": 10754,
39
+ "length": 20
40
+ },
41
+ {
42
+ "sourceName": "contracts/outpost/OPPCommon.sol",
43
+ "libraryName": "OPPCommon",
44
+ "start": 12052,
45
+ "length": 20
46
+ }
47
+ ]
48
+ },
49
+ "OPPInbound": {
50
+ "path": "abis/OPPInbound.json",
51
+ "abiSha256": "3fa25f8f2c3287a22d444b88f0907369c47c11d279623494c5f852a20b4f477a",
52
+ "runtimeBytecodePath": "runtime/OPPInbound.bin",
53
+ "runtimeBytecodeLength": 19155,
54
+ "runtimeBytecodeSha256": "20e0ce0a983f77cb16237388873d650a2b775200d99998a89b468984411fa3a3",
55
+ "runtimeLinkReferences": [
56
+ {
57
+ "sourceName": "contracts/outpost/OPPInboundLib.sol",
58
+ "libraryName": "OPPInboundLib",
59
+ "start": 7986,
60
+ "length": 20
61
+ },
62
+ {
63
+ "sourceName": "contracts/outpost/OPPCommon.sol",
64
+ "libraryName": "OPPCommon",
65
+ "start": 11514,
66
+ "length": 20
67
+ },
68
+ {
69
+ "sourceName": "contracts/outpost/OPPCommon.sol",
70
+ "libraryName": "OPPCommon",
71
+ "start": 12051,
72
+ "length": 20
73
+ },
74
+ {
75
+ "sourceName": "contracts/outpost/OPPInboundLib.sol",
76
+ "libraryName": "OPPInboundLib",
77
+ "start": 16277,
78
+ "length": 20
79
+ },
80
+ {
81
+ "sourceName": "contracts/outpost/OPPInboundLib.sol",
82
+ "libraryName": "OPPInboundLib",
83
+ "start": 16500,
84
+ "length": 20
85
+ },
86
+ {
87
+ "sourceName": "contracts/outpost/OPPInboundLib.sol",
88
+ "libraryName": "OPPInboundLib",
89
+ "start": 16587,
90
+ "length": 20
91
+ },
92
+ {
93
+ "sourceName": "contracts/outpost/OPPInboundLib.sol",
94
+ "libraryName": "OPPInboundLib",
95
+ "start": 17832,
96
+ "length": 20
97
+ },
98
+ {
99
+ "sourceName": "contracts/outpost/OPPInboundLib.sol",
100
+ "libraryName": "OPPInboundLib",
101
+ "start": 18070,
102
+ "length": 20
103
+ }
104
+ ]
105
+ },
106
+ "OperatorRegistry": {
107
+ "path": "abis/OperatorRegistry.json",
108
+ "abiSha256": "cd938c68f652f42de5e31c62e062c99ef18f5f0fcbbe3136991c7752fb4d9e5e",
109
+ "runtimeBytecodePath": "runtime/OperatorRegistry.bin",
110
+ "runtimeBytecodeLength": 20293,
111
+ "runtimeBytecodeSha256": "bb2804e96b936003ea538aea4cd1d81546fa0c46b11d64aa02c1807058641d1c",
112
+ "runtimeLinkReferences": [
113
+ {
114
+ "sourceName": "contracts/common/Secp256k1.sol",
115
+ "libraryName": "Secp256k1",
116
+ "start": 6556,
117
+ "length": 20
118
+ },
119
+ {
120
+ "sourceName": "contracts/common/Secp256k1.sol",
121
+ "libraryName": "Secp256k1",
122
+ "start": 8872,
123
+ "length": 20
124
+ },
125
+ {
126
+ "sourceName": "contracts/common/Secp256k1.sol",
127
+ "libraryName": "Secp256k1",
128
+ "start": 9442,
129
+ "length": 20
130
+ },
131
+ {
132
+ "sourceName": "contracts/common/Secp256k1.sol",
133
+ "libraryName": "Secp256k1",
134
+ "start": 18622,
135
+ "length": 20
136
+ }
137
+ ]
138
+ },
139
+ "ReserveManager": {
140
+ "path": "abis/ReserveManager.json",
141
+ "abiSha256": "679e23b37f9a42a96dd7bd9fbd58c793586813dff86fe0612de02f7843feb4b8",
142
+ "runtimeBytecodePath": "runtime/ReserveManager.bin",
143
+ "runtimeBytecodeLength": 23713,
144
+ "runtimeBytecodeSha256": "ab06ccba226c740b256445dd16f62e90a48b9973532a20313172d79584257d9f",
145
+ "runtimeLinkReferences": [
146
+ {
147
+ "sourceName": "contracts/outpost/PrecisionLib.sol",
148
+ "libraryName": "PrecisionLib",
149
+ "start": 3669,
150
+ "length": 20
151
+ },
152
+ {
153
+ "sourceName": "contracts/outpost/ReserveManagerLib.sol",
154
+ "libraryName": "ReserveManagerLib",
155
+ "start": 8713,
156
+ "length": 20
157
+ },
158
+ {
159
+ "sourceName": "contracts/outpost/ReserveManagerLib.sol",
160
+ "libraryName": "ReserveManagerLib",
161
+ "start": 11357,
162
+ "length": 20
163
+ },
164
+ {
165
+ "sourceName": "contracts/outpost/ReserveManagerLib.sol",
166
+ "libraryName": "ReserveManagerLib",
167
+ "start": 11558,
168
+ "length": 20
169
+ },
170
+ {
171
+ "sourceName": "contracts/outpost/ReserveManagerLib.sol",
172
+ "libraryName": "ReserveManagerLib",
173
+ "start": 12142,
174
+ "length": 20
175
+ },
176
+ {
177
+ "sourceName": "contracts/outpost/ReserveManagerLib.sol",
178
+ "libraryName": "ReserveManagerLib",
179
+ "start": 12321,
180
+ "length": 20
181
+ },
182
+ {
183
+ "sourceName": "contracts/outpost/PrecisionLib.sol",
184
+ "libraryName": "PrecisionLib",
185
+ "start": 13987,
186
+ "length": 20
187
+ },
188
+ {
189
+ "sourceName": "contracts/outpost/ReserveManagerLib.sol",
190
+ "libraryName": "ReserveManagerLib",
191
+ "start": 14265,
192
+ "length": 20
193
+ },
194
+ {
195
+ "sourceName": "contracts/outpost/PrecisionLib.sol",
196
+ "libraryName": "PrecisionLib",
197
+ "start": 15524,
198
+ "length": 20
199
+ },
200
+ {
201
+ "sourceName": "contracts/outpost/PrecisionLib.sol",
202
+ "libraryName": "PrecisionLib",
203
+ "start": 17602,
204
+ "length": 20
205
+ },
206
+ {
207
+ "sourceName": "contracts/outpost/ReserveManagerLib.sol",
208
+ "libraryName": "ReserveManagerLib",
209
+ "start": 17662,
210
+ "length": 20
211
+ },
212
+ {
213
+ "sourceName": "contracts/outpost/PrecisionLib.sol",
214
+ "libraryName": "PrecisionLib",
215
+ "start": 19807,
216
+ "length": 20
217
+ },
218
+ {
219
+ "sourceName": "contracts/outpost/ReserveManagerLib.sol",
220
+ "libraryName": "ReserveManagerLib",
221
+ "start": 19880,
222
+ "length": 20
223
+ }
224
+ ]
225
+ },
226
+ "BAR": {
227
+ "path": "abis/BAR.json",
228
+ "abiSha256": "e961d68f90cbe45f8a6749031f944b5996709d83d49f520dbdd91ae35dab79d0",
229
+ "runtimeBytecodePath": "runtime/BAR.bin",
230
+ "runtimeBytecodeLength": 13414,
231
+ "runtimeBytecodeSha256": "3a25dc7f83dad885b2c441dd98db6b416ce910b19a8a0182b29f7299723071a4",
232
+ "runtimeLinkReferences": []
233
+ }
234
+ },
235
+ "interfaces": {
236
+ "IERC1155": {
237
+ "path": "abis/IERC1155.json",
238
+ "abiSha256": "c76df0cdfc93dcf2794dfc028b0997d4ed6e341c1c685c20e0e04101f032431b"
239
+ }
240
+ }
241
+ };