@o2exchange/contracts 0.4.4-rc → 0.4.5-rc3

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 (63) hide show
  1. package/dist/contracts/OrderBook.js +23 -23
  2. package/dist/contracts/OrderBookFactory.js +1 -1
  3. package/dist/contracts/PropAccount.d.ts +398 -0
  4. package/dist/contracts/PropAccount.d.ts.map +1 -0
  5. package/dist/contracts/PropAccount.js +1301 -0
  6. package/dist/contracts/PropAccount.js.map +1 -0
  7. package/dist/contracts/PropAccountFactory.d.ts +9 -0
  8. package/dist/contracts/PropAccountFactory.d.ts.map +1 -0
  9. package/dist/contracts/PropAccountFactory.js +23 -0
  10. package/dist/contracts/PropAccountFactory.js.map +1 -0
  11. package/dist/contracts/PropAccountOracle.d.ts +190 -0
  12. package/dist/contracts/PropAccountOracle.d.ts.map +1 -0
  13. package/dist/contracts/PropAccountOracle.js +555 -0
  14. package/dist/contracts/PropAccountOracle.js.map +1 -0
  15. package/dist/contracts/PropAccountOracleFactory.d.ts +9 -0
  16. package/dist/contracts/PropAccountOracleFactory.d.ts.map +1 -0
  17. package/dist/contracts/PropAccountOracleFactory.js +23 -0
  18. package/dist/contracts/PropAccountOracleFactory.js.map +1 -0
  19. package/dist/contracts/PropAccountOracleProxy.d.ts +192 -0
  20. package/dist/contracts/PropAccountOracleProxy.d.ts.map +1 -0
  21. package/dist/contracts/PropAccountOracleProxy.js +432 -0
  22. package/dist/contracts/PropAccountOracleProxy.js.map +1 -0
  23. package/dist/contracts/PropAccountOracleProxyFactory.d.ts +9 -0
  24. package/dist/contracts/PropAccountOracleProxyFactory.d.ts.map +1 -0
  25. package/dist/contracts/PropAccountOracleProxyFactory.js +23 -0
  26. package/dist/contracts/PropAccountOracleProxyFactory.js.map +1 -0
  27. package/dist/contracts/PropAccountProxy.d.ts +191 -0
  28. package/dist/contracts/PropAccountProxy.d.ts.map +1 -0
  29. package/dist/contracts/PropAccountProxy.js +484 -0
  30. package/dist/contracts/PropAccountProxy.js.map +1 -0
  31. package/dist/contracts/PropAccountProxyFactory.d.ts +9 -0
  32. package/dist/contracts/PropAccountProxyFactory.d.ts.map +1 -0
  33. package/dist/contracts/PropAccountProxyFactory.js +23 -0
  34. package/dist/contracts/PropAccountProxyFactory.js.map +1 -0
  35. package/dist/contracts/PropMarginPool.d.ts +1216 -0
  36. package/dist/contracts/PropMarginPool.d.ts.map +1 -0
  37. package/dist/contracts/PropMarginPool.js +4057 -0
  38. package/dist/contracts/PropMarginPool.js.map +1 -0
  39. package/dist/contracts/PropMarginPoolFactory.d.ts +9 -0
  40. package/dist/contracts/PropMarginPoolFactory.d.ts.map +1 -0
  41. package/dist/contracts/PropMarginPoolFactory.js +23 -0
  42. package/dist/contracts/PropMarginPoolFactory.js.map +1 -0
  43. package/dist/contracts/PropMarginPoolMock.d.ts +1320 -0
  44. package/dist/contracts/PropMarginPoolMock.d.ts.map +1 -0
  45. package/dist/contracts/PropMarginPoolMock.js +4899 -0
  46. package/dist/contracts/PropMarginPoolMock.js.map +1 -0
  47. package/dist/contracts/PropMarginPoolMockFactory.d.ts +9 -0
  48. package/dist/contracts/PropMarginPoolMockFactory.d.ts.map +1 -0
  49. package/dist/contracts/PropMarginPoolMockFactory.js +23 -0
  50. package/dist/contracts/PropMarginPoolMockFactory.js.map +1 -0
  51. package/dist/contracts/PropMarginPoolProxy.d.ts +192 -0
  52. package/dist/contracts/PropMarginPoolProxy.d.ts.map +1 -0
  53. package/dist/contracts/PropMarginPoolProxy.js +432 -0
  54. package/dist/contracts/PropMarginPoolProxy.js.map +1 -0
  55. package/dist/contracts/PropMarginPoolProxyFactory.d.ts +9 -0
  56. package/dist/contracts/PropMarginPoolProxyFactory.d.ts.map +1 -0
  57. package/dist/contracts/PropMarginPoolProxyFactory.js +23 -0
  58. package/dist/contracts/PropMarginPoolProxyFactory.js.map +1 -0
  59. package/dist/contracts/index.d.ts +14 -0
  60. package/dist/contracts/index.d.ts.map +1 -1
  61. package/dist/contracts/index.js +14 -0
  62. package/dist/contracts/index.js.map +1 -1
  63. package/package.json +1 -1
