@wireio/outpost-ethereum-artifacts 0.4.2 → 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.
- package/README.md +7 -0
- package/abis/BAR.json +83 -434
- package/abis/OPP.json +122 -67
- package/abis/OPPInbound.json +226 -367
- package/abis/SyndicationPool.json +83 -83
- package/abis/WithdrawalQueue.json +968 -0
- package/lib/cjs/Manifest.d.ts +12 -0
- package/lib/cjs/Manifest.js +70 -46
- package/lib/cjs/contracts/BAR.d.ts +2 -180
- package/lib/cjs/contracts/OPP.d.ts +13 -1
- package/lib/cjs/contracts/OPPInbound.d.ts +118 -196
- package/lib/cjs/contracts/WithdrawalQueue.d.ts +457 -0
- package/lib/cjs/contracts/WithdrawalQueue.js +2 -0
- package/lib/cjs/contracts/factories/BAR__factory.d.ts +69 -341
- package/lib/cjs/contracts/factories/BAR__factory.js +83 -434
- package/lib/cjs/contracts/factories/OPPInbound__factory.d.ts +188 -298
- package/lib/cjs/contracts/factories/OPPInbound__factory.js +226 -367
- package/lib/cjs/contracts/factories/OPP__factory.d.ts +99 -57
- package/lib/cjs/contracts/factories/OPP__factory.js +122 -67
- package/lib/cjs/contracts/factories/SyndicationPool__factory.d.ts +69 -69
- package/lib/cjs/contracts/factories/SyndicationPool__factory.js +83 -83
- package/lib/cjs/contracts/factories/WithdrawalQueue__factory.d.ts +741 -0
- package/lib/cjs/contracts/factories/WithdrawalQueue__factory.js +981 -0
- package/lib/cjs/contracts/factories/index.d.ts +1 -0
- package/lib/cjs/contracts/factories/index.js +3 -1
- package/lib/cjs/contracts/index.d.ts +2 -0
- package/lib/cjs/contracts/index.js +3 -1
- package/lib/esm/Manifest.d.ts +12 -0
- package/lib/esm/Manifest.js +70 -46
- package/lib/esm/contracts/BAR.d.ts +2 -180
- package/lib/esm/contracts/OPP.d.ts +13 -1
- package/lib/esm/contracts/OPPInbound.d.ts +118 -196
- package/lib/esm/contracts/WithdrawalQueue.d.ts +457 -0
- package/lib/esm/contracts/WithdrawalQueue.js +1 -0
- package/lib/esm/contracts/factories/BAR__factory.d.ts +69 -341
- package/lib/esm/contracts/factories/BAR__factory.js +83 -434
- package/lib/esm/contracts/factories/OPPInbound__factory.d.ts +188 -298
- package/lib/esm/contracts/factories/OPPInbound__factory.js +226 -367
- package/lib/esm/contracts/factories/OPP__factory.d.ts +99 -57
- package/lib/esm/contracts/factories/OPP__factory.js +122 -67
- package/lib/esm/contracts/factories/SyndicationPool__factory.d.ts +69 -69
- package/lib/esm/contracts/factories/SyndicationPool__factory.js +83 -83
- package/lib/esm/contracts/factories/WithdrawalQueue__factory.d.ts +741 -0
- package/lib/esm/contracts/factories/WithdrawalQueue__factory.js +977 -0
- package/lib/esm/contracts/factories/index.d.ts +1 -0
- package/lib/esm/contracts/factories/index.js +1 -0
- package/lib/esm/contracts/index.d.ts +2 -0
- package/lib/esm/contracts/index.js +1 -0
- package/manifest.json +70 -46
- package/package.json +1 -1
- package/runtime/BAR.bin +0 -0
- package/runtime/DepositManager.bin +0 -0
- package/runtime/LiqEthToken.bin +0 -0
- package/runtime/OPP.bin +0 -0
- package/runtime/OPPInbound.bin +0 -0
- package/runtime/SyndicationPool.bin +0 -0
- package/runtime/WithdrawalQueue.bin +0 -0
|
@@ -5,3 +5,4 @@ export { LiqEthToken__factory } from "./LiqEthToken__factory.js";
|
|
|
5
5
|
export { OPP__factory } from "./OPP__factory.js";
|
|
6
6
|
export { OPPInbound__factory } from "./OPPInbound__factory.js";
|
|
7
7
|
export { SyndicationPool__factory } from "./SyndicationPool__factory.js";
|
|
8
|
+
export { WithdrawalQueue__factory } from "./WithdrawalQueue__factory.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SyndicationPool__factory = exports.OPPInbound__factory = exports.OPP__factory = exports.LiqEthToken__factory = exports.IERC1155__factory = exports.DepositManager__factory = exports.BAR__factory = void 0;
|
|
3
|
+
exports.WithdrawalQueue__factory = exports.SyndicationPool__factory = exports.OPPInbound__factory = exports.OPP__factory = exports.LiqEthToken__factory = exports.IERC1155__factory = exports.DepositManager__factory = exports.BAR__factory = void 0;
|
|
4
4
|
/* Autogenerated file. Do not edit manually. */
|
|
5
5
|
/* tslint:disable */
|
|
6
6
|
/* eslint-disable */
|
|
@@ -18,3 +18,5 @@ var OPPInbound__factory_js_1 = require("./OPPInbound__factory.js");
|
|
|
18
18
|
Object.defineProperty(exports, "OPPInbound__factory", { enumerable: true, get: function () { return OPPInbound__factory_js_1.OPPInbound__factory; } });
|
|
19
19
|
var SyndicationPool__factory_js_1 = require("./SyndicationPool__factory.js");
|
|
20
20
|
Object.defineProperty(exports, "SyndicationPool__factory", { enumerable: true, get: function () { return SyndicationPool__factory_js_1.SyndicationPool__factory; } });
|
|
21
|
+
var WithdrawalQueue__factory_js_1 = require("./WithdrawalQueue__factory.js");
|
|
22
|
+
Object.defineProperty(exports, "WithdrawalQueue__factory", { enumerable: true, get: function () { return WithdrawalQueue__factory_js_1.WithdrawalQueue__factory; } });
|
|
@@ -5,6 +5,7 @@ export type { LiqEthToken } from "./LiqEthToken.js";
|
|
|
5
5
|
export type { OPP } from "./OPP.js";
|
|
6
6
|
export type { OPPInbound } from "./OPPInbound.js";
|
|
7
7
|
export type { SyndicationPool } from "./SyndicationPool.js";
|
|
8
|
+
export type { WithdrawalQueue } from "./WithdrawalQueue.js";
|
|
8
9
|
export * as factories from "./factories/index.js";
|
|
9
10
|
export { OPP__factory } from "./factories/OPP__factory.js";
|
|
10
11
|
export { OPPInbound__factory } from "./factories/OPPInbound__factory.js";
|
|
@@ -12,4 +13,5 @@ export { BAR__factory } from "./factories/BAR__factory.js";
|
|
|
12
13
|
export { SyndicationPool__factory } from "./factories/SyndicationPool__factory.js";
|
|
13
14
|
export { DepositManager__factory } from "./factories/DepositManager__factory.js";
|
|
14
15
|
export { LiqEthToken__factory } from "./factories/LiqEthToken__factory.js";
|
|
16
|
+
export { WithdrawalQueue__factory } from "./factories/WithdrawalQueue__factory.js";
|
|
15
17
|
export { IERC1155__factory } from "./factories/IERC1155__factory.js";
|
|
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.IERC1155__factory = exports.LiqEthToken__factory = exports.DepositManager__factory = exports.SyndicationPool__factory = exports.BAR__factory = exports.OPPInbound__factory = exports.OPP__factory = exports.factories = void 0;
|
|
36
|
+
exports.IERC1155__factory = exports.WithdrawalQueue__factory = exports.LiqEthToken__factory = exports.DepositManager__factory = exports.SyndicationPool__factory = exports.BAR__factory = exports.OPPInbound__factory = exports.OPP__factory = exports.factories = void 0;
|
|
37
37
|
exports.factories = __importStar(require("./factories/index.js"));
|
|
38
38
|
var OPP__factory_js_1 = require("./factories/OPP__factory.js");
|
|
39
39
|
Object.defineProperty(exports, "OPP__factory", { enumerable: true, get: function () { return OPP__factory_js_1.OPP__factory; } });
|
|
@@ -47,5 +47,7 @@ var DepositManager__factory_js_1 = require("./factories/DepositManager__factory.
|
|
|
47
47
|
Object.defineProperty(exports, "DepositManager__factory", { enumerable: true, get: function () { return DepositManager__factory_js_1.DepositManager__factory; } });
|
|
48
48
|
var LiqEthToken__factory_js_1 = require("./factories/LiqEthToken__factory.js");
|
|
49
49
|
Object.defineProperty(exports, "LiqEthToken__factory", { enumerable: true, get: function () { return LiqEthToken__factory_js_1.LiqEthToken__factory; } });
|
|
50
|
+
var WithdrawalQueue__factory_js_1 = require("./factories/WithdrawalQueue__factory.js");
|
|
51
|
+
Object.defineProperty(exports, "WithdrawalQueue__factory", { enumerable: true, get: function () { return WithdrawalQueue__factory_js_1.WithdrawalQueue__factory; } });
|
|
50
52
|
var IERC1155__factory_js_1 = require("./factories/IERC1155__factory.js");
|
|
51
53
|
Object.defineProperty(exports, "IERC1155__factory", { enumerable: true, get: function () { return IERC1155__factory_js_1.IERC1155__factory; } });
|
package/lib/esm/Manifest.d.ts
CHANGED
|
@@ -98,6 +98,18 @@ export declare const EthereumOutpostArtifactManifest: {
|
|
|
98
98
|
length: number;
|
|
99
99
|
}[];
|
|
100
100
|
};
|
|
101
|
+
WithdrawalQueue: {
|
|
102
|
+
path: string;
|
|
103
|
+
abiSha256: string;
|
|
104
|
+
runtimeBytecodePath: string;
|
|
105
|
+
runtimeBytecodeLength: number;
|
|
106
|
+
runtimeBytecodeSha256: string;
|
|
107
|
+
runtimeLinkReferences: any[];
|
|
108
|
+
runtimeImmutableReferences: {
|
|
109
|
+
start: number;
|
|
110
|
+
length: number;
|
|
111
|
+
}[];
|
|
112
|
+
};
|
|
101
113
|
};
|
|
102
114
|
interfaces: {
|
|
103
115
|
IERC1155: {
|
package/lib/esm/Manifest.js
CHANGED
|
@@ -3,136 +3,142 @@ export const EthereumOutpostArtifactManifest = {
|
|
|
3
3
|
"schemaVersion": 2,
|
|
4
4
|
"package": {
|
|
5
5
|
"name": "@wireio/outpost-ethereum-artifacts",
|
|
6
|
-
"version": "0.4.
|
|
6
|
+
"version": "0.4.4"
|
|
7
7
|
},
|
|
8
8
|
"source": {
|
|
9
9
|
"repository": "Wire-Network/wire-ethereum",
|
|
10
|
-
"revision": "
|
|
11
|
-
"artifactsSha256": "
|
|
10
|
+
"revision": "a76e7a0b70ce38db3460d06d71e51ed755c2f8c4",
|
|
11
|
+
"artifactsSha256": "2dfcf3a46d8ec0daf67761a6654f6cca90a5b5dd202f1e72359c018f31660832"
|
|
12
12
|
},
|
|
13
13
|
"contracts": {
|
|
14
14
|
"OPP": {
|
|
15
15
|
"path": "abis/OPP.json",
|
|
16
|
-
"abiSha256": "
|
|
16
|
+
"abiSha256": "2b6be7497a1990c31323d61a9664a7f8ab1de7cffa463c3d55a0c9d571fbb6fc",
|
|
17
17
|
"runtimeBytecodePath": "runtime/OPP.bin",
|
|
18
|
-
"runtimeBytecodeLength":
|
|
19
|
-
"runtimeBytecodeSha256": "
|
|
18
|
+
"runtimeBytecodeLength": 17793,
|
|
19
|
+
"runtimeBytecodeSha256": "c97b251463a2e2cf20ca6f55254c5a0ce1fa4e1d4bd7062399097b996609a5c3",
|
|
20
20
|
"runtimeLinkReferences": [
|
|
21
21
|
{
|
|
22
22
|
"sourceName": "contracts/outpost/OPPCommon.sol",
|
|
23
23
|
"libraryName": "OPPCommonV2",
|
|
24
|
-
"start":
|
|
24
|
+
"start": 6698,
|
|
25
25
|
"length": 20
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
"sourceName": "contracts/outpost/OPPCommon.sol",
|
|
29
29
|
"libraryName": "OPPCommonV2",
|
|
30
|
-
"start":
|
|
30
|
+
"start": 7221,
|
|
31
31
|
"length": 20
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
"sourceName": "contracts/outpost/OPPCommon.sol",
|
|
35
35
|
"libraryName": "OPPCommonV2",
|
|
36
|
-
"start":
|
|
36
|
+
"start": 9704,
|
|
37
37
|
"length": 20
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
40
|
"sourceName": "contracts/outpost/OPPCommon.sol",
|
|
41
41
|
"libraryName": "OPPCommonV2",
|
|
42
|
-
"start":
|
|
42
|
+
"start": 11086,
|
|
43
43
|
"length": 20
|
|
44
44
|
}
|
|
45
45
|
],
|
|
46
46
|
"runtimeImmutableReferences": [
|
|
47
47
|
{
|
|
48
|
-
"start":
|
|
48
|
+
"start": 2439,
|
|
49
49
|
"length": 32
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
|
-
"start":
|
|
52
|
+
"start": 14770,
|
|
53
53
|
"length": 32
|
|
54
54
|
}
|
|
55
55
|
]
|
|
56
56
|
},
|
|
57
57
|
"OPPInbound": {
|
|
58
58
|
"path": "abis/OPPInbound.json",
|
|
59
|
-
"abiSha256": "
|
|
59
|
+
"abiSha256": "bd649db50220b158b610bca9bf27ab937069222d6d741b66fb33a38b917cb9a0",
|
|
60
60
|
"runtimeBytecodePath": "runtime/OPPInbound.bin",
|
|
61
|
-
"runtimeBytecodeLength":
|
|
62
|
-
"runtimeBytecodeSha256": "
|
|
61
|
+
"runtimeBytecodeLength": 19455,
|
|
62
|
+
"runtimeBytecodeSha256": "dec1ba4ae763823e272e53af37603ccbd62f1bea64cc789e792a418bb1dd2263",
|
|
63
63
|
"runtimeLinkReferences": [
|
|
64
|
+
{
|
|
65
|
+
"sourceName": "contracts/outpost/OPPCommon.sol",
|
|
66
|
+
"libraryName": "OPPCommonV2",
|
|
67
|
+
"start": 8552,
|
|
68
|
+
"length": 20
|
|
69
|
+
},
|
|
64
70
|
{
|
|
65
71
|
"sourceName": "contracts/outpost/OPPInboundLib.sol",
|
|
66
72
|
"libraryName": "OPPInboundLib",
|
|
67
|
-
"start":
|
|
73
|
+
"start": 11199,
|
|
68
74
|
"length": 20
|
|
69
75
|
},
|
|
70
76
|
{
|
|
71
|
-
"sourceName": "contracts/outpost/
|
|
72
|
-
"libraryName": "
|
|
73
|
-
"start":
|
|
77
|
+
"sourceName": "contracts/outpost/OPPInboundLib.sol",
|
|
78
|
+
"libraryName": "OPPInboundLib",
|
|
79
|
+
"start": 11803,
|
|
74
80
|
"length": 20
|
|
75
81
|
},
|
|
76
82
|
{
|
|
77
|
-
"sourceName": "contracts/outpost/
|
|
78
|
-
"libraryName": "
|
|
79
|
-
"start":
|
|
83
|
+
"sourceName": "contracts/outpost/OPPEnvelopeWalkLib.sol",
|
|
84
|
+
"libraryName": "OPPEnvelopeWalkLib",
|
|
85
|
+
"start": 12591,
|
|
80
86
|
"length": 20
|
|
81
87
|
},
|
|
82
88
|
{
|
|
83
|
-
"sourceName": "contracts/outpost/
|
|
84
|
-
"libraryName": "
|
|
85
|
-
"start":
|
|
89
|
+
"sourceName": "contracts/outpost/OPPEnvelopeWalkLib.sol",
|
|
90
|
+
"libraryName": "OPPEnvelopeWalkLib",
|
|
91
|
+
"start": 13067,
|
|
86
92
|
"length": 20
|
|
87
93
|
},
|
|
88
94
|
{
|
|
89
|
-
"sourceName": "contracts/outpost/
|
|
90
|
-
"libraryName": "
|
|
91
|
-
"start":
|
|
95
|
+
"sourceName": "contracts/outpost/OPPCommon.sol",
|
|
96
|
+
"libraryName": "OPPCommonV2",
|
|
97
|
+
"start": 14334,
|
|
92
98
|
"length": 20
|
|
93
99
|
},
|
|
94
100
|
{
|
|
95
101
|
"sourceName": "contracts/outpost/OPPInboundLib.sol",
|
|
96
102
|
"libraryName": "OPPInboundLib",
|
|
97
|
-
"start":
|
|
103
|
+
"start": 16417,
|
|
98
104
|
"length": 20
|
|
99
105
|
}
|
|
100
106
|
],
|
|
101
107
|
"runtimeImmutableReferences": [
|
|
102
108
|
{
|
|
103
|
-
"start":
|
|
109
|
+
"start": 3615,
|
|
104
110
|
"length": 32
|
|
105
111
|
},
|
|
106
112
|
{
|
|
107
|
-
"start":
|
|
113
|
+
"start": 15794,
|
|
108
114
|
"length": 32
|
|
109
115
|
}
|
|
110
116
|
]
|
|
111
117
|
},
|
|
112
118
|
"BAR": {
|
|
113
119
|
"path": "abis/BAR.json",
|
|
114
|
-
"abiSha256": "
|
|
120
|
+
"abiSha256": "a66f5768a20533190610820da0248df319e25075cb4c5426651f3fa0407d5f23",
|
|
115
121
|
"runtimeBytecodePath": "runtime/BAR.bin",
|
|
116
|
-
"runtimeBytecodeLength":
|
|
117
|
-
"runtimeBytecodeSha256": "
|
|
122
|
+
"runtimeBytecodeLength": 9489,
|
|
123
|
+
"runtimeBytecodeSha256": "6420dc4f5c11a546e68df5fe8b7f38f173029d07f43cdd779e46e32f78659b36",
|
|
118
124
|
"runtimeLinkReferences": [],
|
|
119
125
|
"runtimeImmutableReferences": [
|
|
120
126
|
{
|
|
121
|
-
"start":
|
|
127
|
+
"start": 1318,
|
|
122
128
|
"length": 32
|
|
123
129
|
},
|
|
124
130
|
{
|
|
125
|
-
"start":
|
|
131
|
+
"start": 7879,
|
|
126
132
|
"length": 32
|
|
127
133
|
}
|
|
128
134
|
]
|
|
129
135
|
},
|
|
130
136
|
"SyndicationPool": {
|
|
131
137
|
"path": "abis/SyndicationPool.json",
|
|
132
|
-
"abiSha256": "
|
|
138
|
+
"abiSha256": "559538b906a07be1d54cf101c7f168a10b641865e703489f994ef983388d4498",
|
|
133
139
|
"runtimeBytecodePath": "runtime/SyndicationPool.bin",
|
|
134
|
-
"runtimeBytecodeLength":
|
|
135
|
-
"runtimeBytecodeSha256": "
|
|
140
|
+
"runtimeBytecodeLength": 17817,
|
|
141
|
+
"runtimeBytecodeSha256": "cd92e26e738600a1557df010c14dc6f8ce19a712c22eb34381479ba13c33f926",
|
|
136
142
|
"runtimeLinkReferences": [
|
|
137
143
|
{
|
|
138
144
|
"sourceName": "contracts/outpost/PrecisionLib.sol",
|
|
@@ -143,25 +149,25 @@ export const EthereumOutpostArtifactManifest = {
|
|
|
143
149
|
{
|
|
144
150
|
"sourceName": "contracts/common/Secp256k1.sol",
|
|
145
151
|
"libraryName": "Secp256k1",
|
|
146
|
-
"start":
|
|
152
|
+
"start": 6586,
|
|
147
153
|
"length": 20
|
|
148
154
|
},
|
|
149
155
|
{
|
|
150
156
|
"sourceName": "contracts/outpost/PrecisionLib.sol",
|
|
151
157
|
"libraryName": "PrecisionLib",
|
|
152
|
-
"start":
|
|
158
|
+
"start": 6939,
|
|
153
159
|
"length": 20
|
|
154
160
|
},
|
|
155
161
|
{
|
|
156
162
|
"sourceName": "contracts/outpost/PrecisionLib.sol",
|
|
157
163
|
"libraryName": "PrecisionLib",
|
|
158
|
-
"start":
|
|
164
|
+
"start": 9865,
|
|
159
165
|
"length": 20
|
|
160
166
|
},
|
|
161
167
|
{
|
|
162
168
|
"sourceName": "contracts/common/Secp256k1.sol",
|
|
163
169
|
"libraryName": "Secp256k1",
|
|
164
|
-
"start":
|
|
170
|
+
"start": 15537,
|
|
165
171
|
"length": 20
|
|
166
172
|
}
|
|
167
173
|
],
|
|
@@ -171,7 +177,7 @@ export const EthereumOutpostArtifactManifest = {
|
|
|
171
177
|
"length": 32
|
|
172
178
|
},
|
|
173
179
|
{
|
|
174
|
-
"start":
|
|
180
|
+
"start": 12382,
|
|
175
181
|
"length": 32
|
|
176
182
|
}
|
|
177
183
|
]
|
|
@@ -181,7 +187,7 @@ export const EthereumOutpostArtifactManifest = {
|
|
|
181
187
|
"abiSha256": "7103f2462210a8de84210c7cbaad4f218ce367468b3607ab5970ece9ba267fda",
|
|
182
188
|
"runtimeBytecodePath": "runtime/DepositManager.bin",
|
|
183
189
|
"runtimeBytecodeLength": 9013,
|
|
184
|
-
"runtimeBytecodeSha256": "
|
|
190
|
+
"runtimeBytecodeSha256": "dff5899818bd2f7b3491339dd2e02f7d622d14467177c57dcdd6e7012c70ff57",
|
|
185
191
|
"runtimeLinkReferences": [],
|
|
186
192
|
"runtimeImmutableReferences": [
|
|
187
193
|
{
|
|
@@ -199,7 +205,7 @@ export const EthereumOutpostArtifactManifest = {
|
|
|
199
205
|
"abiSha256": "3c47e5f481620e3ef66fc17448445150e510ac1f9f2b495c1766943eb32eb4a4",
|
|
200
206
|
"runtimeBytecodePath": "runtime/LiqEthToken.bin",
|
|
201
207
|
"runtimeBytecodeLength": 12322,
|
|
202
|
-
"runtimeBytecodeSha256": "
|
|
208
|
+
"runtimeBytecodeSha256": "b2b15283e551138234c075460fc1d49d29fea5c9e6370ff801ccf01f8a774206",
|
|
203
209
|
"runtimeLinkReferences": [],
|
|
204
210
|
"runtimeImmutableReferences": [
|
|
205
211
|
{
|
|
@@ -211,6 +217,24 @@ export const EthereumOutpostArtifactManifest = {
|
|
|
211
217
|
"length": 32
|
|
212
218
|
}
|
|
213
219
|
]
|
|
220
|
+
},
|
|
221
|
+
"WithdrawalQueue": {
|
|
222
|
+
"path": "abis/WithdrawalQueue.json",
|
|
223
|
+
"abiSha256": "c7d2037d4348ad496509ecf7cd473935aa6deb2b2b42b2b3c48b238641e545e6",
|
|
224
|
+
"runtimeBytecodePath": "runtime/WithdrawalQueue.bin",
|
|
225
|
+
"runtimeBytecodeLength": 8657,
|
|
226
|
+
"runtimeBytecodeSha256": "d82eb5b5d1ee14b0e9e7bd43089f94c9e737e3df45121d9e76b30f3854758d0a",
|
|
227
|
+
"runtimeLinkReferences": [],
|
|
228
|
+
"runtimeImmutableReferences": [
|
|
229
|
+
{
|
|
230
|
+
"start": 2725,
|
|
231
|
+
"length": 32
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"start": 8164,
|
|
235
|
+
"length": 32
|
|
236
|
+
}
|
|
237
|
+
]
|
|
214
238
|
}
|
|
215
239
|
},
|
|
216
240
|
"interfaces": {
|
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
2
|
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "./common.js";
|
|
3
|
-
export type TokenAmountStruct = {
|
|
4
|
-
tokenCode: BigNumberish;
|
|
5
|
-
amount: BigNumberish;
|
|
6
|
-
};
|
|
7
|
-
export type TokenAmountStructOutput = [tokenCode: bigint, amount: bigint] & {
|
|
8
|
-
tokenCode: bigint;
|
|
9
|
-
amount: bigint;
|
|
10
|
-
};
|
|
11
3
|
export type WireKeyStruct = {
|
|
12
4
|
keyType: BigNumberish;
|
|
13
5
|
key: BytesLike;
|
|
@@ -16,46 +8,6 @@ export type WireKeyStructOutput = [keyType: bigint, key: string] & {
|
|
|
16
8
|
keyType: bigint;
|
|
17
9
|
key: string;
|
|
18
10
|
};
|
|
19
|
-
export type ChainAddressStruct = {
|
|
20
|
-
kind: BigNumberish;
|
|
21
|
-
address_: BytesLike;
|
|
22
|
-
};
|
|
23
|
-
export type ChainAddressStructOutput = [kind: bigint, address_: string] & {
|
|
24
|
-
kind: bigint;
|
|
25
|
-
address_: string;
|
|
26
|
-
};
|
|
27
|
-
export type OperatorActionStruct = {
|
|
28
|
-
actionType: BigNumberish;
|
|
29
|
-
opAddress: ChainAddressStruct;
|
|
30
|
-
type_: BigNumberish;
|
|
31
|
-
status: BigNumberish;
|
|
32
|
-
amount: TokenAmountStruct;
|
|
33
|
-
requestId: BigNumberish;
|
|
34
|
-
chainCode: BigNumberish;
|
|
35
|
-
reason: string;
|
|
36
|
-
reserveCode: BigNumberish;
|
|
37
|
-
};
|
|
38
|
-
export type OperatorActionStructOutput = [
|
|
39
|
-
actionType: bigint,
|
|
40
|
-
opAddress: ChainAddressStructOutput,
|
|
41
|
-
type_: bigint,
|
|
42
|
-
status: bigint,
|
|
43
|
-
amount: TokenAmountStructOutput,
|
|
44
|
-
requestId: bigint,
|
|
45
|
-
chainCode: bigint,
|
|
46
|
-
reason: string,
|
|
47
|
-
reserveCode: bigint
|
|
48
|
-
] & {
|
|
49
|
-
actionType: bigint;
|
|
50
|
-
opAddress: ChainAddressStructOutput;
|
|
51
|
-
type_: bigint;
|
|
52
|
-
status: bigint;
|
|
53
|
-
amount: TokenAmountStructOutput;
|
|
54
|
-
requestId: bigint;
|
|
55
|
-
chainCode: bigint;
|
|
56
|
-
reason: string;
|
|
57
|
-
reserveCode: bigint;
|
|
58
|
-
};
|
|
59
11
|
export type AttestationEntryStruct = {
|
|
60
12
|
type_: BigNumberish;
|
|
61
13
|
dataSize: BigNumberish;
|
|
@@ -71,8 +23,8 @@ export type AttestationEntryStructOutput = [
|
|
|
71
23
|
data: string;
|
|
72
24
|
};
|
|
73
25
|
export interface BARInterface extends Interface {
|
|
74
|
-
getFunction(nameOrSignature: "ED25519_KEY_LENGTH" | "NODE_COMMIT_TOKEN_AMOUNT" | "NODE_OWNER_REG_ATTESTATION" | "SECP256K1_COMPRESSED_KEY_LENGTH" | "UNCOMPRESSED_PUBKEY_LENGTH" | "UNCOMPRESSED_PUBKEY_PREFIX" | "UPGRADE_INTERFACE_VERSION" | "WIRE_ACCOUNT_NAME_MAX_LENGTH" | "authority" | "
|
|
75
|
-
getEvent(nameOrSignatureOrTopic: "
|
|
26
|
+
getFunction(nameOrSignature: "ED25519_KEY_LENGTH" | "NODE_COMMIT_TOKEN_AMOUNT" | "NODE_OWNER_REG_ATTESTATION" | "SECP256K1_COMPRESSED_KEY_LENGTH" | "UNCOMPRESSED_PUBKEY_LENGTH" | "UNCOMPRESSED_PUBKEY_PREFIX" | "UPGRADE_INTERFACE_VERSION" | "WIRE_ACCOUNT_NAME_MAX_LENGTH" | "authority" | "commitNode" | "getSummaryAttestations" | "initialize" | "isConsumingScheduledOp" | "onERC1155BatchReceived" | "onERC1155Received" | "oppAddress" | "oppInboundAddress" | "outpostChainCode" | "proxiableUUID" | "releaseNode" | "setAuthority" | "setOPPAddresses" | "setOutpostChainCode" | "setWireNodesContract" | "supportsInterface" | "upgradeToAndCall" | "wireNodesContract"): FunctionFragment;
|
|
27
|
+
getEvent(nameOrSignatureOrTopic: "AuthorityUpdated" | "Initialized" | "NodeCommitted" | "NodeReleased" | "OutpostChainCodeSet" | "Upgraded" | "WireNodesContractSet"): EventFragment;
|
|
76
28
|
encodeFunctionData(functionFragment: "ED25519_KEY_LENGTH", values?: undefined): string;
|
|
77
29
|
encodeFunctionData(functionFragment: "NODE_COMMIT_TOKEN_AMOUNT", values?: undefined): string;
|
|
78
30
|
encodeFunctionData(functionFragment: "NODE_OWNER_REG_ATTESTATION", values?: undefined): string;
|
|
@@ -82,11 +34,7 @@ export interface BARInterface extends Interface {
|
|
|
82
34
|
encodeFunctionData(functionFragment: "UPGRADE_INTERFACE_VERSION", values?: undefined): string;
|
|
83
35
|
encodeFunctionData(functionFragment: "WIRE_ACCOUNT_NAME_MAX_LENGTH", values?: undefined): string;
|
|
84
36
|
encodeFunctionData(functionFragment: "authority", values?: undefined): string;
|
|
85
|
-
encodeFunctionData(functionFragment: "bond", values: [AddressLike, BigNumberish, TokenAmountStruct]): string;
|
|
86
|
-
encodeFunctionData(functionFragment: "bondCount", values: [AddressLike, BigNumberish]): string;
|
|
87
37
|
encodeFunctionData(functionFragment: "commitNode", values: [BigNumberish, string, WireKeyStruct, BytesLike]): string;
|
|
88
|
-
encodeFunctionData(functionFragment: "getBond", values: [AddressLike, BigNumberish, BigNumberish]): string;
|
|
89
|
-
encodeFunctionData(functionFragment: "getBonds", values: [AddressLike, BigNumberish]): string;
|
|
90
38
|
encodeFunctionData(functionFragment: "getSummaryAttestations", values?: undefined): string;
|
|
91
39
|
encodeFunctionData(functionFragment: "initialize", values: [AddressLike]): string;
|
|
92
40
|
encodeFunctionData(functionFragment: "isConsumingScheduledOp", values?: undefined): string;
|
|
@@ -108,7 +56,6 @@ export interface BARInterface extends Interface {
|
|
|
108
56
|
encodeFunctionData(functionFragment: "setOutpostChainCode", values: [BigNumberish]): string;
|
|
109
57
|
encodeFunctionData(functionFragment: "setWireNodesContract", values: [AddressLike]): string;
|
|
110
58
|
encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string;
|
|
111
|
-
encodeFunctionData(functionFragment: "unbond", values: [AddressLike, BigNumberish, TokenAmountStruct]): string;
|
|
112
59
|
encodeFunctionData(functionFragment: "upgradeToAndCall", values: [AddressLike, BytesLike]): string;
|
|
113
60
|
encodeFunctionData(functionFragment: "wireNodesContract", values?: undefined): string;
|
|
114
61
|
decodeFunctionResult(functionFragment: "ED25519_KEY_LENGTH", data: BytesLike): Result;
|
|
@@ -120,11 +67,7 @@ export interface BARInterface extends Interface {
|
|
|
120
67
|
decodeFunctionResult(functionFragment: "UPGRADE_INTERFACE_VERSION", data: BytesLike): Result;
|
|
121
68
|
decodeFunctionResult(functionFragment: "WIRE_ACCOUNT_NAME_MAX_LENGTH", data: BytesLike): Result;
|
|
122
69
|
decodeFunctionResult(functionFragment: "authority", data: BytesLike): Result;
|
|
123
|
-
decodeFunctionResult(functionFragment: "bond", data: BytesLike): Result;
|
|
124
|
-
decodeFunctionResult(functionFragment: "bondCount", data: BytesLike): Result;
|
|
125
70
|
decodeFunctionResult(functionFragment: "commitNode", data: BytesLike): Result;
|
|
126
|
-
decodeFunctionResult(functionFragment: "getBond", data: BytesLike): Result;
|
|
127
|
-
decodeFunctionResult(functionFragment: "getBonds", data: BytesLike): Result;
|
|
128
71
|
decodeFunctionResult(functionFragment: "getSummaryAttestations", data: BytesLike): Result;
|
|
129
72
|
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
|
|
130
73
|
decodeFunctionResult(functionFragment: "isConsumingScheduledOp", data: BytesLike): Result;
|
|
@@ -140,58 +83,9 @@ export interface BARInterface extends Interface {
|
|
|
140
83
|
decodeFunctionResult(functionFragment: "setOutpostChainCode", data: BytesLike): Result;
|
|
141
84
|
decodeFunctionResult(functionFragment: "setWireNodesContract", data: BytesLike): Result;
|
|
142
85
|
decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result;
|
|
143
|
-
decodeFunctionResult(functionFragment: "unbond", data: BytesLike): Result;
|
|
144
86
|
decodeFunctionResult(functionFragment: "upgradeToAndCall", data: BytesLike): Result;
|
|
145
87
|
decodeFunctionResult(functionFragment: "wireNodesContract", data: BytesLike): Result;
|
|
146
88
|
}
|
|
147
|
-
export declare namespace ActorBondedEvent {
|
|
148
|
-
type InputTuple = [
|
|
149
|
-
actor: AddressLike,
|
|
150
|
-
operatorType: BigNumberish,
|
|
151
|
-
tokenCode: BigNumberish,
|
|
152
|
-
amount: BigNumberish
|
|
153
|
-
];
|
|
154
|
-
type OutputTuple = [
|
|
155
|
-
actor: string,
|
|
156
|
-
operatorType: bigint,
|
|
157
|
-
tokenCode: bigint,
|
|
158
|
-
amount: bigint
|
|
159
|
-
];
|
|
160
|
-
interface OutputObject {
|
|
161
|
-
actor: string;
|
|
162
|
-
operatorType: bigint;
|
|
163
|
-
tokenCode: bigint;
|
|
164
|
-
amount: bigint;
|
|
165
|
-
}
|
|
166
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
167
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
168
|
-
type Log = TypedEventLog<Event>;
|
|
169
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
170
|
-
}
|
|
171
|
-
export declare namespace ActorUnbondedEvent {
|
|
172
|
-
type InputTuple = [
|
|
173
|
-
actor: AddressLike,
|
|
174
|
-
operatorType: BigNumberish,
|
|
175
|
-
tokenCode: BigNumberish,
|
|
176
|
-
amount: BigNumberish
|
|
177
|
-
];
|
|
178
|
-
type OutputTuple = [
|
|
179
|
-
actor: string,
|
|
180
|
-
operatorType: bigint,
|
|
181
|
-
tokenCode: bigint,
|
|
182
|
-
amount: bigint
|
|
183
|
-
];
|
|
184
|
-
interface OutputObject {
|
|
185
|
-
actor: string;
|
|
186
|
-
operatorType: bigint;
|
|
187
|
-
tokenCode: bigint;
|
|
188
|
-
amount: bigint;
|
|
189
|
-
}
|
|
190
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
191
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
192
|
-
type Log = TypedEventLog<Event>;
|
|
193
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
194
|
-
}
|
|
195
89
|
export declare namespace AuthorityUpdatedEvent {
|
|
196
90
|
type InputTuple = [authority: AddressLike];
|
|
197
91
|
type OutputTuple = [authority: string];
|
|
@@ -310,19 +204,6 @@ export interface BAR extends BaseContract {
|
|
|
310
204
|
UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">;
|
|
311
205
|
WIRE_ACCOUNT_NAME_MAX_LENGTH: TypedContractMethod<[], [bigint], "view">;
|
|
312
206
|
authority: TypedContractMethod<[], [string], "view">;
|
|
313
|
-
bond: TypedContractMethod<[
|
|
314
|
-
actor: AddressLike,
|
|
315
|
-
operatorType: BigNumberish,
|
|
316
|
-
amount: TokenAmountStruct
|
|
317
|
-
], [
|
|
318
|
-
void
|
|
319
|
-
], "nonpayable">;
|
|
320
|
-
bondCount: TypedContractMethod<[
|
|
321
|
-
actor: AddressLike,
|
|
322
|
-
operatorType: BigNumberish
|
|
323
|
-
], [
|
|
324
|
-
bigint
|
|
325
|
-
], "view">;
|
|
326
207
|
commitNode: TypedContractMethod<[
|
|
327
208
|
tokenId: BigNumberish,
|
|
328
209
|
wireAccountName: string,
|
|
@@ -331,19 +212,6 @@ export interface BAR extends BaseContract {
|
|
|
331
212
|
], [
|
|
332
213
|
void
|
|
333
214
|
], "nonpayable">;
|
|
334
|
-
getBond: TypedContractMethod<[
|
|
335
|
-
actor: AddressLike,
|
|
336
|
-
operatorType: BigNumberish,
|
|
337
|
-
bondIndex: BigNumberish
|
|
338
|
-
], [
|
|
339
|
-
OperatorActionStructOutput
|
|
340
|
-
], "view">;
|
|
341
|
-
getBonds: TypedContractMethod<[
|
|
342
|
-
actor: AddressLike,
|
|
343
|
-
operatorType: BigNumberish
|
|
344
|
-
], [
|
|
345
|
-
OperatorActionStructOutput[]
|
|
346
|
-
], "view">;
|
|
347
215
|
getSummaryAttestations: TypedContractMethod<[
|
|
348
216
|
], [
|
|
349
217
|
AttestationEntryStructOutput[]
|
|
@@ -409,13 +277,6 @@ export interface BAR extends BaseContract {
|
|
|
409
277
|
], [
|
|
410
278
|
boolean
|
|
411
279
|
], "view">;
|
|
412
|
-
unbond: TypedContractMethod<[
|
|
413
|
-
actor: AddressLike,
|
|
414
|
-
operatorType: BigNumberish,
|
|
415
|
-
amount: TokenAmountStruct
|
|
416
|
-
], [
|
|
417
|
-
void
|
|
418
|
-
], "nonpayable">;
|
|
419
280
|
upgradeToAndCall: TypedContractMethod<[
|
|
420
281
|
newImplementation: AddressLike,
|
|
421
282
|
data: BytesLike
|
|
@@ -433,19 +294,6 @@ export interface BAR extends BaseContract {
|
|
|
433
294
|
getFunction(nameOrSignature: "UPGRADE_INTERFACE_VERSION"): TypedContractMethod<[], [string], "view">;
|
|
434
295
|
getFunction(nameOrSignature: "WIRE_ACCOUNT_NAME_MAX_LENGTH"): TypedContractMethod<[], [bigint], "view">;
|
|
435
296
|
getFunction(nameOrSignature: "authority"): TypedContractMethod<[], [string], "view">;
|
|
436
|
-
getFunction(nameOrSignature: "bond"): TypedContractMethod<[
|
|
437
|
-
actor: AddressLike,
|
|
438
|
-
operatorType: BigNumberish,
|
|
439
|
-
amount: TokenAmountStruct
|
|
440
|
-
], [
|
|
441
|
-
void
|
|
442
|
-
], "nonpayable">;
|
|
443
|
-
getFunction(nameOrSignature: "bondCount"): TypedContractMethod<[
|
|
444
|
-
actor: AddressLike,
|
|
445
|
-
operatorType: BigNumberish
|
|
446
|
-
], [
|
|
447
|
-
bigint
|
|
448
|
-
], "view">;
|
|
449
297
|
getFunction(nameOrSignature: "commitNode"): TypedContractMethod<[
|
|
450
298
|
tokenId: BigNumberish,
|
|
451
299
|
wireAccountName: string,
|
|
@@ -454,19 +302,6 @@ export interface BAR extends BaseContract {
|
|
|
454
302
|
], [
|
|
455
303
|
void
|
|
456
304
|
], "nonpayable">;
|
|
457
|
-
getFunction(nameOrSignature: "getBond"): TypedContractMethod<[
|
|
458
|
-
actor: AddressLike,
|
|
459
|
-
operatorType: BigNumberish,
|
|
460
|
-
bondIndex: BigNumberish
|
|
461
|
-
], [
|
|
462
|
-
OperatorActionStructOutput
|
|
463
|
-
], "view">;
|
|
464
|
-
getFunction(nameOrSignature: "getBonds"): TypedContractMethod<[
|
|
465
|
-
actor: AddressLike,
|
|
466
|
-
operatorType: BigNumberish
|
|
467
|
-
], [
|
|
468
|
-
OperatorActionStructOutput[]
|
|
469
|
-
], "view">;
|
|
470
305
|
getFunction(nameOrSignature: "getSummaryAttestations"): TypedContractMethod<[], [AttestationEntryStructOutput[]], "nonpayable">;
|
|
471
306
|
getFunction(nameOrSignature: "initialize"): TypedContractMethod<[_authority: AddressLike], [void], "nonpayable">;
|
|
472
307
|
getFunction(nameOrSignature: "isConsumingScheduledOp"): TypedContractMethod<[], [string], "view">;
|
|
@@ -509,13 +344,6 @@ export interface BAR extends BaseContract {
|
|
|
509
344
|
getFunction(nameOrSignature: "setOutpostChainCode"): TypedContractMethod<[chainCode: BigNumberish], [void], "nonpayable">;
|
|
510
345
|
getFunction(nameOrSignature: "setWireNodesContract"): TypedContractMethod<[wireNodes: AddressLike], [void], "nonpayable">;
|
|
511
346
|
getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
|
|
512
|
-
getFunction(nameOrSignature: "unbond"): TypedContractMethod<[
|
|
513
|
-
actor: AddressLike,
|
|
514
|
-
operatorType: BigNumberish,
|
|
515
|
-
amount: TokenAmountStruct
|
|
516
|
-
], [
|
|
517
|
-
void
|
|
518
|
-
], "nonpayable">;
|
|
519
347
|
getFunction(nameOrSignature: "upgradeToAndCall"): TypedContractMethod<[
|
|
520
348
|
newImplementation: AddressLike,
|
|
521
349
|
data: BytesLike
|
|
@@ -523,8 +351,6 @@ export interface BAR extends BaseContract {
|
|
|
523
351
|
void
|
|
524
352
|
], "payable">;
|
|
525
353
|
getFunction(nameOrSignature: "wireNodesContract"): TypedContractMethod<[], [string], "view">;
|
|
526
|
-
getEvent(key: "ActorBonded"): TypedContractEvent<ActorBondedEvent.InputTuple, ActorBondedEvent.OutputTuple, ActorBondedEvent.OutputObject>;
|
|
527
|
-
getEvent(key: "ActorUnbonded"): TypedContractEvent<ActorUnbondedEvent.InputTuple, ActorUnbondedEvent.OutputTuple, ActorUnbondedEvent.OutputObject>;
|
|
528
354
|
getEvent(key: "AuthorityUpdated"): TypedContractEvent<AuthorityUpdatedEvent.InputTuple, AuthorityUpdatedEvent.OutputTuple, AuthorityUpdatedEvent.OutputObject>;
|
|
529
355
|
getEvent(key: "Initialized"): TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
530
356
|
getEvent(key: "NodeCommitted"): TypedContractEvent<NodeCommittedEvent.InputTuple, NodeCommittedEvent.OutputTuple, NodeCommittedEvent.OutputObject>;
|
|
@@ -533,10 +359,6 @@ export interface BAR extends BaseContract {
|
|
|
533
359
|
getEvent(key: "Upgraded"): TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
|
|
534
360
|
getEvent(key: "WireNodesContractSet"): TypedContractEvent<WireNodesContractSetEvent.InputTuple, WireNodesContractSetEvent.OutputTuple, WireNodesContractSetEvent.OutputObject>;
|
|
535
361
|
filters: {
|
|
536
|
-
"ActorBonded(address,uint8,uint64,int64)": TypedContractEvent<ActorBondedEvent.InputTuple, ActorBondedEvent.OutputTuple, ActorBondedEvent.OutputObject>;
|
|
537
|
-
ActorBonded: TypedContractEvent<ActorBondedEvent.InputTuple, ActorBondedEvent.OutputTuple, ActorBondedEvent.OutputObject>;
|
|
538
|
-
"ActorUnbonded(address,uint8,uint64,int64)": TypedContractEvent<ActorUnbondedEvent.InputTuple, ActorUnbondedEvent.OutputTuple, ActorUnbondedEvent.OutputObject>;
|
|
539
|
-
ActorUnbonded: TypedContractEvent<ActorUnbondedEvent.InputTuple, ActorUnbondedEvent.OutputTuple, ActorUnbondedEvent.OutputObject>;
|
|
540
362
|
"AuthorityUpdated(address)": TypedContractEvent<AuthorityUpdatedEvent.InputTuple, AuthorityUpdatedEvent.OutputTuple, AuthorityUpdatedEvent.OutputObject>;
|
|
541
363
|
AuthorityUpdated: TypedContractEvent<AuthorityUpdatedEvent.InputTuple, AuthorityUpdatedEvent.OutputTuple, AuthorityUpdatedEvent.OutputObject>;
|
|
542
364
|
"Initialized(uint64)": TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|