@avail-project/ca-common 1.0.0-beta.7 → 1.0.0-beta.9
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/dist/cjs/_polyfill.js +147 -0
- package/dist/cjs/data/chaindata.js +67 -34
- package/dist/cjs/data/chainid.js +4 -2
- package/dist/cjs/data/currency.js +1 -2
- package/dist/cjs/index.js +4 -4
- package/dist/cjs/proto/client.js +48 -0
- package/dist/cjs/proto/definition.js +167 -448
- package/dist/cjs/proto/grpc.js +4 -9
- package/dist/cjs/rff/rff.js +0 -35
- package/dist/cjs/vaultcontracts/vaultcontracts.js +79 -30
- package/dist/cjs/xcs/autochoice.js +255 -0
- package/dist/esm/_polyfill.js +143 -0
- package/dist/esm/data/chaindata.js +67 -34
- package/dist/esm/data/chainid.js +4 -2
- package/dist/esm/data/currency.js +1 -2
- package/dist/esm/index.js +13 -12
- package/dist/esm/proto/client.js +11 -0
- package/dist/esm/proto/definition.js +167 -448
- package/dist/esm/proto/grpc.js +4 -9
- package/dist/esm/rff/rff.js +0 -35
- package/dist/esm/vaultcontracts/vaultcontracts.js +79 -30
- package/dist/esm/xcs/autochoice.js +254 -0
- package/dist/types/_polyfill.d.ts +1 -0
- package/dist/types/data/currency.d.ts +1 -2
- package/dist/types/index.d.ts +13 -12
- package/dist/types/proto/client.d.ts +2 -0
- package/dist/types/rff/rff.d.ts +0 -3
- package/dist/types/xcs/autochoice.d.ts +17 -0
- package/package.json +16 -10
- package/dist/cjs/fuelcontracts/ArcanaVault.js +0 -2407
- package/dist/cjs/fuelcontracts/ArcanaVaultFactory.js +0 -18
- package/dist/cjs/fuelcontracts/common.js +0 -3
- package/dist/cjs/fuelcontracts/index.js +0 -5
- package/dist/cjs/rff/fuel.js +0 -27
- package/dist/esm/fuelcontracts/ArcanaVault.js +0 -2402
- package/dist/esm/fuelcontracts/ArcanaVaultFactory.js +0 -14
- package/dist/esm/fuelcontracts/common.js +0 -2
- package/dist/esm/fuelcontracts/index.js +0 -2
- package/dist/esm/rff/fuel.js +0 -23
- package/dist/types/fuelcontracts/ArcanaVault.d.ts +0 -448
- package/dist/types/fuelcontracts/ArcanaVaultFactory.d.ts +0 -8
- package/dist/types/fuelcontracts/common.d.ts +0 -23
- package/dist/types/fuelcontracts/index.d.ts +0 -2
- package/dist/types/rff/fuel.d.ts +0 -4
|
@@ -1,2402 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
import { Contract, Interface } from "fuels";
|
|
3
|
-
export var AccessErrorInput;
|
|
4
|
-
(function (AccessErrorInput) {
|
|
5
|
-
AccessErrorInput["NotOwner"] = "NotOwner";
|
|
6
|
-
})(AccessErrorInput || (AccessErrorInput = {}));
|
|
7
|
-
export var AccessErrorOutput;
|
|
8
|
-
(function (AccessErrorOutput) {
|
|
9
|
-
AccessErrorOutput["NotOwner"] = "NotOwner";
|
|
10
|
-
})(AccessErrorOutput || (AccessErrorOutput = {}));
|
|
11
|
-
export var InitializationErrorInput;
|
|
12
|
-
(function (InitializationErrorInput) {
|
|
13
|
-
InitializationErrorInput["CannotReinitialized"] = "CannotReinitialized";
|
|
14
|
-
})(InitializationErrorInput || (InitializationErrorInput = {}));
|
|
15
|
-
export var InitializationErrorOutput;
|
|
16
|
-
(function (InitializationErrorOutput) {
|
|
17
|
-
InitializationErrorOutput["CannotReinitialized"] = "CannotReinitialized";
|
|
18
|
-
})(InitializationErrorOutput || (InitializationErrorOutput = {}));
|
|
19
|
-
export var ReentrancyErrorInput;
|
|
20
|
-
(function (ReentrancyErrorInput) {
|
|
21
|
-
ReentrancyErrorInput["NonReentrant"] = "NonReentrant";
|
|
22
|
-
})(ReentrancyErrorInput || (ReentrancyErrorInput = {}));
|
|
23
|
-
export var ReentrancyErrorOutput;
|
|
24
|
-
(function (ReentrancyErrorOutput) {
|
|
25
|
-
ReentrancyErrorOutput["NonReentrant"] = "NonReentrant";
|
|
26
|
-
})(ReentrancyErrorOutput || (ReentrancyErrorOutput = {}));
|
|
27
|
-
export var RoleAccessErrorInput;
|
|
28
|
-
(function (RoleAccessErrorInput) {
|
|
29
|
-
RoleAccessErrorInput["NotSettlementVerifier"] = "NotSettlementVerifier";
|
|
30
|
-
RoleAccessErrorInput["NotRefundEligible"] = "NotRefundEligible";
|
|
31
|
-
})(RoleAccessErrorInput || (RoleAccessErrorInput = {}));
|
|
32
|
-
export var RoleAccessErrorOutput;
|
|
33
|
-
(function (RoleAccessErrorOutput) {
|
|
34
|
-
RoleAccessErrorOutput["NotSettlementVerifier"] = "NotSettlementVerifier";
|
|
35
|
-
RoleAccessErrorOutput["NotRefundEligible"] = "NotRefundEligible";
|
|
36
|
-
})(RoleAccessErrorOutput || (RoleAccessErrorOutput = {}));
|
|
37
|
-
export var UniverseInput;
|
|
38
|
-
(function (UniverseInput) {
|
|
39
|
-
UniverseInput["ETHEREUM"] = "ETHEREUM";
|
|
40
|
-
UniverseInput["FUEL"] = "FUEL";
|
|
41
|
-
UniverseInput["SOLANA"] = "SOLANA";
|
|
42
|
-
})(UniverseInput || (UniverseInput = {}));
|
|
43
|
-
export var UniverseOutput;
|
|
44
|
-
(function (UniverseOutput) {
|
|
45
|
-
UniverseOutput["ETHEREUM"] = "ETHEREUM";
|
|
46
|
-
UniverseOutput["FUEL"] = "FUEL";
|
|
47
|
-
UniverseOutput["SOLANA"] = "SOLANA";
|
|
48
|
-
})(UniverseOutput || (UniverseOutput = {}));
|
|
49
|
-
const abi = {
|
|
50
|
-
programType: "contract",
|
|
51
|
-
specVersion: "1",
|
|
52
|
-
encodingVersion: "1",
|
|
53
|
-
concreteTypes: [
|
|
54
|
-
{
|
|
55
|
-
type: "()",
|
|
56
|
-
concreteTypeId: "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
type: "b256",
|
|
60
|
-
concreteTypeId: "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b",
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
type: "bool",
|
|
64
|
-
concreteTypeId: "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903",
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
type: "enum errors::RoleAccessError",
|
|
68
|
-
concreteTypeId: "19d4ddc6bfa7239c40e8a40045394730ec18e202048f5b6404eb6b453bb70362",
|
|
69
|
-
metadataTypeId: 2,
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
type: "enum errors::VaultError",
|
|
73
|
-
concreteTypeId: "1174ac322e5f50aeb24de065558295d834bab4ad055eedc043379d91a8958834",
|
|
74
|
-
metadataTypeId: 3,
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
type: "enum standards::src5::AccessError",
|
|
78
|
-
concreteTypeId: "3f702ea3351c9c1ece2b84048006c8034a24cbc2bad2e740d0412b4172951d3d",
|
|
79
|
-
metadataTypeId: 4,
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
type: "enum standards::src5::State",
|
|
83
|
-
concreteTypeId: "192bc7098e2fe60635a9918afb563e4e5419d386da2bdbf0d716b4bc8549802c",
|
|
84
|
-
metadataTypeId: 5,
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
type: "enum std::identity::Identity",
|
|
88
|
-
concreteTypeId: "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335",
|
|
89
|
-
metadataTypeId: 6,
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
type: "enum std::option::Option<bool>",
|
|
93
|
-
concreteTypeId: "160e7964babcf172e41aa29b138f9c2ccfc416ad2368dabdbdf877ec5de5503f",
|
|
94
|
-
metadataTypeId: 7,
|
|
95
|
-
typeArguments: [
|
|
96
|
-
"b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903",
|
|
97
|
-
],
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
type: "enum std::option::Option<struct data_structures::Request>",
|
|
101
|
-
concreteTypeId: "2644cb541197d16874ed15ff9b4e74d0cb01be34849c3fb2d8356f064f7b097a",
|
|
102
|
-
metadataTypeId: 7,
|
|
103
|
-
typeArguments: [
|
|
104
|
-
"8f17cef827b9269639659b2f90120c93255dfedb8f58f7f69e7f2f2a9040077d",
|
|
105
|
-
],
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
type: "enum sway_libs::ownership::errors::InitializationError",
|
|
109
|
-
concreteTypeId: "1dfe7feadc1d9667a4351761230f948744068a090fe91b1bc6763a90ed5d3893",
|
|
110
|
-
metadataTypeId: 8,
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
type: "enum sway_libs::reentrancy::errors::ReentrancyError",
|
|
114
|
-
concreteTypeId: "4d216c57b3357523323f59401c7355785b41bdf832f6e1106272186b94797038",
|
|
115
|
-
metadataTypeId: 9,
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
type: "struct data_structures::Request",
|
|
119
|
-
concreteTypeId: "8f17cef827b9269639659b2f90120c93255dfedb8f58f7f69e7f2f2a9040077d",
|
|
120
|
-
metadataTypeId: 14,
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
type: "struct data_structures::SettleData",
|
|
124
|
-
concreteTypeId: "3f398311d910f45891ebe297c796818054c203bb631628fb87216c30add71db0",
|
|
125
|
-
metadataTypeId: 15,
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
type: "struct events::Deposit",
|
|
129
|
-
concreteTypeId: "a93fb3d7088884ac8084fc44b117612059604f3d2051bfb1e2612381c3cebda9",
|
|
130
|
-
metadataTypeId: 17,
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
type: "struct events::Fill",
|
|
134
|
-
concreteTypeId: "5d6f0cf603f336a11e076b3797ac315dc56056f8fd733e270621be9b42f539f8",
|
|
135
|
-
metadataTypeId: 18,
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
type: "struct events::RefundEligibleRoleSet",
|
|
139
|
-
concreteTypeId: "6bf7e984bfcd09a667a74ad394cc04dc36275dcc2610439ddd4eb06e138e0c99",
|
|
140
|
-
metadataTypeId: 19,
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
type: "struct events::RefundEligibleRoleTransfer",
|
|
144
|
-
concreteTypeId: "69cfe1483138c6201ab36e7cf5e0b54aa9ee674f19318d289e55961bfdcc4ebf",
|
|
145
|
-
metadataTypeId: 20,
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
type: "struct events::Settle",
|
|
149
|
-
concreteTypeId: "d33ab1a100ca3838867bc1b5bd324dbf7d8385b8c61195a20e87cf71d3d35d4f",
|
|
150
|
-
metadataTypeId: 21,
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
type: "struct events::SettlementVerifierRoleSet",
|
|
154
|
-
concreteTypeId: "cff3cdf4605fc7bc13714d42a1fa51fa0fd5743cc3ee2cebf512d2ee1f0541d0",
|
|
155
|
-
metadataTypeId: 22,
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
type: "struct events::SettlementVerifierRoleTransfer",
|
|
159
|
-
concreteTypeId: "57e2d2b7e4cba1e211aa57fd003552898667215676b5c12e9018c643d3177b08",
|
|
160
|
-
metadataTypeId: 23,
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
type: "struct events::Withdraw",
|
|
164
|
-
concreteTypeId: "2dbac8ab9d6c521bc756385f712aadb559780f80981fd7f47f28ba0bf5aab3de",
|
|
165
|
-
metadataTypeId: 24,
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
type: "struct std::asset_id::AssetId",
|
|
169
|
-
concreteTypeId: "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974",
|
|
170
|
-
metadataTypeId: 26,
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
type: "struct std::b512::B512",
|
|
174
|
-
concreteTypeId: "745e252e80bec590efc3999ae943f07ccea4d5b45b00bb6575499b64abdd3322",
|
|
175
|
-
metadataTypeId: 27,
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
type: "struct sway_libs::ownership::events::OwnershipRenounced",
|
|
179
|
-
concreteTypeId: "43c4fa7b3297401afbf300127e59ea913e5c8f0c7ae69abbec789ab0bb872bed",
|
|
180
|
-
metadataTypeId: 31,
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
type: "struct sway_libs::ownership::events::OwnershipSet",
|
|
184
|
-
concreteTypeId: "e1ef35033ea9d2956f17c3292dea4a46ce7d61fdf37bbebe03b7b965073f43b5",
|
|
185
|
-
metadataTypeId: 32,
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
type: "struct sway_libs::ownership::events::OwnershipTransferred",
|
|
189
|
-
concreteTypeId: "b3fffbcb3158d7c010c31b194b60fb7857adb4ad61bdcf4b8b42958951d9f308",
|
|
190
|
-
metadataTypeId: 33,
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
type: "u256",
|
|
194
|
-
concreteTypeId: "1b5759d94094368cfd443019e7ca5ec4074300e544e5ea993a979f5da627261e",
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
type: "u64",
|
|
198
|
-
concreteTypeId: "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
199
|
-
},
|
|
200
|
-
],
|
|
201
|
-
metadataTypes: [
|
|
202
|
-
{
|
|
203
|
-
type: "[_; 2]",
|
|
204
|
-
metadataTypeId: 0,
|
|
205
|
-
components: [
|
|
206
|
-
{
|
|
207
|
-
name: "__array_element",
|
|
208
|
-
typeId: "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b",
|
|
209
|
-
},
|
|
210
|
-
],
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
type: "enum data_structures::Universe",
|
|
214
|
-
metadataTypeId: 1,
|
|
215
|
-
components: [
|
|
216
|
-
{
|
|
217
|
-
name: "ETHEREUM",
|
|
218
|
-
typeId: "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
name: "FUEL",
|
|
222
|
-
typeId: "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
name: "SOLANA",
|
|
226
|
-
typeId: "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
227
|
-
},
|
|
228
|
-
],
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
type: "enum errors::RoleAccessError",
|
|
232
|
-
metadataTypeId: 2,
|
|
233
|
-
components: [
|
|
234
|
-
{
|
|
235
|
-
name: "NotSettlementVerifier",
|
|
236
|
-
typeId: "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
name: "NotRefundEligible",
|
|
240
|
-
typeId: "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
241
|
-
},
|
|
242
|
-
],
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
type: "enum errors::VaultError",
|
|
246
|
-
metadataTypeId: 3,
|
|
247
|
-
components: [
|
|
248
|
-
{
|
|
249
|
-
name: "AssetMismatch",
|
|
250
|
-
typeId: "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
name: "ChainIdMismatch",
|
|
254
|
-
typeId: "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
name: "DestinationPairsNotFilled",
|
|
258
|
-
typeId: 30,
|
|
259
|
-
typeArguments: [
|
|
260
|
-
{
|
|
261
|
-
name: "",
|
|
262
|
-
typeId: 12,
|
|
263
|
-
},
|
|
264
|
-
],
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
name: "InvalidFillOutputs",
|
|
268
|
-
typeId: "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
269
|
-
},
|
|
270
|
-
{
|
|
271
|
-
name: "InvalidSignature",
|
|
272
|
-
typeId: "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
name: "NonceAlreadyUsed",
|
|
276
|
-
typeId: "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
name: "RequestExpired",
|
|
280
|
-
typeId: "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
281
|
-
},
|
|
282
|
-
{
|
|
283
|
-
name: "RequestUnverified",
|
|
284
|
-
typeId: "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
name: "SolversAndAmountsLengthMismatch",
|
|
288
|
-
typeId: "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
289
|
-
},
|
|
290
|
-
{
|
|
291
|
-
name: "SolversAndAssetsLengthMismatch",
|
|
292
|
-
typeId: "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
name: "ValueMismatch",
|
|
296
|
-
typeId: "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
297
|
-
},
|
|
298
|
-
{
|
|
299
|
-
name: "AddressNotFound",
|
|
300
|
-
typeId: "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
301
|
-
},
|
|
302
|
-
],
|
|
303
|
-
},
|
|
304
|
-
{
|
|
305
|
-
type: "enum standards::src5::AccessError",
|
|
306
|
-
metadataTypeId: 4,
|
|
307
|
-
components: [
|
|
308
|
-
{
|
|
309
|
-
name: "NotOwner",
|
|
310
|
-
typeId: "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
311
|
-
},
|
|
312
|
-
],
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
type: "enum standards::src5::State",
|
|
316
|
-
metadataTypeId: 5,
|
|
317
|
-
components: [
|
|
318
|
-
{
|
|
319
|
-
name: "Uninitialized",
|
|
320
|
-
typeId: "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
name: "Initialized",
|
|
324
|
-
typeId: 6,
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
name: "Revoked",
|
|
328
|
-
typeId: "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
329
|
-
},
|
|
330
|
-
],
|
|
331
|
-
},
|
|
332
|
-
{
|
|
333
|
-
type: "enum std::identity::Identity",
|
|
334
|
-
metadataTypeId: 6,
|
|
335
|
-
components: [
|
|
336
|
-
{
|
|
337
|
-
name: "Address",
|
|
338
|
-
typeId: 25,
|
|
339
|
-
},
|
|
340
|
-
{
|
|
341
|
-
name: "ContractId",
|
|
342
|
-
typeId: 28,
|
|
343
|
-
},
|
|
344
|
-
],
|
|
345
|
-
},
|
|
346
|
-
{
|
|
347
|
-
type: "enum std::option::Option",
|
|
348
|
-
metadataTypeId: 7,
|
|
349
|
-
components: [
|
|
350
|
-
{
|
|
351
|
-
name: "None",
|
|
352
|
-
typeId: "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
353
|
-
},
|
|
354
|
-
{
|
|
355
|
-
name: "Some",
|
|
356
|
-
typeId: 10,
|
|
357
|
-
},
|
|
358
|
-
],
|
|
359
|
-
typeParameters: [10],
|
|
360
|
-
},
|
|
361
|
-
{
|
|
362
|
-
type: "enum sway_libs::ownership::errors::InitializationError",
|
|
363
|
-
metadataTypeId: 8,
|
|
364
|
-
components: [
|
|
365
|
-
{
|
|
366
|
-
name: "CannotReinitialized",
|
|
367
|
-
typeId: "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
368
|
-
},
|
|
369
|
-
],
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
type: "enum sway_libs::reentrancy::errors::ReentrancyError",
|
|
373
|
-
metadataTypeId: 9,
|
|
374
|
-
components: [
|
|
375
|
-
{
|
|
376
|
-
name: "NonReentrant",
|
|
377
|
-
typeId: "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
378
|
-
},
|
|
379
|
-
],
|
|
380
|
-
},
|
|
381
|
-
{
|
|
382
|
-
type: "generic T",
|
|
383
|
-
metadataTypeId: 10,
|
|
384
|
-
},
|
|
385
|
-
{
|
|
386
|
-
type: "raw untyped ptr",
|
|
387
|
-
metadataTypeId: 11,
|
|
388
|
-
},
|
|
389
|
-
{
|
|
390
|
-
type: "struct data_structures::DestinationPair",
|
|
391
|
-
metadataTypeId: 12,
|
|
392
|
-
components: [
|
|
393
|
-
{
|
|
394
|
-
name: "asset_id",
|
|
395
|
-
typeId: 26,
|
|
396
|
-
},
|
|
397
|
-
{
|
|
398
|
-
name: "value",
|
|
399
|
-
typeId: "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
400
|
-
},
|
|
401
|
-
],
|
|
402
|
-
},
|
|
403
|
-
{
|
|
404
|
-
type: "struct data_structures::Party",
|
|
405
|
-
metadataTypeId: 13,
|
|
406
|
-
components: [
|
|
407
|
-
{
|
|
408
|
-
name: "universe",
|
|
409
|
-
typeId: 1,
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
name: "address",
|
|
413
|
-
typeId: 25,
|
|
414
|
-
},
|
|
415
|
-
],
|
|
416
|
-
},
|
|
417
|
-
{
|
|
418
|
-
type: "struct data_structures::Request",
|
|
419
|
-
metadataTypeId: 14,
|
|
420
|
-
components: [
|
|
421
|
-
{
|
|
422
|
-
name: "sources",
|
|
423
|
-
typeId: 30,
|
|
424
|
-
typeArguments: [
|
|
425
|
-
{
|
|
426
|
-
name: "",
|
|
427
|
-
typeId: 16,
|
|
428
|
-
},
|
|
429
|
-
],
|
|
430
|
-
},
|
|
431
|
-
{
|
|
432
|
-
name: "destination_universe",
|
|
433
|
-
typeId: 1,
|
|
434
|
-
},
|
|
435
|
-
{
|
|
436
|
-
name: "destination_chain_id",
|
|
437
|
-
typeId: "1b5759d94094368cfd443019e7ca5ec4074300e544e5ea993a979f5da627261e",
|
|
438
|
-
},
|
|
439
|
-
{
|
|
440
|
-
name: "destinations",
|
|
441
|
-
typeId: 30,
|
|
442
|
-
typeArguments: [
|
|
443
|
-
{
|
|
444
|
-
name: "",
|
|
445
|
-
typeId: 12,
|
|
446
|
-
},
|
|
447
|
-
],
|
|
448
|
-
},
|
|
449
|
-
{
|
|
450
|
-
name: "nonce",
|
|
451
|
-
typeId: "1b5759d94094368cfd443019e7ca5ec4074300e544e5ea993a979f5da627261e",
|
|
452
|
-
},
|
|
453
|
-
{
|
|
454
|
-
name: "expiry",
|
|
455
|
-
typeId: "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
456
|
-
},
|
|
457
|
-
{
|
|
458
|
-
name: "parties",
|
|
459
|
-
typeId: 30,
|
|
460
|
-
typeArguments: [
|
|
461
|
-
{
|
|
462
|
-
name: "",
|
|
463
|
-
typeId: 13,
|
|
464
|
-
},
|
|
465
|
-
],
|
|
466
|
-
},
|
|
467
|
-
],
|
|
468
|
-
},
|
|
469
|
-
{
|
|
470
|
-
type: "struct data_structures::SettleData",
|
|
471
|
-
metadataTypeId: 15,
|
|
472
|
-
components: [
|
|
473
|
-
{
|
|
474
|
-
name: "universe",
|
|
475
|
-
typeId: 1,
|
|
476
|
-
},
|
|
477
|
-
{
|
|
478
|
-
name: "chain_id",
|
|
479
|
-
typeId: "1b5759d94094368cfd443019e7ca5ec4074300e544e5ea993a979f5da627261e",
|
|
480
|
-
},
|
|
481
|
-
{
|
|
482
|
-
name: "solvers",
|
|
483
|
-
typeId: 30,
|
|
484
|
-
typeArguments: [
|
|
485
|
-
{
|
|
486
|
-
name: "",
|
|
487
|
-
typeId: 25,
|
|
488
|
-
},
|
|
489
|
-
],
|
|
490
|
-
},
|
|
491
|
-
{
|
|
492
|
-
name: "assets",
|
|
493
|
-
typeId: 30,
|
|
494
|
-
typeArguments: [
|
|
495
|
-
{
|
|
496
|
-
name: "",
|
|
497
|
-
typeId: 26,
|
|
498
|
-
},
|
|
499
|
-
],
|
|
500
|
-
},
|
|
501
|
-
{
|
|
502
|
-
name: "amounts",
|
|
503
|
-
typeId: 30,
|
|
504
|
-
typeArguments: [
|
|
505
|
-
{
|
|
506
|
-
name: "",
|
|
507
|
-
typeId: "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
508
|
-
},
|
|
509
|
-
],
|
|
510
|
-
},
|
|
511
|
-
{
|
|
512
|
-
name: "nonce",
|
|
513
|
-
typeId: "1b5759d94094368cfd443019e7ca5ec4074300e544e5ea993a979f5da627261e",
|
|
514
|
-
},
|
|
515
|
-
],
|
|
516
|
-
},
|
|
517
|
-
{
|
|
518
|
-
type: "struct data_structures::SourcePair",
|
|
519
|
-
metadataTypeId: 16,
|
|
520
|
-
components: [
|
|
521
|
-
{
|
|
522
|
-
name: "universe",
|
|
523
|
-
typeId: 1,
|
|
524
|
-
},
|
|
525
|
-
{
|
|
526
|
-
name: "chain_id",
|
|
527
|
-
typeId: "1b5759d94094368cfd443019e7ca5ec4074300e544e5ea993a979f5da627261e",
|
|
528
|
-
},
|
|
529
|
-
{
|
|
530
|
-
name: "asset_id",
|
|
531
|
-
typeId: 26,
|
|
532
|
-
},
|
|
533
|
-
{
|
|
534
|
-
name: "value",
|
|
535
|
-
typeId: "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
536
|
-
},
|
|
537
|
-
],
|
|
538
|
-
},
|
|
539
|
-
{
|
|
540
|
-
type: "struct events::Deposit",
|
|
541
|
-
metadataTypeId: 17,
|
|
542
|
-
components: [
|
|
543
|
-
{
|
|
544
|
-
name: "from",
|
|
545
|
-
typeId: 25,
|
|
546
|
-
},
|
|
547
|
-
{
|
|
548
|
-
name: "signed_message_hash",
|
|
549
|
-
typeId: "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b",
|
|
550
|
-
},
|
|
551
|
-
],
|
|
552
|
-
},
|
|
553
|
-
{
|
|
554
|
-
type: "struct events::Fill",
|
|
555
|
-
metadataTypeId: 18,
|
|
556
|
-
components: [
|
|
557
|
-
{
|
|
558
|
-
name: "from",
|
|
559
|
-
typeId: 25,
|
|
560
|
-
},
|
|
561
|
-
{
|
|
562
|
-
name: "signed_message_hash",
|
|
563
|
-
typeId: "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b",
|
|
564
|
-
},
|
|
565
|
-
{
|
|
566
|
-
name: "solver",
|
|
567
|
-
typeId: 25,
|
|
568
|
-
},
|
|
569
|
-
],
|
|
570
|
-
},
|
|
571
|
-
{
|
|
572
|
-
type: "struct events::RefundEligibleRoleSet",
|
|
573
|
-
metadataTypeId: 19,
|
|
574
|
-
components: [
|
|
575
|
-
{
|
|
576
|
-
name: "identity",
|
|
577
|
-
typeId: 6,
|
|
578
|
-
},
|
|
579
|
-
{
|
|
580
|
-
name: "has_role",
|
|
581
|
-
typeId: "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903",
|
|
582
|
-
},
|
|
583
|
-
],
|
|
584
|
-
},
|
|
585
|
-
{
|
|
586
|
-
type: "struct events::RefundEligibleRoleTransfer",
|
|
587
|
-
metadataTypeId: 20,
|
|
588
|
-
components: [
|
|
589
|
-
{
|
|
590
|
-
name: "old_identity",
|
|
591
|
-
typeId: 6,
|
|
592
|
-
},
|
|
593
|
-
{
|
|
594
|
-
name: "new_identity",
|
|
595
|
-
typeId: 6,
|
|
596
|
-
},
|
|
597
|
-
],
|
|
598
|
-
},
|
|
599
|
-
{
|
|
600
|
-
type: "struct events::Settle",
|
|
601
|
-
metadataTypeId: 21,
|
|
602
|
-
components: [
|
|
603
|
-
{
|
|
604
|
-
name: "solver",
|
|
605
|
-
typeId: 25,
|
|
606
|
-
},
|
|
607
|
-
{
|
|
608
|
-
name: "asset_id",
|
|
609
|
-
typeId: 26,
|
|
610
|
-
},
|
|
611
|
-
{
|
|
612
|
-
name: "amount",
|
|
613
|
-
typeId: "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
614
|
-
},
|
|
615
|
-
{
|
|
616
|
-
name: "nonce",
|
|
617
|
-
typeId: "1b5759d94094368cfd443019e7ca5ec4074300e544e5ea993a979f5da627261e",
|
|
618
|
-
},
|
|
619
|
-
],
|
|
620
|
-
},
|
|
621
|
-
{
|
|
622
|
-
type: "struct events::SettlementVerifierRoleSet",
|
|
623
|
-
metadataTypeId: 22,
|
|
624
|
-
components: [
|
|
625
|
-
{
|
|
626
|
-
name: "identity",
|
|
627
|
-
typeId: 6,
|
|
628
|
-
},
|
|
629
|
-
{
|
|
630
|
-
name: "has_role",
|
|
631
|
-
typeId: "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903",
|
|
632
|
-
},
|
|
633
|
-
],
|
|
634
|
-
},
|
|
635
|
-
{
|
|
636
|
-
type: "struct events::SettlementVerifierRoleTransfer",
|
|
637
|
-
metadataTypeId: 23,
|
|
638
|
-
components: [
|
|
639
|
-
{
|
|
640
|
-
name: "old_identity",
|
|
641
|
-
typeId: 6,
|
|
642
|
-
},
|
|
643
|
-
{
|
|
644
|
-
name: "new_identity",
|
|
645
|
-
typeId: 6,
|
|
646
|
-
},
|
|
647
|
-
],
|
|
648
|
-
},
|
|
649
|
-
{
|
|
650
|
-
type: "struct events::Withdraw",
|
|
651
|
-
metadataTypeId: 24,
|
|
652
|
-
components: [
|
|
653
|
-
{
|
|
654
|
-
name: "to",
|
|
655
|
-
typeId: 6,
|
|
656
|
-
},
|
|
657
|
-
{
|
|
658
|
-
name: "asset_id",
|
|
659
|
-
typeId: 26,
|
|
660
|
-
},
|
|
661
|
-
{
|
|
662
|
-
name: "amount",
|
|
663
|
-
typeId: "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
664
|
-
},
|
|
665
|
-
],
|
|
666
|
-
},
|
|
667
|
-
{
|
|
668
|
-
type: "struct std::address::Address",
|
|
669
|
-
metadataTypeId: 25,
|
|
670
|
-
components: [
|
|
671
|
-
{
|
|
672
|
-
name: "bits",
|
|
673
|
-
typeId: "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b",
|
|
674
|
-
},
|
|
675
|
-
],
|
|
676
|
-
},
|
|
677
|
-
{
|
|
678
|
-
type: "struct std::asset_id::AssetId",
|
|
679
|
-
metadataTypeId: 26,
|
|
680
|
-
components: [
|
|
681
|
-
{
|
|
682
|
-
name: "bits",
|
|
683
|
-
typeId: "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b",
|
|
684
|
-
},
|
|
685
|
-
],
|
|
686
|
-
},
|
|
687
|
-
{
|
|
688
|
-
type: "struct std::b512::B512",
|
|
689
|
-
metadataTypeId: 27,
|
|
690
|
-
components: [
|
|
691
|
-
{
|
|
692
|
-
name: "bits",
|
|
693
|
-
typeId: 0,
|
|
694
|
-
},
|
|
695
|
-
],
|
|
696
|
-
},
|
|
697
|
-
{
|
|
698
|
-
type: "struct std::contract_id::ContractId",
|
|
699
|
-
metadataTypeId: 28,
|
|
700
|
-
components: [
|
|
701
|
-
{
|
|
702
|
-
name: "bits",
|
|
703
|
-
typeId: "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b",
|
|
704
|
-
},
|
|
705
|
-
],
|
|
706
|
-
},
|
|
707
|
-
{
|
|
708
|
-
type: "struct std::vec::RawVec",
|
|
709
|
-
metadataTypeId: 29,
|
|
710
|
-
components: [
|
|
711
|
-
{
|
|
712
|
-
name: "ptr",
|
|
713
|
-
typeId: 11,
|
|
714
|
-
},
|
|
715
|
-
{
|
|
716
|
-
name: "cap",
|
|
717
|
-
typeId: "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
718
|
-
},
|
|
719
|
-
],
|
|
720
|
-
typeParameters: [10],
|
|
721
|
-
},
|
|
722
|
-
{
|
|
723
|
-
type: "struct std::vec::Vec",
|
|
724
|
-
metadataTypeId: 30,
|
|
725
|
-
components: [
|
|
726
|
-
{
|
|
727
|
-
name: "buf",
|
|
728
|
-
typeId: 29,
|
|
729
|
-
typeArguments: [
|
|
730
|
-
{
|
|
731
|
-
name: "",
|
|
732
|
-
typeId: 10,
|
|
733
|
-
},
|
|
734
|
-
],
|
|
735
|
-
},
|
|
736
|
-
{
|
|
737
|
-
name: "len",
|
|
738
|
-
typeId: "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
739
|
-
},
|
|
740
|
-
],
|
|
741
|
-
typeParameters: [10],
|
|
742
|
-
},
|
|
743
|
-
{
|
|
744
|
-
type: "struct sway_libs::ownership::events::OwnershipRenounced",
|
|
745
|
-
metadataTypeId: 31,
|
|
746
|
-
components: [
|
|
747
|
-
{
|
|
748
|
-
name: "previous_owner",
|
|
749
|
-
typeId: 6,
|
|
750
|
-
},
|
|
751
|
-
],
|
|
752
|
-
},
|
|
753
|
-
{
|
|
754
|
-
type: "struct sway_libs::ownership::events::OwnershipSet",
|
|
755
|
-
metadataTypeId: 32,
|
|
756
|
-
components: [
|
|
757
|
-
{
|
|
758
|
-
name: "new_owner",
|
|
759
|
-
typeId: 6,
|
|
760
|
-
},
|
|
761
|
-
],
|
|
762
|
-
},
|
|
763
|
-
{
|
|
764
|
-
type: "struct sway_libs::ownership::events::OwnershipTransferred",
|
|
765
|
-
metadataTypeId: 33,
|
|
766
|
-
components: [
|
|
767
|
-
{
|
|
768
|
-
name: "new_owner",
|
|
769
|
-
typeId: 6,
|
|
770
|
-
},
|
|
771
|
-
{
|
|
772
|
-
name: "previous_owner",
|
|
773
|
-
typeId: 6,
|
|
774
|
-
},
|
|
775
|
-
],
|
|
776
|
-
},
|
|
777
|
-
],
|
|
778
|
-
functions: [
|
|
779
|
-
{
|
|
780
|
-
inputs: [],
|
|
781
|
-
name: "owner",
|
|
782
|
-
output: "192bc7098e2fe60635a9918afb563e4e5419d386da2bdbf0d716b4bc8549802c",
|
|
783
|
-
attributes: [
|
|
784
|
-
{
|
|
785
|
-
name: "doc-comment",
|
|
786
|
-
arguments: [" Returns the owner."],
|
|
787
|
-
},
|
|
788
|
-
{
|
|
789
|
-
name: "doc-comment",
|
|
790
|
-
arguments: [""],
|
|
791
|
-
},
|
|
792
|
-
{
|
|
793
|
-
name: "doc-comment",
|
|
794
|
-
arguments: [" # Return Values"],
|
|
795
|
-
},
|
|
796
|
-
{
|
|
797
|
-
name: "doc-comment",
|
|
798
|
-
arguments: [""],
|
|
799
|
-
},
|
|
800
|
-
{
|
|
801
|
-
name: "doc-comment",
|
|
802
|
-
arguments: [
|
|
803
|
-
" * [State] - Represents the state of ownership for this contract.",
|
|
804
|
-
],
|
|
805
|
-
},
|
|
806
|
-
{
|
|
807
|
-
name: "doc-comment",
|
|
808
|
-
arguments: [""],
|
|
809
|
-
},
|
|
810
|
-
{
|
|
811
|
-
name: "doc-comment",
|
|
812
|
-
arguments: [" # Number of Storage Accesses"],
|
|
813
|
-
},
|
|
814
|
-
{
|
|
815
|
-
name: "doc-comment",
|
|
816
|
-
arguments: [""],
|
|
817
|
-
},
|
|
818
|
-
{
|
|
819
|
-
name: "doc-comment",
|
|
820
|
-
arguments: [" * Reads: `1`"],
|
|
821
|
-
},
|
|
822
|
-
{
|
|
823
|
-
name: "storage",
|
|
824
|
-
arguments: ["read"],
|
|
825
|
-
},
|
|
826
|
-
],
|
|
827
|
-
},
|
|
828
|
-
{
|
|
829
|
-
inputs: [
|
|
830
|
-
{
|
|
831
|
-
name: "request",
|
|
832
|
-
concreteTypeId: "8f17cef827b9269639659b2f90120c93255dfedb8f58f7f69e7f2f2a9040077d",
|
|
833
|
-
},
|
|
834
|
-
{
|
|
835
|
-
name: "signature",
|
|
836
|
-
concreteTypeId: "745e252e80bec590efc3999ae943f07ccea4d5b45b00bb6575499b64abdd3322",
|
|
837
|
-
},
|
|
838
|
-
{
|
|
839
|
-
name: "chain_index",
|
|
840
|
-
concreteTypeId: "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
841
|
-
},
|
|
842
|
-
],
|
|
843
|
-
name: "deposit",
|
|
844
|
-
output: "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
845
|
-
attributes: [
|
|
846
|
-
{
|
|
847
|
-
name: "doc-comment",
|
|
848
|
-
arguments: [" Takes a deposit for the given request."],
|
|
849
|
-
},
|
|
850
|
-
{
|
|
851
|
-
name: "doc-comment",
|
|
852
|
-
arguments: [""],
|
|
853
|
-
},
|
|
854
|
-
{
|
|
855
|
-
name: "doc-comment",
|
|
856
|
-
arguments: [" # Arguments"],
|
|
857
|
-
},
|
|
858
|
-
{
|
|
859
|
-
name: "doc-comment",
|
|
860
|
-
arguments: [""],
|
|
861
|
-
},
|
|
862
|
-
{
|
|
863
|
-
name: "doc-comment",
|
|
864
|
-
arguments: [" * `request`: [Request] - The user's request."],
|
|
865
|
-
},
|
|
866
|
-
{
|
|
867
|
-
name: "doc-comment",
|
|
868
|
-
arguments: [
|
|
869
|
-
" * `signature`: [B512] - The signature over the `request`.",
|
|
870
|
-
],
|
|
871
|
-
},
|
|
872
|
-
{
|
|
873
|
-
name: "doc-comment",
|
|
874
|
-
arguments: [" * `from`: [Address] - The signer of the `request`."],
|
|
875
|
-
},
|
|
876
|
-
{
|
|
877
|
-
name: "doc-comment",
|
|
878
|
-
arguments: [
|
|
879
|
-
" * `chain_index`: [u64] - The index of the source data.",
|
|
880
|
-
],
|
|
881
|
-
},
|
|
882
|
-
{
|
|
883
|
-
name: "doc-comment",
|
|
884
|
-
arguments: [""],
|
|
885
|
-
},
|
|
886
|
-
{
|
|
887
|
-
name: "doc-comment",
|
|
888
|
-
arguments: [
|
|
889
|
-
" This method verifies the given request against the given signature.",
|
|
890
|
-
],
|
|
891
|
-
},
|
|
892
|
-
{
|
|
893
|
-
name: "doc-comment",
|
|
894
|
-
arguments: [""],
|
|
895
|
-
},
|
|
896
|
-
{
|
|
897
|
-
name: "doc-comment",
|
|
898
|
-
arguments: [" # Reverts"],
|
|
899
|
-
},
|
|
900
|
-
{
|
|
901
|
-
name: "doc-comment",
|
|
902
|
-
arguments: [""],
|
|
903
|
-
},
|
|
904
|
-
{
|
|
905
|
-
name: "doc-comment",
|
|
906
|
-
arguments: [
|
|
907
|
-
" * When the `request` chain ID doesn't match `FUEL_IGNITION_CHAIN_ID`.",
|
|
908
|
-
],
|
|
909
|
-
},
|
|
910
|
-
{
|
|
911
|
-
name: "doc-comment",
|
|
912
|
-
arguments: [" * When the `request` has expired."],
|
|
913
|
-
},
|
|
914
|
-
{
|
|
915
|
-
name: "doc-comment",
|
|
916
|
-
arguments: [
|
|
917
|
-
" * When the asset deposited doesn't match the asset in the `request`.",
|
|
918
|
-
],
|
|
919
|
-
},
|
|
920
|
-
{
|
|
921
|
-
name: "doc-comment",
|
|
922
|
-
arguments: [
|
|
923
|
-
" * When the amount of asset deposited doesn't match the amount of asset in the `request`.",
|
|
924
|
-
],
|
|
925
|
-
},
|
|
926
|
-
{
|
|
927
|
-
name: "doc-comment",
|
|
928
|
-
arguments: [" * When the nonce of the `request` is already used."],
|
|
929
|
-
},
|
|
930
|
-
{
|
|
931
|
-
name: "doc-comment",
|
|
932
|
-
arguments: [" * When the `request` could not be verified."],
|
|
933
|
-
},
|
|
934
|
-
{
|
|
935
|
-
name: "doc-comment",
|
|
936
|
-
arguments: [""],
|
|
937
|
-
},
|
|
938
|
-
{
|
|
939
|
-
name: "doc-comment",
|
|
940
|
-
arguments: [" # Number of Storage Accesses"],
|
|
941
|
-
},
|
|
942
|
-
{
|
|
943
|
-
name: "doc-comment",
|
|
944
|
-
arguments: [""],
|
|
945
|
-
},
|
|
946
|
-
{
|
|
947
|
-
name: "doc-comment",
|
|
948
|
-
arguments: [" * Reads: `3`"],
|
|
949
|
-
},
|
|
950
|
-
{
|
|
951
|
-
name: "doc-comment",
|
|
952
|
-
arguments: [" * Writes: `4`"],
|
|
953
|
-
},
|
|
954
|
-
{
|
|
955
|
-
name: "payable",
|
|
956
|
-
arguments: [],
|
|
957
|
-
},
|
|
958
|
-
{
|
|
959
|
-
name: "storage",
|
|
960
|
-
arguments: ["read", "write"],
|
|
961
|
-
},
|
|
962
|
-
],
|
|
963
|
-
},
|
|
964
|
-
{
|
|
965
|
-
inputs: [
|
|
966
|
-
{
|
|
967
|
-
name: "nonce",
|
|
968
|
-
concreteTypeId: "1b5759d94094368cfd443019e7ca5ec4074300e544e5ea993a979f5da627261e",
|
|
969
|
-
},
|
|
970
|
-
],
|
|
971
|
-
name: "deposit_nonce",
|
|
972
|
-
output: "160e7964babcf172e41aa29b138f9c2ccfc416ad2368dabdbdf877ec5de5503f",
|
|
973
|
-
attributes: [
|
|
974
|
-
{
|
|
975
|
-
name: "doc-comment",
|
|
976
|
-
arguments: [
|
|
977
|
-
" Gets a bool describing whether a given nonce has been used in a deposit",
|
|
978
|
-
],
|
|
979
|
-
},
|
|
980
|
-
{
|
|
981
|
-
name: "doc-comment",
|
|
982
|
-
arguments: [""],
|
|
983
|
-
},
|
|
984
|
-
{
|
|
985
|
-
name: "doc-comment",
|
|
986
|
-
arguments: [" # Arguments"],
|
|
987
|
-
},
|
|
988
|
-
{
|
|
989
|
-
name: "doc-comment",
|
|
990
|
-
arguments: [""],
|
|
991
|
-
},
|
|
992
|
-
{
|
|
993
|
-
name: "doc-comment",
|
|
994
|
-
arguments: [" * `nonce`: [u64] - The nonce of a deposit."],
|
|
995
|
-
},
|
|
996
|
-
{
|
|
997
|
-
name: "doc-comment",
|
|
998
|
-
arguments: [""],
|
|
999
|
-
},
|
|
1000
|
-
{
|
|
1001
|
-
name: "doc-comment",
|
|
1002
|
-
arguments: [" # Returns"],
|
|
1003
|
-
},
|
|
1004
|
-
{
|
|
1005
|
-
name: "doc-comment",
|
|
1006
|
-
arguments: [""],
|
|
1007
|
-
},
|
|
1008
|
-
{
|
|
1009
|
-
name: "doc-comment",
|
|
1010
|
-
arguments: [
|
|
1011
|
-
" * [Option<bool>] - Whether a given nonce has been used in a deposit.",
|
|
1012
|
-
],
|
|
1013
|
-
},
|
|
1014
|
-
{
|
|
1015
|
-
name: "doc-comment",
|
|
1016
|
-
arguments: [""],
|
|
1017
|
-
},
|
|
1018
|
-
{
|
|
1019
|
-
name: "doc-comment",
|
|
1020
|
-
arguments: [" # Number of Storage Accesses"],
|
|
1021
|
-
},
|
|
1022
|
-
{
|
|
1023
|
-
name: "doc-comment",
|
|
1024
|
-
arguments: [""],
|
|
1025
|
-
},
|
|
1026
|
-
{
|
|
1027
|
-
name: "doc-comment",
|
|
1028
|
-
arguments: [" * Reads: `1`"],
|
|
1029
|
-
},
|
|
1030
|
-
{
|
|
1031
|
-
name: "storage",
|
|
1032
|
-
arguments: ["read"],
|
|
1033
|
-
},
|
|
1034
|
-
],
|
|
1035
|
-
},
|
|
1036
|
-
{
|
|
1037
|
-
inputs: [
|
|
1038
|
-
{
|
|
1039
|
-
name: "request",
|
|
1040
|
-
concreteTypeId: "8f17cef827b9269639659b2f90120c93255dfedb8f58f7f69e7f2f2a9040077d",
|
|
1041
|
-
},
|
|
1042
|
-
{
|
|
1043
|
-
name: "signature",
|
|
1044
|
-
concreteTypeId: "745e252e80bec590efc3999ae943f07ccea4d5b45b00bb6575499b64abdd3322",
|
|
1045
|
-
},
|
|
1046
|
-
],
|
|
1047
|
-
name: "fill",
|
|
1048
|
-
output: "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
1049
|
-
attributes: [
|
|
1050
|
-
{
|
|
1051
|
-
name: "doc-comment",
|
|
1052
|
-
arguments: [" Verifies that a request has been filled."],
|
|
1053
|
-
},
|
|
1054
|
-
{
|
|
1055
|
-
name: "doc-comment",
|
|
1056
|
-
arguments: [""],
|
|
1057
|
-
},
|
|
1058
|
-
{
|
|
1059
|
-
name: "doc-comment",
|
|
1060
|
-
arguments: [" # Additional Information"],
|
|
1061
|
-
},
|
|
1062
|
-
{
|
|
1063
|
-
name: "doc-comment",
|
|
1064
|
-
arguments: [""],
|
|
1065
|
-
},
|
|
1066
|
-
{
|
|
1067
|
-
name: "doc-comment",
|
|
1068
|
-
arguments: [
|
|
1069
|
-
" The solver's transaction, that includes calling thing method, must contain outputs that fill the `request` destination pairs.",
|
|
1070
|
-
],
|
|
1071
|
-
},
|
|
1072
|
-
{
|
|
1073
|
-
name: "doc-comment",
|
|
1074
|
-
arguments: [""],
|
|
1075
|
-
},
|
|
1076
|
-
{
|
|
1077
|
-
name: "doc-comment",
|
|
1078
|
-
arguments: [" * `request`: [Request] - The user's request."],
|
|
1079
|
-
},
|
|
1080
|
-
{
|
|
1081
|
-
name: "doc-comment",
|
|
1082
|
-
arguments: [
|
|
1083
|
-
" * `signature`: [B512] - The signature over the `request`.",
|
|
1084
|
-
],
|
|
1085
|
-
},
|
|
1086
|
-
{
|
|
1087
|
-
name: "doc-comment",
|
|
1088
|
-
arguments: [" * `from`: [Address] - The signer of the `request`."],
|
|
1089
|
-
},
|
|
1090
|
-
{
|
|
1091
|
-
name: "doc-comment",
|
|
1092
|
-
arguments: [""],
|
|
1093
|
-
},
|
|
1094
|
-
{
|
|
1095
|
-
name: "doc-comment",
|
|
1096
|
-
arguments: [" # Reverts"],
|
|
1097
|
-
},
|
|
1098
|
-
{
|
|
1099
|
-
name: "doc-comment",
|
|
1100
|
-
arguments: [""],
|
|
1101
|
-
},
|
|
1102
|
-
{
|
|
1103
|
-
name: "doc-comment",
|
|
1104
|
-
arguments: [
|
|
1105
|
-
" * When the `request` chain ID doesn't match `FUEL_IGNITION_CHAIN_ID`.",
|
|
1106
|
-
],
|
|
1107
|
-
},
|
|
1108
|
-
{
|
|
1109
|
-
name: "doc-comment",
|
|
1110
|
-
arguments: [" * When the `request` has expired."],
|
|
1111
|
-
},
|
|
1112
|
-
{
|
|
1113
|
-
name: "doc-comment",
|
|
1114
|
-
arguments: [
|
|
1115
|
-
" * When the there aren't enough transaction outputs to satisfy the `request`.",
|
|
1116
|
-
],
|
|
1117
|
-
},
|
|
1118
|
-
{
|
|
1119
|
-
name: "doc-comment",
|
|
1120
|
-
arguments: [
|
|
1121
|
-
" * When a transaction output doesn't match the corresponding destination pair or receiver.",
|
|
1122
|
-
],
|
|
1123
|
-
},
|
|
1124
|
-
{
|
|
1125
|
-
name: "doc-comment",
|
|
1126
|
-
arguments: [" * When the nonce of the `request` is already used."],
|
|
1127
|
-
},
|
|
1128
|
-
{
|
|
1129
|
-
name: "doc-comment",
|
|
1130
|
-
arguments: [" * When the `request` could not be verified."],
|
|
1131
|
-
},
|
|
1132
|
-
{
|
|
1133
|
-
name: "doc-comment",
|
|
1134
|
-
arguments: [""],
|
|
1135
|
-
},
|
|
1136
|
-
{
|
|
1137
|
-
name: "doc-comment",
|
|
1138
|
-
arguments: [" # Number of Storage Accesses"],
|
|
1139
|
-
},
|
|
1140
|
-
{
|
|
1141
|
-
name: "doc-comment",
|
|
1142
|
-
arguments: [""],
|
|
1143
|
-
},
|
|
1144
|
-
{
|
|
1145
|
-
name: "doc-comment",
|
|
1146
|
-
arguments: [" * Reads: `3`"],
|
|
1147
|
-
},
|
|
1148
|
-
{
|
|
1149
|
-
name: "doc-comment",
|
|
1150
|
-
arguments: [" * Writes: `4`"],
|
|
1151
|
-
},
|
|
1152
|
-
{
|
|
1153
|
-
name: "payable",
|
|
1154
|
-
arguments: [],
|
|
1155
|
-
},
|
|
1156
|
-
{
|
|
1157
|
-
name: "storage",
|
|
1158
|
-
arguments: ["read", "write"],
|
|
1159
|
-
},
|
|
1160
|
-
],
|
|
1161
|
-
},
|
|
1162
|
-
{
|
|
1163
|
-
inputs: [
|
|
1164
|
-
{
|
|
1165
|
-
name: "nonce",
|
|
1166
|
-
concreteTypeId: "1b5759d94094368cfd443019e7ca5ec4074300e544e5ea993a979f5da627261e",
|
|
1167
|
-
},
|
|
1168
|
-
],
|
|
1169
|
-
name: "fill_nonce",
|
|
1170
|
-
output: "160e7964babcf172e41aa29b138f9c2ccfc416ad2368dabdbdf877ec5de5503f",
|
|
1171
|
-
attributes: [
|
|
1172
|
-
{
|
|
1173
|
-
name: "doc-comment",
|
|
1174
|
-
arguments: [
|
|
1175
|
-
" Gets a bool describing whether a given nonce has been used in a fill",
|
|
1176
|
-
],
|
|
1177
|
-
},
|
|
1178
|
-
{
|
|
1179
|
-
name: "doc-comment",
|
|
1180
|
-
arguments: [""],
|
|
1181
|
-
},
|
|
1182
|
-
{
|
|
1183
|
-
name: "doc-comment",
|
|
1184
|
-
arguments: [" # Arguments"],
|
|
1185
|
-
},
|
|
1186
|
-
{
|
|
1187
|
-
name: "doc-comment",
|
|
1188
|
-
arguments: [""],
|
|
1189
|
-
},
|
|
1190
|
-
{
|
|
1191
|
-
name: "doc-comment",
|
|
1192
|
-
arguments: [" * `nonce`: [u64] - The nonce of a fill."],
|
|
1193
|
-
},
|
|
1194
|
-
{
|
|
1195
|
-
name: "doc-comment",
|
|
1196
|
-
arguments: [""],
|
|
1197
|
-
},
|
|
1198
|
-
{
|
|
1199
|
-
name: "doc-comment",
|
|
1200
|
-
arguments: [" # Returns"],
|
|
1201
|
-
},
|
|
1202
|
-
{
|
|
1203
|
-
name: "doc-comment",
|
|
1204
|
-
arguments: [""],
|
|
1205
|
-
},
|
|
1206
|
-
{
|
|
1207
|
-
name: "doc-comment",
|
|
1208
|
-
arguments: [
|
|
1209
|
-
" * [Option<bool>] - Whether a given nonce has been used in a fill.",
|
|
1210
|
-
],
|
|
1211
|
-
},
|
|
1212
|
-
{
|
|
1213
|
-
name: "doc-comment",
|
|
1214
|
-
arguments: [""],
|
|
1215
|
-
},
|
|
1216
|
-
{
|
|
1217
|
-
name: "doc-comment",
|
|
1218
|
-
arguments: [" # Number of Storage Accesses"],
|
|
1219
|
-
},
|
|
1220
|
-
{
|
|
1221
|
-
name: "doc-comment",
|
|
1222
|
-
arguments: [""],
|
|
1223
|
-
},
|
|
1224
|
-
{
|
|
1225
|
-
name: "doc-comment",
|
|
1226
|
-
arguments: [" * Reads: `1`"],
|
|
1227
|
-
},
|
|
1228
|
-
{
|
|
1229
|
-
name: "storage",
|
|
1230
|
-
arguments: ["read"],
|
|
1231
|
-
},
|
|
1232
|
-
],
|
|
1233
|
-
},
|
|
1234
|
-
{
|
|
1235
|
-
inputs: [
|
|
1236
|
-
{
|
|
1237
|
-
name: "request",
|
|
1238
|
-
concreteTypeId: "8f17cef827b9269639659b2f90120c93255dfedb8f58f7f69e7f2f2a9040077d",
|
|
1239
|
-
},
|
|
1240
|
-
],
|
|
1241
|
-
name: "hash_request",
|
|
1242
|
-
output: "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b",
|
|
1243
|
-
attributes: null,
|
|
1244
|
-
},
|
|
1245
|
-
{
|
|
1246
|
-
inputs: [
|
|
1247
|
-
{
|
|
1248
|
-
name: "settle_data",
|
|
1249
|
-
concreteTypeId: "3f398311d910f45891ebe297c796818054c203bb631628fb87216c30add71db0",
|
|
1250
|
-
},
|
|
1251
|
-
],
|
|
1252
|
-
name: "hash_settle_data",
|
|
1253
|
-
output: "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b",
|
|
1254
|
-
attributes: null,
|
|
1255
|
-
},
|
|
1256
|
-
{
|
|
1257
|
-
inputs: [],
|
|
1258
|
-
name: "initialize_vault",
|
|
1259
|
-
output: "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
1260
|
-
attributes: [
|
|
1261
|
-
{
|
|
1262
|
-
name: "doc-comment",
|
|
1263
|
-
arguments: [" Initializes the vault, setting privileged roles."],
|
|
1264
|
-
},
|
|
1265
|
-
{
|
|
1266
|
-
name: "doc-comment",
|
|
1267
|
-
arguments: [""],
|
|
1268
|
-
},
|
|
1269
|
-
{
|
|
1270
|
-
name: "doc-comment",
|
|
1271
|
-
arguments: [" # Additional Information"],
|
|
1272
|
-
},
|
|
1273
|
-
{
|
|
1274
|
-
name: "doc-comment",
|
|
1275
|
-
arguments: [""],
|
|
1276
|
-
},
|
|
1277
|
-
{
|
|
1278
|
-
name: "doc-comment",
|
|
1279
|
-
arguments: [" This method can only be called once."],
|
|
1280
|
-
},
|
|
1281
|
-
{
|
|
1282
|
-
name: "doc-comment",
|
|
1283
|
-
arguments: [""],
|
|
1284
|
-
},
|
|
1285
|
-
{
|
|
1286
|
-
name: "doc-comment",
|
|
1287
|
-
arguments: [" # Reverts"],
|
|
1288
|
-
},
|
|
1289
|
-
{
|
|
1290
|
-
name: "doc-comment",
|
|
1291
|
-
arguments: [""],
|
|
1292
|
-
},
|
|
1293
|
-
{
|
|
1294
|
-
name: "doc-comment",
|
|
1295
|
-
arguments: [" * When ownership has been set before."],
|
|
1296
|
-
},
|
|
1297
|
-
{
|
|
1298
|
-
name: "doc-comment",
|
|
1299
|
-
arguments: [""],
|
|
1300
|
-
},
|
|
1301
|
-
{
|
|
1302
|
-
name: "doc-comment",
|
|
1303
|
-
arguments: [" # Number of Storage Accesses"],
|
|
1304
|
-
},
|
|
1305
|
-
{
|
|
1306
|
-
name: "doc-comment",
|
|
1307
|
-
arguments: [""],
|
|
1308
|
-
},
|
|
1309
|
-
{
|
|
1310
|
-
name: "doc-comment",
|
|
1311
|
-
arguments: [" * Reads: `1`"],
|
|
1312
|
-
},
|
|
1313
|
-
{
|
|
1314
|
-
name: "doc-comment",
|
|
1315
|
-
arguments: [" * Writes: `1`"],
|
|
1316
|
-
},
|
|
1317
|
-
{
|
|
1318
|
-
name: "storage",
|
|
1319
|
-
arguments: ["read", "write"],
|
|
1320
|
-
},
|
|
1321
|
-
],
|
|
1322
|
-
},
|
|
1323
|
-
{
|
|
1324
|
-
inputs: [
|
|
1325
|
-
{
|
|
1326
|
-
name: "identity",
|
|
1327
|
-
concreteTypeId: "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335",
|
|
1328
|
-
},
|
|
1329
|
-
],
|
|
1330
|
-
name: "refund_eligible_role",
|
|
1331
|
-
output: "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903",
|
|
1332
|
-
attributes: [
|
|
1333
|
-
{
|
|
1334
|
-
name: "doc-comment",
|
|
1335
|
-
arguments: [
|
|
1336
|
-
" Returns true if the given `identity` has the `refund eligible` role.",
|
|
1337
|
-
],
|
|
1338
|
-
},
|
|
1339
|
-
{
|
|
1340
|
-
name: "doc-comment",
|
|
1341
|
-
arguments: [""],
|
|
1342
|
-
},
|
|
1343
|
-
{
|
|
1344
|
-
name: "doc-comment",
|
|
1345
|
-
arguments: [" # Number of Storage Accesses"],
|
|
1346
|
-
},
|
|
1347
|
-
{
|
|
1348
|
-
name: "doc-comment",
|
|
1349
|
-
arguments: [""],
|
|
1350
|
-
},
|
|
1351
|
-
{
|
|
1352
|
-
name: "doc-comment",
|
|
1353
|
-
arguments: [" * Reads: `1`"],
|
|
1354
|
-
},
|
|
1355
|
-
{
|
|
1356
|
-
name: "storage",
|
|
1357
|
-
arguments: ["read"],
|
|
1358
|
-
},
|
|
1359
|
-
],
|
|
1360
|
-
},
|
|
1361
|
-
{
|
|
1362
|
-
inputs: [],
|
|
1363
|
-
name: "renounce_ownership",
|
|
1364
|
-
output: "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
1365
|
-
attributes: [
|
|
1366
|
-
{
|
|
1367
|
-
name: "doc-comment",
|
|
1368
|
-
arguments: [
|
|
1369
|
-
" Revokes ownership of the current owner and disallows any new owners.",
|
|
1370
|
-
],
|
|
1371
|
-
},
|
|
1372
|
-
{
|
|
1373
|
-
name: "doc-comment",
|
|
1374
|
-
arguments: [""],
|
|
1375
|
-
},
|
|
1376
|
-
{
|
|
1377
|
-
name: "doc-comment",
|
|
1378
|
-
arguments: [" # Additional Information"],
|
|
1379
|
-
},
|
|
1380
|
-
{
|
|
1381
|
-
name: "doc-comment",
|
|
1382
|
-
arguments: [""],
|
|
1383
|
-
},
|
|
1384
|
-
{
|
|
1385
|
-
name: "doc-comment",
|
|
1386
|
-
arguments: [" Only the contract `owner` can call this method."],
|
|
1387
|
-
},
|
|
1388
|
-
{
|
|
1389
|
-
name: "doc-comment",
|
|
1390
|
-
arguments: [""],
|
|
1391
|
-
},
|
|
1392
|
-
{
|
|
1393
|
-
name: "doc-comment",
|
|
1394
|
-
arguments: [" # Reverts"],
|
|
1395
|
-
},
|
|
1396
|
-
{
|
|
1397
|
-
name: "doc-comment",
|
|
1398
|
-
arguments: [""],
|
|
1399
|
-
},
|
|
1400
|
-
{
|
|
1401
|
-
name: "doc-comment",
|
|
1402
|
-
arguments: [" * When the sender is not the owner."],
|
|
1403
|
-
},
|
|
1404
|
-
{
|
|
1405
|
-
name: "doc-comment",
|
|
1406
|
-
arguments: [""],
|
|
1407
|
-
},
|
|
1408
|
-
{
|
|
1409
|
-
name: "doc-comment",
|
|
1410
|
-
arguments: [" # Number of Storage Accesses"],
|
|
1411
|
-
},
|
|
1412
|
-
{
|
|
1413
|
-
name: "doc-comment",
|
|
1414
|
-
arguments: [""],
|
|
1415
|
-
},
|
|
1416
|
-
{
|
|
1417
|
-
name: "doc-comment",
|
|
1418
|
-
arguments: [" * Reads: `1`"],
|
|
1419
|
-
},
|
|
1420
|
-
{
|
|
1421
|
-
name: "doc-comment",
|
|
1422
|
-
arguments: [" * Writes: `1`"],
|
|
1423
|
-
},
|
|
1424
|
-
{
|
|
1425
|
-
name: "storage",
|
|
1426
|
-
arguments: ["read", "write"],
|
|
1427
|
-
},
|
|
1428
|
-
],
|
|
1429
|
-
},
|
|
1430
|
-
{
|
|
1431
|
-
inputs: [
|
|
1432
|
-
{
|
|
1433
|
-
name: "signed_message_hash",
|
|
1434
|
-
concreteTypeId: "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b",
|
|
1435
|
-
},
|
|
1436
|
-
],
|
|
1437
|
-
name: "requests",
|
|
1438
|
-
output: "2644cb541197d16874ed15ff9b4e74d0cb01be34849c3fb2d8356f064f7b097a",
|
|
1439
|
-
attributes: [
|
|
1440
|
-
{
|
|
1441
|
-
name: "doc-comment",
|
|
1442
|
-
arguments: [
|
|
1443
|
-
" Gets a [Request] hash from it's associated `signed_message_hash`",
|
|
1444
|
-
],
|
|
1445
|
-
},
|
|
1446
|
-
{
|
|
1447
|
-
name: "doc-comment",
|
|
1448
|
-
arguments: [""],
|
|
1449
|
-
},
|
|
1450
|
-
{
|
|
1451
|
-
name: "doc-comment",
|
|
1452
|
-
arguments: [" # Arguments"],
|
|
1453
|
-
},
|
|
1454
|
-
{
|
|
1455
|
-
name: "doc-comment",
|
|
1456
|
-
arguments: [""],
|
|
1457
|
-
},
|
|
1458
|
-
{
|
|
1459
|
-
name: "doc-comment",
|
|
1460
|
-
arguments: [
|
|
1461
|
-
" * `signed_message_hash`: [b256] - The hash of the EIP-191 signature of a hashed request.",
|
|
1462
|
-
],
|
|
1463
|
-
},
|
|
1464
|
-
{
|
|
1465
|
-
name: "doc-comment",
|
|
1466
|
-
arguments: [""],
|
|
1467
|
-
},
|
|
1468
|
-
{
|
|
1469
|
-
name: "doc-comment",
|
|
1470
|
-
arguments: [" # Returns"],
|
|
1471
|
-
},
|
|
1472
|
-
{
|
|
1473
|
-
name: "doc-comment",
|
|
1474
|
-
arguments: [""],
|
|
1475
|
-
},
|
|
1476
|
-
{
|
|
1477
|
-
name: "doc-comment",
|
|
1478
|
-
arguments: [" * [Option<Request>] - The request."],
|
|
1479
|
-
},
|
|
1480
|
-
{
|
|
1481
|
-
name: "doc-comment",
|
|
1482
|
-
arguments: [""],
|
|
1483
|
-
},
|
|
1484
|
-
{
|
|
1485
|
-
name: "doc-comment",
|
|
1486
|
-
arguments: [" # Number of Storage Accesses"],
|
|
1487
|
-
},
|
|
1488
|
-
{
|
|
1489
|
-
name: "doc-comment",
|
|
1490
|
-
arguments: [""],
|
|
1491
|
-
},
|
|
1492
|
-
{
|
|
1493
|
-
name: "doc-comment",
|
|
1494
|
-
arguments: [" * Reads: `3`"],
|
|
1495
|
-
},
|
|
1496
|
-
{
|
|
1497
|
-
name: "storage",
|
|
1498
|
-
arguments: ["read"],
|
|
1499
|
-
},
|
|
1500
|
-
],
|
|
1501
|
-
},
|
|
1502
|
-
{
|
|
1503
|
-
inputs: [
|
|
1504
|
-
{
|
|
1505
|
-
name: "identity",
|
|
1506
|
-
concreteTypeId: "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335",
|
|
1507
|
-
},
|
|
1508
|
-
{
|
|
1509
|
-
name: "has_role",
|
|
1510
|
-
concreteTypeId: "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903",
|
|
1511
|
-
},
|
|
1512
|
-
],
|
|
1513
|
-
name: "set_refund_eligible_role",
|
|
1514
|
-
output: "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
1515
|
-
attributes: [
|
|
1516
|
-
{
|
|
1517
|
-
name: "doc-comment",
|
|
1518
|
-
arguments: [
|
|
1519
|
-
" Allows the `owner` to assign or revoke the `refund eligible` role.",
|
|
1520
|
-
],
|
|
1521
|
-
},
|
|
1522
|
-
{
|
|
1523
|
-
name: "doc-comment",
|
|
1524
|
-
arguments: [""],
|
|
1525
|
-
},
|
|
1526
|
-
{
|
|
1527
|
-
name: "doc-comment",
|
|
1528
|
-
arguments: [" # Additional Information"],
|
|
1529
|
-
},
|
|
1530
|
-
{
|
|
1531
|
-
name: "doc-comment",
|
|
1532
|
-
arguments: [""],
|
|
1533
|
-
},
|
|
1534
|
-
{
|
|
1535
|
-
name: "doc-comment",
|
|
1536
|
-
arguments: [" Only the contract `owner` can call this method."],
|
|
1537
|
-
},
|
|
1538
|
-
{
|
|
1539
|
-
name: "doc-comment",
|
|
1540
|
-
arguments: [""],
|
|
1541
|
-
},
|
|
1542
|
-
{
|
|
1543
|
-
name: "doc-comment",
|
|
1544
|
-
arguments: [" # Arguments"],
|
|
1545
|
-
},
|
|
1546
|
-
{
|
|
1547
|
-
name: "doc-comment",
|
|
1548
|
-
arguments: [""],
|
|
1549
|
-
},
|
|
1550
|
-
{
|
|
1551
|
-
name: "doc-comment",
|
|
1552
|
-
arguments: [
|
|
1553
|
-
" * `identity`: [Identity] - The `Identity` who's status as a `refund eligible` will be updated.",
|
|
1554
|
-
],
|
|
1555
|
-
},
|
|
1556
|
-
{
|
|
1557
|
-
name: "doc-comment",
|
|
1558
|
-
arguments: [" * `has_role`: [bool] - The status to be set."],
|
|
1559
|
-
},
|
|
1560
|
-
{
|
|
1561
|
-
name: "doc-comment",
|
|
1562
|
-
arguments: [""],
|
|
1563
|
-
},
|
|
1564
|
-
{
|
|
1565
|
-
name: "doc-comment",
|
|
1566
|
-
arguments: [""],
|
|
1567
|
-
},
|
|
1568
|
-
{
|
|
1569
|
-
name: "doc-comment",
|
|
1570
|
-
arguments: [" # Number of Storage Accesses"],
|
|
1571
|
-
},
|
|
1572
|
-
{
|
|
1573
|
-
name: "doc-comment",
|
|
1574
|
-
arguments: [""],
|
|
1575
|
-
},
|
|
1576
|
-
{
|
|
1577
|
-
name: "doc-comment",
|
|
1578
|
-
arguments: [" * Reads: `1`"],
|
|
1579
|
-
},
|
|
1580
|
-
{
|
|
1581
|
-
name: "doc-comment",
|
|
1582
|
-
arguments: [" * Write: `1`"],
|
|
1583
|
-
},
|
|
1584
|
-
{
|
|
1585
|
-
name: "storage",
|
|
1586
|
-
arguments: ["read", "write"],
|
|
1587
|
-
},
|
|
1588
|
-
],
|
|
1589
|
-
},
|
|
1590
|
-
{
|
|
1591
|
-
inputs: [
|
|
1592
|
-
{
|
|
1593
|
-
name: "identity",
|
|
1594
|
-
concreteTypeId: "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335",
|
|
1595
|
-
},
|
|
1596
|
-
{
|
|
1597
|
-
name: "has_role",
|
|
1598
|
-
concreteTypeId: "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903",
|
|
1599
|
-
},
|
|
1600
|
-
],
|
|
1601
|
-
name: "set_settlement_verifier_role",
|
|
1602
|
-
output: "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
1603
|
-
attributes: [
|
|
1604
|
-
{
|
|
1605
|
-
name: "doc-comment",
|
|
1606
|
-
arguments: [
|
|
1607
|
-
" Allows the `owner` to assign or revoke the `settlement verifier` role.",
|
|
1608
|
-
],
|
|
1609
|
-
},
|
|
1610
|
-
{
|
|
1611
|
-
name: "doc-comment",
|
|
1612
|
-
arguments: [""],
|
|
1613
|
-
},
|
|
1614
|
-
{
|
|
1615
|
-
name: "doc-comment",
|
|
1616
|
-
arguments: [" # Additional Information"],
|
|
1617
|
-
},
|
|
1618
|
-
{
|
|
1619
|
-
name: "doc-comment",
|
|
1620
|
-
arguments: [""],
|
|
1621
|
-
},
|
|
1622
|
-
{
|
|
1623
|
-
name: "doc-comment",
|
|
1624
|
-
arguments: [" Only the contract `owner` can call this method."],
|
|
1625
|
-
},
|
|
1626
|
-
{
|
|
1627
|
-
name: "doc-comment",
|
|
1628
|
-
arguments: [""],
|
|
1629
|
-
},
|
|
1630
|
-
{
|
|
1631
|
-
name: "doc-comment",
|
|
1632
|
-
arguments: [" # Arguments"],
|
|
1633
|
-
},
|
|
1634
|
-
{
|
|
1635
|
-
name: "doc-comment",
|
|
1636
|
-
arguments: [""],
|
|
1637
|
-
},
|
|
1638
|
-
{
|
|
1639
|
-
name: "doc-comment",
|
|
1640
|
-
arguments: [
|
|
1641
|
-
" * `identity`: [Identity] - The `Identity` who's status as a `settlement verifier` will be updated.",
|
|
1642
|
-
],
|
|
1643
|
-
},
|
|
1644
|
-
{
|
|
1645
|
-
name: "doc-comment",
|
|
1646
|
-
arguments: [" * `has_role`: [bool] - The status to be set."],
|
|
1647
|
-
},
|
|
1648
|
-
{
|
|
1649
|
-
name: "doc-comment",
|
|
1650
|
-
arguments: [""],
|
|
1651
|
-
},
|
|
1652
|
-
{
|
|
1653
|
-
name: "doc-comment",
|
|
1654
|
-
arguments: [""],
|
|
1655
|
-
},
|
|
1656
|
-
{
|
|
1657
|
-
name: "doc-comment",
|
|
1658
|
-
arguments: [" # Number of Storage Accesses"],
|
|
1659
|
-
},
|
|
1660
|
-
{
|
|
1661
|
-
name: "doc-comment",
|
|
1662
|
-
arguments: [""],
|
|
1663
|
-
},
|
|
1664
|
-
{
|
|
1665
|
-
name: "doc-comment",
|
|
1666
|
-
arguments: [" * Reads: `1`"],
|
|
1667
|
-
},
|
|
1668
|
-
{
|
|
1669
|
-
name: "doc-comment",
|
|
1670
|
-
arguments: [" * Write: `1`"],
|
|
1671
|
-
},
|
|
1672
|
-
{
|
|
1673
|
-
name: "storage",
|
|
1674
|
-
arguments: ["read", "write"],
|
|
1675
|
-
},
|
|
1676
|
-
],
|
|
1677
|
-
},
|
|
1678
|
-
{
|
|
1679
|
-
inputs: [
|
|
1680
|
-
{
|
|
1681
|
-
name: "settle_data",
|
|
1682
|
-
concreteTypeId: "3f398311d910f45891ebe297c796818054c203bb631628fb87216c30add71db0",
|
|
1683
|
-
},
|
|
1684
|
-
{
|
|
1685
|
-
name: "signature",
|
|
1686
|
-
concreteTypeId: "745e252e80bec590efc3999ae943f07ccea4d5b45b00bb6575499b64abdd3322",
|
|
1687
|
-
},
|
|
1688
|
-
],
|
|
1689
|
-
name: "settle",
|
|
1690
|
-
output: "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
1691
|
-
attributes: [
|
|
1692
|
-
{
|
|
1693
|
-
name: "doc-comment",
|
|
1694
|
-
arguments: [" Pay solvers for verified work."],
|
|
1695
|
-
},
|
|
1696
|
-
{
|
|
1697
|
-
name: "doc-comment",
|
|
1698
|
-
arguments: [""],
|
|
1699
|
-
},
|
|
1700
|
-
{
|
|
1701
|
-
name: "doc-comment",
|
|
1702
|
-
arguments: [" # Additional Information"],
|
|
1703
|
-
},
|
|
1704
|
-
{
|
|
1705
|
-
name: "doc-comment",
|
|
1706
|
-
arguments: [""],
|
|
1707
|
-
},
|
|
1708
|
-
{
|
|
1709
|
-
name: "doc-comment",
|
|
1710
|
-
arguments: [
|
|
1711
|
-
" Anyone can call this method as it checks if the `settle_data` was signed by the contract owner,",
|
|
1712
|
-
],
|
|
1713
|
-
},
|
|
1714
|
-
{
|
|
1715
|
-
name: "doc-comment",
|
|
1716
|
-
arguments: [" if so the `settle_data` is considered valid."],
|
|
1717
|
-
},
|
|
1718
|
-
{
|
|
1719
|
-
name: "doc-comment",
|
|
1720
|
-
arguments: [""],
|
|
1721
|
-
},
|
|
1722
|
-
{
|
|
1723
|
-
name: "doc-comment",
|
|
1724
|
-
arguments: [" # Arguments"],
|
|
1725
|
-
},
|
|
1726
|
-
{
|
|
1727
|
-
name: "doc-comment",
|
|
1728
|
-
arguments: [""],
|
|
1729
|
-
},
|
|
1730
|
-
{
|
|
1731
|
-
name: "doc-comment",
|
|
1732
|
-
arguments: [
|
|
1733
|
-
" * `settle_data`: [SettleData] - The data of each transfer to a solver.",
|
|
1734
|
-
],
|
|
1735
|
-
},
|
|
1736
|
-
{
|
|
1737
|
-
name: "doc-comment",
|
|
1738
|
-
arguments: [
|
|
1739
|
-
" * `signature`: [B512] - The signature used to verify that the contract owner signed the given `settle_data`.",
|
|
1740
|
-
],
|
|
1741
|
-
},
|
|
1742
|
-
{
|
|
1743
|
-
name: "doc-comment",
|
|
1744
|
-
arguments: [""],
|
|
1745
|
-
},
|
|
1746
|
-
{
|
|
1747
|
-
name: "doc-comment",
|
|
1748
|
-
arguments: [" # Reverts"],
|
|
1749
|
-
},
|
|
1750
|
-
{
|
|
1751
|
-
name: "doc-comment",
|
|
1752
|
-
arguments: [""],
|
|
1753
|
-
},
|
|
1754
|
-
{
|
|
1755
|
-
name: "doc-comment",
|
|
1756
|
-
arguments: [" * When reentrency occurs."],
|
|
1757
|
-
},
|
|
1758
|
-
{
|
|
1759
|
-
name: "doc-comment",
|
|
1760
|
-
arguments: [
|
|
1761
|
-
" * When the number of solvers and assets in the `settle_data` don't match.",
|
|
1762
|
-
],
|
|
1763
|
-
},
|
|
1764
|
-
{
|
|
1765
|
-
name: "doc-comment",
|
|
1766
|
-
arguments: [
|
|
1767
|
-
" * When the number of solvers and amounts in the `settle_data` don't match.",
|
|
1768
|
-
],
|
|
1769
|
-
},
|
|
1770
|
-
{
|
|
1771
|
-
name: "doc-comment",
|
|
1772
|
-
arguments: [
|
|
1773
|
-
" * When the recovered address doesn't match the contract owner's address.",
|
|
1774
|
-
],
|
|
1775
|
-
},
|
|
1776
|
-
{
|
|
1777
|
-
name: "doc-comment",
|
|
1778
|
-
arguments: [
|
|
1779
|
-
" * When the nonce of the `settle_data` is already used.",
|
|
1780
|
-
],
|
|
1781
|
-
},
|
|
1782
|
-
{
|
|
1783
|
-
name: "doc-comment",
|
|
1784
|
-
arguments: [""],
|
|
1785
|
-
},
|
|
1786
|
-
{
|
|
1787
|
-
name: "doc-comment",
|
|
1788
|
-
arguments: [" # Number of Storage Accesses"],
|
|
1789
|
-
},
|
|
1790
|
-
{
|
|
1791
|
-
name: "doc-comment",
|
|
1792
|
-
arguments: [""],
|
|
1793
|
-
},
|
|
1794
|
-
{
|
|
1795
|
-
name: "doc-comment",
|
|
1796
|
-
arguments: [" * Reads: `1`"],
|
|
1797
|
-
},
|
|
1798
|
-
{
|
|
1799
|
-
name: "doc-comment",
|
|
1800
|
-
arguments: [" * Writes: `1`"],
|
|
1801
|
-
},
|
|
1802
|
-
{
|
|
1803
|
-
name: "storage",
|
|
1804
|
-
arguments: ["read", "write"],
|
|
1805
|
-
},
|
|
1806
|
-
],
|
|
1807
|
-
},
|
|
1808
|
-
{
|
|
1809
|
-
inputs: [
|
|
1810
|
-
{
|
|
1811
|
-
name: "nonce",
|
|
1812
|
-
concreteTypeId: "1b5759d94094368cfd443019e7ca5ec4074300e544e5ea993a979f5da627261e",
|
|
1813
|
-
},
|
|
1814
|
-
],
|
|
1815
|
-
name: "settle_nonce",
|
|
1816
|
-
output: "160e7964babcf172e41aa29b138f9c2ccfc416ad2368dabdbdf877ec5de5503f",
|
|
1817
|
-
attributes: [
|
|
1818
|
-
{
|
|
1819
|
-
name: "doc-comment",
|
|
1820
|
-
arguments: [
|
|
1821
|
-
" Gets a bool describing whether a given nonce has been used in a settlement",
|
|
1822
|
-
],
|
|
1823
|
-
},
|
|
1824
|
-
{
|
|
1825
|
-
name: "doc-comment",
|
|
1826
|
-
arguments: [""],
|
|
1827
|
-
},
|
|
1828
|
-
{
|
|
1829
|
-
name: "doc-comment",
|
|
1830
|
-
arguments: [" # Arguments"],
|
|
1831
|
-
},
|
|
1832
|
-
{
|
|
1833
|
-
name: "doc-comment",
|
|
1834
|
-
arguments: [""],
|
|
1835
|
-
},
|
|
1836
|
-
{
|
|
1837
|
-
name: "doc-comment",
|
|
1838
|
-
arguments: [" * `nonce`: [u64] - The nonce of a settlement."],
|
|
1839
|
-
},
|
|
1840
|
-
{
|
|
1841
|
-
name: "doc-comment",
|
|
1842
|
-
arguments: [""],
|
|
1843
|
-
},
|
|
1844
|
-
{
|
|
1845
|
-
name: "doc-comment",
|
|
1846
|
-
arguments: [" # Returns"],
|
|
1847
|
-
},
|
|
1848
|
-
{
|
|
1849
|
-
name: "doc-comment",
|
|
1850
|
-
arguments: [""],
|
|
1851
|
-
},
|
|
1852
|
-
{
|
|
1853
|
-
name: "doc-comment",
|
|
1854
|
-
arguments: [
|
|
1855
|
-
" * [Option<bool>] - Whether a given nonce has been used in a settlement.",
|
|
1856
|
-
],
|
|
1857
|
-
},
|
|
1858
|
-
{
|
|
1859
|
-
name: "doc-comment",
|
|
1860
|
-
arguments: [""],
|
|
1861
|
-
},
|
|
1862
|
-
{
|
|
1863
|
-
name: "doc-comment",
|
|
1864
|
-
arguments: [" # Number of Storage Accesses"],
|
|
1865
|
-
},
|
|
1866
|
-
{
|
|
1867
|
-
name: "doc-comment",
|
|
1868
|
-
arguments: [""],
|
|
1869
|
-
},
|
|
1870
|
-
{
|
|
1871
|
-
name: "doc-comment",
|
|
1872
|
-
arguments: [" * Reads: `1`"],
|
|
1873
|
-
},
|
|
1874
|
-
{
|
|
1875
|
-
name: "storage",
|
|
1876
|
-
arguments: ["read"],
|
|
1877
|
-
},
|
|
1878
|
-
],
|
|
1879
|
-
},
|
|
1880
|
-
{
|
|
1881
|
-
inputs: [
|
|
1882
|
-
{
|
|
1883
|
-
name: "identity",
|
|
1884
|
-
concreteTypeId: "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335",
|
|
1885
|
-
},
|
|
1886
|
-
],
|
|
1887
|
-
name: "settlement_verifier_role",
|
|
1888
|
-
output: "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903",
|
|
1889
|
-
attributes: [
|
|
1890
|
-
{
|
|
1891
|
-
name: "doc-comment",
|
|
1892
|
-
arguments: [
|
|
1893
|
-
" Returns true if the given `identity` has the `settlement_verifier` role.",
|
|
1894
|
-
],
|
|
1895
|
-
},
|
|
1896
|
-
{
|
|
1897
|
-
name: "doc-comment",
|
|
1898
|
-
arguments: [""],
|
|
1899
|
-
},
|
|
1900
|
-
{
|
|
1901
|
-
name: "doc-comment",
|
|
1902
|
-
arguments: [" # Number of Storage Accesses"],
|
|
1903
|
-
},
|
|
1904
|
-
{
|
|
1905
|
-
name: "doc-comment",
|
|
1906
|
-
arguments: [""],
|
|
1907
|
-
},
|
|
1908
|
-
{
|
|
1909
|
-
name: "doc-comment",
|
|
1910
|
-
arguments: [" * Reads: `1`"],
|
|
1911
|
-
},
|
|
1912
|
-
{
|
|
1913
|
-
name: "storage",
|
|
1914
|
-
arguments: ["read"],
|
|
1915
|
-
},
|
|
1916
|
-
],
|
|
1917
|
-
},
|
|
1918
|
-
{
|
|
1919
|
-
inputs: [
|
|
1920
|
-
{
|
|
1921
|
-
name: "new_owner",
|
|
1922
|
-
concreteTypeId: "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335",
|
|
1923
|
-
},
|
|
1924
|
-
],
|
|
1925
|
-
name: "transfer_ownership",
|
|
1926
|
-
output: "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
1927
|
-
attributes: [
|
|
1928
|
-
{
|
|
1929
|
-
name: "doc-comment",
|
|
1930
|
-
arguments: [" Transfers ownership to the passed identity."],
|
|
1931
|
-
},
|
|
1932
|
-
{
|
|
1933
|
-
name: "doc-comment",
|
|
1934
|
-
arguments: [""],
|
|
1935
|
-
},
|
|
1936
|
-
{
|
|
1937
|
-
name: "doc-comment",
|
|
1938
|
-
arguments: [" # Additional Information"],
|
|
1939
|
-
},
|
|
1940
|
-
{
|
|
1941
|
-
name: "doc-comment",
|
|
1942
|
-
arguments: [""],
|
|
1943
|
-
},
|
|
1944
|
-
{
|
|
1945
|
-
name: "doc-comment",
|
|
1946
|
-
arguments: [" Only the contract `owner` can call this method."],
|
|
1947
|
-
},
|
|
1948
|
-
{
|
|
1949
|
-
name: "doc-comment",
|
|
1950
|
-
arguments: [""],
|
|
1951
|
-
},
|
|
1952
|
-
{
|
|
1953
|
-
name: "doc-comment",
|
|
1954
|
-
arguments: [" # Arguments"],
|
|
1955
|
-
},
|
|
1956
|
-
{
|
|
1957
|
-
name: "doc-comment",
|
|
1958
|
-
arguments: [""],
|
|
1959
|
-
},
|
|
1960
|
-
{
|
|
1961
|
-
name: "doc-comment",
|
|
1962
|
-
arguments: [
|
|
1963
|
-
" * `new_owner`: [Identity] - The `Identity` that will be the next owner.",
|
|
1964
|
-
],
|
|
1965
|
-
},
|
|
1966
|
-
{
|
|
1967
|
-
name: "doc-comment",
|
|
1968
|
-
arguments: [""],
|
|
1969
|
-
},
|
|
1970
|
-
{
|
|
1971
|
-
name: "doc-comment",
|
|
1972
|
-
arguments: [" # Reverts"],
|
|
1973
|
-
},
|
|
1974
|
-
{
|
|
1975
|
-
name: "doc-comment",
|
|
1976
|
-
arguments: [""],
|
|
1977
|
-
},
|
|
1978
|
-
{
|
|
1979
|
-
name: "doc-comment",
|
|
1980
|
-
arguments: [" * When the sender is not the owner."],
|
|
1981
|
-
},
|
|
1982
|
-
{
|
|
1983
|
-
name: "doc-comment",
|
|
1984
|
-
arguments: [""],
|
|
1985
|
-
},
|
|
1986
|
-
{
|
|
1987
|
-
name: "doc-comment",
|
|
1988
|
-
arguments: [" # Number of Storage Accesses"],
|
|
1989
|
-
},
|
|
1990
|
-
{
|
|
1991
|
-
name: "doc-comment",
|
|
1992
|
-
arguments: [""],
|
|
1993
|
-
},
|
|
1994
|
-
{
|
|
1995
|
-
name: "doc-comment",
|
|
1996
|
-
arguments: [" * Reads: `1`"],
|
|
1997
|
-
},
|
|
1998
|
-
{
|
|
1999
|
-
name: "doc-comment",
|
|
2000
|
-
arguments: [" * Write: `1`"],
|
|
2001
|
-
},
|
|
2002
|
-
{
|
|
2003
|
-
name: "storage",
|
|
2004
|
-
arguments: ["read", "write"],
|
|
2005
|
-
},
|
|
2006
|
-
],
|
|
2007
|
-
},
|
|
2008
|
-
{
|
|
2009
|
-
inputs: [
|
|
2010
|
-
{
|
|
2011
|
-
name: "new_identity",
|
|
2012
|
-
concreteTypeId: "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335",
|
|
2013
|
-
},
|
|
2014
|
-
],
|
|
2015
|
-
name: "transfer_refund_eligible_role",
|
|
2016
|
-
output: "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
2017
|
-
attributes: [
|
|
2018
|
-
{
|
|
2019
|
-
name: "doc-comment",
|
|
2020
|
-
arguments: [" Allows a `refund eligible` to transfer their role."],
|
|
2021
|
-
},
|
|
2022
|
-
{
|
|
2023
|
-
name: "doc-comment",
|
|
2024
|
-
arguments: [""],
|
|
2025
|
-
},
|
|
2026
|
-
{
|
|
2027
|
-
name: "doc-comment",
|
|
2028
|
-
arguments: [" # Additional Information"],
|
|
2029
|
-
},
|
|
2030
|
-
{
|
|
2031
|
-
name: "doc-comment",
|
|
2032
|
-
arguments: [""],
|
|
2033
|
-
},
|
|
2034
|
-
{
|
|
2035
|
-
name: "doc-comment",
|
|
2036
|
-
arguments: [" Only a `refund eligible` can call this method."],
|
|
2037
|
-
},
|
|
2038
|
-
{
|
|
2039
|
-
name: "doc-comment",
|
|
2040
|
-
arguments: [""],
|
|
2041
|
-
},
|
|
2042
|
-
{
|
|
2043
|
-
name: "doc-comment",
|
|
2044
|
-
arguments: [" # Arguments"],
|
|
2045
|
-
},
|
|
2046
|
-
{
|
|
2047
|
-
name: "doc-comment",
|
|
2048
|
-
arguments: [""],
|
|
2049
|
-
},
|
|
2050
|
-
{
|
|
2051
|
-
name: "doc-comment",
|
|
2052
|
-
arguments: [
|
|
2053
|
-
" * `new_identity`: [Identity] - The `Identity` who will receive the role.",
|
|
2054
|
-
],
|
|
2055
|
-
},
|
|
2056
|
-
{
|
|
2057
|
-
name: "doc-comment",
|
|
2058
|
-
arguments: [""],
|
|
2059
|
-
},
|
|
2060
|
-
{
|
|
2061
|
-
name: "doc-comment",
|
|
2062
|
-
arguments: [" # Reverts"],
|
|
2063
|
-
},
|
|
2064
|
-
{
|
|
2065
|
-
name: "doc-comment",
|
|
2066
|
-
arguments: [""],
|
|
2067
|
-
},
|
|
2068
|
-
{
|
|
2069
|
-
name: "doc-comment",
|
|
2070
|
-
arguments: [" * When the sender is not a `refund eligible`."],
|
|
2071
|
-
},
|
|
2072
|
-
{
|
|
2073
|
-
name: "doc-comment",
|
|
2074
|
-
arguments: [""],
|
|
2075
|
-
},
|
|
2076
|
-
{
|
|
2077
|
-
name: "doc-comment",
|
|
2078
|
-
arguments: [" # Number of Storage Accesses"],
|
|
2079
|
-
},
|
|
2080
|
-
{
|
|
2081
|
-
name: "doc-comment",
|
|
2082
|
-
arguments: [""],
|
|
2083
|
-
},
|
|
2084
|
-
{
|
|
2085
|
-
name: "doc-comment",
|
|
2086
|
-
arguments: [" * Reads: `1`"],
|
|
2087
|
-
},
|
|
2088
|
-
{
|
|
2089
|
-
name: "doc-comment",
|
|
2090
|
-
arguments: [" * Write: `2`"],
|
|
2091
|
-
},
|
|
2092
|
-
{
|
|
2093
|
-
name: "storage",
|
|
2094
|
-
arguments: ["read", "write"],
|
|
2095
|
-
},
|
|
2096
|
-
],
|
|
2097
|
-
},
|
|
2098
|
-
{
|
|
2099
|
-
inputs: [
|
|
2100
|
-
{
|
|
2101
|
-
name: "new_identity",
|
|
2102
|
-
concreteTypeId: "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335",
|
|
2103
|
-
},
|
|
2104
|
-
],
|
|
2105
|
-
name: "transfer_settlement_verifier_role",
|
|
2106
|
-
output: "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
2107
|
-
attributes: [
|
|
2108
|
-
{
|
|
2109
|
-
name: "doc-comment",
|
|
2110
|
-
arguments: [
|
|
2111
|
-
" Allows a `settlement verifier` to transfer their role.",
|
|
2112
|
-
],
|
|
2113
|
-
},
|
|
2114
|
-
{
|
|
2115
|
-
name: "doc-comment",
|
|
2116
|
-
arguments: [""],
|
|
2117
|
-
},
|
|
2118
|
-
{
|
|
2119
|
-
name: "doc-comment",
|
|
2120
|
-
arguments: [" # Additional Information"],
|
|
2121
|
-
},
|
|
2122
|
-
{
|
|
2123
|
-
name: "doc-comment",
|
|
2124
|
-
arguments: [""],
|
|
2125
|
-
},
|
|
2126
|
-
{
|
|
2127
|
-
name: "doc-comment",
|
|
2128
|
-
arguments: [" Only a `settlement verifier` can call this method."],
|
|
2129
|
-
},
|
|
2130
|
-
{
|
|
2131
|
-
name: "doc-comment",
|
|
2132
|
-
arguments: [""],
|
|
2133
|
-
},
|
|
2134
|
-
{
|
|
2135
|
-
name: "doc-comment",
|
|
2136
|
-
arguments: [" # Arguments"],
|
|
2137
|
-
},
|
|
2138
|
-
{
|
|
2139
|
-
name: "doc-comment",
|
|
2140
|
-
arguments: [""],
|
|
2141
|
-
},
|
|
2142
|
-
{
|
|
2143
|
-
name: "doc-comment",
|
|
2144
|
-
arguments: [
|
|
2145
|
-
" * `new_identity`: [Identity] - The `Identity` who will receive the role.",
|
|
2146
|
-
],
|
|
2147
|
-
},
|
|
2148
|
-
{
|
|
2149
|
-
name: "doc-comment",
|
|
2150
|
-
arguments: [""],
|
|
2151
|
-
},
|
|
2152
|
-
{
|
|
2153
|
-
name: "doc-comment",
|
|
2154
|
-
arguments: [" # Reverts"],
|
|
2155
|
-
},
|
|
2156
|
-
{
|
|
2157
|
-
name: "doc-comment",
|
|
2158
|
-
arguments: [""],
|
|
2159
|
-
},
|
|
2160
|
-
{
|
|
2161
|
-
name: "doc-comment",
|
|
2162
|
-
arguments: [" * When the sender is not a `settlement verifier`."],
|
|
2163
|
-
},
|
|
2164
|
-
{
|
|
2165
|
-
name: "doc-comment",
|
|
2166
|
-
arguments: [""],
|
|
2167
|
-
},
|
|
2168
|
-
{
|
|
2169
|
-
name: "doc-comment",
|
|
2170
|
-
arguments: [" # Number of Storage Accesses"],
|
|
2171
|
-
},
|
|
2172
|
-
{
|
|
2173
|
-
name: "doc-comment",
|
|
2174
|
-
arguments: [""],
|
|
2175
|
-
},
|
|
2176
|
-
{
|
|
2177
|
-
name: "doc-comment",
|
|
2178
|
-
arguments: [" * Reads: `1`"],
|
|
2179
|
-
},
|
|
2180
|
-
{
|
|
2181
|
-
name: "doc-comment",
|
|
2182
|
-
arguments: [" * Write: `2`"],
|
|
2183
|
-
},
|
|
2184
|
-
{
|
|
2185
|
-
name: "storage",
|
|
2186
|
-
arguments: ["read", "write"],
|
|
2187
|
-
},
|
|
2188
|
-
],
|
|
2189
|
-
},
|
|
2190
|
-
{
|
|
2191
|
-
inputs: [
|
|
2192
|
-
{
|
|
2193
|
-
name: "request",
|
|
2194
|
-
concreteTypeId: "8f17cef827b9269639659b2f90120c93255dfedb8f58f7f69e7f2f2a9040077d",
|
|
2195
|
-
},
|
|
2196
|
-
{
|
|
2197
|
-
name: "signature",
|
|
2198
|
-
concreteTypeId: "745e252e80bec590efc3999ae943f07ccea4d5b45b00bb6575499b64abdd3322",
|
|
2199
|
-
},
|
|
2200
|
-
],
|
|
2201
|
-
name: "verify_request_signature",
|
|
2202
|
-
output: "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b",
|
|
2203
|
-
attributes: null,
|
|
2204
|
-
},
|
|
2205
|
-
{
|
|
2206
|
-
inputs: [
|
|
2207
|
-
{
|
|
2208
|
-
name: "to",
|
|
2209
|
-
concreteTypeId: "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335",
|
|
2210
|
-
},
|
|
2211
|
-
{
|
|
2212
|
-
name: "asset_id",
|
|
2213
|
-
concreteTypeId: "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974",
|
|
2214
|
-
},
|
|
2215
|
-
{
|
|
2216
|
-
name: "amount",
|
|
2217
|
-
concreteTypeId: "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
2218
|
-
},
|
|
2219
|
-
],
|
|
2220
|
-
name: "withdraw",
|
|
2221
|
-
output: "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
2222
|
-
attributes: [
|
|
2223
|
-
{
|
|
2224
|
-
name: "doc-comment",
|
|
2225
|
-
arguments: [" Withdraw assets from the contract."],
|
|
2226
|
-
},
|
|
2227
|
-
{
|
|
2228
|
-
name: "doc-comment",
|
|
2229
|
-
arguments: [""],
|
|
2230
|
-
},
|
|
2231
|
-
{
|
|
2232
|
-
name: "doc-comment",
|
|
2233
|
-
arguments: [" # Additional Information"],
|
|
2234
|
-
},
|
|
2235
|
-
{
|
|
2236
|
-
name: "doc-comment",
|
|
2237
|
-
arguments: [""],
|
|
2238
|
-
},
|
|
2239
|
-
{
|
|
2240
|
-
name: "doc-comment",
|
|
2241
|
-
arguments: [" Only callable by the contract owner."],
|
|
2242
|
-
},
|
|
2243
|
-
{
|
|
2244
|
-
name: "doc-comment",
|
|
2245
|
-
arguments: [""],
|
|
2246
|
-
},
|
|
2247
|
-
{
|
|
2248
|
-
name: "doc-comment",
|
|
2249
|
-
arguments: [" # Arguments"],
|
|
2250
|
-
},
|
|
2251
|
-
{
|
|
2252
|
-
name: "doc-comment",
|
|
2253
|
-
arguments: [""],
|
|
2254
|
-
},
|
|
2255
|
-
{
|
|
2256
|
-
name: "doc-comment",
|
|
2257
|
-
arguments: [" * `to`: [Identity] - The recipient of the withdrawal."],
|
|
2258
|
-
},
|
|
2259
|
-
{
|
|
2260
|
-
name: "doc-comment",
|
|
2261
|
-
arguments: [" * `asset_id`: [AssetId] - The asset to withdraw."],
|
|
2262
|
-
},
|
|
2263
|
-
{
|
|
2264
|
-
name: "doc-comment",
|
|
2265
|
-
arguments: [" * `amount`: [u64] - The amount withdraw."],
|
|
2266
|
-
},
|
|
2267
|
-
{
|
|
2268
|
-
name: "doc-comment",
|
|
2269
|
-
arguments: [""],
|
|
2270
|
-
},
|
|
2271
|
-
{
|
|
2272
|
-
name: "doc-comment",
|
|
2273
|
-
arguments: [" # Reverts"],
|
|
2274
|
-
},
|
|
2275
|
-
{
|
|
2276
|
-
name: "doc-comment",
|
|
2277
|
-
arguments: [""],
|
|
2278
|
-
},
|
|
2279
|
-
{
|
|
2280
|
-
name: "doc-comment",
|
|
2281
|
-
arguments: [" * When not called by the owner."],
|
|
2282
|
-
},
|
|
2283
|
-
{
|
|
2284
|
-
name: "doc-comment",
|
|
2285
|
-
arguments: [" * When reentrency occurs."],
|
|
2286
|
-
},
|
|
2287
|
-
{
|
|
2288
|
-
name: "doc-comment",
|
|
2289
|
-
arguments: [""],
|
|
2290
|
-
},
|
|
2291
|
-
{
|
|
2292
|
-
name: "doc-comment",
|
|
2293
|
-
arguments: [" # Number of Storage Accesses"],
|
|
2294
|
-
},
|
|
2295
|
-
{
|
|
2296
|
-
name: "doc-comment",
|
|
2297
|
-
arguments: [""],
|
|
2298
|
-
},
|
|
2299
|
-
{
|
|
2300
|
-
name: "doc-comment",
|
|
2301
|
-
arguments: [" * Reads: `1`"],
|
|
2302
|
-
},
|
|
2303
|
-
{
|
|
2304
|
-
name: "storage",
|
|
2305
|
-
arguments: ["read"],
|
|
2306
|
-
},
|
|
2307
|
-
],
|
|
2308
|
-
},
|
|
2309
|
-
],
|
|
2310
|
-
loggedTypes: [
|
|
2311
|
-
{
|
|
2312
|
-
logId: "1257819527469551790",
|
|
2313
|
-
concreteTypeId: "1174ac322e5f50aeb24de065558295d834bab4ad055eedc043379d91a8958834",
|
|
2314
|
-
},
|
|
2315
|
-
{
|
|
2316
|
-
logId: "12195664052085097644",
|
|
2317
|
-
concreteTypeId: "a93fb3d7088884ac8084fc44b117612059604f3d2051bfb1e2612381c3cebda9",
|
|
2318
|
-
},
|
|
2319
|
-
{
|
|
2320
|
-
logId: "6732614218709939873",
|
|
2321
|
-
concreteTypeId: "5d6f0cf603f336a11e076b3797ac315dc56056f8fd733e270621be9b42f539f8",
|
|
2322
|
-
},
|
|
2323
|
-
{
|
|
2324
|
-
logId: "2161305517876418151",
|
|
2325
|
-
concreteTypeId: "1dfe7feadc1d9667a4351761230f948744068a090fe91b1bc6763a90ed5d3893",
|
|
2326
|
-
},
|
|
2327
|
-
{
|
|
2328
|
-
logId: "16280289466020123285",
|
|
2329
|
-
concreteTypeId: "e1ef35033ea9d2956f17c3292dea4a46ce7d61fdf37bbebe03b7b965073f43b5",
|
|
2330
|
-
},
|
|
2331
|
-
{
|
|
2332
|
-
logId: "4571204900286667806",
|
|
2333
|
-
concreteTypeId: "3f702ea3351c9c1ece2b84048006c8034a24cbc2bad2e740d0412b4172951d3d",
|
|
2334
|
-
},
|
|
2335
|
-
{
|
|
2336
|
-
logId: "4883303303013154842",
|
|
2337
|
-
concreteTypeId: "43c4fa7b3297401afbf300127e59ea913e5c8f0c7ae69abbec789ab0bb872bed",
|
|
2338
|
-
},
|
|
2339
|
-
{
|
|
2340
|
-
logId: "7779943637668661670",
|
|
2341
|
-
concreteTypeId: "6bf7e984bfcd09a667a74ad394cc04dc36275dcc2610439ddd4eb06e138e0c99",
|
|
2342
|
-
},
|
|
2343
|
-
{
|
|
2344
|
-
logId: "14984546834664376252",
|
|
2345
|
-
concreteTypeId: "cff3cdf4605fc7bc13714d42a1fa51fa0fd5743cc3ee2cebf512d2ee1f0541d0",
|
|
2346
|
-
},
|
|
2347
|
-
{
|
|
2348
|
-
logId: "5557842539076482339",
|
|
2349
|
-
concreteTypeId: "4d216c57b3357523323f59401c7355785b41bdf832f6e1106272186b94797038",
|
|
2350
|
-
},
|
|
2351
|
-
{
|
|
2352
|
-
logId: "15220673195713116216",
|
|
2353
|
-
concreteTypeId: "d33ab1a100ca3838867bc1b5bd324dbf7d8385b8c61195a20e87cf71d3d35d4f",
|
|
2354
|
-
},
|
|
2355
|
-
{
|
|
2356
|
-
logId: "12970362301975156672",
|
|
2357
|
-
concreteTypeId: "b3fffbcb3158d7c010c31b194b60fb7857adb4ad61bdcf4b8b42958951d9f308",
|
|
2358
|
-
},
|
|
2359
|
-
{
|
|
2360
|
-
logId: "1861356391699522460",
|
|
2361
|
-
concreteTypeId: "19d4ddc6bfa7239c40e8a40045394730ec18e202048f5b6404eb6b453bb70362",
|
|
2362
|
-
},
|
|
2363
|
-
{
|
|
2364
|
-
logId: "7624560394341238304",
|
|
2365
|
-
concreteTypeId: "69cfe1483138c6201ab36e7cf5e0b54aa9ee674f19318d289e55961bfdcc4ebf",
|
|
2366
|
-
},
|
|
2367
|
-
{
|
|
2368
|
-
logId: "6332855713295737314",
|
|
2369
|
-
concreteTypeId: "57e2d2b7e4cba1e211aa57fd003552898667215676b5c12e9018c643d3177b08",
|
|
2370
|
-
},
|
|
2371
|
-
{
|
|
2372
|
-
logId: "3295166716781023771",
|
|
2373
|
-
concreteTypeId: "2dbac8ab9d6c521bc756385f712aadb559780f80981fd7f47f28ba0bf5aab3de",
|
|
2374
|
-
},
|
|
2375
|
-
],
|
|
2376
|
-
messagesTypes: [],
|
|
2377
|
-
configurables: [
|
|
2378
|
-
{
|
|
2379
|
-
name: "INITIAL_OWNER",
|
|
2380
|
-
concreteTypeId: "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335",
|
|
2381
|
-
offset: 64088,
|
|
2382
|
-
},
|
|
2383
|
-
{
|
|
2384
|
-
name: "FUEL_IGNITION_CHAIN_ID",
|
|
2385
|
-
concreteTypeId: "1b5759d94094368cfd443019e7ca5ec4074300e544e5ea993a979f5da627261e",
|
|
2386
|
-
offset: 64056,
|
|
2387
|
-
},
|
|
2388
|
-
],
|
|
2389
|
-
};
|
|
2390
|
-
const storageSlots = [];
|
|
2391
|
-
export class ArcanaVaultInterface extends Interface {
|
|
2392
|
-
constructor() {
|
|
2393
|
-
super(abi);
|
|
2394
|
-
}
|
|
2395
|
-
}
|
|
2396
|
-
export class ArcanaVault extends Contract {
|
|
2397
|
-
static abi = abi;
|
|
2398
|
-
static storageSlots = storageSlots;
|
|
2399
|
-
constructor(id, accountOrProvider) {
|
|
2400
|
-
super(id, abi, accountOrProvider);
|
|
2401
|
-
}
|
|
2402
|
-
}
|