@avail-project/ca-common 1.0.0-beta.7 → 1.0.0-beta.8

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