@wireio/outpost-ethereum-artifacts 0.4.3 → 0.4.5
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 +2 -4
- package/abis/BAR.json +131 -450
- package/abis/DepositManager.json +1917 -233
- package/abis/LiqEthToken.json +2039 -79
- package/abis/OPP.json +138 -67
- package/abis/OPPInbound.json +298 -388
- package/abis/SyndicationPool.json +266 -99
- package/abis/WithdrawalQueue.json +1926 -77
- package/lib/cjs/Manifest.js +65 -59
- package/lib/cjs/contracts/BAR.d.ts +2 -180
- package/lib/cjs/contracts/DepositManager.d.ts +80 -188
- package/lib/cjs/contracts/LiqEthToken.d.ts +33 -1
- package/lib/cjs/contracts/OPP.d.ts +13 -1
- package/lib/cjs/contracts/OPPInbound.d.ts +173 -225
- package/lib/cjs/contracts/SyndicationPool.d.ts +89 -2
- package/lib/cjs/contracts/WithdrawalQueue.d.ts +13 -29
- package/lib/cjs/contracts/factories/BAR__factory.d.ts +105 -353
- package/lib/cjs/contracts/factories/BAR__factory.js +131 -450
- package/lib/cjs/contracts/factories/DepositManager__factory.d.ts +1465 -205
- package/lib/cjs/contracts/factories/DepositManager__factory.js +1914 -230
- package/lib/cjs/contracts/factories/LiqEthToken__factory.d.ts +1542 -68
- package/lib/cjs/contracts/factories/LiqEthToken__factory.js +2037 -77
- package/lib/cjs/contracts/factories/OPPInbound__factory.d.ts +246 -318
- package/lib/cjs/contracts/factories/OPPInbound__factory.js +296 -386
- package/lib/cjs/contracts/factories/OPP__factory.d.ts +111 -57
- package/lib/cjs/contracts/factories/OPP__factory.js +138 -67
- package/lib/cjs/contracts/factories/SyndicationPool__factory.d.ts +210 -81
- package/lib/cjs/contracts/factories/SyndicationPool__factory.js +266 -99
- package/lib/cjs/contracts/factories/WithdrawalQueue__factory.d.ts +1452 -62
- package/lib/cjs/contracts/factories/WithdrawalQueue__factory.js +1924 -75
- package/lib/esm/Manifest.js +65 -59
- package/lib/esm/contracts/BAR.d.ts +2 -180
- package/lib/esm/contracts/DepositManager.d.ts +80 -188
- package/lib/esm/contracts/LiqEthToken.d.ts +33 -1
- package/lib/esm/contracts/OPP.d.ts +13 -1
- package/lib/esm/contracts/OPPInbound.d.ts +173 -225
- package/lib/esm/contracts/SyndicationPool.d.ts +89 -2
- package/lib/esm/contracts/WithdrawalQueue.d.ts +13 -29
- package/lib/esm/contracts/factories/BAR__factory.d.ts +105 -353
- package/lib/esm/contracts/factories/BAR__factory.js +131 -450
- package/lib/esm/contracts/factories/DepositManager__factory.d.ts +1465 -205
- package/lib/esm/contracts/factories/DepositManager__factory.js +1914 -230
- package/lib/esm/contracts/factories/LiqEthToken__factory.d.ts +1542 -68
- package/lib/esm/contracts/factories/LiqEthToken__factory.js +2037 -77
- package/lib/esm/contracts/factories/OPPInbound__factory.d.ts +246 -318
- package/lib/esm/contracts/factories/OPPInbound__factory.js +296 -386
- package/lib/esm/contracts/factories/OPP__factory.d.ts +111 -57
- package/lib/esm/contracts/factories/OPP__factory.js +138 -67
- package/lib/esm/contracts/factories/SyndicationPool__factory.d.ts +210 -81
- package/lib/esm/contracts/factories/SyndicationPool__factory.js +266 -99
- package/lib/esm/contracts/factories/WithdrawalQueue__factory.d.ts +1452 -62
- package/lib/esm/contracts/factories/WithdrawalQueue__factory.js +1924 -75
- package/manifest.json +65 -59
- 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
package/lib/esm/Manifest.js
CHANGED
|
@@ -3,229 +3,235 @@ 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.5"
|
|
7
7
|
},
|
|
8
8
|
"source": {
|
|
9
9
|
"repository": "Wire-Network/wire-ethereum",
|
|
10
|
-
"revision": "
|
|
11
|
-
"artifactsSha256": "
|
|
10
|
+
"revision": "b987a2eb0475294e8317a7d16674d8e6c2a214cb",
|
|
11
|
+
"artifactsSha256": "8e8708629e8e34e97002c935d0dea33b3e8edd3cd435c4b6ac174ece8cae9e57"
|
|
12
12
|
},
|
|
13
13
|
"contracts": {
|
|
14
14
|
"OPP": {
|
|
15
15
|
"path": "abis/OPP.json",
|
|
16
|
-
"abiSha256": "
|
|
16
|
+
"abiSha256": "6cd74865cda8389410ec3bf8b3667b58f3f9724158368f8759824f99b6c721e5",
|
|
17
17
|
"runtimeBytecodePath": "runtime/OPP.bin",
|
|
18
|
-
"runtimeBytecodeLength":
|
|
19
|
-
"runtimeBytecodeSha256": "
|
|
18
|
+
"runtimeBytecodeLength": 17793,
|
|
19
|
+
"runtimeBytecodeSha256": "6972cf15d1dd6f46ed3f5ada117914c3d72f56d45dec50b553a81b1d60bd4658",
|
|
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": "8173376c5cb31d1e7ca6ea496ae9aa6f23086581ab7334c620c079cb03d738aa",
|
|
60
60
|
"runtimeBytecodePath": "runtime/OPPInbound.bin",
|
|
61
|
-
"runtimeBytecodeLength":
|
|
62
|
-
"runtimeBytecodeSha256": "
|
|
61
|
+
"runtimeBytecodeLength": 21386,
|
|
62
|
+
"runtimeBytecodeSha256": "5a83bafbf70375a39621c8fc0d39b0dbc32f3bf271aa1a475013499d4387415d",
|
|
63
63
|
"runtimeLinkReferences": [
|
|
64
64
|
{
|
|
65
65
|
"sourceName": "contracts/outpost/OPPInboundLib.sol",
|
|
66
66
|
"libraryName": "OPPInboundLib",
|
|
67
|
-
"start":
|
|
67
|
+
"start": 8295,
|
|
68
68
|
"length": 20
|
|
69
69
|
},
|
|
70
70
|
{
|
|
71
71
|
"sourceName": "contracts/outpost/OPPCommon.sol",
|
|
72
72
|
"libraryName": "OPPCommonV2",
|
|
73
|
-
"start":
|
|
73
|
+
"start": 9798,
|
|
74
74
|
"length": 20
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
|
-
"sourceName": "contracts/outpost/
|
|
78
|
-
"libraryName": "
|
|
79
|
-
"start":
|
|
77
|
+
"sourceName": "contracts/outpost/OPPInboundLib.sol",
|
|
78
|
+
"libraryName": "OPPInboundLib",
|
|
79
|
+
"start": 12615,
|
|
80
80
|
"length": 20
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
|
-
"sourceName": "contracts/outpost/
|
|
84
|
-
"libraryName": "
|
|
85
|
-
"start":
|
|
83
|
+
"sourceName": "contracts/outpost/OPPEnvelopeWalkLib.sol",
|
|
84
|
+
"libraryName": "OPPEnvelopeWalkLib",
|
|
85
|
+
"start": 13818,
|
|
86
86
|
"length": 20
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
|
-
"sourceName": "contracts/outpost/
|
|
90
|
-
"libraryName": "
|
|
91
|
-
"start":
|
|
89
|
+
"sourceName": "contracts/outpost/OPPEnvelopeWalkLib.sol",
|
|
90
|
+
"libraryName": "OPPEnvelopeWalkLib",
|
|
91
|
+
"start": 14719,
|
|
92
|
+
"length": 20
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"sourceName": "contracts/outpost/OPPCommon.sol",
|
|
96
|
+
"libraryName": "OPPCommonV2",
|
|
97
|
+
"start": 16140,
|
|
92
98
|
"length": 20
|
|
93
99
|
},
|
|
94
100
|
{
|
|
95
101
|
"sourceName": "contracts/outpost/OPPInboundLib.sol",
|
|
96
102
|
"libraryName": "OPPInboundLib",
|
|
97
|
-
"start":
|
|
103
|
+
"start": 18207,
|
|
98
104
|
"length": 20
|
|
99
105
|
}
|
|
100
106
|
],
|
|
101
107
|
"runtimeImmutableReferences": [
|
|
102
108
|
{
|
|
103
|
-
"start":
|
|
109
|
+
"start": 3816,
|
|
104
110
|
"length": 32
|
|
105
111
|
},
|
|
106
112
|
{
|
|
107
|
-
"start":
|
|
113
|
+
"start": 17600,
|
|
108
114
|
"length": 32
|
|
109
115
|
}
|
|
110
116
|
]
|
|
111
117
|
},
|
|
112
118
|
"BAR": {
|
|
113
119
|
"path": "abis/BAR.json",
|
|
114
|
-
"abiSha256": "
|
|
120
|
+
"abiSha256": "160943b58aa9a94ab8e5c0b33065de3771f91efae7eb12ea6005977b70a4757e",
|
|
115
121
|
"runtimeBytecodePath": "runtime/BAR.bin",
|
|
116
|
-
"runtimeBytecodeLength":
|
|
117
|
-
"runtimeBytecodeSha256": "
|
|
122
|
+
"runtimeBytecodeLength": 9489,
|
|
123
|
+
"runtimeBytecodeSha256": "d950d636938ee9ee9b3553d23d4a107fee60d5841d0dce478b31db6768a0c802",
|
|
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": "6fc237c877a82d1441aa764ba3b49ede5177fe2c0629fe459e545e1a6dc2ac00",
|
|
133
139
|
"runtimeBytecodePath": "runtime/SyndicationPool.bin",
|
|
134
|
-
"runtimeBytecodeLength":
|
|
135
|
-
"runtimeBytecodeSha256": "
|
|
140
|
+
"runtimeBytecodeLength": 18813,
|
|
141
|
+
"runtimeBytecodeSha256": "32138e06c2cc883f3962a419a151bd0a6f0fddb6209b9d3ba9504aba6989b797",
|
|
136
142
|
"runtimeLinkReferences": [
|
|
137
143
|
{
|
|
138
144
|
"sourceName": "contracts/outpost/PrecisionLib.sol",
|
|
139
145
|
"libraryName": "PrecisionLib",
|
|
140
|
-
"start":
|
|
146
|
+
"start": 6484,
|
|
141
147
|
"length": 20
|
|
142
148
|
},
|
|
143
149
|
{
|
|
144
150
|
"sourceName": "contracts/common/Secp256k1.sol",
|
|
145
151
|
"libraryName": "Secp256k1",
|
|
146
|
-
"start":
|
|
152
|
+
"start": 7210,
|
|
147
153
|
"length": 20
|
|
148
154
|
},
|
|
149
155
|
{
|
|
150
156
|
"sourceName": "contracts/outpost/PrecisionLib.sol",
|
|
151
157
|
"libraryName": "PrecisionLib",
|
|
152
|
-
"start":
|
|
158
|
+
"start": 7562,
|
|
153
159
|
"length": 20
|
|
154
160
|
},
|
|
155
161
|
{
|
|
156
162
|
"sourceName": "contracts/outpost/PrecisionLib.sol",
|
|
157
163
|
"libraryName": "PrecisionLib",
|
|
158
|
-
"start":
|
|
164
|
+
"start": 10557,
|
|
159
165
|
"length": 20
|
|
160
166
|
},
|
|
161
167
|
{
|
|
162
168
|
"sourceName": "contracts/common/Secp256k1.sol",
|
|
163
169
|
"libraryName": "Secp256k1",
|
|
164
|
-
"start":
|
|
170
|
+
"start": 16430,
|
|
165
171
|
"length": 20
|
|
166
172
|
}
|
|
167
173
|
],
|
|
168
174
|
"runtimeImmutableReferences": [
|
|
169
175
|
{
|
|
170
|
-
"start":
|
|
176
|
+
"start": 2539,
|
|
171
177
|
"length": 32
|
|
172
178
|
},
|
|
173
179
|
{
|
|
174
|
-
"start":
|
|
180
|
+
"start": 13070,
|
|
175
181
|
"length": 32
|
|
176
182
|
}
|
|
177
183
|
]
|
|
178
184
|
},
|
|
179
185
|
"DepositManager": {
|
|
180
186
|
"path": "abis/DepositManager.json",
|
|
181
|
-
"abiSha256": "
|
|
187
|
+
"abiSha256": "f2822dfcb23bd62b2b4f37782bb65d6445644402fb8117df8e74bac6142c28f8",
|
|
182
188
|
"runtimeBytecodePath": "runtime/DepositManager.bin",
|
|
183
|
-
"runtimeBytecodeLength":
|
|
184
|
-
"runtimeBytecodeSha256": "
|
|
189
|
+
"runtimeBytecodeLength": 7535,
|
|
190
|
+
"runtimeBytecodeSha256": "aec2ac1c9fb30a659297f0d0f99bef40e290a18f9e56e9d8c2d5855afb8e19d2",
|
|
185
191
|
"runtimeLinkReferences": [],
|
|
186
192
|
"runtimeImmutableReferences": [
|
|
187
193
|
{
|
|
188
|
-
"start":
|
|
194
|
+
"start": 4401,
|
|
189
195
|
"length": 32
|
|
190
196
|
},
|
|
191
197
|
{
|
|
192
|
-
"start":
|
|
198
|
+
"start": 7202,
|
|
193
199
|
"length": 32
|
|
194
200
|
}
|
|
195
201
|
]
|
|
196
202
|
},
|
|
197
203
|
"LiqEthToken": {
|
|
198
204
|
"path": "abis/LiqEthToken.json",
|
|
199
|
-
"abiSha256": "
|
|
205
|
+
"abiSha256": "a296634ad70be5b21ea1e346650e564b759466d60636626ede628254d4b3eda3",
|
|
200
206
|
"runtimeBytecodePath": "runtime/LiqEthToken.bin",
|
|
201
|
-
"runtimeBytecodeLength":
|
|
202
|
-
"runtimeBytecodeSha256": "
|
|
207
|
+
"runtimeBytecodeLength": 12558,
|
|
208
|
+
"runtimeBytecodeSha256": "5ba19a81acdae6addc864320f0e1d30e70230ddc278f6a13e2abf87f4e49bc0b",
|
|
203
209
|
"runtimeLinkReferences": [],
|
|
204
210
|
"runtimeImmutableReferences": [
|
|
205
211
|
{
|
|
206
|
-
"start":
|
|
212
|
+
"start": 4178,
|
|
207
213
|
"length": 32
|
|
208
214
|
},
|
|
209
215
|
{
|
|
210
|
-
"start":
|
|
216
|
+
"start": 11051,
|
|
211
217
|
"length": 32
|
|
212
218
|
}
|
|
213
219
|
]
|
|
214
220
|
},
|
|
215
221
|
"WithdrawalQueue": {
|
|
216
222
|
"path": "abis/WithdrawalQueue.json",
|
|
217
|
-
"abiSha256": "
|
|
223
|
+
"abiSha256": "cf6c172d88ba820bd9c7aff13dd9822cefea4f9e914a8fdca0ebdf9ed3ddc509",
|
|
218
224
|
"runtimeBytecodePath": "runtime/WithdrawalQueue.bin",
|
|
219
|
-
"runtimeBytecodeLength":
|
|
220
|
-
"runtimeBytecodeSha256": "
|
|
225
|
+
"runtimeBytecodeLength": 8587,
|
|
226
|
+
"runtimeBytecodeSha256": "8a2cd5be3ebdcb8f9ff0f0a18ceff544fb8099e4fc8fb1a68b28ee637aa2f7f7",
|
|
221
227
|
"runtimeLinkReferences": [],
|
|
222
228
|
"runtimeImmutableReferences": [
|
|
223
229
|
{
|
|
224
|
-
"start":
|
|
230
|
+
"start": 3174,
|
|
225
231
|
"length": 32
|
|
226
232
|
},
|
|
227
233
|
{
|
|
228
|
-
"start":
|
|
234
|
+
"start": 8122,
|
|
229
235
|
"length": 32
|
|
230
236
|
}
|
|
231
237
|
]
|
|
@@ -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>;
|