@@ -0,0 +1,1301 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* eslint-disable max-classes-per-file */
3
+ /* eslint-disable @typescript-eslint/no-unused-vars */
4
+ /* eslint-disable @typescript-eslint/consistent-type-imports */
5
+ /*
6
+ Fuels version: 0.103.0
7
+ Forc version: 0.70.2
8
+ Fuel-Core version: 0.48.0
9
+ */
10
+ import { Contract as __Contract, Interface } from "fuels";
11
+ export var ExtendedNonceErrorInput;
12
+ (function (ExtendedNonceErrorInput) {
13
+ ExtendedNonceErrorInput["ReservedBitsSet"] = "ReservedBitsSet";
14
+ ExtendedNonceErrorInput["BitmapPositionOutOfRange"] = "BitmapPositionOutOfRange";
15
+ ExtendedNonceErrorInput["NonceSessionIdOutOfRange"] = "NonceSessionIdOutOfRange";
16
+ ExtendedNonceErrorInput["Expired"] = "Expired";
17
+ ExtendedNonceErrorInput["WordPosOutOfWindow"] = "WordPosOutOfWindow";
18
+ ExtendedNonceErrorInput["AlreadyUsed"] = "AlreadyUsed";
19
+ })(ExtendedNonceErrorInput || (ExtendedNonceErrorInput = {}));
20
+ ;
21
+ export var ExtendedNonceErrorOutput;
22
+ (function (ExtendedNonceErrorOutput) {
23
+ ExtendedNonceErrorOutput["ReservedBitsSet"] = "ReservedBitsSet";
24
+ ExtendedNonceErrorOutput["BitmapPositionOutOfRange"] = "BitmapPositionOutOfRange";
25
+ ExtendedNonceErrorOutput["NonceSessionIdOutOfRange"] = "NonceSessionIdOutOfRange";
26
+ ExtendedNonceErrorOutput["Expired"] = "Expired";
27
+ ExtendedNonceErrorOutput["WordPosOutOfWindow"] = "WordPosOutOfWindow";
28
+ ExtendedNonceErrorOutput["AlreadyUsed"] = "AlreadyUsed";
29
+ })(ExtendedNonceErrorOutput || (ExtendedNonceErrorOutput = {}));
30
+ ;
31
+ export var ProlongPeriodInput;
32
+ (function (ProlongPeriodInput) {
33
+ ProlongPeriodInput["SixHours"] = "SixHours";
34
+ ProlongPeriodInput["Day"] = "Day";
35
+ ProlongPeriodInput["Week"] = "Week";
36
+ ProlongPeriodInput["Month"] = "Month";
37
+ })(ProlongPeriodInput || (ProlongPeriodInput = {}));
38
+ ;
39
+ export var ProlongPeriodOutput;
40
+ (function (ProlongPeriodOutput) {
41
+ ProlongPeriodOutput["SixHours"] = "SixHours";
42
+ ProlongPeriodOutput["Day"] = "Day";
43
+ ProlongPeriodOutput["Week"] = "Week";
44
+ ProlongPeriodOutput["Month"] = "Month";
45
+ })(ProlongPeriodOutput || (ProlongPeriodOutput = {}));
46
+ ;
47
+ export var PropAccountErrorInput;
48
+ (function (PropAccountErrorInput) {
49
+ PropAccountErrorInput["AlreadyInitialized"] = "AlreadyInitialized";
50
+ PropAccountErrorInput["InvalidRegistry"] = "InvalidRegistry";
51
+ PropAccountErrorInput["InvalidParent"] = "InvalidParent";
52
+ PropAccountErrorInput["InvalidPool"] = "InvalidPool";
53
+ PropAccountErrorInput["NotParent"] = "NotParent";
54
+ PropAccountErrorInput["NotPool"] = "NotPool";
55
+ PropAccountErrorInput["SessionActive"] = "SessionActive";
56
+ PropAccountErrorInput["NoActiveSession"] = "NoActiveSession";
57
+ PropAccountErrorInput["TargetNotAllowed"] = "TargetNotAllowed";
58
+ PropAccountErrorInput["InvalidUserSig"] = "InvalidUserSig";
59
+ PropAccountErrorInput["InvalidCosigner"] = "InvalidCosigner";
60
+ PropAccountErrorInput["AmountIsZero"] = "AmountIsZero";
61
+ PropAccountErrorInput["InsufficientBalance"] = "InsufficientBalance";
62
+ PropAccountErrorInput["WrongAsset"] = "WrongAsset";
63
+ PropAccountErrorInput["PaymentAmountMismatch"] = "PaymentAmountMismatch";
64
+ })(PropAccountErrorInput || (PropAccountErrorInput = {}));
65
+ ;
66
+ export var PropAccountErrorOutput;
67
+ (function (PropAccountErrorOutput) {
68
+ PropAccountErrorOutput["AlreadyInitialized"] = "AlreadyInitialized";
69
+ PropAccountErrorOutput["InvalidRegistry"] = "InvalidRegistry";
70
+ PropAccountErrorOutput["InvalidParent"] = "InvalidParent";
71
+ PropAccountErrorOutput["InvalidPool"] = "InvalidPool";
72
+ PropAccountErrorOutput["NotParent"] = "NotParent";
73
+ PropAccountErrorOutput["NotPool"] = "NotPool";
74
+ PropAccountErrorOutput["SessionActive"] = "SessionActive";
75
+ PropAccountErrorOutput["NoActiveSession"] = "NoActiveSession";
76
+ PropAccountErrorOutput["TargetNotAllowed"] = "TargetNotAllowed";
77
+ PropAccountErrorOutput["InvalidUserSig"] = "InvalidUserSig";
78
+ PropAccountErrorOutput["InvalidCosigner"] = "InvalidCosigner";
79
+ PropAccountErrorOutput["AmountIsZero"] = "AmountIsZero";
80
+ PropAccountErrorOutput["InsufficientBalance"] = "InsufficientBalance";
81
+ PropAccountErrorOutput["WrongAsset"] = "WrongAsset";
82
+ PropAccountErrorOutput["PaymentAmountMismatch"] = "PaymentAmountMismatch";
83
+ })(PropAccountErrorOutput || (PropAccountErrorOutput = {}));
84
+ ;
85
+ export var SessionErrorInput;
86
+ (function (SessionErrorInput) {
87
+ SessionErrorInput["SessionInThePast"] = "SessionInThePast";
88
+ SessionErrorInput["NoApprovedContractIdsProvided"] = "NoApprovedContractIdsProvided";
89
+ })(SessionErrorInput || (SessionErrorInput = {}));
90
+ ;
91
+ export var SessionErrorOutput;
92
+ (function (SessionErrorOutput) {
93
+ SessionErrorOutput["SessionInThePast"] = "SessionInThePast";
94
+ SessionErrorOutput["NoApprovedContractIdsProvided"] = "NoApprovedContractIdsProvided";
95
+ })(SessionErrorOutput || (SessionErrorOutput = {}));
96
+ ;
97
+ const abi = {
98
+ "programType": "contract",
99
+ "specVersion": "1.2",
100
+ "encodingVersion": "1",
101
+ "concreteTypes": [
102
+ {
103
+ "type": "()",
104
+ "concreteTypeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
105
+ },
106
+ {
107
+ "type": "bool",
108
+ "concreteTypeId": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903"
109
+ },
110
+ {
111
+ "type": "enum contract_schema::prop_account::PropAccountError",
112
+ "concreteTypeId": "8d73037110d4b3ac79bc7f892601f8786e2437fc28777e2845cac433c4894f61",
113
+ "metadataTypeId": 3
114
+ },
115
+ {
116
+ "type": "enum contract_schema::prop_period::ProlongPeriod",
117
+ "concreteTypeId": "b744420bc56bde6e28d903d531e72762ae850514fc19209fda130ddbe6a380a2",
118
+ "metadataTypeId": 4
119
+ },
120
+ {
121
+ "type": "enum contract_schema::session::SessionError",
122
+ "concreteTypeId": "8b3faa3088585786667c82ce2418fc7566e3f47890914dbcc8def3fc5bad644f",
123
+ "metadataTypeId": 5
124
+ },
125
+ {
126
+ "type": "enum contract_schema::trade_account_errors::ExtendedNonceError",
127
+ "concreteTypeId": "2839bba2575d61e3c6cbd733c70c82e630da3bcae8c0f84e0f370c9219c57a18",
128
+ "metadataTypeId": 6
129
+ },
130
+ {
131
+ "type": "enum std::crypto::signature::Signature",
132
+ "concreteTypeId": "2a32867dec49ed8ddf6b7d2ed19d53c626d3f593369b5dd82a317d7b300e1c39",
133
+ "metadataTypeId": 7
134
+ },
135
+ {
136
+ "type": "enum std::identity::Identity",
137
+ "concreteTypeId": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335",
138
+ "metadataTypeId": 8
139
+ },
140
+ {
141
+ "type": "enum std::option::Option<struct contract_schema::session::Session>",
142
+ "concreteTypeId": "8ee10917cb48b981cfce7fd1dea6bbb5cc8be7fe49d3e5d54044cd2c41a53bd7",
143
+ "metadataTypeId": 9,
144
+ "typeArguments": [
145
+ "f6edd57223d771412495547d019aa1b7533bc3ed27255e9118fc803f244a556c"
146
+ ]
147
+ },
148
+ {
149
+ "type": "enum std::result::Result<(),enum contract_schema::trade_account_errors::ExtendedNonceError>",
150
+ "concreteTypeId": "edeec773f10b1c35ceeb107f134494c71c4b910a91fb4896d97407c97c6a8d26",
151
+ "metadataTypeId": 10,
152
+ "typeArguments": [
153
+ "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
154
+ "2839bba2575d61e3c6cbd733c70c82e630da3bcae8c0f84e0f370c9219c57a18"
155
+ ]
156
+ },
157
+ {
158
+ "type": "str",
159
+ "concreteTypeId": "8c25cb3686462e9a86d2883c5688a22fe738b0bbc85f458d2d2b5f3f667c6d5a"
160
+ },
161
+ {
162
+ "type": "struct contract_schema::prop_account::MarginContractCallEvent",
163
+ "concreteTypeId": "018075bcd6767a61866cfa82518323e69ed61537533241c2fedf42007d55f325",
164
+ "metadataTypeId": 14
165
+ },
166
+ {
167
+ "type": "struct contract_schema::prop_account::MarginTradeAccountWithdrawn",
168
+ "concreteTypeId": "d609d33218e8cf6a38086c9b198260aaa54bf9b36fbbaae9a3eaed21e3b9efdb",
169
+ "metadataTypeId": 15
170
+ },
171
+ {
172
+ "type": "struct contract_schema::prop_account::PropOrderBookCleanup",
173
+ "concreteTypeId": "c150f7d4d1a7ba5ffc1f21eafb110037c5a3b107608e2652d35b7edc555ccde2",
174
+ "metadataTypeId": 16
175
+ },
176
+ {
177
+ "type": "struct contract_schema::session::Session",
178
+ "concreteTypeId": "f6edd57223d771412495547d019aa1b7533bc3ed27255e9118fc803f244a556c",
179
+ "metadataTypeId": 17
180
+ },
181
+ {
182
+ "type": "struct contract_schema::session::SessionCreatedEvent",
183
+ "concreteTypeId": "cfccb0b9b57671b92f0435d1d261690876e4ef2d8be63c837284032734825b04",
184
+ "metadataTypeId": 18
185
+ },
186
+ {
187
+ "type": "struct contract_schema::session::SessionRevokedEvent",
188
+ "concreteTypeId": "278cb587808481b72a555be60b7a1b670422d1a886b431eed10a2d0c12eaaaed",
189
+ "metadataTypeId": 19
190
+ },
191
+ {
192
+ "type": "struct contract_schema::trade_account_par::NonceSessionWindow",
193
+ "concreteTypeId": "67c5930a2e12f4035de71fcc3cd0496d4f4e48801fa464e77002520fddf176f4",
194
+ "metadataTypeId": 21
195
+ },
196
+ {
197
+ "type": "struct contract_schema::trade_account_par::ParallelMultiCallContractArgs",
198
+ "concreteTypeId": "9d4abea3c3ded72594ba630071d98b649db8348d3ab2970852317e69b5bece52",
199
+ "metadataTypeId": 22
200
+ },
201
+ {
202
+ "type": "struct contract_schema::trade_account_par::ParallelNonceUsedEvent",
203
+ "concreteTypeId": "0aeddd0e2c420b4162249ce8bf6408c224e31586679b7278d6331df6215e28cf",
204
+ "metadataTypeId": 23
205
+ },
206
+ {
207
+ "type": "struct contract_schema::trade_account_par::ParallelRevokeArgs",
208
+ "concreteTypeId": "cc16af760fc50309e1c4fae03a03d4177844d68a5db161bc63fe02eb9c29ae11",
209
+ "metadataTypeId": 24
210
+ },
211
+ {
212
+ "type": "struct contract_schema::trade_account_par::ParallelSessionArgs",
213
+ "concreteTypeId": "621624a91c02fc7fb3cc397282d788d786ffb08c334878ff7923643395c535d1",
214
+ "metadataTypeId": 25
215
+ },
216
+ {
217
+ "type": "struct std::asset_id::AssetId",
218
+ "concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974",
219
+ "metadataTypeId": 27
220
+ },
221
+ {
222
+ "type": "struct std::contract_id::ContractId",
223
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54",
224
+ "metadataTypeId": 30
225
+ },
226
+ {
227
+ "type": "struct std::vec::Vec<struct contract_schema::prop_account::PropOrderBookCleanup>",
228
+ "concreteTypeId": "098b9de8dbe7e11fe1fc48274febeeb9eb46a1cabf8505ce43e75740a6becd44",
229
+ "metadataTypeId": 37,
230
+ "typeArguments": [
231
+ "c150f7d4d1a7ba5ffc1f21eafb110037c5a3b107608e2652d35b7edc555ccde2"
232
+ ]
233
+ },
234
+ {
235
+ "type": "struct std::vec::Vec<struct contract_schema::trade_account_par::NonceSessionWindow>",
236
+ "concreteTypeId": "2a0b29d8abc10bfd4d3f4684fc07113309302cdfb843d3d57120906949758fae",
237
+ "metadataTypeId": 37,
238
+ "typeArguments": [
239
+ "67c5930a2e12f4035de71fcc3cd0496d4f4e48801fa464e77002520fddf176f4"
240
+ ]
241
+ },
242
+ {
243
+ "type": "struct std::vec::Vec<struct std::asset_id::AssetId>",
244
+ "concreteTypeId": "8b2275934873f381a769c82334e6f66595eeb350d8b2dd012eef4d9bb117942b",
245
+ "metadataTypeId": 37,
246
+ "typeArguments": [
247
+ "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974"
248
+ ]
249
+ },
250
+ {
251
+ "type": "u256",
252
+ "concreteTypeId": "1b5759d94094368cfd443019e7ca5ec4074300e544e5ea993a979f5da627261e"
253
+ },
254
+ {
255
+ "type": "u64",
256
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
257
+ }
258
+ ],
259
+ "metadataTypes": [
260
+ {
261
+ "type": "[_; 64]",
262
+ "metadataTypeId": 0,
263
+ "components": [
264
+ {
265
+ "name": "__array_element",
266
+ "typeId": 38
267
+ }
268
+ ]
269
+ },
270
+ {
271
+ "type": "[_; 8]",
272
+ "metadataTypeId": 1,
273
+ "components": [
274
+ {
275
+ "name": "__array_element",
276
+ "typeId": "1b5759d94094368cfd443019e7ca5ec4074300e544e5ea993a979f5da627261e"
277
+ }
278
+ ]
279
+ },
280
+ {
281
+ "type": "b256",
282
+ "metadataTypeId": 2
283
+ },
284
+ {
285
+ "type": "enum contract_schema::prop_account::PropAccountError",
286
+ "metadataTypeId": 3,
287
+ "components": [
288
+ {
289
+ "name": "AlreadyInitialized",
290
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
291
+ },
292
+ {
293
+ "name": "InvalidRegistry",
294
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
295
+ },
296
+ {
297
+ "name": "InvalidParent",
298
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
299
+ },
300
+ {
301
+ "name": "InvalidPool",
302
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
303
+ },
304
+ {
305
+ "name": "NotParent",
306
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
307
+ },
308
+ {
309
+ "name": "NotPool",
310
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
311
+ },
312
+ {
313
+ "name": "SessionActive",
314
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
315
+ },
316
+ {
317
+ "name": "NoActiveSession",
318
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
319
+ },
320
+ {
321
+ "name": "TargetNotAllowed",
322
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
323
+ },
324
+ {
325
+ "name": "InvalidUserSig",
326
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
327
+ },
328
+ {
329
+ "name": "InvalidCosigner",
330
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
331
+ },
332
+ {
333
+ "name": "AmountIsZero",
334
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
335
+ },
336
+ {
337
+ "name": "InsufficientBalance",
338
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
339
+ },
340
+ {
341
+ "name": "WrongAsset",
342
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
343
+ },
344
+ {
345
+ "name": "PaymentAmountMismatch",
346
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
347
+ }
348
+ ]
349
+ },
350
+ {
351
+ "type": "enum contract_schema::prop_period::ProlongPeriod",
352
+ "metadataTypeId": 4,
353
+ "components": [
354
+ {
355
+ "name": "SixHours",
356
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
357
+ },
358
+ {
359
+ "name": "Day",
360
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
361
+ },
362
+ {
363
+ "name": "Week",
364
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
365
+ },
366
+ {
367
+ "name": "Month",
368
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
369
+ }
370
+ ]
371
+ },
372
+ {
373
+ "type": "enum contract_schema::session::SessionError",
374
+ "metadataTypeId": 5,
375
+ "components": [
376
+ {
377
+ "name": "SessionInThePast",
378
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
379
+ },
380
+ {
381
+ "name": "NoApprovedContractIdsProvided",
382
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
383
+ }
384
+ ]
385
+ },
386
+ {
387
+ "type": "enum contract_schema::trade_account_errors::ExtendedNonceError",
388
+ "metadataTypeId": 6,
389
+ "components": [
390
+ {
391
+ "name": "ReservedBitsSet",
392
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
393
+ },
394
+ {
395
+ "name": "BitmapPositionOutOfRange",
396
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
397
+ },
398
+ {
399
+ "name": "NonceSessionIdOutOfRange",
400
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
401
+ },
402
+ {
403
+ "name": "Expired",
404
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
405
+ },
406
+ {
407
+ "name": "WordPosOutOfWindow",
408
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
409
+ },
410
+ {
411
+ "name": "AlreadyUsed",
412
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
413
+ }
414
+ ]
415
+ },
416
+ {
417
+ "type": "enum std::crypto::signature::Signature",
418
+ "metadataTypeId": 7,
419
+ "components": [
420
+ {
421
+ "name": "Secp256k1",
422
+ "typeId": 32
423
+ },
424
+ {
425
+ "name": "Secp256r1",
426
+ "typeId": 33
427
+ },
428
+ {
429
+ "name": "Ed25519",
430
+ "typeId": 31
431
+ }
432
+ ]
433
+ },
434
+ {
435
+ "type": "enum std::identity::Identity",
436
+ "metadataTypeId": 8,
437
+ "components": [
438
+ {
439
+ "name": "Address",
440
+ "typeId": 26
441
+ },
442
+ {
443
+ "name": "ContractId",
444
+ "typeId": 30
445
+ }
446
+ ]
447
+ },
448
+ {
449
+ "type": "enum std::option::Option",
450
+ "metadataTypeId": 9,
451
+ "components": [
452
+ {
453
+ "name": "None",
454
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
455
+ },
456
+ {
457
+ "name": "Some",
458
+ "typeId": 12
459
+ }
460
+ ],
461
+ "typeParameters": [
462
+ 12
463
+ ]
464
+ },
465
+ {
466
+ "type": "enum std::result::Result",
467
+ "metadataTypeId": 10,
468
+ "components": [
469
+ {
470
+ "name": "Ok",
471
+ "typeId": 12
472
+ },
473
+ {
474
+ "name": "Err",
475
+ "typeId": 11
476
+ }
477
+ ],
478
+ "typeParameters": [
479
+ 12,
480
+ 11
481
+ ]
482
+ },
483
+ {
484
+ "type": "generic E",
485
+ "metadataTypeId": 11
486
+ },
487
+ {
488
+ "type": "generic T",
489
+ "metadataTypeId": 12
490
+ },
491
+ {
492
+ "type": "raw untyped ptr",
493
+ "metadataTypeId": 13
494
+ },
495
+ {
496
+ "type": "struct contract_schema::prop_account::MarginContractCallEvent",
497
+ "metadataTypeId": 14,
498
+ "components": [
499
+ {
500
+ "name": "authority",
501
+ "typeId": 8
502
+ },
503
+ {
504
+ "name": "called_contract",
505
+ "typeId": 30
506
+ },
507
+ {
508
+ "name": "nonce",
509
+ "typeId": "1b5759d94094368cfd443019e7ca5ec4074300e544e5ea993a979f5da627261e"
510
+ },
511
+ {
512
+ "name": "timestamp",
513
+ "typeId": 35
514
+ }
515
+ ]
516
+ },
517
+ {
518
+ "type": "struct contract_schema::prop_account::MarginTradeAccountWithdrawn",
519
+ "metadataTypeId": 15,
520
+ "components": [
521
+ {
522
+ "name": "account",
523
+ "typeId": 30
524
+ },
525
+ {
526
+ "name": "parent",
527
+ "typeId": 8
528
+ },
529
+ {
530
+ "name": "asset_id",
531
+ "typeId": 27
532
+ },
533
+ {
534
+ "name": "amount",
535
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
536
+ },
537
+ {
538
+ "name": "timestamp",
539
+ "typeId": 35
540
+ }
541
+ ]
542
+ },
543
+ {
544
+ "type": "struct contract_schema::prop_account::PropOrderBookCleanup",
545
+ "metadataTypeId": 16,
546
+ "components": [
547
+ {
548
+ "name": "order_book",
549
+ "typeId": 30
550
+ },
551
+ {
552
+ "name": "order_ids",
553
+ "typeId": 37,
554
+ "typeArguments": [
555
+ {
556
+ "name": "",
557
+ "typeId": 2
558
+ }
559
+ ]
560
+ }
561
+ ]
562
+ },
563
+ {
564
+ "type": "struct contract_schema::session::Session",
565
+ "metadataTypeId": 17,
566
+ "components": [
567
+ {
568
+ "name": "session_id",
569
+ "typeId": 8
570
+ },
571
+ {
572
+ "name": "expiry",
573
+ "typeId": 35
574
+ },
575
+ {
576
+ "name": "contract_ids",
577
+ "typeId": 37,
578
+ "typeArguments": [
579
+ {
580
+ "name": "",
581
+ "typeId": 30
582
+ }
583
+ ]
584
+ }
585
+ ]
586
+ },
587
+ {
588
+ "type": "struct contract_schema::session::SessionCreatedEvent",
589
+ "metadataTypeId": 18,
590
+ "components": [
591
+ {
592
+ "name": "account",
593
+ "typeId": 8
594
+ },
595
+ {
596
+ "name": "session",
597
+ "typeId": 17
598
+ }
599
+ ]
600
+ },
601
+ {
602
+ "type": "struct contract_schema::session::SessionRevokedEvent",
603
+ "metadataTypeId": 19,
604
+ "components": [
605
+ {
606
+ "name": "account",
607
+ "typeId": 8
608
+ },
609
+ {
610
+ "name": "session_id",
611
+ "typeId": 8
612
+ }
613
+ ]
614
+ },
615
+ {
616
+ "type": "struct contract_schema::trade_account::CallContractArg",
617
+ "metadataTypeId": 20,
618
+ "components": [
619
+ {
620
+ "name": "contract_id",
621
+ "typeId": 30
622
+ },
623
+ {
624
+ "name": "function_selector",
625
+ "typeId": 28
626
+ },
627
+ {
628
+ "name": "call_params",
629
+ "typeId": 34
630
+ },
631
+ {
632
+ "name": "call_data",
633
+ "typeId": 9,
634
+ "typeArguments": [
635
+ {
636
+ "name": "",
637
+ "typeId": 28
638
+ }
639
+ ]
640
+ }
641
+ ]
642
+ },
643
+ {
644
+ "type": "struct contract_schema::trade_account_par::NonceSessionWindow",
645
+ "metadataTypeId": 21,
646
+ "components": [
647
+ {
648
+ "name": "base",
649
+ "typeId": "1b5759d94094368cfd443019e7ca5ec4074300e544e5ea993a979f5da627261e"
650
+ },
651
+ {
652
+ "name": "slots",
653
+ "typeId": 1
654
+ }
655
+ ]
656
+ },
657
+ {
658
+ "type": "struct contract_schema::trade_account_par::ParallelMultiCallContractArgs",
659
+ "metadataTypeId": 22,
660
+ "components": [
661
+ {
662
+ "name": "nonce",
663
+ "typeId": "1b5759d94094368cfd443019e7ca5ec4074300e544e5ea993a979f5da627261e"
664
+ },
665
+ {
666
+ "name": "call_contract_args",
667
+ "typeId": 37,
668
+ "typeArguments": [
669
+ {
670
+ "name": "",
671
+ "typeId": 20
672
+ }
673
+ ]
674
+ }
675
+ ]
676
+ },
677
+ {
678
+ "type": "struct contract_schema::trade_account_par::ParallelNonceUsedEvent",
679
+ "metadataTypeId": 23,
680
+ "components": [
681
+ {
682
+ "name": "nonce",
683
+ "typeId": "1b5759d94094368cfd443019e7ca5ec4074300e544e5ea993a979f5da627261e"
684
+ }
685
+ ]
686
+ },
687
+ {
688
+ "type": "struct contract_schema::trade_account_par::ParallelRevokeArgs",
689
+ "metadataTypeId": 24,
690
+ "components": [
691
+ {
692
+ "name": "nonce",
693
+ "typeId": "1b5759d94094368cfd443019e7ca5ec4074300e544e5ea993a979f5da627261e"
694
+ }
695
+ ]
696
+ },
697
+ {
698
+ "type": "struct contract_schema::trade_account_par::ParallelSessionArgs",
699
+ "metadataTypeId": 25,
700
+ "components": [
701
+ {
702
+ "name": "nonce",
703
+ "typeId": "1b5759d94094368cfd443019e7ca5ec4074300e544e5ea993a979f5da627261e"
704
+ },
705
+ {
706
+ "name": "session_id",
707
+ "typeId": 8
708
+ },
709
+ {
710
+ "name": "expiry",
711
+ "typeId": 35
712
+ },
713
+ {
714
+ "name": "contract_ids",
715
+ "typeId": 37,
716
+ "typeArguments": [
717
+ {
718
+ "name": "",
719
+ "typeId": 30
720
+ }
721
+ ]
722
+ }
723
+ ]
724
+ },
725
+ {
726
+ "type": "struct std::address::Address",
727
+ "metadataTypeId": 26,
728
+ "components": [
729
+ {
730
+ "name": "bits",
731
+ "typeId": 2
732
+ }
733
+ ]
734
+ },
735
+ {
736
+ "type": "struct std::asset_id::AssetId",
737
+ "metadataTypeId": 27,
738
+ "components": [
739
+ {
740
+ "name": "bits",
741
+ "typeId": 2
742
+ }
743
+ ]
744
+ },
745
+ {
746
+ "type": "struct std::bytes::Bytes",
747
+ "metadataTypeId": 28,
748
+ "components": [
749
+ {
750
+ "name": "buf",
751
+ "typeId": 29
752
+ },
753
+ {
754
+ "name": "len",
755
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
756
+ }
757
+ ]
758
+ },
759
+ {
760
+ "type": "struct std::bytes::RawBytes",
761
+ "metadataTypeId": 29,
762
+ "components": [
763
+ {
764
+ "name": "ptr",
765
+ "typeId": 13
766
+ },
767
+ {
768
+ "name": "cap",
769
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
770
+ }
771
+ ]
772
+ },
773
+ {
774
+ "type": "struct std::contract_id::ContractId",
775
+ "metadataTypeId": 30,
776
+ "components": [
777
+ {
778
+ "name": "bits",
779
+ "typeId": 2
780
+ }
781
+ ]
782
+ },
783
+ {
784
+ "type": "struct std::crypto::ed25519::Ed25519",
785
+ "metadataTypeId": 31,
786
+ "components": [
787
+ {
788
+ "name": "bits",
789
+ "typeId": 0
790
+ }
791
+ ]
792
+ },
793
+ {
794
+ "type": "struct std::crypto::secp256k1::Secp256k1",
795
+ "metadataTypeId": 32,
796
+ "components": [
797
+ {
798
+ "name": "bits",
799
+ "typeId": 0
800
+ }
801
+ ]
802
+ },
803
+ {
804
+ "type": "struct std::crypto::secp256r1::Secp256r1",
805
+ "metadataTypeId": 33,
806
+ "components": [
807
+ {
808
+ "name": "bits",
809
+ "typeId": 0
810
+ }
811
+ ]
812
+ },
813
+ {
814
+ "type": "struct std::low_level_call::CallParams",
815
+ "metadataTypeId": 34,
816
+ "components": [
817
+ {
818
+ "name": "coins",
819
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
820
+ },
821
+ {
822
+ "name": "asset_id",
823
+ "typeId": 27
824
+ },
825
+ {
826
+ "name": "gas",
827
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
828
+ }
829
+ ]
830
+ },
831
+ {
832
+ "type": "struct std::time::Time",
833
+ "metadataTypeId": 35,
834
+ "components": [
835
+ {
836
+ "name": "unix",
837
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
838
+ }
839
+ ]
840
+ },
841
+ {
842
+ "type": "struct std::vec::RawVec",
843
+ "metadataTypeId": 36,
844
+ "components": [
845
+ {
846
+ "name": "ptr",
847
+ "typeId": 13
848
+ },
849
+ {
850
+ "name": "cap",
851
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
852
+ }
853
+ ],
854
+ "typeParameters": [
855
+ 12
856
+ ]
857
+ },
858
+ {
859
+ "type": "struct std::vec::Vec",
860
+ "metadataTypeId": 37,
861
+ "components": [
862
+ {
863
+ "name": "buf",
864
+ "typeId": 36,
865
+ "typeArguments": [
866
+ {
867
+ "name": "",
868
+ "typeId": 12
869
+ }
870
+ ]
871
+ },
872
+ {
873
+ "name": "len",
874
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
875
+ }
876
+ ],
877
+ "typeParameters": [
878
+ 12
879
+ ]
880
+ },
881
+ {
882
+ "type": "u8",
883
+ "metadataTypeId": 38
884
+ }
885
+ ],
886
+ "functions": [
887
+ {
888
+ "name": "call_contracts",
889
+ "inputs": [
890
+ {
891
+ "name": "user_signature",
892
+ "concreteTypeId": "2a32867dec49ed8ddf6b7d2ed19d53c626d3f593369b5dd82a317d7b300e1c39"
893
+ },
894
+ {
895
+ "name": "cosigner_signature",
896
+ "concreteTypeId": "2a32867dec49ed8ddf6b7d2ed19d53c626d3f593369b5dd82a317d7b300e1c39"
897
+ },
898
+ {
899
+ "name": "calls",
900
+ "concreteTypeId": "9d4abea3c3ded72594ba630071d98b649db8348d3ab2970852317e69b5bece52"
901
+ }
902
+ ],
903
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
904
+ "attributes": [
905
+ {
906
+ "name": "storage",
907
+ "arguments": [
908
+ "read",
909
+ "write"
910
+ ]
911
+ }
912
+ ]
913
+ },
914
+ {
915
+ "name": "close_session",
916
+ "inputs": [
917
+ {
918
+ "name": "cleanups",
919
+ "concreteTypeId": "098b9de8dbe7e11fe1fc48274febeeb9eb46a1cabf8505ce43e75740a6becd44"
920
+ }
921
+ ],
922
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
923
+ "attributes": [
924
+ {
925
+ "name": "storage",
926
+ "arguments": [
927
+ "read",
928
+ "write"
929
+ ]
930
+ }
931
+ ]
932
+ },
933
+ {
934
+ "name": "get_current_session",
935
+ "inputs": [],
936
+ "output": "8ee10917cb48b981cfce7fd1dea6bbb5cc8be7fe49d3e5d54044cd2c41a53bd7",
937
+ "attributes": [
938
+ {
939
+ "name": "storage",
940
+ "arguments": [
941
+ "read"
942
+ ]
943
+ }
944
+ ]
945
+ },
946
+ {
947
+ "name": "get_nonce_session_window",
948
+ "inputs": [
949
+ {
950
+ "name": "nonce_session_id",
951
+ "concreteTypeId": "1b5759d94094368cfd443019e7ca5ec4074300e544e5ea993a979f5da627261e"
952
+ }
953
+ ],
954
+ "output": "67c5930a2e12f4035de71fcc3cd0496d4f4e48801fa464e77002520fddf176f4",
955
+ "attributes": [
956
+ {
957
+ "name": "storage",
958
+ "arguments": [
959
+ "read"
960
+ ]
961
+ }
962
+ ]
963
+ },
964
+ {
965
+ "name": "get_nonce_session_windows",
966
+ "inputs": [],
967
+ "output": "2a0b29d8abc10bfd4d3f4684fc07113309302cdfb843d3d57120906949758fae",
968
+ "attributes": [
969
+ {
970
+ "name": "storage",
971
+ "arguments": [
972
+ "read"
973
+ ]
974
+ }
975
+ ]
976
+ },
977
+ {
978
+ "name": "index",
979
+ "inputs": [],
980
+ "output": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
981
+ "attributes": [
982
+ {
983
+ "name": "storage",
984
+ "arguments": [
985
+ "read"
986
+ ]
987
+ }
988
+ ]
989
+ },
990
+ {
991
+ "name": "nonce_is_available",
992
+ "inputs": [
993
+ {
994
+ "name": "nonce",
995
+ "concreteTypeId": "1b5759d94094368cfd443019e7ca5ec4074300e544e5ea993a979f5da627261e"
996
+ }
997
+ ],
998
+ "output": "edeec773f10b1c35ceeb107f134494c71c4b910a91fb4896d97407c97c6a8d26",
999
+ "attributes": [
1000
+ {
1001
+ "name": "storage",
1002
+ "arguments": [
1003
+ "read"
1004
+ ]
1005
+ }
1006
+ ]
1007
+ },
1008
+ {
1009
+ "name": "parent",
1010
+ "inputs": [],
1011
+ "output": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335",
1012
+ "attributes": [
1013
+ {
1014
+ "name": "storage",
1015
+ "arguments": [
1016
+ "read"
1017
+ ]
1018
+ }
1019
+ ]
1020
+ },
1021
+ {
1022
+ "name": "pool",
1023
+ "inputs": [],
1024
+ "output": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54",
1025
+ "attributes": [
1026
+ {
1027
+ "name": "storage",
1028
+ "arguments": [
1029
+ "read"
1030
+ ]
1031
+ }
1032
+ ]
1033
+ },
1034
+ {
1035
+ "name": "pool_cleanup",
1036
+ "inputs": [
1037
+ {
1038
+ "name": "cleanups",
1039
+ "concreteTypeId": "098b9de8dbe7e11fe1fc48274febeeb9eb46a1cabf8505ce43e75740a6becd44"
1040
+ }
1041
+ ],
1042
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
1043
+ "attributes": [
1044
+ {
1045
+ "name": "storage",
1046
+ "arguments": [
1047
+ "read",
1048
+ "write"
1049
+ ]
1050
+ }
1051
+ ]
1052
+ },
1053
+ {
1054
+ "name": "pool_release",
1055
+ "inputs": [
1056
+ {
1057
+ "name": "asset",
1058
+ "concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974"
1059
+ },
1060
+ {
1061
+ "name": "amount",
1062
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1063
+ },
1064
+ {
1065
+ "name": "to",
1066
+ "concreteTypeId": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335"
1067
+ }
1068
+ ],
1069
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
1070
+ "attributes": [
1071
+ {
1072
+ "name": "storage",
1073
+ "arguments": [
1074
+ "read"
1075
+ ]
1076
+ }
1077
+ ]
1078
+ },
1079
+ {
1080
+ "name": "pool_sweep",
1081
+ "inputs": [
1082
+ {
1083
+ "name": "assets",
1084
+ "concreteTypeId": "8b2275934873f381a769c82334e6f66595eeb350d8b2dd012eef4d9bb117942b"
1085
+ }
1086
+ ],
1087
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
1088
+ "attributes": [
1089
+ {
1090
+ "name": "storage",
1091
+ "arguments": [
1092
+ "read",
1093
+ "write"
1094
+ ]
1095
+ }
1096
+ ]
1097
+ },
1098
+ {
1099
+ "name": "revoke_session",
1100
+ "inputs": [
1101
+ {
1102
+ "name": "_args",
1103
+ "concreteTypeId": "cc16af760fc50309e1c4fae03a03d4177844d68a5db161bc63fe02eb9c29ae11"
1104
+ }
1105
+ ],
1106
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
1107
+ "attributes": [
1108
+ {
1109
+ "name": "storage",
1110
+ "arguments": [
1111
+ "read",
1112
+ "write"
1113
+ ]
1114
+ }
1115
+ ]
1116
+ },
1117
+ {
1118
+ "name": "set_session",
1119
+ "inputs": [
1120
+ {
1121
+ "name": "session",
1122
+ "concreteTypeId": "621624a91c02fc7fb3cc397282d788d786ffb08c334878ff7923643395c535d1"
1123
+ }
1124
+ ],
1125
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
1126
+ "attributes": [
1127
+ {
1128
+ "name": "storage",
1129
+ "arguments": [
1130
+ "read",
1131
+ "write"
1132
+ ]
1133
+ }
1134
+ ]
1135
+ },
1136
+ {
1137
+ "name": "start_session",
1138
+ "inputs": [
1139
+ {
1140
+ "name": "tier_id",
1141
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1142
+ },
1143
+ {
1144
+ "name": "amount",
1145
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1146
+ },
1147
+ {
1148
+ "name": "period",
1149
+ "concreteTypeId": "b744420bc56bde6e28d903d531e72762ae850514fc19209fda130ddbe6a380a2"
1150
+ }
1151
+ ],
1152
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
1153
+ "attributes": [
1154
+ {
1155
+ "name": "payable",
1156
+ "arguments": []
1157
+ },
1158
+ {
1159
+ "name": "storage",
1160
+ "arguments": [
1161
+ "read",
1162
+ "write"
1163
+ ]
1164
+ }
1165
+ ]
1166
+ },
1167
+ {
1168
+ "name": "validate_session",
1169
+ "inputs": [
1170
+ {
1171
+ "name": "session_id",
1172
+ "concreteTypeId": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335"
1173
+ }
1174
+ ],
1175
+ "output": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903",
1176
+ "attributes": [
1177
+ {
1178
+ "name": "storage",
1179
+ "arguments": [
1180
+ "read"
1181
+ ]
1182
+ }
1183
+ ]
1184
+ },
1185
+ {
1186
+ "name": "withdraw",
1187
+ "inputs": [
1188
+ {
1189
+ "name": "asset",
1190
+ "concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974"
1191
+ },
1192
+ {
1193
+ "name": "amount",
1194
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1195
+ }
1196
+ ],
1197
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
1198
+ "attributes": [
1199
+ {
1200
+ "name": "storage",
1201
+ "arguments": [
1202
+ "read",
1203
+ "write"
1204
+ ]
1205
+ }
1206
+ ]
1207
+ }
1208
+ ],
1209
+ "loggedTypes": [
1210
+ {
1211
+ "logId": "10192494165818127276",
1212
+ "concreteTypeId": "8d73037110d4b3ac79bc7f892601f8786e2437fc28777e2845cac433c4894f61"
1213
+ },
1214
+ {
1215
+ "logId": "10098701174489624218",
1216
+ "concreteTypeId": "8c25cb3686462e9a86d2883c5688a22fe738b0bbc85f458d2d2b5f3f667c6d5a"
1217
+ },
1218
+ {
1219
+ "logId": "15423090611026710378",
1220
+ "concreteTypeId": "d609d33218e8cf6a38086c9b198260aaa54bf9b36fbbaae9a3eaed21e3b9efdb"
1221
+ },
1222
+ {
1223
+ "logId": "10033925620227397510",
1224
+ "concreteTypeId": "8b3faa3088585786667c82ce2418fc7566e3f47890914dbcc8def3fc5bad644f"
1225
+ },
1226
+ {
1227
+ "logId": "14973537172759933369",
1228
+ "concreteTypeId": "cfccb0b9b57671b92f0435d1d261690876e4ef2d8be63c837284032734825b04"
1229
+ },
1230
+ {
1231
+ "logId": "787528562801511233",
1232
+ "concreteTypeId": "0aeddd0e2c420b4162249ce8bf6408c224e31586679b7278d6331df6215e28cf"
1233
+ },
1234
+ {
1235
+ "logId": "2898554141114458595",
1236
+ "concreteTypeId": "2839bba2575d61e3c6cbd733c70c82e630da3bcae8c0f84e0f370c9219c57a18"
1237
+ },
1238
+ {
1239
+ "logId": "108215844969282145",
1240
+ "concreteTypeId": "018075bcd6767a61866cfa82518323e69ed61537533241c2fedf42007d55f325"
1241
+ },
1242
+ {
1243
+ "logId": "2849852257800061367",
1244
+ "concreteTypeId": "278cb587808481b72a555be60b7a1b670422d1a886b431eed10a2d0c12eaaaed"
1245
+ }
1246
+ ],
1247
+ "messagesTypes": [],
1248
+ "configurables": [
1249
+ {
1250
+ "name": "MAX_NONCE_SESSION_ID",
1251
+ "concreteTypeId": "1b5759d94094368cfd443019e7ca5ec4074300e544e5ea993a979f5da627261e",
1252
+ "offset": 41872,
1253
+ "indirect": false
1254
+ }
1255
+ ],
1256
+ "errorCodes": {},
1257
+ "panickingCalls": {}
1258
+ };
1259
+ const storageSlots = [
1260
+ {
1261
+ "key": "33c21dc94f107e19521ac10e00c39ed26b19c878fa79526ebc65a01245fd5644",
1262
+ "value": "0000000000000000000000000000000000000000000000000000000000000000"
1263
+ },
1264
+ {
1265
+ "key": "934883d715d2623e11c7da6f14d4535ff4ecb6e6c9cb85d1be3e12a2fbad2052",
1266
+ "value": "0000000000000000000000000000000000000000000000000000000000000000"
1267
+ },
1268
+ {
1269
+ "key": "934883d715d2623e11c7da6f14d4535ff4ecb6e6c9cb85d1be3e12a2fbad2053",
1270
+ "value": "0000000000000000000000000000000000000000000000000000000000000000"
1271
+ },
1272
+ {
1273
+ "key": "a431fea201d789d0dc6f3ab8620214b935b133eb3d2a344a022f1804bb8a895f",
1274
+ "value": "0000000000000000000000000000000000000000000000000000000000000000"
1275
+ },
1276
+ {
1277
+ "key": "ae20e79501cf8efb95692ffc121179e0abf2ab59b6cf6cd20aa468e01ac8395e",
1278
+ "value": "0000000000000000000000000000000000000000000000000000000000000000"
1279
+ },
1280
+ {
1281
+ "key": "c0802d076e84a80636cc98215657aa3489cd53f68b933a0c5ddc825fd6b89ae6",
1282
+ "value": "0000000000000000000000000000000000000000000000000000000000000000"
1283
+ },
1284
+ {
1285
+ "key": "c0802d076e84a80636cc98215657aa3489cd53f68b933a0c5ddc825fd6b89ae7",
1286
+ "value": "0000000000000000000000000000000000000000000000000000000000000000"
1287
+ }
1288
+ ];
1289
+ export class PropAccountInterface extends Interface {
1290
+ constructor() {
1291
+ super(abi);
1292
+ }
1293
+ }
1294
+ export class PropAccount extends __Contract {
1295
+ static abi = abi;
1296
+ static storageSlots = storageSlots;
1297
+ constructor(id, accountOrProvider) {
1298
+ super(id, abi, accountOrProvider);
1299
+ }
1300
+ }
1301
+ //# sourceMappingURL=PropAccount.js.map