@o2exchange/contracts 0.4.5-rc → 0.4.5-rc4

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 (67) hide show
  1. package/dist/contracts/OrderBook.d.ts +1 -0
  2. package/dist/contracts/OrderBook.d.ts.map +1 -1
  3. package/dist/contracts/OrderBook.js +29 -23
  4. package/dist/contracts/OrderBook.js.map +1 -1
  5. package/dist/contracts/OrderBookFactory.js +1 -1
  6. package/dist/contracts/OrderBookFactory.js.map +1 -1
  7. package/dist/contracts/PropAccount.d.ts +398 -0
  8. package/dist/contracts/PropAccount.d.ts.map +1 -0
  9. package/dist/contracts/PropAccount.js +1301 -0
  10. package/dist/contracts/PropAccount.js.map +1 -0
  11. package/dist/contracts/PropAccountFactory.d.ts +9 -0
  12. package/dist/contracts/PropAccountFactory.d.ts.map +1 -0
  13. package/dist/contracts/PropAccountFactory.js +23 -0
  14. package/dist/contracts/PropAccountFactory.js.map +1 -0
  15. package/dist/contracts/PropAccountOracle.d.ts +190 -0
  16. package/dist/contracts/PropAccountOracle.d.ts.map +1 -0
  17. package/dist/contracts/PropAccountOracle.js +555 -0
  18. package/dist/contracts/PropAccountOracle.js.map +1 -0
  19. package/dist/contracts/PropAccountOracleFactory.d.ts +9 -0
  20. package/dist/contracts/PropAccountOracleFactory.d.ts.map +1 -0
  21. package/dist/contracts/PropAccountOracleFactory.js +23 -0
  22. package/dist/contracts/PropAccountOracleFactory.js.map +1 -0
  23. package/dist/contracts/PropAccountOracleProxy.d.ts +192 -0
  24. package/dist/contracts/PropAccountOracleProxy.d.ts.map +1 -0
  25. package/dist/contracts/PropAccountOracleProxy.js +432 -0
  26. package/dist/contracts/PropAccountOracleProxy.js.map +1 -0
  27. package/dist/contracts/PropAccountOracleProxyFactory.d.ts +9 -0
  28. package/dist/contracts/PropAccountOracleProxyFactory.d.ts.map +1 -0
  29. package/dist/contracts/PropAccountOracleProxyFactory.js +23 -0
  30. package/dist/contracts/PropAccountOracleProxyFactory.js.map +1 -0
  31. package/dist/contracts/PropAccountProxy.d.ts +191 -0
  32. package/dist/contracts/PropAccountProxy.d.ts.map +1 -0
  33. package/dist/contracts/PropAccountProxy.js +484 -0
  34. package/dist/contracts/PropAccountProxy.js.map +1 -0
  35. package/dist/contracts/PropAccountProxyFactory.d.ts +9 -0
  36. package/dist/contracts/PropAccountProxyFactory.d.ts.map +1 -0
  37. package/dist/contracts/PropAccountProxyFactory.js +23 -0
  38. package/dist/contracts/PropAccountProxyFactory.js.map +1 -0
  39. package/dist/contracts/PropMarginPool.d.ts +1216 -0
  40. package/dist/contracts/PropMarginPool.d.ts.map +1 -0
  41. package/dist/contracts/PropMarginPool.js +4057 -0
  42. package/dist/contracts/PropMarginPool.js.map +1 -0
  43. package/dist/contracts/PropMarginPoolFactory.d.ts +9 -0
  44. package/dist/contracts/PropMarginPoolFactory.d.ts.map +1 -0
  45. package/dist/contracts/PropMarginPoolFactory.js +23 -0
  46. package/dist/contracts/PropMarginPoolFactory.js.map +1 -0
  47. package/dist/contracts/PropMarginPoolMock.d.ts +1320 -0
  48. package/dist/contracts/PropMarginPoolMock.d.ts.map +1 -0
  49. package/dist/contracts/PropMarginPoolMock.js +4899 -0
  50. package/dist/contracts/PropMarginPoolMock.js.map +1 -0
  51. package/dist/contracts/PropMarginPoolMockFactory.d.ts +9 -0
  52. package/dist/contracts/PropMarginPoolMockFactory.d.ts.map +1 -0
  53. package/dist/contracts/PropMarginPoolMockFactory.js +23 -0
  54. package/dist/contracts/PropMarginPoolMockFactory.js.map +1 -0
  55. package/dist/contracts/PropMarginPoolProxy.d.ts +192 -0
  56. package/dist/contracts/PropMarginPoolProxy.d.ts.map +1 -0
  57. package/dist/contracts/PropMarginPoolProxy.js +432 -0
  58. package/dist/contracts/PropMarginPoolProxy.js.map +1 -0
  59. package/dist/contracts/PropMarginPoolProxyFactory.d.ts +9 -0
  60. package/dist/contracts/PropMarginPoolProxyFactory.d.ts.map +1 -0
  61. package/dist/contracts/PropMarginPoolProxyFactory.js +23 -0
  62. package/dist/contracts/PropMarginPoolProxyFactory.js.map +1 -0
  63. package/dist/contracts/index.d.ts +14 -0
  64. package/dist/contracts/index.d.ts.map +1 -1
  65. package/dist/contracts/index.js +14 -0
  66. package/dist/contracts/index.js.map +1 -1
  67. package/package.json +1 -1
@@ -0,0 +1,4899 @@
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 DiscountScopeInput;
12
+ (function (DiscountScopeInput) {
13
+ DiscountScopeInput["FirstPremium"] = "FirstPremium";
14
+ DiscountScopeInput["AllPremiums"] = "AllPremiums";
15
+ })(DiscountScopeInput || (DiscountScopeInput = {}));
16
+ ;
17
+ export var DiscountScopeOutput;
18
+ (function (DiscountScopeOutput) {
19
+ DiscountScopeOutput["FirstPremium"] = "FirstPremium";
20
+ DiscountScopeOutput["AllPremiums"] = "AllPremiums";
21
+ })(DiscountScopeOutput || (DiscountScopeOutput = {}));
22
+ ;
23
+ export var ProlongPeriodInput;
24
+ (function (ProlongPeriodInput) {
25
+ ProlongPeriodInput["SixHours"] = "SixHours";
26
+ ProlongPeriodInput["Day"] = "Day";
27
+ ProlongPeriodInput["Week"] = "Week";
28
+ ProlongPeriodInput["Month"] = "Month";
29
+ })(ProlongPeriodInput || (ProlongPeriodInput = {}));
30
+ ;
31
+ export var ProlongPeriodOutput;
32
+ (function (ProlongPeriodOutput) {
33
+ ProlongPeriodOutput["SixHours"] = "SixHours";
34
+ ProlongPeriodOutput["Day"] = "Day";
35
+ ProlongPeriodOutput["Week"] = "Week";
36
+ ProlongPeriodOutput["Month"] = "Month";
37
+ })(ProlongPeriodOutput || (ProlongPeriodOutput = {}));
38
+ ;
39
+ export var ProlongTriggerInput;
40
+ (function (ProlongTriggerInput) {
41
+ ProlongTriggerInput["User"] = "User";
42
+ ProlongTriggerInput["Auto"] = "Auto";
43
+ })(ProlongTriggerInput || (ProlongTriggerInput = {}));
44
+ ;
45
+ export var ProlongTriggerOutput;
46
+ (function (ProlongTriggerOutput) {
47
+ ProlongTriggerOutput["User"] = "User";
48
+ ProlongTriggerOutput["Auto"] = "Auto";
49
+ })(ProlongTriggerOutput || (ProlongTriggerOutput = {}));
50
+ ;
51
+ export var PropMarginPoolErrorInput;
52
+ (function (PropMarginPoolErrorInput) {
53
+ PropMarginPoolErrorInput["AlreadyInitialized"] = "AlreadyInitialized";
54
+ PropMarginPoolErrorInput["CallerNotContract"] = "CallerNotContract";
55
+ PropMarginPoolErrorInput["NotPropAccount"] = "NotPropAccount";
56
+ PropMarginPoolErrorInput["NoActiveSession"] = "NoActiveSession";
57
+ PropMarginPoolErrorInput["SessionActive"] = "SessionActive";
58
+ PropMarginPoolErrorInput["SessionEnded"] = "SessionEnded";
59
+ PropMarginPoolErrorInput["WrongAsset"] = "WrongAsset";
60
+ PropMarginPoolErrorInput["AmountIsZero"] = "AmountIsZero";
61
+ PropMarginPoolErrorInput["CollateralTooSmall"] = "CollateralTooSmall";
62
+ PropMarginPoolErrorInput["AccountNotEmpty"] = "AccountNotEmpty";
63
+ PropMarginPoolErrorInput["AssetNotInTier"] = "AssetNotInTier";
64
+ PropMarginPoolErrorInput["UseDraw"] = "UseDraw";
65
+ PropMarginPoolErrorInput["UseRepayQuote"] = "UseRepayQuote";
66
+ PropMarginPoolErrorInput["LoanCapExceeded"] = "LoanCapExceeded";
67
+ PropMarginPoolErrorInput["InsufficientInventory"] = "InsufficientInventory";
68
+ PropMarginPoolErrorInput["InsufficientBalance"] = "InsufficientBalance";
69
+ PropMarginPoolErrorInput["BelowTierCollateral"] = "BelowTierCollateral";
70
+ PropMarginPoolErrorInput["OverReturn"] = "OverReturn";
71
+ PropMarginPoolErrorInput["OverRepay"] = "OverRepay";
72
+ PropMarginPoolErrorInput["QuoteOutstanding"] = "QuoteOutstanding";
73
+ PropMarginPoolErrorInput["DebtsOutstanding"] = "DebtsOutstanding";
74
+ PropMarginPoolErrorInput["CashShortOfDrawn"] = "CashShortOfDrawn";
75
+ PropMarginPoolErrorInput["FundOtherAccount"] = "FundOtherAccount";
76
+ PropMarginPoolErrorInput["InvalidTier"] = "InvalidTier";
77
+ PropMarginPoolErrorInput["InvalidTierVersion"] = "InvalidTierVersion";
78
+ PropMarginPoolErrorInput["InvalidTierParams"] = "InvalidTierParams";
79
+ PropMarginPoolErrorInput["InvalidLeverage"] = "InvalidLeverage";
80
+ PropMarginPoolErrorInput["BufferBelowMaintenance"] = "BufferBelowMaintenance";
81
+ PropMarginPoolErrorInput["BufferAboveCap"] = "BufferAboveCap";
82
+ PropMarginPoolErrorInput["SessionUnusableAtOpen"] = "SessionUnusableAtOpen";
83
+ PropMarginPoolErrorInput["InvalidBook"] = "InvalidBook";
84
+ PropMarginPoolErrorInput["TooManyBooks"] = "TooManyBooks";
85
+ PropMarginPoolErrorInput["PriceMissing"] = "PriceMissing";
86
+ PropMarginPoolErrorInput["PriceStale"] = "PriceStale";
87
+ PropMarginPoolErrorInput["PriceInvalid"] = "PriceInvalid";
88
+ PropMarginPoolErrorInput["PriceDecimalsChanged"] = "PriceDecimalsChanged";
89
+ PropMarginPoolErrorInput["InvalidRegistry"] = "InvalidRegistry";
90
+ PropMarginPoolErrorInput["InvalidPriceFeed"] = "InvalidPriceFeed";
91
+ PropMarginPoolErrorInput["InvalidPlatformPayout"] = "InvalidPlatformPayout";
92
+ PropMarginPoolErrorInput["InvalidLiquidator"] = "InvalidLiquidator";
93
+ PropMarginPoolErrorInput["ValueOverflow"] = "ValueOverflow";
94
+ PropMarginPoolErrorInput["PeriodNotOffered"] = "PeriodNotOffered";
95
+ PropMarginPoolErrorInput["AutoProlongDisabled"] = "AutoProlongDisabled";
96
+ PropMarginPoolErrorInput["AutoProlongPeriodInvalid"] = "AutoProlongPeriodInvalid";
97
+ PropMarginPoolErrorInput["TimesIsZero"] = "TimesIsZero";
98
+ PropMarginPoolErrorInput["ProlongAfterExpiry"] = "ProlongAfterExpiry";
99
+ PropMarginPoolErrorInput["AutoProlongNotDue"] = "AutoProlongNotDue";
100
+ PropMarginPoolErrorInput["BookNotDrained"] = "BookNotDrained";
101
+ PropMarginPoolErrorInput["SweepIncomplete"] = "SweepIncomplete";
102
+ PropMarginPoolErrorInput["PositionsOutstanding"] = "PositionsOutstanding";
103
+ PropMarginPoolErrorInput["NotLiquidatable"] = "NotLiquidatable";
104
+ PropMarginPoolErrorInput["NotExpired"] = "NotExpired";
105
+ PropMarginPoolErrorInput["NoBestBid"] = "NoBestBid";
106
+ PropMarginPoolErrorInput["AssetNotSupported"] = "AssetNotSupported";
107
+ PropMarginPoolErrorInput["ProlongAboveCollateral"] = "ProlongAboveCollateral";
108
+ PropMarginPoolErrorInput["InvalidDiscount"] = "InvalidDiscount";
109
+ PropMarginPoolErrorInput["TierDisabled"] = "TierDisabled";
110
+ PropMarginPoolErrorInput["TopUpsDisabled"] = "TopUpsDisabled";
111
+ PropMarginPoolErrorInput["TurboEntryNotExact"] = "TurboEntryNotExact";
112
+ PropMarginPoolErrorInput["InvalidTurboTerms"] = "InvalidTurboTerms";
113
+ PropMarginPoolErrorInput["RolloverNotOffered"] = "RolloverNotOffered";
114
+ PropMarginPoolErrorInput["RolloverNotDue"] = "RolloverNotDue";
115
+ PropMarginPoolErrorInput["RolloverNotEarned"] = "RolloverNotEarned";
116
+ PropMarginPoolErrorInput["RolloverExhausted"] = "RolloverExhausted";
117
+ PropMarginPoolErrorInput["RolloverPending"] = "RolloverPending";
118
+ PropMarginPoolErrorInput["UseExpireOrRollover"] = "UseExpireOrRollover";
119
+ PropMarginPoolErrorInput["UsePermissionlessExpiry"] = "UsePermissionlessExpiry";
120
+ PropMarginPoolErrorInput["InvalidExpiryCosigner"] = "InvalidExpiryCosigner";
121
+ PropMarginPoolErrorInput["ExpiryCosignerNotSet"] = "ExpiryCosignerNotSet";
122
+ })(PropMarginPoolErrorInput || (PropMarginPoolErrorInput = {}));
123
+ ;
124
+ export var PropMarginPoolErrorOutput;
125
+ (function (PropMarginPoolErrorOutput) {
126
+ PropMarginPoolErrorOutput["AlreadyInitialized"] = "AlreadyInitialized";
127
+ PropMarginPoolErrorOutput["CallerNotContract"] = "CallerNotContract";
128
+ PropMarginPoolErrorOutput["NotPropAccount"] = "NotPropAccount";
129
+ PropMarginPoolErrorOutput["NoActiveSession"] = "NoActiveSession";
130
+ PropMarginPoolErrorOutput["SessionActive"] = "SessionActive";
131
+ PropMarginPoolErrorOutput["SessionEnded"] = "SessionEnded";
132
+ PropMarginPoolErrorOutput["WrongAsset"] = "WrongAsset";
133
+ PropMarginPoolErrorOutput["AmountIsZero"] = "AmountIsZero";
134
+ PropMarginPoolErrorOutput["CollateralTooSmall"] = "CollateralTooSmall";
135
+ PropMarginPoolErrorOutput["AccountNotEmpty"] = "AccountNotEmpty";
136
+ PropMarginPoolErrorOutput["AssetNotInTier"] = "AssetNotInTier";
137
+ PropMarginPoolErrorOutput["UseDraw"] = "UseDraw";
138
+ PropMarginPoolErrorOutput["UseRepayQuote"] = "UseRepayQuote";
139
+ PropMarginPoolErrorOutput["LoanCapExceeded"] = "LoanCapExceeded";
140
+ PropMarginPoolErrorOutput["InsufficientInventory"] = "InsufficientInventory";
141
+ PropMarginPoolErrorOutput["InsufficientBalance"] = "InsufficientBalance";
142
+ PropMarginPoolErrorOutput["BelowTierCollateral"] = "BelowTierCollateral";
143
+ PropMarginPoolErrorOutput["OverReturn"] = "OverReturn";
144
+ PropMarginPoolErrorOutput["OverRepay"] = "OverRepay";
145
+ PropMarginPoolErrorOutput["QuoteOutstanding"] = "QuoteOutstanding";
146
+ PropMarginPoolErrorOutput["DebtsOutstanding"] = "DebtsOutstanding";
147
+ PropMarginPoolErrorOutput["CashShortOfDrawn"] = "CashShortOfDrawn";
148
+ PropMarginPoolErrorOutput["FundOtherAccount"] = "FundOtherAccount";
149
+ PropMarginPoolErrorOutput["InvalidTier"] = "InvalidTier";
150
+ PropMarginPoolErrorOutput["InvalidTierVersion"] = "InvalidTierVersion";
151
+ PropMarginPoolErrorOutput["InvalidTierParams"] = "InvalidTierParams";
152
+ PropMarginPoolErrorOutput["InvalidLeverage"] = "InvalidLeverage";
153
+ PropMarginPoolErrorOutput["BufferBelowMaintenance"] = "BufferBelowMaintenance";
154
+ PropMarginPoolErrorOutput["BufferAboveCap"] = "BufferAboveCap";
155
+ PropMarginPoolErrorOutput["SessionUnusableAtOpen"] = "SessionUnusableAtOpen";
156
+ PropMarginPoolErrorOutput["InvalidBook"] = "InvalidBook";
157
+ PropMarginPoolErrorOutput["TooManyBooks"] = "TooManyBooks";
158
+ PropMarginPoolErrorOutput["PriceMissing"] = "PriceMissing";
159
+ PropMarginPoolErrorOutput["PriceStale"] = "PriceStale";
160
+ PropMarginPoolErrorOutput["PriceInvalid"] = "PriceInvalid";
161
+ PropMarginPoolErrorOutput["PriceDecimalsChanged"] = "PriceDecimalsChanged";
162
+ PropMarginPoolErrorOutput["InvalidRegistry"] = "InvalidRegistry";
163
+ PropMarginPoolErrorOutput["InvalidPriceFeed"] = "InvalidPriceFeed";
164
+ PropMarginPoolErrorOutput["InvalidPlatformPayout"] = "InvalidPlatformPayout";
165
+ PropMarginPoolErrorOutput["InvalidLiquidator"] = "InvalidLiquidator";
166
+ PropMarginPoolErrorOutput["ValueOverflow"] = "ValueOverflow";
167
+ PropMarginPoolErrorOutput["PeriodNotOffered"] = "PeriodNotOffered";
168
+ PropMarginPoolErrorOutput["AutoProlongDisabled"] = "AutoProlongDisabled";
169
+ PropMarginPoolErrorOutput["AutoProlongPeriodInvalid"] = "AutoProlongPeriodInvalid";
170
+ PropMarginPoolErrorOutput["TimesIsZero"] = "TimesIsZero";
171
+ PropMarginPoolErrorOutput["ProlongAfterExpiry"] = "ProlongAfterExpiry";
172
+ PropMarginPoolErrorOutput["AutoProlongNotDue"] = "AutoProlongNotDue";
173
+ PropMarginPoolErrorOutput["BookNotDrained"] = "BookNotDrained";
174
+ PropMarginPoolErrorOutput["SweepIncomplete"] = "SweepIncomplete";
175
+ PropMarginPoolErrorOutput["PositionsOutstanding"] = "PositionsOutstanding";
176
+ PropMarginPoolErrorOutput["NotLiquidatable"] = "NotLiquidatable";
177
+ PropMarginPoolErrorOutput["NotExpired"] = "NotExpired";
178
+ PropMarginPoolErrorOutput["NoBestBid"] = "NoBestBid";
179
+ PropMarginPoolErrorOutput["AssetNotSupported"] = "AssetNotSupported";
180
+ PropMarginPoolErrorOutput["ProlongAboveCollateral"] = "ProlongAboveCollateral";
181
+ PropMarginPoolErrorOutput["InvalidDiscount"] = "InvalidDiscount";
182
+ PropMarginPoolErrorOutput["TierDisabled"] = "TierDisabled";
183
+ PropMarginPoolErrorOutput["TopUpsDisabled"] = "TopUpsDisabled";
184
+ PropMarginPoolErrorOutput["TurboEntryNotExact"] = "TurboEntryNotExact";
185
+ PropMarginPoolErrorOutput["InvalidTurboTerms"] = "InvalidTurboTerms";
186
+ PropMarginPoolErrorOutput["RolloverNotOffered"] = "RolloverNotOffered";
187
+ PropMarginPoolErrorOutput["RolloverNotDue"] = "RolloverNotDue";
188
+ PropMarginPoolErrorOutput["RolloverNotEarned"] = "RolloverNotEarned";
189
+ PropMarginPoolErrorOutput["RolloverExhausted"] = "RolloverExhausted";
190
+ PropMarginPoolErrorOutput["RolloverPending"] = "RolloverPending";
191
+ PropMarginPoolErrorOutput["UseExpireOrRollover"] = "UseExpireOrRollover";
192
+ PropMarginPoolErrorOutput["UsePermissionlessExpiry"] = "UsePermissionlessExpiry";
193
+ PropMarginPoolErrorOutput["InvalidExpiryCosigner"] = "InvalidExpiryCosigner";
194
+ PropMarginPoolErrorOutput["ExpiryCosignerNotSet"] = "ExpiryCosignerNotSet";
195
+ })(PropMarginPoolErrorOutput || (PropMarginPoolErrorOutput = {}));
196
+ ;
197
+ export var SettlementReasonInput;
198
+ (function (SettlementReasonInput) {
199
+ SettlementReasonInput["UserClose"] = "UserClose";
200
+ SettlementReasonInput["Expiry"] = "Expiry";
201
+ SettlementReasonInput["Liquidation"] = "Liquidation";
202
+ })(SettlementReasonInput || (SettlementReasonInput = {}));
203
+ ;
204
+ export var SettlementReasonOutput;
205
+ (function (SettlementReasonOutput) {
206
+ SettlementReasonOutput["UserClose"] = "UserClose";
207
+ SettlementReasonOutput["Expiry"] = "Expiry";
208
+ SettlementReasonOutput["Liquidation"] = "Liquidation";
209
+ })(SettlementReasonOutput || (SettlementReasonOutput = {}));
210
+ ;
211
+ const abi = {
212
+ "programType": "contract",
213
+ "specVersion": "1.2",
214
+ "encodingVersion": "1",
215
+ "concreteTypes": [
216
+ {
217
+ "type": "()",
218
+ "concreteTypeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
219
+ },
220
+ {
221
+ "type": "(u64, u32)",
222
+ "concreteTypeId": "5372cf4177510985587624f716b8c8dfb38db1e4dc800bf207a0e6263d3de2d1",
223
+ "metadataTypeId": 1
224
+ },
225
+ {
226
+ "type": "bool",
227
+ "concreteTypeId": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903"
228
+ },
229
+ {
230
+ "type": "enum contract_schema::prop_margin_pool::PropMarginPoolError",
231
+ "concreteTypeId": "adab938d9a019e906a13864731c1cec8210724445341b91a6c7b194a74eed69f",
232
+ "metadataTypeId": 6
233
+ },
234
+ {
235
+ "type": "enum std::identity::Identity",
236
+ "concreteTypeId": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335",
237
+ "metadataTypeId": 9
238
+ },
239
+ {
240
+ "type": "enum std::option::Option<(u64, u32)>",
241
+ "concreteTypeId": "369b2f702e91ec8e4b173a35812b5877ff2846d0393b2aa0d7560933ef1d3f1a",
242
+ "metadataTypeId": 10,
243
+ "typeArguments": [
244
+ "5372cf4177510985587624f716b8c8dfb38db1e4dc800bf207a0e6263d3de2d1"
245
+ ]
246
+ },
247
+ {
248
+ "type": "enum std::option::Option<bool>",
249
+ "concreteTypeId": "160e7964babcf172e41aa29b138f9c2ccfc416ad2368dabdbdf877ec5de5503f",
250
+ "metadataTypeId": 10,
251
+ "typeArguments": [
252
+ "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903"
253
+ ]
254
+ },
255
+ {
256
+ "type": "enum std::option::Option<struct contract_schema::prop_margin_pool::PropBookMetadata>",
257
+ "concreteTypeId": "4489629dddf7343e4b79548dfe4aa7f8e28d85a094bf4850ee585f79320fcade",
258
+ "metadataTypeId": 10,
259
+ "typeArguments": [
260
+ "8d3452403d7ba6e9a78afdf64d7a4141adc9b3cf3ab1e808fd664b4e1129d452"
261
+ ]
262
+ },
263
+ {
264
+ "type": "enum std::option::Option<struct contract_schema::prop_margin_pool::RolloverState>",
265
+ "concreteTypeId": "9e79472c826fc6f41fad8910d46a1ba9797fb4f292c7b78f55d499f910c57642",
266
+ "metadataTypeId": 10,
267
+ "typeArguments": [
268
+ "76929f456641345973a0c5a6e149cb0542a3bf1f89b661ff01c76921d00e5ee8"
269
+ ]
270
+ },
271
+ {
272
+ "type": "enum std::option::Option<struct contract_schema::prop_margin_pool::RolloverView>",
273
+ "concreteTypeId": "a6854c8e9915d523bdcbd5cc374fe6fb04b9107f327d1472d43ef86e40062d58",
274
+ "metadataTypeId": 10,
275
+ "typeArguments": [
276
+ "48c9f4c48ad5c14a7d80ca385e43e10882a3f3ada6e29c9bbf71f9b74891d65d"
277
+ ]
278
+ },
279
+ {
280
+ "type": "enum std::option::Option<struct contract_schema::prop_margin_pool::SessionState>",
281
+ "concreteTypeId": "10dedb8cec40a875dcc8f606b4117034201c8d7a4fae48a18cdddef1ef4702bf",
282
+ "metadataTypeId": 10,
283
+ "typeArguments": [
284
+ "2bfb7e45c813c3917469daaa6604b3d9d8c42d7e59a2fdd4a02efb9dcc8dba9b"
285
+ ]
286
+ },
287
+ {
288
+ "type": "enum std::option::Option<struct contract_schema::prop_margin_pool::SessionView>",
289
+ "concreteTypeId": "195f12aebd477c4d6feffbc37a5108db8c87f8860b5963983477413399ea2c1e",
290
+ "metadataTypeId": 10,
291
+ "typeArguments": [
292
+ "e9473ab389805fcf26e6d8b70f276edc61cf97ddb23e8e4b68541b259cbae3b8"
293
+ ]
294
+ },
295
+ {
296
+ "type": "enum std::option::Option<struct contract_schema::prop_margin_pool::TierParams>",
297
+ "concreteTypeId": "656e8386dfb03ba77d21a3068c40f0d5d52c13db62a52a5ceb2d2aa85f0ee0f5",
298
+ "metadataTypeId": 10,
299
+ "typeArguments": [
300
+ "4514d9f6a6dd0344fb8d6a573f8d4371decb78e70e2a907c9cc7b3c189080841"
301
+ ]
302
+ },
303
+ {
304
+ "type": "enum std::option::Option<struct contract_schema::prop_margin_pool::TurboTerms>",
305
+ "concreteTypeId": "8c6e5c2bbb6c5d82ce576c05c52e3996f825e3c37c761b81cf40ffc4602ad684",
306
+ "metadataTypeId": 10,
307
+ "typeArguments": [
308
+ "756ac75abc0547feed71f2a44098169495dc84d5fbdaef83d885b0cce5d580cc"
309
+ ]
310
+ },
311
+ {
312
+ "type": "enum std::option::Option<struct contract_schema::prop_margin_pool::UserDiscount>",
313
+ "concreteTypeId": "0b936e35080f26fd23fa0fbc9883d7080b504aaa824a8d69eb0217ddbf6176a4",
314
+ "metadataTypeId": 10,
315
+ "typeArguments": [
316
+ "f479d6fcd2767886d7910eea1d6b44a784595d50bf31fed3c0cc869da1f92806"
317
+ ]
318
+ },
319
+ {
320
+ "type": "enum std::option::Option<struct std::address::Address>",
321
+ "concreteTypeId": "8f44be37f59226eedaa8ba576d6674575f420f34a03f5d452cb9886ef9d38214",
322
+ "metadataTypeId": 10,
323
+ "typeArguments": [
324
+ "f597b637c3b0f588fb8d7086c6f4735caa3122b85f0423b82e489f9bb58e2308"
325
+ ]
326
+ },
327
+ {
328
+ "type": "enum std::option::Option<u32>",
329
+ "concreteTypeId": "97a75a6d6e892f11f5032fa516e39675b76377c3313d64f465a2c77c34a9e600",
330
+ "metadataTypeId": 10,
331
+ "typeArguments": [
332
+ "d7649d428b9ff33d188ecbf38a7e4d8fd167fa01b2e10fe9a8f9308e52f1d7cc"
333
+ ]
334
+ },
335
+ {
336
+ "type": "enum std::option::Option<u64>",
337
+ "concreteTypeId": "d852149004cc9ec0bbe7dc4e37bffea1d41469b759512b6136f2e865a4c06e7d",
338
+ "metadataTypeId": 10,
339
+ "typeArguments": [
340
+ "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
341
+ ]
342
+ },
343
+ {
344
+ "type": "enum std::option::Option<u8>",
345
+ "concreteTypeId": "2da102c46c7263beeed95818cd7bee801716ba8303dddafdcd0f6c9efda4a0f1",
346
+ "metadataTypeId": 10,
347
+ "typeArguments": [
348
+ "c89951a24c6ca28c13fd1cfdc646b2b656d69e61a92b91023be7eb58eb914b6b"
349
+ ]
350
+ },
351
+ {
352
+ "type": "struct contract_libs::access_control::RoleGrantedEvent",
353
+ "concreteTypeId": "564661938244954c8836434b2cf26c3495e0538f78f281fc531f82003ef55d42",
354
+ "metadataTypeId": 13
355
+ },
356
+ {
357
+ "type": "struct contract_libs::access_control::RoleRevokedEvent",
358
+ "concreteTypeId": "e3693daf8fe6223e6a97667025b9fc906b02ca79ea87b1376058b0be52c7778d",
359
+ "metadataTypeId": 14
360
+ },
361
+ {
362
+ "type": "struct contract_schema::prop_margin_pool::AssetBorrowed",
363
+ "concreteTypeId": "1431d9859308f8805c398656c37808f1e757e0b0b069aba1bc265a07da382c17",
364
+ "metadataTypeId": 15
365
+ },
366
+ {
367
+ "type": "struct contract_schema::prop_margin_pool::AssetRepaid",
368
+ "concreteTypeId": "d082548fb769148507c3eb36d4f039e87c91a6947dd3da299d9e4246d4aff634",
369
+ "metadataTypeId": 16
370
+ },
371
+ {
372
+ "type": "struct contract_schema::prop_margin_pool::AutoProlongChanged",
373
+ "concreteTypeId": "a71429860ed4d4d35c22389c7dfc759df9df29f0fd2f7e9a3995d9ba2b781b53",
374
+ "metadataTypeId": 17
375
+ },
376
+ {
377
+ "type": "struct contract_schema::prop_margin_pool::BaseDebtRepaidFromCollateral",
378
+ "concreteTypeId": "e6d4c74d0399c142f512c0821bc8c248c9d7b9f0d370d9b1eeac6dad489c0e75",
379
+ "metadataTypeId": 18
380
+ },
381
+ {
382
+ "type": "struct contract_schema::prop_margin_pool::CollateralAdded",
383
+ "concreteTypeId": "8e08bf4c13001c457482f0c101352759061dec92b19e63119adff05072f82f78",
384
+ "metadataTypeId": 19
385
+ },
386
+ {
387
+ "type": "struct contract_schema::prop_margin_pool::MarginPoolLiquidatorChanged",
388
+ "concreteTypeId": "618e7c2bba5913f8756a2b64655023f57316dcf59752e837bd0cd2dbfae7f0f0",
389
+ "metadataTypeId": 20
390
+ },
391
+ {
392
+ "type": "struct contract_schema::prop_margin_pool::MarginPoolPauseChanged",
393
+ "concreteTypeId": "5147b54d46333ff70e73dcbb1dd2645b353ed91b3ee802589a064033720b8db6",
394
+ "metadataTypeId": 21
395
+ },
396
+ {
397
+ "type": "struct contract_schema::prop_margin_pool::MarginPoolPlatformPayoutChanged",
398
+ "concreteTypeId": "bd3532151a41784e9f20402e1f532a784483d642628fc0f4bd77316d236e076a",
399
+ "metadataTypeId": 22
400
+ },
401
+ {
402
+ "type": "struct contract_schema::prop_margin_pool::MarginPoolPriceFeedChanged",
403
+ "concreteTypeId": "e67ef99435be97bc9449c82c1b336087fb2229d27680e02e934dc0ac6ce38d86",
404
+ "metadataTypeId": 23
405
+ },
406
+ {
407
+ "type": "struct contract_schema::prop_margin_pool::MarginPoolRegistryChanged",
408
+ "concreteTypeId": "3ddfdcaffa09121b072ff8f41a532d2156bb23e8309acd9aa56aac205a2b90b2",
409
+ "metadataTypeId": 24
410
+ },
411
+ {
412
+ "type": "struct contract_schema::prop_margin_pool::MarginWithdrawn",
413
+ "concreteTypeId": "fcf040889d4a874f96876407c70c5777ff94880dd884e10a90ad454ee2386e76",
414
+ "metadataTypeId": 25
415
+ },
416
+ {
417
+ "type": "struct contract_schema::prop_margin_pool::PropBookMetadata",
418
+ "concreteTypeId": "8d3452403d7ba6e9a78afdf64d7a4141adc9b3cf3ab1e808fd664b4e1129d452",
419
+ "metadataTypeId": 26
420
+ },
421
+ {
422
+ "type": "struct contract_schema::prop_margin_pool::QuoteDrawn",
423
+ "concreteTypeId": "cef652777e5883399519b5f2ddeb264e106de9bca7b86f50bc64302a29451ba8",
424
+ "metadataTypeId": 27
425
+ },
426
+ {
427
+ "type": "struct contract_schema::prop_margin_pool::QuoteRepaidFromCollateral",
428
+ "concreteTypeId": "a07d395e4ed24d99e538ba7eaea20f99806a77c4bd9f4ac6c1488f9ccf349ef1",
429
+ "metadataTypeId": 28
430
+ },
431
+ {
432
+ "type": "struct contract_schema::prop_margin_pool::QuoteReturned",
433
+ "concreteTypeId": "2442d47c55be4962ca0763d3e24b3082641f3085e2be89002e423fbdac520a49",
434
+ "metadataTypeId": 29
435
+ },
436
+ {
437
+ "type": "struct contract_schema::prop_margin_pool::RolloverState",
438
+ "concreteTypeId": "76929f456641345973a0c5a6e149cb0542a3bf1f89b661ff01c76921d00e5ee8",
439
+ "metadataTypeId": 30
440
+ },
441
+ {
442
+ "type": "struct contract_schema::prop_margin_pool::RolloverView",
443
+ "concreteTypeId": "48c9f4c48ad5c14a7d80ca385e43e10882a3f3ada6e29c9bbf71f9b74891d65d",
444
+ "metadataTypeId": 31
445
+ },
446
+ {
447
+ "type": "struct contract_schema::prop_margin_pool::RolloverWithdrawalRecorded",
448
+ "concreteTypeId": "532c88bac26c85742e65ccb7d37979e658775f3c621544ce2b8f206d584af8af",
449
+ "metadataTypeId": 32
450
+ },
451
+ {
452
+ "type": "struct contract_schema::prop_margin_pool::SessionClosed",
453
+ "concreteTypeId": "88ed44ff45a8906c6beefd3c81c9859ead9f36aac2e9b06912a7ae83cbb0628c",
454
+ "metadataTypeId": 33
455
+ },
456
+ {
457
+ "type": "struct contract_schema::prop_margin_pool::SessionOpened",
458
+ "concreteTypeId": "85946d12004e9132da992025dfcf846ed2fa2d4e13b6cf0100466afa470cd67f",
459
+ "metadataTypeId": 34
460
+ },
461
+ {
462
+ "type": "struct contract_schema::prop_margin_pool::SessionProlonged",
463
+ "concreteTypeId": "93da234a5a59539605b94f98140ee3d7586ad3cbc4ce4693c2f71fadf8638318",
464
+ "metadataTypeId": 35
465
+ },
466
+ {
467
+ "type": "struct contract_schema::prop_margin_pool::SessionRolledOver",
468
+ "concreteTypeId": "f4feec76a5c2233e9e68afb7eb61f8ab3892b44014a18c6a25174917e7bf8810",
469
+ "metadataTypeId": 36
470
+ },
471
+ {
472
+ "type": "struct contract_schema::prop_margin_pool::SessionSeized",
473
+ "concreteTypeId": "d75508c0fe58a3bbf57a29d9387119c6238c8bf50f81b4a1f7a7d90b2b0b010a",
474
+ "metadataTypeId": 37
475
+ },
476
+ {
477
+ "type": "struct contract_schema::prop_margin_pool::SessionState",
478
+ "concreteTypeId": "2bfb7e45c813c3917469daaa6604b3d9d8c42d7e59a2fdd4a02efb9dcc8dba9b",
479
+ "metadataTypeId": 38
480
+ },
481
+ {
482
+ "type": "struct contract_schema::prop_margin_pool::SessionView",
483
+ "concreteTypeId": "e9473ab389805fcf26e6d8b70f276edc61cf97ddb23e8e4b68541b259cbae3b8",
484
+ "metadataTypeId": 39
485
+ },
486
+ {
487
+ "type": "struct contract_schema::prop_margin_pool::SettlementReceived",
488
+ "concreteTypeId": "839ed879b9fda2421ed22145534f8749aa9ffd32c4fe8d6f9d219b9de2fe0d48",
489
+ "metadataTypeId": 40
490
+ },
491
+ {
492
+ "type": "struct contract_schema::prop_margin_pool::TicketSettled",
493
+ "concreteTypeId": "5c852b3a7f63c0036b492e8bdfff446c35ab6392447eaceab832807a28c07abc",
494
+ "metadataTypeId": 41
495
+ },
496
+ {
497
+ "type": "struct contract_schema::prop_margin_pool::TierBooksAdded",
498
+ "concreteTypeId": "71f45659d1da847f7eedb0d56ee56e49eca1073a2b279dd5dcefd6233a5f8c8f",
499
+ "metadataTypeId": 42
500
+ },
501
+ {
502
+ "type": "struct contract_schema::prop_margin_pool::TierEnabledChanged",
503
+ "concreteTypeId": "460b33d171d0b146e78150be7a9a967e4a5bba2c93bfbb33cc4c20ce7196fa63",
504
+ "metadataTypeId": 43
505
+ },
506
+ {
507
+ "type": "struct contract_schema::prop_margin_pool::TierParams",
508
+ "concreteTypeId": "4514d9f6a6dd0344fb8d6a573f8d4371decb78e70e2a907c9cc7b3c189080841",
509
+ "metadataTypeId": 44
510
+ },
511
+ {
512
+ "type": "struct contract_schema::prop_margin_pool::TierVersionPublished",
513
+ "concreteTypeId": "aaf36b2924b051521d649c120bdfc7bdb461abfb6531a5c37823f2bfcc024174",
514
+ "metadataTypeId": 45
515
+ },
516
+ {
517
+ "type": "struct contract_schema::prop_margin_pool::TierVersionPublishedV2",
518
+ "concreteTypeId": "92f323400266b711dc630732cb484cabd5e5e0259d5027a3b8ad3fed4b2f9936",
519
+ "metadataTypeId": 46
520
+ },
521
+ {
522
+ "type": "struct contract_schema::prop_margin_pool::TurboTerms",
523
+ "concreteTypeId": "756ac75abc0547feed71f2a44098169495dc84d5fbdaef83d885b0cce5d580cc",
524
+ "metadataTypeId": 47
525
+ },
526
+ {
527
+ "type": "struct contract_schema::prop_margin_pool::UserDiscount",
528
+ "concreteTypeId": "f479d6fcd2767886d7910eea1d6b44a784595d50bf31fed3c0cc869da1f92806",
529
+ "metadataTypeId": 48
530
+ },
531
+ {
532
+ "type": "struct contract_schema::prop_margin_pool::UserDiscountChanged",
533
+ "concreteTypeId": "47fa186af0d359d9cc8a9d356bd1a3d0e9d5dabea8bae39bb44f6f0a7b71fc4c",
534
+ "metadataTypeId": 49
535
+ },
536
+ {
537
+ "type": "struct contract_schema::prop_margin_pool::UserDiscountsRemoved",
538
+ "concreteTypeId": "b783aec11322c063e9d012c4942055569ade8a9493c8f31dd93b030af966938c",
539
+ "metadataTypeId": 50
540
+ },
541
+ {
542
+ "type": "struct pausable::events::PauseEvent",
543
+ "concreteTypeId": "692983a9aba767e36b5014d3eb842447c736e341cc3b30fcb051b1f5a3d5f80a",
544
+ "metadataTypeId": 51
545
+ },
546
+ {
547
+ "type": "struct pausable::events::UnpauseEvent",
548
+ "concreteTypeId": "0026d386ad84e75b525bec3e7c8b6a63df3fcd108a8c4b26438c8a7a2e2c218b",
549
+ "metadataTypeId": 52
550
+ },
551
+ {
552
+ "type": "struct std::address::Address",
553
+ "concreteTypeId": "f597b637c3b0f588fb8d7086c6f4735caa3122b85f0423b82e489f9bb58e2308",
554
+ "metadataTypeId": 53
555
+ },
556
+ {
557
+ "type": "struct std::asset_id::AssetId",
558
+ "concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974",
559
+ "metadataTypeId": 54
560
+ },
561
+ {
562
+ "type": "struct std::contract_id::ContractId",
563
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54",
564
+ "metadataTypeId": 55
565
+ },
566
+ {
567
+ "type": "struct std::vec::Vec<struct std::asset_id::AssetId>",
568
+ "concreteTypeId": "8b2275934873f381a769c82334e6f66595eeb350d8b2dd012eef4d9bb117942b",
569
+ "metadataTypeId": 58,
570
+ "typeArguments": [
571
+ "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974"
572
+ ]
573
+ },
574
+ {
575
+ "type": "struct std::vec::Vec<struct std::contract_id::ContractId>",
576
+ "concreteTypeId": "b8ca7626a08e8fb93379b5d9d58d8a12eede8de9f087bfa21feccca44f92e211",
577
+ "metadataTypeId": 58,
578
+ "typeArguments": [
579
+ "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
580
+ ]
581
+ },
582
+ {
583
+ "type": "u32",
584
+ "concreteTypeId": "d7649d428b9ff33d188ecbf38a7e4d8fd167fa01b2e10fe9a8f9308e52f1d7cc"
585
+ },
586
+ {
587
+ "type": "u64",
588
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
589
+ },
590
+ {
591
+ "type": "u8",
592
+ "concreteTypeId": "c89951a24c6ca28c13fd1cfdc646b2b656d69e61a92b91023be7eb58eb914b6b"
593
+ }
594
+ ],
595
+ "metadataTypes": [
596
+ {
597
+ "type": "(_, _)",
598
+ "metadataTypeId": 0,
599
+ "components": [
600
+ {
601
+ "name": "__tuple_element",
602
+ "typeId": 54
603
+ },
604
+ {
605
+ "name": "__tuple_element",
606
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
607
+ }
608
+ ]
609
+ },
610
+ {
611
+ "type": "(_, _)",
612
+ "metadataTypeId": 1,
613
+ "components": [
614
+ {
615
+ "name": "__tuple_element",
616
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
617
+ },
618
+ {
619
+ "name": "__tuple_element",
620
+ "typeId": "d7649d428b9ff33d188ecbf38a7e4d8fd167fa01b2e10fe9a8f9308e52f1d7cc"
621
+ }
622
+ ]
623
+ },
624
+ {
625
+ "type": "[_; 4]",
626
+ "metadataTypeId": 2,
627
+ "components": [
628
+ {
629
+ "name": "__array_element",
630
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
631
+ }
632
+ ]
633
+ },
634
+ {
635
+ "type": "b256",
636
+ "metadataTypeId": 3
637
+ },
638
+ {
639
+ "type": "enum contract_schema::prop_margin_pool::DiscountScope",
640
+ "metadataTypeId": 4,
641
+ "components": [
642
+ {
643
+ "name": "FirstPremium",
644
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
645
+ },
646
+ {
647
+ "name": "AllPremiums",
648
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
649
+ }
650
+ ]
651
+ },
652
+ {
653
+ "type": "enum contract_schema::prop_margin_pool::ProlongTrigger",
654
+ "metadataTypeId": 5,
655
+ "components": [
656
+ {
657
+ "name": "User",
658
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
659
+ },
660
+ {
661
+ "name": "Auto",
662
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
663
+ }
664
+ ]
665
+ },
666
+ {
667
+ "type": "enum contract_schema::prop_margin_pool::PropMarginPoolError",
668
+ "metadataTypeId": 6,
669
+ "components": [
670
+ {
671
+ "name": "AlreadyInitialized",
672
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
673
+ },
674
+ {
675
+ "name": "CallerNotContract",
676
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
677
+ },
678
+ {
679
+ "name": "NotPropAccount",
680
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
681
+ },
682
+ {
683
+ "name": "NoActiveSession",
684
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
685
+ },
686
+ {
687
+ "name": "SessionActive",
688
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
689
+ },
690
+ {
691
+ "name": "SessionEnded",
692
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
693
+ },
694
+ {
695
+ "name": "WrongAsset",
696
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
697
+ },
698
+ {
699
+ "name": "AmountIsZero",
700
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
701
+ },
702
+ {
703
+ "name": "CollateralTooSmall",
704
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
705
+ },
706
+ {
707
+ "name": "AccountNotEmpty",
708
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
709
+ },
710
+ {
711
+ "name": "AssetNotInTier",
712
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
713
+ },
714
+ {
715
+ "name": "UseDraw",
716
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
717
+ },
718
+ {
719
+ "name": "UseRepayQuote",
720
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
721
+ },
722
+ {
723
+ "name": "LoanCapExceeded",
724
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
725
+ },
726
+ {
727
+ "name": "InsufficientInventory",
728
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
729
+ },
730
+ {
731
+ "name": "InsufficientBalance",
732
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
733
+ },
734
+ {
735
+ "name": "BelowTierCollateral",
736
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
737
+ },
738
+ {
739
+ "name": "OverReturn",
740
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
741
+ },
742
+ {
743
+ "name": "OverRepay",
744
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
745
+ },
746
+ {
747
+ "name": "QuoteOutstanding",
748
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
749
+ },
750
+ {
751
+ "name": "DebtsOutstanding",
752
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
753
+ },
754
+ {
755
+ "name": "CashShortOfDrawn",
756
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
757
+ },
758
+ {
759
+ "name": "FundOtherAccount",
760
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
761
+ },
762
+ {
763
+ "name": "InvalidTier",
764
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
765
+ },
766
+ {
767
+ "name": "InvalidTierVersion",
768
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
769
+ },
770
+ {
771
+ "name": "InvalidTierParams",
772
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
773
+ },
774
+ {
775
+ "name": "InvalidLeverage",
776
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
777
+ },
778
+ {
779
+ "name": "BufferBelowMaintenance",
780
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
781
+ },
782
+ {
783
+ "name": "BufferAboveCap",
784
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
785
+ },
786
+ {
787
+ "name": "SessionUnusableAtOpen",
788
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
789
+ },
790
+ {
791
+ "name": "InvalidBook",
792
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
793
+ },
794
+ {
795
+ "name": "TooManyBooks",
796
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
797
+ },
798
+ {
799
+ "name": "PriceMissing",
800
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
801
+ },
802
+ {
803
+ "name": "PriceStale",
804
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
805
+ },
806
+ {
807
+ "name": "PriceInvalid",
808
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
809
+ },
810
+ {
811
+ "name": "PriceDecimalsChanged",
812
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
813
+ },
814
+ {
815
+ "name": "InvalidRegistry",
816
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
817
+ },
818
+ {
819
+ "name": "InvalidPriceFeed",
820
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
821
+ },
822
+ {
823
+ "name": "InvalidPlatformPayout",
824
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
825
+ },
826
+ {
827
+ "name": "InvalidLiquidator",
828
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
829
+ },
830
+ {
831
+ "name": "ValueOverflow",
832
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
833
+ },
834
+ {
835
+ "name": "PeriodNotOffered",
836
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
837
+ },
838
+ {
839
+ "name": "AutoProlongDisabled",
840
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
841
+ },
842
+ {
843
+ "name": "AutoProlongPeriodInvalid",
844
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
845
+ },
846
+ {
847
+ "name": "TimesIsZero",
848
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
849
+ },
850
+ {
851
+ "name": "ProlongAfterExpiry",
852
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
853
+ },
854
+ {
855
+ "name": "AutoProlongNotDue",
856
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
857
+ },
858
+ {
859
+ "name": "BookNotDrained",
860
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
861
+ },
862
+ {
863
+ "name": "SweepIncomplete",
864
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
865
+ },
866
+ {
867
+ "name": "PositionsOutstanding",
868
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
869
+ },
870
+ {
871
+ "name": "NotLiquidatable",
872
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
873
+ },
874
+ {
875
+ "name": "NotExpired",
876
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
877
+ },
878
+ {
879
+ "name": "NoBestBid",
880
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
881
+ },
882
+ {
883
+ "name": "AssetNotSupported",
884
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
885
+ },
886
+ {
887
+ "name": "ProlongAboveCollateral",
888
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
889
+ },
890
+ {
891
+ "name": "InvalidDiscount",
892
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
893
+ },
894
+ {
895
+ "name": "TierDisabled",
896
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
897
+ },
898
+ {
899
+ "name": "TopUpsDisabled",
900
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
901
+ },
902
+ {
903
+ "name": "TurboEntryNotExact",
904
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
905
+ },
906
+ {
907
+ "name": "InvalidTurboTerms",
908
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
909
+ },
910
+ {
911
+ "name": "RolloverNotOffered",
912
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
913
+ },
914
+ {
915
+ "name": "RolloverNotDue",
916
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
917
+ },
918
+ {
919
+ "name": "RolloverNotEarned",
920
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
921
+ },
922
+ {
923
+ "name": "RolloverExhausted",
924
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
925
+ },
926
+ {
927
+ "name": "RolloverPending",
928
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
929
+ },
930
+ {
931
+ "name": "UseExpireOrRollover",
932
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
933
+ },
934
+ {
935
+ "name": "UsePermissionlessExpiry",
936
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
937
+ },
938
+ {
939
+ "name": "InvalidExpiryCosigner",
940
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
941
+ },
942
+ {
943
+ "name": "ExpiryCosignerNotSet",
944
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
945
+ }
946
+ ]
947
+ },
948
+ {
949
+ "type": "enum contract_schema::prop_margin_pool::SettlementReason",
950
+ "metadataTypeId": 7,
951
+ "components": [
952
+ {
953
+ "name": "UserClose",
954
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
955
+ },
956
+ {
957
+ "name": "Expiry",
958
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
959
+ },
960
+ {
961
+ "name": "Liquidation",
962
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
963
+ }
964
+ ]
965
+ },
966
+ {
967
+ "type": "enum contract_schema::prop_period::ProlongPeriod",
968
+ "metadataTypeId": 8,
969
+ "components": [
970
+ {
971
+ "name": "SixHours",
972
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
973
+ },
974
+ {
975
+ "name": "Day",
976
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
977
+ },
978
+ {
979
+ "name": "Week",
980
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
981
+ },
982
+ {
983
+ "name": "Month",
984
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
985
+ }
986
+ ]
987
+ },
988
+ {
989
+ "type": "enum std::identity::Identity",
990
+ "metadataTypeId": 9,
991
+ "components": [
992
+ {
993
+ "name": "Address",
994
+ "typeId": 53
995
+ },
996
+ {
997
+ "name": "ContractId",
998
+ "typeId": 55
999
+ }
1000
+ ]
1001
+ },
1002
+ {
1003
+ "type": "enum std::option::Option",
1004
+ "metadataTypeId": 10,
1005
+ "components": [
1006
+ {
1007
+ "name": "None",
1008
+ "typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
1009
+ },
1010
+ {
1011
+ "name": "Some",
1012
+ "typeId": 11
1013
+ }
1014
+ ],
1015
+ "typeParameters": [
1016
+ 11
1017
+ ]
1018
+ },
1019
+ {
1020
+ "type": "generic T",
1021
+ "metadataTypeId": 11
1022
+ },
1023
+ {
1024
+ "type": "raw untyped ptr",
1025
+ "metadataTypeId": 12
1026
+ },
1027
+ {
1028
+ "type": "struct contract_libs::access_control::RoleGrantedEvent",
1029
+ "metadataTypeId": 13,
1030
+ "components": [
1031
+ {
1032
+ "name": "role",
1033
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1034
+ },
1035
+ {
1036
+ "name": "account",
1037
+ "typeId": 9
1038
+ }
1039
+ ]
1040
+ },
1041
+ {
1042
+ "type": "struct contract_libs::access_control::RoleRevokedEvent",
1043
+ "metadataTypeId": 14,
1044
+ "components": [
1045
+ {
1046
+ "name": "role",
1047
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1048
+ },
1049
+ {
1050
+ "name": "account",
1051
+ "typeId": 9
1052
+ }
1053
+ ]
1054
+ },
1055
+ {
1056
+ "type": "struct contract_schema::prop_margin_pool::AssetBorrowed",
1057
+ "metadataTypeId": 15,
1058
+ "components": [
1059
+ {
1060
+ "name": "account",
1061
+ "typeId": 55
1062
+ },
1063
+ {
1064
+ "name": "session_id",
1065
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1066
+ },
1067
+ {
1068
+ "name": "asset_id",
1069
+ "typeId": 54
1070
+ },
1071
+ {
1072
+ "name": "amount",
1073
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1074
+ },
1075
+ {
1076
+ "name": "debt_total",
1077
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1078
+ },
1079
+ {
1080
+ "name": "timestamp",
1081
+ "typeId": 56
1082
+ }
1083
+ ]
1084
+ },
1085
+ {
1086
+ "type": "struct contract_schema::prop_margin_pool::AssetRepaid",
1087
+ "metadataTypeId": 16,
1088
+ "components": [
1089
+ {
1090
+ "name": "account",
1091
+ "typeId": 55
1092
+ },
1093
+ {
1094
+ "name": "session_id",
1095
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1096
+ },
1097
+ {
1098
+ "name": "asset_id",
1099
+ "typeId": 54
1100
+ },
1101
+ {
1102
+ "name": "amount",
1103
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1104
+ },
1105
+ {
1106
+ "name": "debt_total",
1107
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1108
+ },
1109
+ {
1110
+ "name": "timestamp",
1111
+ "typeId": 56
1112
+ }
1113
+ ]
1114
+ },
1115
+ {
1116
+ "type": "struct contract_schema::prop_margin_pool::AutoProlongChanged",
1117
+ "metadataTypeId": 17,
1118
+ "components": [
1119
+ {
1120
+ "name": "account",
1121
+ "typeId": 55
1122
+ },
1123
+ {
1124
+ "name": "session_id",
1125
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1126
+ },
1127
+ {
1128
+ "name": "period",
1129
+ "typeId": 10,
1130
+ "typeArguments": [
1131
+ {
1132
+ "name": "",
1133
+ "typeId": 8
1134
+ }
1135
+ ]
1136
+ },
1137
+ {
1138
+ "name": "expires_at",
1139
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1140
+ },
1141
+ {
1142
+ "name": "timestamp",
1143
+ "typeId": 56
1144
+ }
1145
+ ]
1146
+ },
1147
+ {
1148
+ "type": "struct contract_schema::prop_margin_pool::BaseDebtRepaidFromCollateral",
1149
+ "metadataTypeId": 18,
1150
+ "components": [
1151
+ {
1152
+ "name": "account",
1153
+ "typeId": 55
1154
+ },
1155
+ {
1156
+ "name": "session_id",
1157
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1158
+ },
1159
+ {
1160
+ "name": "asset_id",
1161
+ "typeId": 54
1162
+ },
1163
+ {
1164
+ "name": "amount",
1165
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1166
+ },
1167
+ {
1168
+ "name": "ask",
1169
+ "typeId": 59
1170
+ },
1171
+ {
1172
+ "name": "value",
1173
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1174
+ },
1175
+ {
1176
+ "name": "fee",
1177
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1178
+ },
1179
+ {
1180
+ "name": "debt_total",
1181
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1182
+ },
1183
+ {
1184
+ "name": "new_collateral",
1185
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1186
+ },
1187
+ {
1188
+ "name": "new_credit_line",
1189
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1190
+ },
1191
+ {
1192
+ "name": "fees_accrued",
1193
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1194
+ },
1195
+ {
1196
+ "name": "from_capitalised",
1197
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1198
+ },
1199
+ {
1200
+ "name": "capitalised_total",
1201
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1202
+ },
1203
+ {
1204
+ "name": "decapitalised_total",
1205
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1206
+ },
1207
+ {
1208
+ "name": "timestamp",
1209
+ "typeId": 56
1210
+ }
1211
+ ]
1212
+ },
1213
+ {
1214
+ "type": "struct contract_schema::prop_margin_pool::CollateralAdded",
1215
+ "metadataTypeId": 19,
1216
+ "components": [
1217
+ {
1218
+ "name": "account",
1219
+ "typeId": 55
1220
+ },
1221
+ {
1222
+ "name": "session_id",
1223
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1224
+ },
1225
+ {
1226
+ "name": "funder",
1227
+ "typeId": 9
1228
+ },
1229
+ {
1230
+ "name": "amount",
1231
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1232
+ },
1233
+ {
1234
+ "name": "new_collateral",
1235
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1236
+ },
1237
+ {
1238
+ "name": "new_credit_line",
1239
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1240
+ },
1241
+ {
1242
+ "name": "capitalised_total",
1243
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1244
+ },
1245
+ {
1246
+ "name": "cap",
1247
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1248
+ },
1249
+ {
1250
+ "name": "timestamp",
1251
+ "typeId": 56
1252
+ }
1253
+ ]
1254
+ },
1255
+ {
1256
+ "type": "struct contract_schema::prop_margin_pool::MarginPoolLiquidatorChanged",
1257
+ "metadataTypeId": 20,
1258
+ "components": [
1259
+ {
1260
+ "name": "old_liquidator",
1261
+ "typeId": 9
1262
+ },
1263
+ {
1264
+ "name": "new_liquidator",
1265
+ "typeId": 9
1266
+ },
1267
+ {
1268
+ "name": "timestamp",
1269
+ "typeId": 56
1270
+ }
1271
+ ]
1272
+ },
1273
+ {
1274
+ "type": "struct contract_schema::prop_margin_pool::MarginPoolPauseChanged",
1275
+ "metadataTypeId": 21,
1276
+ "components": [
1277
+ {
1278
+ "name": "paused",
1279
+ "typeId": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903"
1280
+ },
1281
+ {
1282
+ "name": "timestamp",
1283
+ "typeId": 56
1284
+ }
1285
+ ]
1286
+ },
1287
+ {
1288
+ "type": "struct contract_schema::prop_margin_pool::MarginPoolPlatformPayoutChanged",
1289
+ "metadataTypeId": 22,
1290
+ "components": [
1291
+ {
1292
+ "name": "old_platform_payout",
1293
+ "typeId": 9
1294
+ },
1295
+ {
1296
+ "name": "new_platform_payout",
1297
+ "typeId": 9
1298
+ },
1299
+ {
1300
+ "name": "timestamp",
1301
+ "typeId": 56
1302
+ }
1303
+ ]
1304
+ },
1305
+ {
1306
+ "type": "struct contract_schema::prop_margin_pool::MarginPoolPriceFeedChanged",
1307
+ "metadataTypeId": 23,
1308
+ "components": [
1309
+ {
1310
+ "name": "old_price_feed",
1311
+ "typeId": 55
1312
+ },
1313
+ {
1314
+ "name": "new_price_feed",
1315
+ "typeId": 55
1316
+ },
1317
+ {
1318
+ "name": "timestamp",
1319
+ "typeId": 56
1320
+ }
1321
+ ]
1322
+ },
1323
+ {
1324
+ "type": "struct contract_schema::prop_margin_pool::MarginPoolRegistryChanged",
1325
+ "metadataTypeId": 24,
1326
+ "components": [
1327
+ {
1328
+ "name": "old_registry",
1329
+ "typeId": 55
1330
+ },
1331
+ {
1332
+ "name": "new_registry",
1333
+ "typeId": 55
1334
+ },
1335
+ {
1336
+ "name": "timestamp",
1337
+ "typeId": 56
1338
+ }
1339
+ ]
1340
+ },
1341
+ {
1342
+ "type": "struct contract_schema::prop_margin_pool::MarginWithdrawn",
1343
+ "metadataTypeId": 25,
1344
+ "components": [
1345
+ {
1346
+ "name": "account",
1347
+ "typeId": 55
1348
+ },
1349
+ {
1350
+ "name": "session_id",
1351
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1352
+ },
1353
+ {
1354
+ "name": "asset_id",
1355
+ "typeId": 54
1356
+ },
1357
+ {
1358
+ "name": "amount",
1359
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1360
+ },
1361
+ {
1362
+ "name": "from_account",
1363
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1364
+ },
1365
+ {
1366
+ "name": "from_pool",
1367
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1368
+ },
1369
+ {
1370
+ "name": "from_capitalised",
1371
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1372
+ },
1373
+ {
1374
+ "name": "share_qty",
1375
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1376
+ },
1377
+ {
1378
+ "name": "new_collateral",
1379
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1380
+ },
1381
+ {
1382
+ "name": "new_credit_line",
1383
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1384
+ },
1385
+ {
1386
+ "name": "capitalised_total",
1387
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1388
+ },
1389
+ {
1390
+ "name": "timestamp",
1391
+ "typeId": 56
1392
+ }
1393
+ ]
1394
+ },
1395
+ {
1396
+ "type": "struct contract_schema::prop_margin_pool::PropBookMetadata",
1397
+ "metadataTypeId": 26,
1398
+ "components": [
1399
+ {
1400
+ "name": "base_asset",
1401
+ "typeId": 54
1402
+ },
1403
+ {
1404
+ "name": "quote_asset",
1405
+ "typeId": 54
1406
+ },
1407
+ {
1408
+ "name": "base_decimals",
1409
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1410
+ },
1411
+ {
1412
+ "name": "minimum_trade_amount",
1413
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1414
+ }
1415
+ ]
1416
+ },
1417
+ {
1418
+ "type": "struct contract_schema::prop_margin_pool::QuoteDrawn",
1419
+ "metadataTypeId": 27,
1420
+ "components": [
1421
+ {
1422
+ "name": "account",
1423
+ "typeId": 55
1424
+ },
1425
+ {
1426
+ "name": "session_id",
1427
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1428
+ },
1429
+ {
1430
+ "name": "amount",
1431
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1432
+ },
1433
+ {
1434
+ "name": "drawn_total",
1435
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1436
+ },
1437
+ {
1438
+ "name": "timestamp",
1439
+ "typeId": 56
1440
+ }
1441
+ ]
1442
+ },
1443
+ {
1444
+ "type": "struct contract_schema::prop_margin_pool::QuoteRepaidFromCollateral",
1445
+ "metadataTypeId": 28,
1446
+ "components": [
1447
+ {
1448
+ "name": "account",
1449
+ "typeId": 55
1450
+ },
1451
+ {
1452
+ "name": "session_id",
1453
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1454
+ },
1455
+ {
1456
+ "name": "amount",
1457
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1458
+ },
1459
+ {
1460
+ "name": "new_drawn_quote",
1461
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1462
+ },
1463
+ {
1464
+ "name": "new_collateral",
1465
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1466
+ },
1467
+ {
1468
+ "name": "new_credit_line",
1469
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1470
+ },
1471
+ {
1472
+ "name": "from_capitalised",
1473
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1474
+ },
1475
+ {
1476
+ "name": "capitalised_total",
1477
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1478
+ },
1479
+ {
1480
+ "name": "decapitalised_total",
1481
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1482
+ },
1483
+ {
1484
+ "name": "timestamp",
1485
+ "typeId": 56
1486
+ }
1487
+ ]
1488
+ },
1489
+ {
1490
+ "type": "struct contract_schema::prop_margin_pool::QuoteReturned",
1491
+ "metadataTypeId": 29,
1492
+ "components": [
1493
+ {
1494
+ "name": "account",
1495
+ "typeId": 55
1496
+ },
1497
+ {
1498
+ "name": "session_id",
1499
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1500
+ },
1501
+ {
1502
+ "name": "amount",
1503
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1504
+ },
1505
+ {
1506
+ "name": "drawn_total",
1507
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1508
+ },
1509
+ {
1510
+ "name": "timestamp",
1511
+ "typeId": 56
1512
+ }
1513
+ ]
1514
+ },
1515
+ {
1516
+ "type": "struct contract_schema::prop_margin_pool::RolloverState",
1517
+ "metadataTypeId": 30,
1518
+ "components": [
1519
+ {
1520
+ "name": "anchor",
1521
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1522
+ },
1523
+ {
1524
+ "name": "withdrawn",
1525
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1526
+ },
1527
+ {
1528
+ "name": "rollovers_used",
1529
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1530
+ }
1531
+ ]
1532
+ },
1533
+ {
1534
+ "type": "struct contract_schema::prop_margin_pool::RolloverView",
1535
+ "metadataTypeId": 31,
1536
+ "components": [
1537
+ {
1538
+ "name": "anchor",
1539
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1540
+ },
1541
+ {
1542
+ "name": "withdrawn",
1543
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1544
+ },
1545
+ {
1546
+ "name": "rollovers_used",
1547
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1548
+ },
1549
+ {
1550
+ "name": "max_rollovers",
1551
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1552
+ },
1553
+ {
1554
+ "name": "profit_required",
1555
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1556
+ }
1557
+ ]
1558
+ },
1559
+ {
1560
+ "type": "struct contract_schema::prop_margin_pool::RolloverWithdrawalRecorded",
1561
+ "metadataTypeId": 32,
1562
+ "components": [
1563
+ {
1564
+ "name": "account",
1565
+ "typeId": 55
1566
+ },
1567
+ {
1568
+ "name": "session_id",
1569
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1570
+ },
1571
+ {
1572
+ "name": "amount",
1573
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1574
+ },
1575
+ {
1576
+ "name": "withdrawn_total",
1577
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1578
+ },
1579
+ {
1580
+ "name": "timestamp",
1581
+ "typeId": 56
1582
+ }
1583
+ ]
1584
+ },
1585
+ {
1586
+ "type": "struct contract_schema::prop_margin_pool::SessionClosed",
1587
+ "metadataTypeId": 33,
1588
+ "components": [
1589
+ {
1590
+ "name": "account",
1591
+ "typeId": 55
1592
+ },
1593
+ {
1594
+ "name": "session_id",
1595
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1596
+ },
1597
+ {
1598
+ "name": "reason",
1599
+ "typeId": 7
1600
+ },
1601
+ {
1602
+ "name": "v",
1603
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1604
+ },
1605
+ {
1606
+ "name": "v_is_negative",
1607
+ "typeId": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903"
1608
+ },
1609
+ {
1610
+ "name": "v_liq",
1611
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1612
+ },
1613
+ {
1614
+ "name": "v_liq_is_negative",
1615
+ "typeId": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903"
1616
+ },
1617
+ {
1618
+ "name": "profit_abs",
1619
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1620
+ },
1621
+ {
1622
+ "name": "profit_is_negative",
1623
+ "typeId": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903"
1624
+ },
1625
+ {
1626
+ "name": "fees_accrued",
1627
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1628
+ },
1629
+ {
1630
+ "name": "platform_total",
1631
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1632
+ },
1633
+ {
1634
+ "name": "user_net",
1635
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1636
+ },
1637
+ {
1638
+ "name": "bad_debt",
1639
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1640
+ },
1641
+ {
1642
+ "name": "cancelled_debt",
1643
+ "typeId": 58,
1644
+ "typeArguments": [
1645
+ {
1646
+ "name": "",
1647
+ "typeId": 0
1648
+ }
1649
+ ]
1650
+ },
1651
+ {
1652
+ "name": "payout_parent",
1653
+ "typeId": 58,
1654
+ "typeArguments": [
1655
+ {
1656
+ "name": "",
1657
+ "typeId": 0
1658
+ }
1659
+ ]
1660
+ },
1661
+ {
1662
+ "name": "payout_platform",
1663
+ "typeId": 58,
1664
+ "typeArguments": [
1665
+ {
1666
+ "name": "",
1667
+ "typeId": 0
1668
+ }
1669
+ ]
1670
+ },
1671
+ {
1672
+ "name": "timestamp",
1673
+ "typeId": 56
1674
+ }
1675
+ ]
1676
+ },
1677
+ {
1678
+ "type": "struct contract_schema::prop_margin_pool::SessionOpened",
1679
+ "metadataTypeId": 34,
1680
+ "components": [
1681
+ {
1682
+ "name": "account",
1683
+ "typeId": 55
1684
+ },
1685
+ {
1686
+ "name": "session_id",
1687
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1688
+ },
1689
+ {
1690
+ "name": "tier_id",
1691
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1692
+ },
1693
+ {
1694
+ "name": "tier_version",
1695
+ "typeId": "d7649d428b9ff33d188ecbf38a7e4d8fd167fa01b2e10fe9a8f9308e52f1d7cc"
1696
+ },
1697
+ {
1698
+ "name": "parent",
1699
+ "typeId": 9
1700
+ },
1701
+ {
1702
+ "name": "collateral",
1703
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1704
+ },
1705
+ {
1706
+ "name": "credit_line",
1707
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1708
+ },
1709
+ {
1710
+ "name": "started_at",
1711
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1712
+ },
1713
+ {
1714
+ "name": "expires_at",
1715
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1716
+ },
1717
+ {
1718
+ "name": "open_fee",
1719
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1720
+ },
1721
+ {
1722
+ "name": "fees_accrued",
1723
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1724
+ },
1725
+ {
1726
+ "name": "timestamp",
1727
+ "typeId": 56
1728
+ }
1729
+ ]
1730
+ },
1731
+ {
1732
+ "type": "struct contract_schema::prop_margin_pool::SessionProlonged",
1733
+ "metadataTypeId": 35,
1734
+ "components": [
1735
+ {
1736
+ "name": "account",
1737
+ "typeId": 55
1738
+ },
1739
+ {
1740
+ "name": "session_id",
1741
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1742
+ },
1743
+ {
1744
+ "name": "period",
1745
+ "typeId": 8
1746
+ },
1747
+ {
1748
+ "name": "times",
1749
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1750
+ },
1751
+ {
1752
+ "name": "seconds",
1753
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1754
+ },
1755
+ {
1756
+ "name": "trigger",
1757
+ "typeId": 5
1758
+ },
1759
+ {
1760
+ "name": "new_expires_at",
1761
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1762
+ },
1763
+ {
1764
+ "name": "new_credit_line",
1765
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1766
+ },
1767
+ {
1768
+ "name": "fee",
1769
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1770
+ },
1771
+ {
1772
+ "name": "fees_accrued",
1773
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1774
+ },
1775
+ {
1776
+ "name": "timestamp",
1777
+ "typeId": 56
1778
+ }
1779
+ ]
1780
+ },
1781
+ {
1782
+ "type": "struct contract_schema::prop_margin_pool::SessionRolledOver",
1783
+ "metadataTypeId": 36,
1784
+ "components": [
1785
+ {
1786
+ "name": "account",
1787
+ "typeId": 55
1788
+ },
1789
+ {
1790
+ "name": "session_id",
1791
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1792
+ },
1793
+ {
1794
+ "name": "rollovers_used",
1795
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1796
+ },
1797
+ {
1798
+ "name": "max_rollovers",
1799
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1800
+ },
1801
+ {
1802
+ "name": "anchor",
1803
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1804
+ },
1805
+ {
1806
+ "name": "profit_required",
1807
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1808
+ },
1809
+ {
1810
+ "name": "new_expires_at",
1811
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1812
+ },
1813
+ {
1814
+ "name": "timestamp",
1815
+ "typeId": 56
1816
+ }
1817
+ ]
1818
+ },
1819
+ {
1820
+ "type": "struct contract_schema::prop_margin_pool::SessionSeized",
1821
+ "metadataTypeId": 37,
1822
+ "components": [
1823
+ {
1824
+ "name": "account",
1825
+ "typeId": 55
1826
+ },
1827
+ {
1828
+ "name": "session_id",
1829
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1830
+ },
1831
+ {
1832
+ "name": "reason",
1833
+ "typeId": 7
1834
+ },
1835
+ {
1836
+ "name": "liquidator",
1837
+ "typeId": 9
1838
+ },
1839
+ {
1840
+ "name": "holdings",
1841
+ "typeId": 58,
1842
+ "typeArguments": [
1843
+ {
1844
+ "name": "",
1845
+ "typeId": 0
1846
+ }
1847
+ ]
1848
+ },
1849
+ {
1850
+ "name": "debt",
1851
+ "typeId": 58,
1852
+ "typeArguments": [
1853
+ {
1854
+ "name": "",
1855
+ "typeId": 0
1856
+ }
1857
+ ]
1858
+ },
1859
+ {
1860
+ "name": "transferred",
1861
+ "typeId": 58,
1862
+ "typeArguments": [
1863
+ {
1864
+ "name": "",
1865
+ "typeId": 0
1866
+ }
1867
+ ]
1868
+ },
1869
+ {
1870
+ "name": "timestamp",
1871
+ "typeId": 56
1872
+ }
1873
+ ]
1874
+ },
1875
+ {
1876
+ "type": "struct contract_schema::prop_margin_pool::SessionState",
1877
+ "metadataTypeId": 38,
1878
+ "components": [
1879
+ {
1880
+ "name": "session_id",
1881
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1882
+ },
1883
+ {
1884
+ "name": "tier_id",
1885
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1886
+ },
1887
+ {
1888
+ "name": "tier_version",
1889
+ "typeId": "d7649d428b9ff33d188ecbf38a7e4d8fd167fa01b2e10fe9a8f9308e52f1d7cc"
1890
+ },
1891
+ {
1892
+ "name": "parent",
1893
+ "typeId": 9
1894
+ },
1895
+ {
1896
+ "name": "collateral",
1897
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1898
+ },
1899
+ {
1900
+ "name": "credit_line",
1901
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1902
+ },
1903
+ {
1904
+ "name": "started_at",
1905
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1906
+ },
1907
+ {
1908
+ "name": "expires_at",
1909
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1910
+ },
1911
+ {
1912
+ "name": "drawn_quote",
1913
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1914
+ },
1915
+ {
1916
+ "name": "fees_accrued",
1917
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1918
+ },
1919
+ {
1920
+ "name": "auto_prolong",
1921
+ "typeId": 10,
1922
+ "typeArguments": [
1923
+ {
1924
+ "name": "",
1925
+ "typeId": 8
1926
+ }
1927
+ ]
1928
+ },
1929
+ {
1930
+ "name": "capitalised",
1931
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1932
+ },
1933
+ {
1934
+ "name": "decapitalised",
1935
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1936
+ }
1937
+ ]
1938
+ },
1939
+ {
1940
+ "type": "struct contract_schema::prop_margin_pool::SessionView",
1941
+ "metadataTypeId": 39,
1942
+ "components": [
1943
+ {
1944
+ "name": "session_id",
1945
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1946
+ },
1947
+ {
1948
+ "name": "tier_id",
1949
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1950
+ },
1951
+ {
1952
+ "name": "tier_version",
1953
+ "typeId": "d7649d428b9ff33d188ecbf38a7e4d8fd167fa01b2e10fe9a8f9308e52f1d7cc"
1954
+ },
1955
+ {
1956
+ "name": "parent",
1957
+ "typeId": 9
1958
+ },
1959
+ {
1960
+ "name": "collateral",
1961
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1962
+ },
1963
+ {
1964
+ "name": "credit_line",
1965
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1966
+ },
1967
+ {
1968
+ "name": "started_at",
1969
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1970
+ },
1971
+ {
1972
+ "name": "expires_at",
1973
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1974
+ },
1975
+ {
1976
+ "name": "drawn_quote",
1977
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1978
+ },
1979
+ {
1980
+ "name": "fees_accrued",
1981
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1982
+ },
1983
+ {
1984
+ "name": "auto_prolong",
1985
+ "typeId": 10,
1986
+ "typeArguments": [
1987
+ {
1988
+ "name": "",
1989
+ "typeId": 8
1990
+ }
1991
+ ]
1992
+ },
1993
+ {
1994
+ "name": "capitalised",
1995
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
1996
+ },
1997
+ {
1998
+ "name": "decapitalised",
1999
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2000
+ }
2001
+ ]
2002
+ },
2003
+ {
2004
+ "type": "struct contract_schema::prop_margin_pool::SettlementReceived",
2005
+ "metadataTypeId": 40,
2006
+ "components": [
2007
+ {
2008
+ "name": "account",
2009
+ "typeId": 55
2010
+ },
2011
+ {
2012
+ "name": "session_id",
2013
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2014
+ },
2015
+ {
2016
+ "name": "asset_id",
2017
+ "typeId": 54
2018
+ },
2019
+ {
2020
+ "name": "amount",
2021
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2022
+ },
2023
+ {
2024
+ "name": "received_total",
2025
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2026
+ },
2027
+ {
2028
+ "name": "timestamp",
2029
+ "typeId": 56
2030
+ }
2031
+ ]
2032
+ },
2033
+ {
2034
+ "type": "struct contract_schema::prop_margin_pool::TicketSettled",
2035
+ "metadataTypeId": 41,
2036
+ "components": [
2037
+ {
2038
+ "name": "account",
2039
+ "typeId": 55
2040
+ },
2041
+ {
2042
+ "name": "session_id",
2043
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2044
+ },
2045
+ {
2046
+ "name": "ticket",
2047
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2048
+ },
2049
+ {
2050
+ "name": "to_platform",
2051
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2052
+ },
2053
+ {
2054
+ "name": "absorbed_by_pool",
2055
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2056
+ },
2057
+ {
2058
+ "name": "timestamp",
2059
+ "typeId": 56
2060
+ }
2061
+ ]
2062
+ },
2063
+ {
2064
+ "type": "struct contract_schema::prop_margin_pool::TierBooksAdded",
2065
+ "metadataTypeId": 42,
2066
+ "components": [
2067
+ {
2068
+ "name": "tier_id",
2069
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2070
+ },
2071
+ {
2072
+ "name": "version",
2073
+ "typeId": "d7649d428b9ff33d188ecbf38a7e4d8fd167fa01b2e10fe9a8f9308e52f1d7cc"
2074
+ },
2075
+ {
2076
+ "name": "books",
2077
+ "typeId": 58,
2078
+ "typeArguments": [
2079
+ {
2080
+ "name": "",
2081
+ "typeId": 55
2082
+ }
2083
+ ]
2084
+ },
2085
+ {
2086
+ "name": "new_assets",
2087
+ "typeId": 58,
2088
+ "typeArguments": [
2089
+ {
2090
+ "name": "",
2091
+ "typeId": 54
2092
+ }
2093
+ ]
2094
+ },
2095
+ {
2096
+ "name": "timestamp",
2097
+ "typeId": 56
2098
+ }
2099
+ ]
2100
+ },
2101
+ {
2102
+ "type": "struct contract_schema::prop_margin_pool::TierEnabledChanged",
2103
+ "metadataTypeId": 43,
2104
+ "components": [
2105
+ {
2106
+ "name": "tier_id",
2107
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2108
+ },
2109
+ {
2110
+ "name": "enabled",
2111
+ "typeId": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903"
2112
+ },
2113
+ {
2114
+ "name": "timestamp",
2115
+ "typeId": 56
2116
+ }
2117
+ ]
2118
+ },
2119
+ {
2120
+ "type": "struct contract_schema::prop_margin_pool::TierParams",
2121
+ "metadataTypeId": 44,
2122
+ "components": [
2123
+ {
2124
+ "name": "line",
2125
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2126
+ },
2127
+ {
2128
+ "name": "leverage",
2129
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2130
+ },
2131
+ {
2132
+ "name": "duration",
2133
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2134
+ },
2135
+ {
2136
+ "name": "maintenance_bps",
2137
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2138
+ },
2139
+ {
2140
+ "name": "open_buffer_bps",
2141
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2142
+ },
2143
+ {
2144
+ "name": "liq_price_factor",
2145
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2146
+ },
2147
+ {
2148
+ "name": "prolong_fee",
2149
+ "typeId": 2
2150
+ },
2151
+ {
2152
+ "name": "max_credit_line_bps",
2153
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2154
+ },
2155
+ {
2156
+ "name": "max_price_age",
2157
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2158
+ },
2159
+ {
2160
+ "name": "open_fee",
2161
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2162
+ },
2163
+ {
2164
+ "name": "profit_share_bps",
2165
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2166
+ },
2167
+ {
2168
+ "name": "price_band_bps",
2169
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2170
+ }
2171
+ ]
2172
+ },
2173
+ {
2174
+ "type": "struct contract_schema::prop_margin_pool::TierVersionPublished",
2175
+ "metadataTypeId": 45,
2176
+ "components": [
2177
+ {
2178
+ "name": "tier_id",
2179
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2180
+ },
2181
+ {
2182
+ "name": "version",
2183
+ "typeId": "d7649d428b9ff33d188ecbf38a7e4d8fd167fa01b2e10fe9a8f9308e52f1d7cc"
2184
+ },
2185
+ {
2186
+ "name": "params",
2187
+ "typeId": 44
2188
+ },
2189
+ {
2190
+ "name": "required_collateral",
2191
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2192
+ },
2193
+ {
2194
+ "name": "k",
2195
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2196
+ },
2197
+ {
2198
+ "name": "maintenance",
2199
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2200
+ },
2201
+ {
2202
+ "name": "open_buffer",
2203
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2204
+ },
2205
+ {
2206
+ "name": "threshold_floor",
2207
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2208
+ },
2209
+ {
2210
+ "name": "base_repay_fee_ppm",
2211
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2212
+ },
2213
+ {
2214
+ "name": "prolong_seconds",
2215
+ "typeId": 2
2216
+ },
2217
+ {
2218
+ "name": "auto_prolong_periods",
2219
+ "typeId": 58,
2220
+ "typeArguments": [
2221
+ {
2222
+ "name": "",
2223
+ "typeId": 8
2224
+ }
2225
+ ]
2226
+ },
2227
+ {
2228
+ "name": "books",
2229
+ "typeId": 58,
2230
+ "typeArguments": [
2231
+ {
2232
+ "name": "",
2233
+ "typeId": 55
2234
+ }
2235
+ ]
2236
+ },
2237
+ {
2238
+ "name": "assets",
2239
+ "typeId": 58,
2240
+ "typeArguments": [
2241
+ {
2242
+ "name": "",
2243
+ "typeId": 54
2244
+ }
2245
+ ]
2246
+ },
2247
+ {
2248
+ "name": "timestamp",
2249
+ "typeId": 56
2250
+ }
2251
+ ]
2252
+ },
2253
+ {
2254
+ "type": "struct contract_schema::prop_margin_pool::TierVersionPublishedV2",
2255
+ "metadataTypeId": 46,
2256
+ "components": [
2257
+ {
2258
+ "name": "tier_id",
2259
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2260
+ },
2261
+ {
2262
+ "name": "version",
2263
+ "typeId": "d7649d428b9ff33d188ecbf38a7e4d8fd167fa01b2e10fe9a8f9308e52f1d7cc"
2264
+ },
2265
+ {
2266
+ "name": "params",
2267
+ "typeId": 44
2268
+ },
2269
+ {
2270
+ "name": "terms",
2271
+ "typeId": 47
2272
+ },
2273
+ {
2274
+ "name": "required_collateral",
2275
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2276
+ },
2277
+ {
2278
+ "name": "k",
2279
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2280
+ },
2281
+ {
2282
+ "name": "maintenance",
2283
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2284
+ },
2285
+ {
2286
+ "name": "open_buffer",
2287
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2288
+ },
2289
+ {
2290
+ "name": "threshold_floor",
2291
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2292
+ },
2293
+ {
2294
+ "name": "base_repay_fee_ppm",
2295
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2296
+ },
2297
+ {
2298
+ "name": "term_seconds",
2299
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2300
+ },
2301
+ {
2302
+ "name": "rollover_window_seconds",
2303
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2304
+ },
2305
+ {
2306
+ "name": "books",
2307
+ "typeId": 58,
2308
+ "typeArguments": [
2309
+ {
2310
+ "name": "",
2311
+ "typeId": 55
2312
+ }
2313
+ ]
2314
+ },
2315
+ {
2316
+ "name": "assets",
2317
+ "typeId": 58,
2318
+ "typeArguments": [
2319
+ {
2320
+ "name": "",
2321
+ "typeId": 54
2322
+ }
2323
+ ]
2324
+ },
2325
+ {
2326
+ "name": "timestamp",
2327
+ "typeId": 56
2328
+ }
2329
+ ]
2330
+ },
2331
+ {
2332
+ "type": "struct contract_schema::prop_margin_pool::TurboTerms",
2333
+ "metadataTypeId": 47,
2334
+ "components": [
2335
+ {
2336
+ "name": "max_loss_bps",
2337
+ "typeId": 2
2338
+ },
2339
+ {
2340
+ "name": "rollover_profit_bps",
2341
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2342
+ },
2343
+ {
2344
+ "name": "max_rollovers",
2345
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2346
+ }
2347
+ ]
2348
+ },
2349
+ {
2350
+ "type": "struct contract_schema::prop_margin_pool::UserDiscount",
2351
+ "metadataTypeId": 48,
2352
+ "components": [
2353
+ {
2354
+ "name": "discount_bps",
2355
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2356
+ },
2357
+ {
2358
+ "name": "scope",
2359
+ "typeId": 4
2360
+ }
2361
+ ]
2362
+ },
2363
+ {
2364
+ "type": "struct contract_schema::prop_margin_pool::UserDiscountChanged",
2365
+ "metadataTypeId": 49,
2366
+ "components": [
2367
+ {
2368
+ "name": "user",
2369
+ "typeId": 9
2370
+ },
2371
+ {
2372
+ "name": "tier_id",
2373
+ "typeId": 10,
2374
+ "typeArguments": [
2375
+ {
2376
+ "name": "",
2377
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2378
+ }
2379
+ ]
2380
+ },
2381
+ {
2382
+ "name": "discount",
2383
+ "typeId": 10,
2384
+ "typeArguments": [
2385
+ {
2386
+ "name": "",
2387
+ "typeId": 48
2388
+ }
2389
+ ]
2390
+ },
2391
+ {
2392
+ "name": "timestamp",
2393
+ "typeId": 56
2394
+ }
2395
+ ]
2396
+ },
2397
+ {
2398
+ "type": "struct contract_schema::prop_margin_pool::UserDiscountsRemoved",
2399
+ "metadataTypeId": 50,
2400
+ "components": [
2401
+ {
2402
+ "name": "user",
2403
+ "typeId": 9
2404
+ },
2405
+ {
2406
+ "name": "tier_id",
2407
+ "typeId": 10,
2408
+ "typeArguments": [
2409
+ {
2410
+ "name": "",
2411
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2412
+ }
2413
+ ]
2414
+ },
2415
+ {
2416
+ "name": "removed",
2417
+ "typeId": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903"
2418
+ },
2419
+ {
2420
+ "name": "timestamp",
2421
+ "typeId": 56
2422
+ }
2423
+ ]
2424
+ },
2425
+ {
2426
+ "type": "struct pausable::events::PauseEvent",
2427
+ "metadataTypeId": 51,
2428
+ "components": [
2429
+ {
2430
+ "name": "caller",
2431
+ "typeId": 9
2432
+ }
2433
+ ]
2434
+ },
2435
+ {
2436
+ "type": "struct pausable::events::UnpauseEvent",
2437
+ "metadataTypeId": 52,
2438
+ "components": [
2439
+ {
2440
+ "name": "caller",
2441
+ "typeId": 9
2442
+ }
2443
+ ]
2444
+ },
2445
+ {
2446
+ "type": "struct std::address::Address",
2447
+ "metadataTypeId": 53,
2448
+ "components": [
2449
+ {
2450
+ "name": "bits",
2451
+ "typeId": 3
2452
+ }
2453
+ ]
2454
+ },
2455
+ {
2456
+ "type": "struct std::asset_id::AssetId",
2457
+ "metadataTypeId": 54,
2458
+ "components": [
2459
+ {
2460
+ "name": "bits",
2461
+ "typeId": 3
2462
+ }
2463
+ ]
2464
+ },
2465
+ {
2466
+ "type": "struct std::contract_id::ContractId",
2467
+ "metadataTypeId": 55,
2468
+ "components": [
2469
+ {
2470
+ "name": "bits",
2471
+ "typeId": 3
2472
+ }
2473
+ ]
2474
+ },
2475
+ {
2476
+ "type": "struct std::time::Time",
2477
+ "metadataTypeId": 56,
2478
+ "components": [
2479
+ {
2480
+ "name": "unix",
2481
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2482
+ }
2483
+ ]
2484
+ },
2485
+ {
2486
+ "type": "struct std::vec::RawVec",
2487
+ "metadataTypeId": 57,
2488
+ "components": [
2489
+ {
2490
+ "name": "ptr",
2491
+ "typeId": 12
2492
+ },
2493
+ {
2494
+ "name": "cap",
2495
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2496
+ }
2497
+ ],
2498
+ "typeParameters": [
2499
+ 11
2500
+ ]
2501
+ },
2502
+ {
2503
+ "type": "struct std::vec::Vec",
2504
+ "metadataTypeId": 58,
2505
+ "components": [
2506
+ {
2507
+ "name": "buf",
2508
+ "typeId": 57,
2509
+ "typeArguments": [
2510
+ {
2511
+ "name": "",
2512
+ "typeId": 11
2513
+ }
2514
+ ]
2515
+ },
2516
+ {
2517
+ "name": "len",
2518
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2519
+ }
2520
+ ],
2521
+ "typeParameters": [
2522
+ 11
2523
+ ]
2524
+ },
2525
+ {
2526
+ "type": "u256",
2527
+ "metadataTypeId": 59
2528
+ }
2529
+ ],
2530
+ "functions": [
2531
+ {
2532
+ "name": "collateral_asset",
2533
+ "inputs": [],
2534
+ "output": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974",
2535
+ "attributes": null
2536
+ },
2537
+ {
2538
+ "name": "collateral_decimals",
2539
+ "inputs": [],
2540
+ "output": "c89951a24c6ca28c13fd1cfdc646b2b656d69e61a92b91023be7eb58eb914b6b",
2541
+ "attributes": null
2542
+ },
2543
+ {
2544
+ "name": "current_tier_version",
2545
+ "inputs": [
2546
+ {
2547
+ "name": "tier_id",
2548
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2549
+ }
2550
+ ],
2551
+ "output": "97a75a6d6e892f11f5032fa516e39675b76377c3313d64f465a2c77c34a9e600",
2552
+ "attributes": [
2553
+ {
2554
+ "name": "storage",
2555
+ "arguments": [
2556
+ "read"
2557
+ ]
2558
+ }
2559
+ ]
2560
+ },
2561
+ {
2562
+ "name": "emit_asset_borrowed",
2563
+ "inputs": [
2564
+ {
2565
+ "name": "event",
2566
+ "concreteTypeId": "1431d9859308f8805c398656c37808f1e757e0b0b069aba1bc265a07da382c17"
2567
+ }
2568
+ ],
2569
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
2570
+ "attributes": null
2571
+ },
2572
+ {
2573
+ "name": "emit_asset_repaid",
2574
+ "inputs": [
2575
+ {
2576
+ "name": "event",
2577
+ "concreteTypeId": "d082548fb769148507c3eb36d4f039e87c91a6947dd3da299d9e4246d4aff634"
2578
+ }
2579
+ ],
2580
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
2581
+ "attributes": null
2582
+ },
2583
+ {
2584
+ "name": "emit_auto_prolong_changed",
2585
+ "inputs": [
2586
+ {
2587
+ "name": "event",
2588
+ "concreteTypeId": "a71429860ed4d4d35c22389c7dfc759df9df29f0fd2f7e9a3995d9ba2b781b53"
2589
+ }
2590
+ ],
2591
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
2592
+ "attributes": null
2593
+ },
2594
+ {
2595
+ "name": "emit_base_debt_repaid_from_collateral",
2596
+ "inputs": [
2597
+ {
2598
+ "name": "event",
2599
+ "concreteTypeId": "e6d4c74d0399c142f512c0821bc8c248c9d7b9f0d370d9b1eeac6dad489c0e75"
2600
+ }
2601
+ ],
2602
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
2603
+ "attributes": null
2604
+ },
2605
+ {
2606
+ "name": "emit_collateral_added",
2607
+ "inputs": [
2608
+ {
2609
+ "name": "event",
2610
+ "concreteTypeId": "8e08bf4c13001c457482f0c101352759061dec92b19e63119adff05072f82f78"
2611
+ }
2612
+ ],
2613
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
2614
+ "attributes": null
2615
+ },
2616
+ {
2617
+ "name": "emit_liquidator_changed",
2618
+ "inputs": [
2619
+ {
2620
+ "name": "event",
2621
+ "concreteTypeId": "618e7c2bba5913f8756a2b64655023f57316dcf59752e837bd0cd2dbfae7f0f0"
2622
+ }
2623
+ ],
2624
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
2625
+ "attributes": null
2626
+ },
2627
+ {
2628
+ "name": "emit_margin_withdrawn",
2629
+ "inputs": [
2630
+ {
2631
+ "name": "event",
2632
+ "concreteTypeId": "fcf040889d4a874f96876407c70c5777ff94880dd884e10a90ad454ee2386e76"
2633
+ }
2634
+ ],
2635
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
2636
+ "attributes": null
2637
+ },
2638
+ {
2639
+ "name": "emit_pause_changed",
2640
+ "inputs": [
2641
+ {
2642
+ "name": "event",
2643
+ "concreteTypeId": "5147b54d46333ff70e73dcbb1dd2645b353ed91b3ee802589a064033720b8db6"
2644
+ }
2645
+ ],
2646
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
2647
+ "attributes": null
2648
+ },
2649
+ {
2650
+ "name": "emit_pause_event",
2651
+ "inputs": [],
2652
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
2653
+ "attributes": null
2654
+ },
2655
+ {
2656
+ "name": "emit_platform_payout_changed",
2657
+ "inputs": [
2658
+ {
2659
+ "name": "event",
2660
+ "concreteTypeId": "bd3532151a41784e9f20402e1f532a784483d642628fc0f4bd77316d236e076a"
2661
+ }
2662
+ ],
2663
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
2664
+ "attributes": null
2665
+ },
2666
+ {
2667
+ "name": "emit_price_feed_changed",
2668
+ "inputs": [
2669
+ {
2670
+ "name": "event",
2671
+ "concreteTypeId": "e67ef99435be97bc9449c82c1b336087fb2229d27680e02e934dc0ac6ce38d86"
2672
+ }
2673
+ ],
2674
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
2675
+ "attributes": null
2676
+ },
2677
+ {
2678
+ "name": "emit_quote_drawn",
2679
+ "inputs": [
2680
+ {
2681
+ "name": "event",
2682
+ "concreteTypeId": "cef652777e5883399519b5f2ddeb264e106de9bca7b86f50bc64302a29451ba8"
2683
+ }
2684
+ ],
2685
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
2686
+ "attributes": null
2687
+ },
2688
+ {
2689
+ "name": "emit_quote_repaid_from_collateral",
2690
+ "inputs": [
2691
+ {
2692
+ "name": "event",
2693
+ "concreteTypeId": "a07d395e4ed24d99e538ba7eaea20f99806a77c4bd9f4ac6c1488f9ccf349ef1"
2694
+ }
2695
+ ],
2696
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
2697
+ "attributes": null
2698
+ },
2699
+ {
2700
+ "name": "emit_quote_returned",
2701
+ "inputs": [
2702
+ {
2703
+ "name": "event",
2704
+ "concreteTypeId": "2442d47c55be4962ca0763d3e24b3082641f3085e2be89002e423fbdac520a49"
2705
+ }
2706
+ ],
2707
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
2708
+ "attributes": null
2709
+ },
2710
+ {
2711
+ "name": "emit_registry_changed",
2712
+ "inputs": [
2713
+ {
2714
+ "name": "event",
2715
+ "concreteTypeId": "3ddfdcaffa09121b072ff8f41a532d2156bb23e8309acd9aa56aac205a2b90b2"
2716
+ }
2717
+ ],
2718
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
2719
+ "attributes": null
2720
+ },
2721
+ {
2722
+ "name": "emit_role_granted",
2723
+ "inputs": [
2724
+ {
2725
+ "name": "event",
2726
+ "concreteTypeId": "564661938244954c8836434b2cf26c3495e0538f78f281fc531f82003ef55d42"
2727
+ }
2728
+ ],
2729
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
2730
+ "attributes": null
2731
+ },
2732
+ {
2733
+ "name": "emit_role_revoked",
2734
+ "inputs": [
2735
+ {
2736
+ "name": "event",
2737
+ "concreteTypeId": "e3693daf8fe6223e6a97667025b9fc906b02ca79ea87b1376058b0be52c7778d"
2738
+ }
2739
+ ],
2740
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
2741
+ "attributes": null
2742
+ },
2743
+ {
2744
+ "name": "emit_rollover_withdrawal_recorded",
2745
+ "inputs": [
2746
+ {
2747
+ "name": "event",
2748
+ "concreteTypeId": "532c88bac26c85742e65ccb7d37979e658775f3c621544ce2b8f206d584af8af"
2749
+ }
2750
+ ],
2751
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
2752
+ "attributes": null
2753
+ },
2754
+ {
2755
+ "name": "emit_session_closed",
2756
+ "inputs": [
2757
+ {
2758
+ "name": "event",
2759
+ "concreteTypeId": "88ed44ff45a8906c6beefd3c81c9859ead9f36aac2e9b06912a7ae83cbb0628c"
2760
+ }
2761
+ ],
2762
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
2763
+ "attributes": null
2764
+ },
2765
+ {
2766
+ "name": "emit_session_opened",
2767
+ "inputs": [
2768
+ {
2769
+ "name": "event",
2770
+ "concreteTypeId": "85946d12004e9132da992025dfcf846ed2fa2d4e13b6cf0100466afa470cd67f"
2771
+ }
2772
+ ],
2773
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
2774
+ "attributes": null
2775
+ },
2776
+ {
2777
+ "name": "emit_session_prolonged",
2778
+ "inputs": [
2779
+ {
2780
+ "name": "event",
2781
+ "concreteTypeId": "93da234a5a59539605b94f98140ee3d7586ad3cbc4ce4693c2f71fadf8638318"
2782
+ }
2783
+ ],
2784
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
2785
+ "attributes": null
2786
+ },
2787
+ {
2788
+ "name": "emit_session_rolled_over",
2789
+ "inputs": [
2790
+ {
2791
+ "name": "event",
2792
+ "concreteTypeId": "f4feec76a5c2233e9e68afb7eb61f8ab3892b44014a18c6a25174917e7bf8810"
2793
+ }
2794
+ ],
2795
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
2796
+ "attributes": null
2797
+ },
2798
+ {
2799
+ "name": "emit_session_seized",
2800
+ "inputs": [
2801
+ {
2802
+ "name": "event",
2803
+ "concreteTypeId": "d75508c0fe58a3bbf57a29d9387119c6238c8bf50f81b4a1f7a7d90b2b0b010a"
2804
+ }
2805
+ ],
2806
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
2807
+ "attributes": null
2808
+ },
2809
+ {
2810
+ "name": "emit_settlement_received",
2811
+ "inputs": [
2812
+ {
2813
+ "name": "event",
2814
+ "concreteTypeId": "839ed879b9fda2421ed22145534f8749aa9ffd32c4fe8d6f9d219b9de2fe0d48"
2815
+ }
2816
+ ],
2817
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
2818
+ "attributes": null
2819
+ },
2820
+ {
2821
+ "name": "emit_ticket_settled",
2822
+ "inputs": [
2823
+ {
2824
+ "name": "event",
2825
+ "concreteTypeId": "5c852b3a7f63c0036b492e8bdfff446c35ab6392447eaceab832807a28c07abc"
2826
+ }
2827
+ ],
2828
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
2829
+ "attributes": null
2830
+ },
2831
+ {
2832
+ "name": "emit_tier_books_added",
2833
+ "inputs": [
2834
+ {
2835
+ "name": "event",
2836
+ "concreteTypeId": "71f45659d1da847f7eedb0d56ee56e49eca1073a2b279dd5dcefd6233a5f8c8f"
2837
+ }
2838
+ ],
2839
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
2840
+ "attributes": null
2841
+ },
2842
+ {
2843
+ "name": "emit_tier_enabled_changed",
2844
+ "inputs": [
2845
+ {
2846
+ "name": "event",
2847
+ "concreteTypeId": "460b33d171d0b146e78150be7a9a967e4a5bba2c93bfbb33cc4c20ce7196fa63"
2848
+ }
2849
+ ],
2850
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
2851
+ "attributes": null
2852
+ },
2853
+ {
2854
+ "name": "emit_tier_version_published",
2855
+ "inputs": [
2856
+ {
2857
+ "name": "event",
2858
+ "concreteTypeId": "aaf36b2924b051521d649c120bdfc7bdb461abfb6531a5c37823f2bfcc024174"
2859
+ }
2860
+ ],
2861
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
2862
+ "attributes": null
2863
+ },
2864
+ {
2865
+ "name": "emit_tier_version_published_v2",
2866
+ "inputs": [
2867
+ {
2868
+ "name": "event",
2869
+ "concreteTypeId": "92f323400266b711dc630732cb484cabd5e5e0259d5027a3b8ad3fed4b2f9936"
2870
+ }
2871
+ ],
2872
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
2873
+ "attributes": null
2874
+ },
2875
+ {
2876
+ "name": "emit_unpause_event",
2877
+ "inputs": [],
2878
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
2879
+ "attributes": null
2880
+ },
2881
+ {
2882
+ "name": "emit_user_discount_changed",
2883
+ "inputs": [
2884
+ {
2885
+ "name": "event",
2886
+ "concreteTypeId": "47fa186af0d359d9cc8a9d356bd1a3d0e9d5dabea8bae39bb44f6f0a7b71fc4c"
2887
+ }
2888
+ ],
2889
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
2890
+ "attributes": null
2891
+ },
2892
+ {
2893
+ "name": "emit_user_discounts_removed",
2894
+ "inputs": [
2895
+ {
2896
+ "name": "event",
2897
+ "concreteTypeId": "b783aec11322c063e9d012c4942055569ade8a9493c8f31dd93b030af966938c"
2898
+ }
2899
+ ],
2900
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
2901
+ "attributes": null
2902
+ },
2903
+ {
2904
+ "name": "expiry_cosigner",
2905
+ "inputs": [],
2906
+ "output": "8f44be37f59226eedaa8ba576d6674575f420f34a03f5d452cb9886ef9d38214",
2907
+ "attributes": [
2908
+ {
2909
+ "name": "storage",
2910
+ "arguments": [
2911
+ "read"
2912
+ ]
2913
+ }
2914
+ ]
2915
+ },
2916
+ {
2917
+ "name": "get_asset_decimals",
2918
+ "inputs": [
2919
+ {
2920
+ "name": "asset",
2921
+ "concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974"
2922
+ }
2923
+ ],
2924
+ "output": "2da102c46c7263beeed95818cd7bee801716ba8303dddafdcd0f6c9efda4a0f1",
2925
+ "attributes": [
2926
+ {
2927
+ "name": "storage",
2928
+ "arguments": [
2929
+ "read"
2930
+ ]
2931
+ }
2932
+ ]
2933
+ },
2934
+ {
2935
+ "name": "get_assets",
2936
+ "inputs": [
2937
+ {
2938
+ "name": "tier_id",
2939
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2940
+ },
2941
+ {
2942
+ "name": "version",
2943
+ "concreteTypeId": "d7649d428b9ff33d188ecbf38a7e4d8fd167fa01b2e10fe9a8f9308e52f1d7cc"
2944
+ }
2945
+ ],
2946
+ "output": "8b2275934873f381a769c82334e6f66595eeb350d8b2dd012eef4d9bb117942b",
2947
+ "attributes": [
2948
+ {
2949
+ "name": "storage",
2950
+ "arguments": [
2951
+ "read"
2952
+ ]
2953
+ }
2954
+ ]
2955
+ },
2956
+ {
2957
+ "name": "get_bad_debt",
2958
+ "inputs": [],
2959
+ "output": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
2960
+ "attributes": [
2961
+ {
2962
+ "name": "storage",
2963
+ "arguments": [
2964
+ "read"
2965
+ ]
2966
+ }
2967
+ ]
2968
+ },
2969
+ {
2970
+ "name": "get_book_allowed",
2971
+ "inputs": [
2972
+ {
2973
+ "name": "tier_id",
2974
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
2975
+ },
2976
+ {
2977
+ "name": "version",
2978
+ "concreteTypeId": "d7649d428b9ff33d188ecbf38a7e4d8fd167fa01b2e10fe9a8f9308e52f1d7cc"
2979
+ },
2980
+ {
2981
+ "name": "book",
2982
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
2983
+ }
2984
+ ],
2985
+ "output": "160e7964babcf172e41aa29b138f9c2ccfc416ad2368dabdbdf877ec5de5503f",
2986
+ "attributes": [
2987
+ {
2988
+ "name": "storage",
2989
+ "arguments": [
2990
+ "read"
2991
+ ]
2992
+ }
2993
+ ]
2994
+ },
2995
+ {
2996
+ "name": "get_book_metadata",
2997
+ "inputs": [
2998
+ {
2999
+ "name": "book",
3000
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
3001
+ }
3002
+ ],
3003
+ "output": "4489629dddf7343e4b79548dfe4aa7f8e28d85a094bf4850ee585f79320fcade",
3004
+ "attributes": [
3005
+ {
3006
+ "name": "storage",
3007
+ "arguments": [
3008
+ "read"
3009
+ ]
3010
+ }
3011
+ ]
3012
+ },
3013
+ {
3014
+ "name": "get_books",
3015
+ "inputs": [
3016
+ {
3017
+ "name": "tier_id",
3018
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
3019
+ },
3020
+ {
3021
+ "name": "version",
3022
+ "concreteTypeId": "d7649d428b9ff33d188ecbf38a7e4d8fd167fa01b2e10fe9a8f9308e52f1d7cc"
3023
+ }
3024
+ ],
3025
+ "output": "b8ca7626a08e8fb93379b5d9d58d8a12eede8de9f087bfa21feccca44f92e211",
3026
+ "attributes": [
3027
+ {
3028
+ "name": "storage",
3029
+ "arguments": [
3030
+ "read"
3031
+ ]
3032
+ }
3033
+ ]
3034
+ },
3035
+ {
3036
+ "name": "get_current_version",
3037
+ "inputs": [
3038
+ {
3039
+ "name": "tier_id",
3040
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
3041
+ }
3042
+ ],
3043
+ "output": "97a75a6d6e892f11f5032fa516e39675b76377c3313d64f465a2c77c34a9e600",
3044
+ "attributes": [
3045
+ {
3046
+ "name": "storage",
3047
+ "arguments": [
3048
+ "read"
3049
+ ]
3050
+ }
3051
+ ]
3052
+ },
3053
+ {
3054
+ "name": "get_debt",
3055
+ "inputs": [
3056
+ {
3057
+ "name": "account",
3058
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
3059
+ },
3060
+ {
3061
+ "name": "asset",
3062
+ "concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974"
3063
+ }
3064
+ ],
3065
+ "output": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
3066
+ "attributes": [
3067
+ {
3068
+ "name": "storage",
3069
+ "arguments": [
3070
+ "read"
3071
+ ]
3072
+ }
3073
+ ]
3074
+ },
3075
+ {
3076
+ "name": "get_debt_assets",
3077
+ "inputs": [
3078
+ {
3079
+ "name": "account",
3080
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
3081
+ },
3082
+ {
3083
+ "name": "session_id",
3084
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
3085
+ }
3086
+ ],
3087
+ "output": "8b2275934873f381a769c82334e6f66595eeb350d8b2dd012eef4d9bb117942b",
3088
+ "attributes": [
3089
+ {
3090
+ "name": "storage",
3091
+ "arguments": [
3092
+ "read"
3093
+ ]
3094
+ }
3095
+ ]
3096
+ },
3097
+ {
3098
+ "name": "get_expiry_cosigner",
3099
+ "inputs": [],
3100
+ "output": "8f44be37f59226eedaa8ba576d6674575f420f34a03f5d452cb9886ef9d38214",
3101
+ "attributes": [
3102
+ {
3103
+ "name": "storage",
3104
+ "arguments": [
3105
+ "read"
3106
+ ]
3107
+ }
3108
+ ]
3109
+ },
3110
+ {
3111
+ "name": "get_initialized",
3112
+ "inputs": [],
3113
+ "output": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903",
3114
+ "attributes": [
3115
+ {
3116
+ "name": "storage",
3117
+ "arguments": [
3118
+ "read"
3119
+ ]
3120
+ }
3121
+ ]
3122
+ },
3123
+ {
3124
+ "name": "get_liquidator",
3125
+ "inputs": [],
3126
+ "output": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335",
3127
+ "attributes": [
3128
+ {
3129
+ "name": "storage",
3130
+ "arguments": [
3131
+ "read"
3132
+ ]
3133
+ }
3134
+ ]
3135
+ },
3136
+ {
3137
+ "name": "get_next_session_id",
3138
+ "inputs": [
3139
+ {
3140
+ "name": "account",
3141
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
3142
+ }
3143
+ ],
3144
+ "output": "d852149004cc9ec0bbe7dc4e37bffea1d41469b759512b6136f2e865a4c06e7d",
3145
+ "attributes": [
3146
+ {
3147
+ "name": "storage",
3148
+ "arguments": [
3149
+ "read"
3150
+ ]
3151
+ }
3152
+ ]
3153
+ },
3154
+ {
3155
+ "name": "get_platform_payout",
3156
+ "inputs": [],
3157
+ "output": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335",
3158
+ "attributes": [
3159
+ {
3160
+ "name": "storage",
3161
+ "arguments": [
3162
+ "read"
3163
+ ]
3164
+ }
3165
+ ]
3166
+ },
3167
+ {
3168
+ "name": "get_price_feed",
3169
+ "inputs": [],
3170
+ "output": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54",
3171
+ "attributes": [
3172
+ {
3173
+ "name": "storage",
3174
+ "arguments": [
3175
+ "read"
3176
+ ]
3177
+ }
3178
+ ]
3179
+ },
3180
+ {
3181
+ "name": "get_priced_assets",
3182
+ "inputs": [],
3183
+ "output": "8b2275934873f381a769c82334e6f66595eeb350d8b2dd012eef4d9bb117942b",
3184
+ "attributes": [
3185
+ {
3186
+ "name": "storage",
3187
+ "arguments": [
3188
+ "read"
3189
+ ]
3190
+ }
3191
+ ]
3192
+ },
3193
+ {
3194
+ "name": "get_received",
3195
+ "inputs": [
3196
+ {
3197
+ "name": "account",
3198
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
3199
+ },
3200
+ {
3201
+ "name": "session_id",
3202
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
3203
+ },
3204
+ {
3205
+ "name": "asset",
3206
+ "concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974"
3207
+ }
3208
+ ],
3209
+ "output": "d852149004cc9ec0bbe7dc4e37bffea1d41469b759512b6136f2e865a4c06e7d",
3210
+ "attributes": [
3211
+ {
3212
+ "name": "storage",
3213
+ "arguments": [
3214
+ "read"
3215
+ ]
3216
+ }
3217
+ ]
3218
+ },
3219
+ {
3220
+ "name": "get_registry",
3221
+ "inputs": [],
3222
+ "output": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54",
3223
+ "attributes": [
3224
+ {
3225
+ "name": "storage",
3226
+ "arguments": [
3227
+ "read"
3228
+ ]
3229
+ }
3230
+ ]
3231
+ },
3232
+ {
3233
+ "name": "get_rollover",
3234
+ "inputs": [
3235
+ {
3236
+ "name": "account",
3237
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
3238
+ }
3239
+ ],
3240
+ "output": "a6854c8e9915d523bdcbd5cc374fe6fb04b9107f327d1472d43ef86e40062d58",
3241
+ "attributes": [
3242
+ {
3243
+ "name": "storage",
3244
+ "arguments": [
3245
+ "read"
3246
+ ]
3247
+ }
3248
+ ]
3249
+ },
3250
+ {
3251
+ "name": "get_rollover_state",
3252
+ "inputs": [
3253
+ {
3254
+ "name": "account",
3255
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
3256
+ }
3257
+ ],
3258
+ "output": "9e79472c826fc6f41fad8910d46a1ba9797fb4f292c7b78f55d499f910c57642",
3259
+ "attributes": [
3260
+ {
3261
+ "name": "storage",
3262
+ "arguments": [
3263
+ "read"
3264
+ ]
3265
+ }
3266
+ ]
3267
+ },
3268
+ {
3269
+ "name": "get_session",
3270
+ "inputs": [
3271
+ {
3272
+ "name": "account",
3273
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
3274
+ }
3275
+ ],
3276
+ "output": "195f12aebd477c4d6feffbc37a5108db8c87f8860b5963983477413399ea2c1e",
3277
+ "attributes": [
3278
+ {
3279
+ "name": "storage",
3280
+ "arguments": [
3281
+ "read"
3282
+ ]
3283
+ }
3284
+ ]
3285
+ },
3286
+ {
3287
+ "name": "get_session_debt",
3288
+ "inputs": [
3289
+ {
3290
+ "name": "account",
3291
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
3292
+ },
3293
+ {
3294
+ "name": "session_id",
3295
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
3296
+ },
3297
+ {
3298
+ "name": "asset",
3299
+ "concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974"
3300
+ }
3301
+ ],
3302
+ "output": "d852149004cc9ec0bbe7dc4e37bffea1d41469b759512b6136f2e865a4c06e7d",
3303
+ "attributes": [
3304
+ {
3305
+ "name": "storage",
3306
+ "arguments": [
3307
+ "read"
3308
+ ]
3309
+ }
3310
+ ]
3311
+ },
3312
+ {
3313
+ "name": "get_session_state",
3314
+ "inputs": [
3315
+ {
3316
+ "name": "account",
3317
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
3318
+ }
3319
+ ],
3320
+ "output": "10dedb8cec40a875dcc8f606b4117034201c8d7a4fae48a18cdddef1ef4702bf",
3321
+ "attributes": [
3322
+ {
3323
+ "name": "storage",
3324
+ "arguments": [
3325
+ "read"
3326
+ ]
3327
+ }
3328
+ ]
3329
+ },
3330
+ {
3331
+ "name": "get_session_tier",
3332
+ "inputs": [
3333
+ {
3334
+ "name": "account",
3335
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
3336
+ }
3337
+ ],
3338
+ "output": "369b2f702e91ec8e4b173a35812b5877ff2846d0393b2aa0d7560933ef1d3f1a",
3339
+ "attributes": [
3340
+ {
3341
+ "name": "storage",
3342
+ "arguments": [
3343
+ "read"
3344
+ ]
3345
+ }
3346
+ ]
3347
+ },
3348
+ {
3349
+ "name": "get_ticket",
3350
+ "inputs": [
3351
+ {
3352
+ "name": "account",
3353
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
3354
+ }
3355
+ ],
3356
+ "output": "d852149004cc9ec0bbe7dc4e37bffea1d41469b759512b6136f2e865a4c06e7d",
3357
+ "attributes": [
3358
+ {
3359
+ "name": "storage",
3360
+ "arguments": [
3361
+ "read"
3362
+ ]
3363
+ }
3364
+ ]
3365
+ },
3366
+ {
3367
+ "name": "get_tier",
3368
+ "inputs": [
3369
+ {
3370
+ "name": "tier_id",
3371
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
3372
+ },
3373
+ {
3374
+ "name": "version",
3375
+ "concreteTypeId": "d7649d428b9ff33d188ecbf38a7e4d8fd167fa01b2e10fe9a8f9308e52f1d7cc"
3376
+ }
3377
+ ],
3378
+ "output": "656e8386dfb03ba77d21a3068c40f0d5d52c13db62a52a5ceb2d2aa85f0ee0f5",
3379
+ "attributes": [
3380
+ {
3381
+ "name": "storage",
3382
+ "arguments": [
3383
+ "read"
3384
+ ]
3385
+ }
3386
+ ]
3387
+ },
3388
+ {
3389
+ "name": "get_tier_disabled",
3390
+ "inputs": [
3391
+ {
3392
+ "name": "tier_id",
3393
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
3394
+ }
3395
+ ],
3396
+ "output": "160e7964babcf172e41aa29b138f9c2ccfc416ad2368dabdbdf877ec5de5503f",
3397
+ "attributes": [
3398
+ {
3399
+ "name": "storage",
3400
+ "arguments": [
3401
+ "read"
3402
+ ]
3403
+ }
3404
+ ]
3405
+ },
3406
+ {
3407
+ "name": "get_turbo_terms",
3408
+ "inputs": [
3409
+ {
3410
+ "name": "tier_id",
3411
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
3412
+ },
3413
+ {
3414
+ "name": "version",
3415
+ "concreteTypeId": "d7649d428b9ff33d188ecbf38a7e4d8fd167fa01b2e10fe9a8f9308e52f1d7cc"
3416
+ }
3417
+ ],
3418
+ "output": "8c6e5c2bbb6c5d82ce576c05c52e3996f825e3c37c761b81cf40ffc4602ad684",
3419
+ "attributes": [
3420
+ {
3421
+ "name": "storage",
3422
+ "arguments": [
3423
+ "read"
3424
+ ]
3425
+ }
3426
+ ]
3427
+ },
3428
+ {
3429
+ "name": "get_user_discount",
3430
+ "inputs": [
3431
+ {
3432
+ "name": "user",
3433
+ "concreteTypeId": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335"
3434
+ },
3435
+ {
3436
+ "name": "tier_id",
3437
+ "concreteTypeId": "d852149004cc9ec0bbe7dc4e37bffea1d41469b759512b6136f2e865a4c06e7d"
3438
+ }
3439
+ ],
3440
+ "output": "0b936e35080f26fd23fa0fbc9883d7080b504aaa824a8d69eb0217ddbf6176a4",
3441
+ "attributes": [
3442
+ {
3443
+ "name": "storage",
3444
+ "arguments": [
3445
+ "read"
3446
+ ]
3447
+ }
3448
+ ]
3449
+ },
3450
+ {
3451
+ "name": "has_debts",
3452
+ "inputs": [
3453
+ {
3454
+ "name": "account",
3455
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
3456
+ }
3457
+ ],
3458
+ "output": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903",
3459
+ "attributes": [
3460
+ {
3461
+ "name": "storage",
3462
+ "arguments": [
3463
+ "read"
3464
+ ]
3465
+ }
3466
+ ]
3467
+ },
3468
+ {
3469
+ "name": "has_session",
3470
+ "inputs": [
3471
+ {
3472
+ "name": "account",
3473
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
3474
+ }
3475
+ ],
3476
+ "output": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903",
3477
+ "attributes": [
3478
+ {
3479
+ "name": "storage",
3480
+ "arguments": [
3481
+ "read"
3482
+ ]
3483
+ }
3484
+ ]
3485
+ },
3486
+ {
3487
+ "name": "is_call_allowed",
3488
+ "inputs": [
3489
+ {
3490
+ "name": "account",
3491
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
3492
+ },
3493
+ {
3494
+ "name": "target",
3495
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
3496
+ }
3497
+ ],
3498
+ "output": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903",
3499
+ "attributes": [
3500
+ {
3501
+ "name": "storage",
3502
+ "arguments": [
3503
+ "read"
3504
+ ]
3505
+ }
3506
+ ]
3507
+ },
3508
+ {
3509
+ "name": "is_initialized",
3510
+ "inputs": [],
3511
+ "output": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903",
3512
+ "attributes": [
3513
+ {
3514
+ "name": "storage",
3515
+ "arguments": [
3516
+ "read"
3517
+ ]
3518
+ }
3519
+ ]
3520
+ },
3521
+ {
3522
+ "name": "is_tier_enabled",
3523
+ "inputs": [
3524
+ {
3525
+ "name": "tier_id",
3526
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
3527
+ }
3528
+ ],
3529
+ "output": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903",
3530
+ "attributes": [
3531
+ {
3532
+ "name": "storage",
3533
+ "arguments": [
3534
+ "read"
3535
+ ]
3536
+ }
3537
+ ]
3538
+ },
3539
+ {
3540
+ "name": "liquidator",
3541
+ "inputs": [],
3542
+ "output": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335",
3543
+ "attributes": [
3544
+ {
3545
+ "name": "storage",
3546
+ "arguments": [
3547
+ "read"
3548
+ ]
3549
+ }
3550
+ ]
3551
+ },
3552
+ {
3553
+ "name": "max_tier_books",
3554
+ "inputs": [],
3555
+ "output": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
3556
+ "attributes": null
3557
+ },
3558
+ {
3559
+ "name": "platform_payout",
3560
+ "inputs": [],
3561
+ "output": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335",
3562
+ "attributes": [
3563
+ {
3564
+ "name": "storage",
3565
+ "arguments": [
3566
+ "read"
3567
+ ]
3568
+ }
3569
+ ]
3570
+ },
3571
+ {
3572
+ "name": "price_feed",
3573
+ "inputs": [],
3574
+ "output": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54",
3575
+ "attributes": [
3576
+ {
3577
+ "name": "storage",
3578
+ "arguments": [
3579
+ "read"
3580
+ ]
3581
+ }
3582
+ ]
3583
+ },
3584
+ {
3585
+ "name": "registry",
3586
+ "inputs": [],
3587
+ "output": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54",
3588
+ "attributes": [
3589
+ {
3590
+ "name": "storage",
3591
+ "arguments": [
3592
+ "read"
3593
+ ]
3594
+ }
3595
+ ]
3596
+ },
3597
+ {
3598
+ "name": "remove_asset_decimals",
3599
+ "inputs": [
3600
+ {
3601
+ "name": "asset",
3602
+ "concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974"
3603
+ }
3604
+ ],
3605
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
3606
+ "attributes": [
3607
+ {
3608
+ "name": "storage",
3609
+ "arguments": [
3610
+ "write"
3611
+ ]
3612
+ }
3613
+ ]
3614
+ },
3615
+ {
3616
+ "name": "remove_book_allowed",
3617
+ "inputs": [
3618
+ {
3619
+ "name": "tier_id",
3620
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
3621
+ },
3622
+ {
3623
+ "name": "version",
3624
+ "concreteTypeId": "d7649d428b9ff33d188ecbf38a7e4d8fd167fa01b2e10fe9a8f9308e52f1d7cc"
3625
+ },
3626
+ {
3627
+ "name": "book",
3628
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
3629
+ }
3630
+ ],
3631
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
3632
+ "attributes": [
3633
+ {
3634
+ "name": "storage",
3635
+ "arguments": [
3636
+ "write"
3637
+ ]
3638
+ }
3639
+ ]
3640
+ },
3641
+ {
3642
+ "name": "remove_book_metadata",
3643
+ "inputs": [
3644
+ {
3645
+ "name": "book",
3646
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
3647
+ }
3648
+ ],
3649
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
3650
+ "attributes": [
3651
+ {
3652
+ "name": "storage",
3653
+ "arguments": [
3654
+ "write"
3655
+ ]
3656
+ }
3657
+ ]
3658
+ },
3659
+ {
3660
+ "name": "remove_current_version",
3661
+ "inputs": [
3662
+ {
3663
+ "name": "tier_id",
3664
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
3665
+ }
3666
+ ],
3667
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
3668
+ "attributes": [
3669
+ {
3670
+ "name": "storage",
3671
+ "arguments": [
3672
+ "write"
3673
+ ]
3674
+ }
3675
+ ]
3676
+ },
3677
+ {
3678
+ "name": "remove_debt",
3679
+ "inputs": [
3680
+ {
3681
+ "name": "account",
3682
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
3683
+ },
3684
+ {
3685
+ "name": "session_id",
3686
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
3687
+ },
3688
+ {
3689
+ "name": "asset",
3690
+ "concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974"
3691
+ }
3692
+ ],
3693
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
3694
+ "attributes": [
3695
+ {
3696
+ "name": "storage",
3697
+ "arguments": [
3698
+ "read",
3699
+ "write"
3700
+ ]
3701
+ }
3702
+ ]
3703
+ },
3704
+ {
3705
+ "name": "remove_expiry_cosigner",
3706
+ "inputs": [],
3707
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
3708
+ "attributes": [
3709
+ {
3710
+ "name": "storage",
3711
+ "arguments": [
3712
+ "write"
3713
+ ]
3714
+ }
3715
+ ]
3716
+ },
3717
+ {
3718
+ "name": "remove_next_session_id",
3719
+ "inputs": [
3720
+ {
3721
+ "name": "account",
3722
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
3723
+ }
3724
+ ],
3725
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
3726
+ "attributes": [
3727
+ {
3728
+ "name": "storage",
3729
+ "arguments": [
3730
+ "write"
3731
+ ]
3732
+ }
3733
+ ]
3734
+ },
3735
+ {
3736
+ "name": "remove_received",
3737
+ "inputs": [
3738
+ {
3739
+ "name": "account",
3740
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
3741
+ },
3742
+ {
3743
+ "name": "session_id",
3744
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
3745
+ },
3746
+ {
3747
+ "name": "asset",
3748
+ "concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974"
3749
+ }
3750
+ ],
3751
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
3752
+ "attributes": [
3753
+ {
3754
+ "name": "storage",
3755
+ "arguments": [
3756
+ "write"
3757
+ ]
3758
+ }
3759
+ ]
3760
+ },
3761
+ {
3762
+ "name": "remove_rollover_state",
3763
+ "inputs": [
3764
+ {
3765
+ "name": "account",
3766
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
3767
+ }
3768
+ ],
3769
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
3770
+ "attributes": [
3771
+ {
3772
+ "name": "storage",
3773
+ "arguments": [
3774
+ "write"
3775
+ ]
3776
+ }
3777
+ ]
3778
+ },
3779
+ {
3780
+ "name": "remove_session",
3781
+ "inputs": [
3782
+ {
3783
+ "name": "account",
3784
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
3785
+ }
3786
+ ],
3787
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
3788
+ "attributes": [
3789
+ {
3790
+ "name": "storage",
3791
+ "arguments": [
3792
+ "write"
3793
+ ]
3794
+ }
3795
+ ]
3796
+ },
3797
+ {
3798
+ "name": "remove_session_tier",
3799
+ "inputs": [
3800
+ {
3801
+ "name": "account",
3802
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
3803
+ }
3804
+ ],
3805
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
3806
+ "attributes": [
3807
+ {
3808
+ "name": "storage",
3809
+ "arguments": [
3810
+ "write"
3811
+ ]
3812
+ }
3813
+ ]
3814
+ },
3815
+ {
3816
+ "name": "remove_ticket",
3817
+ "inputs": [
3818
+ {
3819
+ "name": "account",
3820
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
3821
+ }
3822
+ ],
3823
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
3824
+ "attributes": [
3825
+ {
3826
+ "name": "storage",
3827
+ "arguments": [
3828
+ "write"
3829
+ ]
3830
+ }
3831
+ ]
3832
+ },
3833
+ {
3834
+ "name": "remove_tier",
3835
+ "inputs": [
3836
+ {
3837
+ "name": "tier_id",
3838
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
3839
+ },
3840
+ {
3841
+ "name": "version",
3842
+ "concreteTypeId": "d7649d428b9ff33d188ecbf38a7e4d8fd167fa01b2e10fe9a8f9308e52f1d7cc"
3843
+ }
3844
+ ],
3845
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
3846
+ "attributes": [
3847
+ {
3848
+ "name": "storage",
3849
+ "arguments": [
3850
+ "write"
3851
+ ]
3852
+ }
3853
+ ]
3854
+ },
3855
+ {
3856
+ "name": "remove_tier_disabled",
3857
+ "inputs": [
3858
+ {
3859
+ "name": "tier_id",
3860
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
3861
+ }
3862
+ ],
3863
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
3864
+ "attributes": [
3865
+ {
3866
+ "name": "storage",
3867
+ "arguments": [
3868
+ "write"
3869
+ ]
3870
+ }
3871
+ ]
3872
+ },
3873
+ {
3874
+ "name": "remove_turbo_terms",
3875
+ "inputs": [
3876
+ {
3877
+ "name": "tier_id",
3878
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
3879
+ },
3880
+ {
3881
+ "name": "version",
3882
+ "concreteTypeId": "d7649d428b9ff33d188ecbf38a7e4d8fd167fa01b2e10fe9a8f9308e52f1d7cc"
3883
+ }
3884
+ ],
3885
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
3886
+ "attributes": [
3887
+ {
3888
+ "name": "storage",
3889
+ "arguments": [
3890
+ "write"
3891
+ ]
3892
+ }
3893
+ ]
3894
+ },
3895
+ {
3896
+ "name": "remove_user_discount",
3897
+ "inputs": [
3898
+ {
3899
+ "name": "user",
3900
+ "concreteTypeId": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335"
3901
+ },
3902
+ {
3903
+ "name": "tier_id",
3904
+ "concreteTypeId": "d852149004cc9ec0bbe7dc4e37bffea1d41469b759512b6136f2e865a4c06e7d"
3905
+ }
3906
+ ],
3907
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
3908
+ "attributes": [
3909
+ {
3910
+ "name": "storage",
3911
+ "arguments": [
3912
+ "write"
3913
+ ]
3914
+ }
3915
+ ]
3916
+ },
3917
+ {
3918
+ "name": "resolve_user_discount",
3919
+ "inputs": [
3920
+ {
3921
+ "name": "user",
3922
+ "concreteTypeId": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335"
3923
+ },
3924
+ {
3925
+ "name": "tier_id",
3926
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
3927
+ }
3928
+ ],
3929
+ "output": "0b936e35080f26fd23fa0fbc9883d7080b504aaa824a8d69eb0217ddbf6176a4",
3930
+ "attributes": [
3931
+ {
3932
+ "name": "storage",
3933
+ "arguments": [
3934
+ "read"
3935
+ ]
3936
+ }
3937
+ ]
3938
+ },
3939
+ {
3940
+ "name": "session_assets",
3941
+ "inputs": [
3942
+ {
3943
+ "name": "account",
3944
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
3945
+ }
3946
+ ],
3947
+ "output": "8b2275934873f381a769c82334e6f66595eeb350d8b2dd012eef4d9bb117942b",
3948
+ "attributes": [
3949
+ {
3950
+ "name": "storage",
3951
+ "arguments": [
3952
+ "read"
3953
+ ]
3954
+ }
3955
+ ]
3956
+ },
3957
+ {
3958
+ "name": "session_books",
3959
+ "inputs": [
3960
+ {
3961
+ "name": "account",
3962
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
3963
+ }
3964
+ ],
3965
+ "output": "b8ca7626a08e8fb93379b5d9d58d8a12eede8de9f087bfa21feccca44f92e211",
3966
+ "attributes": [
3967
+ {
3968
+ "name": "storage",
3969
+ "arguments": [
3970
+ "read"
3971
+ ]
3972
+ }
3973
+ ]
3974
+ },
3975
+ {
3976
+ "name": "session_turbo_terms",
3977
+ "inputs": [
3978
+ {
3979
+ "name": "account",
3980
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
3981
+ }
3982
+ ],
3983
+ "output": "8c6e5c2bbb6c5d82ce576c05c52e3996f825e3c37c761b81cf40ffc4602ad684",
3984
+ "attributes": [
3985
+ {
3986
+ "name": "storage",
3987
+ "arguments": [
3988
+ "read"
3989
+ ]
3990
+ }
3991
+ ]
3992
+ },
3993
+ {
3994
+ "name": "set_account_debt",
3995
+ "inputs": [
3996
+ {
3997
+ "name": "account",
3998
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
3999
+ },
4000
+ {
4001
+ "name": "asset",
4002
+ "concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974"
4003
+ },
4004
+ {
4005
+ "name": "value",
4006
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
4007
+ }
4008
+ ],
4009
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
4010
+ "attributes": [
4011
+ {
4012
+ "name": "storage",
4013
+ "arguments": [
4014
+ "read",
4015
+ "write"
4016
+ ]
4017
+ }
4018
+ ]
4019
+ },
4020
+ {
4021
+ "name": "set_asset_decimals",
4022
+ "inputs": [
4023
+ {
4024
+ "name": "asset",
4025
+ "concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974"
4026
+ },
4027
+ {
4028
+ "name": "value",
4029
+ "concreteTypeId": "c89951a24c6ca28c13fd1cfdc646b2b656d69e61a92b91023be7eb58eb914b6b"
4030
+ }
4031
+ ],
4032
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
4033
+ "attributes": [
4034
+ {
4035
+ "name": "storage",
4036
+ "arguments": [
4037
+ "write"
4038
+ ]
4039
+ }
4040
+ ]
4041
+ },
4042
+ {
4043
+ "name": "set_assets",
4044
+ "inputs": [
4045
+ {
4046
+ "name": "tier_id",
4047
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
4048
+ },
4049
+ {
4050
+ "name": "version",
4051
+ "concreteTypeId": "d7649d428b9ff33d188ecbf38a7e4d8fd167fa01b2e10fe9a8f9308e52f1d7cc"
4052
+ },
4053
+ {
4054
+ "name": "values",
4055
+ "concreteTypeId": "8b2275934873f381a769c82334e6f66595eeb350d8b2dd012eef4d9bb117942b"
4056
+ }
4057
+ ],
4058
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
4059
+ "attributes": [
4060
+ {
4061
+ "name": "storage",
4062
+ "arguments": [
4063
+ "read",
4064
+ "write"
4065
+ ]
4066
+ }
4067
+ ]
4068
+ },
4069
+ {
4070
+ "name": "set_bad_debt",
4071
+ "inputs": [
4072
+ {
4073
+ "name": "value",
4074
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
4075
+ }
4076
+ ],
4077
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
4078
+ "attributes": [
4079
+ {
4080
+ "name": "storage",
4081
+ "arguments": [
4082
+ "write"
4083
+ ]
4084
+ }
4085
+ ]
4086
+ },
4087
+ {
4088
+ "name": "set_book_allowed",
4089
+ "inputs": [
4090
+ {
4091
+ "name": "tier_id",
4092
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
4093
+ },
4094
+ {
4095
+ "name": "version",
4096
+ "concreteTypeId": "d7649d428b9ff33d188ecbf38a7e4d8fd167fa01b2e10fe9a8f9308e52f1d7cc"
4097
+ },
4098
+ {
4099
+ "name": "book",
4100
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
4101
+ },
4102
+ {
4103
+ "name": "value",
4104
+ "concreteTypeId": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903"
4105
+ }
4106
+ ],
4107
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
4108
+ "attributes": [
4109
+ {
4110
+ "name": "storage",
4111
+ "arguments": [
4112
+ "write"
4113
+ ]
4114
+ }
4115
+ ]
4116
+ },
4117
+ {
4118
+ "name": "set_book_metadata",
4119
+ "inputs": [
4120
+ {
4121
+ "name": "book",
4122
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
4123
+ },
4124
+ {
4125
+ "name": "value",
4126
+ "concreteTypeId": "8d3452403d7ba6e9a78afdf64d7a4141adc9b3cf3ab1e808fd664b4e1129d452"
4127
+ }
4128
+ ],
4129
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
4130
+ "attributes": [
4131
+ {
4132
+ "name": "storage",
4133
+ "arguments": [
4134
+ "write"
4135
+ ]
4136
+ }
4137
+ ]
4138
+ },
4139
+ {
4140
+ "name": "set_books",
4141
+ "inputs": [
4142
+ {
4143
+ "name": "tier_id",
4144
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
4145
+ },
4146
+ {
4147
+ "name": "version",
4148
+ "concreteTypeId": "d7649d428b9ff33d188ecbf38a7e4d8fd167fa01b2e10fe9a8f9308e52f1d7cc"
4149
+ },
4150
+ {
4151
+ "name": "values",
4152
+ "concreteTypeId": "b8ca7626a08e8fb93379b5d9d58d8a12eede8de9f087bfa21feccca44f92e211"
4153
+ }
4154
+ ],
4155
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
4156
+ "attributes": [
4157
+ {
4158
+ "name": "storage",
4159
+ "arguments": [
4160
+ "read",
4161
+ "write"
4162
+ ]
4163
+ }
4164
+ ]
4165
+ },
4166
+ {
4167
+ "name": "set_current_version",
4168
+ "inputs": [
4169
+ {
4170
+ "name": "tier_id",
4171
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
4172
+ },
4173
+ {
4174
+ "name": "value",
4175
+ "concreteTypeId": "d7649d428b9ff33d188ecbf38a7e4d8fd167fa01b2e10fe9a8f9308e52f1d7cc"
4176
+ }
4177
+ ],
4178
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
4179
+ "attributes": [
4180
+ {
4181
+ "name": "storage",
4182
+ "arguments": [
4183
+ "write"
4184
+ ]
4185
+ }
4186
+ ]
4187
+ },
4188
+ {
4189
+ "name": "set_debt",
4190
+ "inputs": [
4191
+ {
4192
+ "name": "account",
4193
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
4194
+ },
4195
+ {
4196
+ "name": "session_id",
4197
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
4198
+ },
4199
+ {
4200
+ "name": "asset",
4201
+ "concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974"
4202
+ },
4203
+ {
4204
+ "name": "value",
4205
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
4206
+ }
4207
+ ],
4208
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
4209
+ "attributes": [
4210
+ {
4211
+ "name": "storage",
4212
+ "arguments": [
4213
+ "read",
4214
+ "write"
4215
+ ]
4216
+ }
4217
+ ]
4218
+ },
4219
+ {
4220
+ "name": "set_debt_assets",
4221
+ "inputs": [
4222
+ {
4223
+ "name": "account",
4224
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
4225
+ },
4226
+ {
4227
+ "name": "session_id",
4228
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
4229
+ },
4230
+ {
4231
+ "name": "values",
4232
+ "concreteTypeId": "8b2275934873f381a769c82334e6f66595eeb350d8b2dd012eef4d9bb117942b"
4233
+ }
4234
+ ],
4235
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
4236
+ "attributes": [
4237
+ {
4238
+ "name": "storage",
4239
+ "arguments": [
4240
+ "read",
4241
+ "write"
4242
+ ]
4243
+ }
4244
+ ]
4245
+ },
4246
+ {
4247
+ "name": "set_expiry_cosigner",
4248
+ "inputs": [
4249
+ {
4250
+ "name": "cosigner",
4251
+ "concreteTypeId": "f597b637c3b0f588fb8d7086c6f4735caa3122b85f0423b82e489f9bb58e2308"
4252
+ }
4253
+ ],
4254
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
4255
+ "attributes": [
4256
+ {
4257
+ "name": "storage",
4258
+ "arguments": [
4259
+ "write"
4260
+ ]
4261
+ }
4262
+ ]
4263
+ },
4264
+ {
4265
+ "name": "set_initialized",
4266
+ "inputs": [
4267
+ {
4268
+ "name": "value",
4269
+ "concreteTypeId": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903"
4270
+ }
4271
+ ],
4272
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
4273
+ "attributes": [
4274
+ {
4275
+ "name": "storage",
4276
+ "arguments": [
4277
+ "write"
4278
+ ]
4279
+ }
4280
+ ]
4281
+ },
4282
+ {
4283
+ "name": "set_liquidator",
4284
+ "inputs": [
4285
+ {
4286
+ "name": "value",
4287
+ "concreteTypeId": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335"
4288
+ }
4289
+ ],
4290
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
4291
+ "attributes": [
4292
+ {
4293
+ "name": "storage",
4294
+ "arguments": [
4295
+ "write"
4296
+ ]
4297
+ }
4298
+ ]
4299
+ },
4300
+ {
4301
+ "name": "set_next_session_id",
4302
+ "inputs": [
4303
+ {
4304
+ "name": "account",
4305
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
4306
+ },
4307
+ {
4308
+ "name": "value",
4309
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
4310
+ }
4311
+ ],
4312
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
4313
+ "attributes": [
4314
+ {
4315
+ "name": "storage",
4316
+ "arguments": [
4317
+ "write"
4318
+ ]
4319
+ }
4320
+ ]
4321
+ },
4322
+ {
4323
+ "name": "set_platform_payout",
4324
+ "inputs": [
4325
+ {
4326
+ "name": "value",
4327
+ "concreteTypeId": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335"
4328
+ }
4329
+ ],
4330
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
4331
+ "attributes": [
4332
+ {
4333
+ "name": "storage",
4334
+ "arguments": [
4335
+ "write"
4336
+ ]
4337
+ }
4338
+ ]
4339
+ },
4340
+ {
4341
+ "name": "set_price_feed",
4342
+ "inputs": [
4343
+ {
4344
+ "name": "value",
4345
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
4346
+ }
4347
+ ],
4348
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
4349
+ "attributes": [
4350
+ {
4351
+ "name": "storage",
4352
+ "arguments": [
4353
+ "write"
4354
+ ]
4355
+ }
4356
+ ]
4357
+ },
4358
+ {
4359
+ "name": "set_priced_assets",
4360
+ "inputs": [
4361
+ {
4362
+ "name": "values",
4363
+ "concreteTypeId": "8b2275934873f381a769c82334e6f66595eeb350d8b2dd012eef4d9bb117942b"
4364
+ }
4365
+ ],
4366
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
4367
+ "attributes": [
4368
+ {
4369
+ "name": "storage",
4370
+ "arguments": [
4371
+ "read",
4372
+ "write"
4373
+ ]
4374
+ }
4375
+ ]
4376
+ },
4377
+ {
4378
+ "name": "set_received",
4379
+ "inputs": [
4380
+ {
4381
+ "name": "account",
4382
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
4383
+ },
4384
+ {
4385
+ "name": "session_id",
4386
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
4387
+ },
4388
+ {
4389
+ "name": "asset",
4390
+ "concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974"
4391
+ },
4392
+ {
4393
+ "name": "value",
4394
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
4395
+ }
4396
+ ],
4397
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
4398
+ "attributes": [
4399
+ {
4400
+ "name": "storage",
4401
+ "arguments": [
4402
+ "write"
4403
+ ]
4404
+ }
4405
+ ]
4406
+ },
4407
+ {
4408
+ "name": "set_registry",
4409
+ "inputs": [
4410
+ {
4411
+ "name": "value",
4412
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
4413
+ }
4414
+ ],
4415
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
4416
+ "attributes": [
4417
+ {
4418
+ "name": "storage",
4419
+ "arguments": [
4420
+ "write"
4421
+ ]
4422
+ }
4423
+ ]
4424
+ },
4425
+ {
4426
+ "name": "set_rollover_state",
4427
+ "inputs": [
4428
+ {
4429
+ "name": "account",
4430
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
4431
+ },
4432
+ {
4433
+ "name": "value",
4434
+ "concreteTypeId": "76929f456641345973a0c5a6e149cb0542a3bf1f89b661ff01c76921d00e5ee8"
4435
+ }
4436
+ ],
4437
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
4438
+ "attributes": [
4439
+ {
4440
+ "name": "storage",
4441
+ "arguments": [
4442
+ "write"
4443
+ ]
4444
+ }
4445
+ ]
4446
+ },
4447
+ {
4448
+ "name": "set_session",
4449
+ "inputs": [
4450
+ {
4451
+ "name": "account",
4452
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
4453
+ },
4454
+ {
4455
+ "name": "value",
4456
+ "concreteTypeId": "2bfb7e45c813c3917469daaa6604b3d9d8c42d7e59a2fdd4a02efb9dcc8dba9b"
4457
+ }
4458
+ ],
4459
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
4460
+ "attributes": [
4461
+ {
4462
+ "name": "storage",
4463
+ "arguments": [
4464
+ "read",
4465
+ "write"
4466
+ ]
4467
+ }
4468
+ ]
4469
+ },
4470
+ {
4471
+ "name": "set_session_tier",
4472
+ "inputs": [
4473
+ {
4474
+ "name": "account",
4475
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
4476
+ },
4477
+ {
4478
+ "name": "value",
4479
+ "concreteTypeId": "5372cf4177510985587624f716b8c8dfb38db1e4dc800bf207a0e6263d3de2d1"
4480
+ }
4481
+ ],
4482
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
4483
+ "attributes": [
4484
+ {
4485
+ "name": "storage",
4486
+ "arguments": [
4487
+ "write"
4488
+ ]
4489
+ }
4490
+ ]
4491
+ },
4492
+ {
4493
+ "name": "set_ticket",
4494
+ "inputs": [
4495
+ {
4496
+ "name": "account",
4497
+ "concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
4498
+ },
4499
+ {
4500
+ "name": "value",
4501
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
4502
+ }
4503
+ ],
4504
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
4505
+ "attributes": [
4506
+ {
4507
+ "name": "storage",
4508
+ "arguments": [
4509
+ "write"
4510
+ ]
4511
+ }
4512
+ ]
4513
+ },
4514
+ {
4515
+ "name": "set_tier",
4516
+ "inputs": [
4517
+ {
4518
+ "name": "tier_id",
4519
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
4520
+ },
4521
+ {
4522
+ "name": "version",
4523
+ "concreteTypeId": "d7649d428b9ff33d188ecbf38a7e4d8fd167fa01b2e10fe9a8f9308e52f1d7cc"
4524
+ },
4525
+ {
4526
+ "name": "value",
4527
+ "concreteTypeId": "4514d9f6a6dd0344fb8d6a573f8d4371decb78e70e2a907c9cc7b3c189080841"
4528
+ }
4529
+ ],
4530
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
4531
+ "attributes": [
4532
+ {
4533
+ "name": "storage",
4534
+ "arguments": [
4535
+ "write"
4536
+ ]
4537
+ }
4538
+ ]
4539
+ },
4540
+ {
4541
+ "name": "set_tier_disabled",
4542
+ "inputs": [
4543
+ {
4544
+ "name": "tier_id",
4545
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
4546
+ },
4547
+ {
4548
+ "name": "value",
4549
+ "concreteTypeId": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903"
4550
+ }
4551
+ ],
4552
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
4553
+ "attributes": [
4554
+ {
4555
+ "name": "storage",
4556
+ "arguments": [
4557
+ "write"
4558
+ ]
4559
+ }
4560
+ ]
4561
+ },
4562
+ {
4563
+ "name": "set_tier_enabled",
4564
+ "inputs": [
4565
+ {
4566
+ "name": "tier_id",
4567
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
4568
+ },
4569
+ {
4570
+ "name": "enabled",
4571
+ "concreteTypeId": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903"
4572
+ }
4573
+ ],
4574
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
4575
+ "attributes": [
4576
+ {
4577
+ "name": "storage",
4578
+ "arguments": [
4579
+ "write"
4580
+ ]
4581
+ }
4582
+ ]
4583
+ },
4584
+ {
4585
+ "name": "set_turbo_terms",
4586
+ "inputs": [
4587
+ {
4588
+ "name": "tier_id",
4589
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
4590
+ },
4591
+ {
4592
+ "name": "version",
4593
+ "concreteTypeId": "d7649d428b9ff33d188ecbf38a7e4d8fd167fa01b2e10fe9a8f9308e52f1d7cc"
4594
+ },
4595
+ {
4596
+ "name": "value",
4597
+ "concreteTypeId": "756ac75abc0547feed71f2a44098169495dc84d5fbdaef83d885b0cce5d580cc"
4598
+ }
4599
+ ],
4600
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
4601
+ "attributes": [
4602
+ {
4603
+ "name": "storage",
4604
+ "arguments": [
4605
+ "write"
4606
+ ]
4607
+ }
4608
+ ]
4609
+ },
4610
+ {
4611
+ "name": "set_user_discount",
4612
+ "inputs": [
4613
+ {
4614
+ "name": "user",
4615
+ "concreteTypeId": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335"
4616
+ },
4617
+ {
4618
+ "name": "tier_id",
4619
+ "concreteTypeId": "d852149004cc9ec0bbe7dc4e37bffea1d41469b759512b6136f2e865a4c06e7d"
4620
+ },
4621
+ {
4622
+ "name": "discount",
4623
+ "concreteTypeId": "0b936e35080f26fd23fa0fbc9883d7080b504aaa824a8d69eb0217ddbf6176a4"
4624
+ }
4625
+ ],
4626
+ "output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
4627
+ "attributes": [
4628
+ {
4629
+ "name": "storage",
4630
+ "arguments": [
4631
+ "write"
4632
+ ]
4633
+ }
4634
+ ]
4635
+ },
4636
+ {
4637
+ "name": "tier_assets",
4638
+ "inputs": [
4639
+ {
4640
+ "name": "tier_id",
4641
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
4642
+ },
4643
+ {
4644
+ "name": "version",
4645
+ "concreteTypeId": "d7649d428b9ff33d188ecbf38a7e4d8fd167fa01b2e10fe9a8f9308e52f1d7cc"
4646
+ }
4647
+ ],
4648
+ "output": "8b2275934873f381a769c82334e6f66595eeb350d8b2dd012eef4d9bb117942b",
4649
+ "attributes": [
4650
+ {
4651
+ "name": "storage",
4652
+ "arguments": [
4653
+ "read"
4654
+ ]
4655
+ }
4656
+ ]
4657
+ },
4658
+ {
4659
+ "name": "tier_books",
4660
+ "inputs": [
4661
+ {
4662
+ "name": "tier_id",
4663
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
4664
+ },
4665
+ {
4666
+ "name": "version",
4667
+ "concreteTypeId": "d7649d428b9ff33d188ecbf38a7e4d8fd167fa01b2e10fe9a8f9308e52f1d7cc"
4668
+ }
4669
+ ],
4670
+ "output": "b8ca7626a08e8fb93379b5d9d58d8a12eede8de9f087bfa21feccca44f92e211",
4671
+ "attributes": [
4672
+ {
4673
+ "name": "storage",
4674
+ "arguments": [
4675
+ "read"
4676
+ ]
4677
+ }
4678
+ ]
4679
+ }
4680
+ ],
4681
+ "loggedTypes": [
4682
+ {
4683
+ "logId": "12514258225962524304",
4684
+ "concreteTypeId": "adab938d9a019e906a13864731c1cec8210724445341b91a6c7b194a74eed69f"
4685
+ },
4686
+ {
4687
+ "logId": "7577732612780156899",
4688
+ "concreteTypeId": "692983a9aba767e36b5014d3eb842447c736e341cc3b30fcb051b1f5a3d5f80a"
4689
+ },
4690
+ {
4691
+ "logId": "14913197889258292025",
4692
+ "concreteTypeId": "cef652777e5883399519b5f2ddeb264e106de9bca7b86f50bc64302a29451ba8"
4693
+ },
4694
+ {
4695
+ "logId": "15024664283095569541",
4696
+ "concreteTypeId": "d082548fb769148507c3eb36d4f039e87c91a6947dd3da299d9e4246d4aff634"
4697
+ },
4698
+ {
4699
+ "logId": "6216763621805167948",
4700
+ "concreteTypeId": "564661938244954c8836434b2cf26c3495e0538f78f281fc531f82003ef55d42"
4701
+ },
4702
+ {
4703
+ "logId": "16386696543407055422",
4704
+ "concreteTypeId": "e3693daf8fe6223e6a97667025b9fc906b02ca79ea87b1376058b0be52c7778d"
4705
+ },
4706
+ {
4707
+ "logId": "5856849183913492471",
4708
+ "concreteTypeId": "5147b54d46333ff70e73dcbb1dd2645b353ed91b3ee802589a064033720b8db6"
4709
+ },
4710
+ {
4711
+ "logId": "10928624505251675",
4712
+ "concreteTypeId": "0026d386ad84e75b525bec3e7c8b6a63df3fcd108a8c4b26438c8a7a2e2c218b"
4713
+ },
4714
+ {
4715
+ "logId": "1455183322338097280",
4716
+ "concreteTypeId": "1431d9859308f8805c398656c37808f1e757e0b0b069aba1bc265a07da382c17"
4717
+ },
4718
+ {
4719
+ "logId": "2612884364307876194",
4720
+ "concreteTypeId": "2442d47c55be4962ca0763d3e24b3082641f3085e2be89002e423fbdac520a49"
4721
+ },
4722
+ {
4723
+ "logId": "9866618221814648940",
4724
+ "concreteTypeId": "88ed44ff45a8906c6beefd3c81c9859ead9f36aac2e9b06912a7ae83cbb0628c"
4725
+ },
4726
+ {
4727
+ "logId": "9625438227679580466",
4728
+ "concreteTypeId": "85946d12004e9132da992025dfcf846ed2fa2d4e13b6cf0100466afa470cd67f"
4729
+ },
4730
+ {
4731
+ "logId": "15516317716168876987",
4732
+ "concreteTypeId": "d75508c0fe58a3bbf57a29d9387119c6238c8bf50f81b4a1f7a7d90b2b0b010a"
4733
+ },
4734
+ {
4735
+ "logId": "6666782353637228547",
4736
+ "concreteTypeId": "5c852b3a7f63c0036b492e8bdfff446c35ab6392447eaceab832807a28c07abc"
4737
+ },
4738
+ {
4739
+ "logId": "10234640486656646213",
4740
+ "concreteTypeId": "8e08bf4c13001c457482f0c101352759061dec92b19e63119adff05072f82f78"
4741
+ },
4742
+ {
4743
+ "logId": "18226138647467034447",
4744
+ "concreteTypeId": "fcf040889d4a874f96876407c70c5777ff94880dd884e10a90ad454ee2386e76"
4745
+ },
4746
+ {
4747
+ "logId": "4458524804492366363",
4748
+ "concreteTypeId": "3ddfdcaffa09121b072ff8f41a532d2156bb23e8309acd9aa56aac205a2b90b2"
4749
+ },
4750
+ {
4751
+ "logId": "8211282964376093823",
4752
+ "concreteTypeId": "71f45659d1da847f7eedb0d56ee56e49eca1073a2b279dd5dcefd6233a5f8c8f"
4753
+ },
4754
+ {
4755
+ "logId": "10653866670748685206",
4756
+ "concreteTypeId": "93da234a5a59539605b94f98140ee3d7586ad3cbc4ce4693c2f71fadf8638318"
4757
+ },
4758
+ {
4759
+ "logId": "7029692595623760888",
4760
+ "concreteTypeId": "618e7c2bba5913f8756a2b64655023f57316dcf59752e837bd0cd2dbfae7f0f0"
4761
+ },
4762
+ {
4763
+ "logId": "16608986890741127100",
4764
+ "concreteTypeId": "e67ef99435be97bc9449c82c1b336087fb2229d27680e02e934dc0ac6ce38d86"
4765
+ },
4766
+ {
4767
+ "logId": "17653807583670182718",
4768
+ "concreteTypeId": "f4feec76a5c2233e9e68afb7eb61f8ab3892b44014a18c6a25174917e7bf8810"
4769
+ },
4770
+ {
4771
+ "logId": "9484255882611892802",
4772
+ "concreteTypeId": "839ed879b9fda2421ed22145534f8749aa9ffd32c4fe8d6f9d219b9de2fe0d48"
4773
+ },
4774
+ {
4775
+ "logId": "12039293359619364051",
4776
+ "concreteTypeId": "a71429860ed4d4d35c22389c7dfc759df9df29f0fd2f7e9a3995d9ba2b781b53"
4777
+ },
4778
+ {
4779
+ "logId": "5047184782049456454",
4780
+ "concreteTypeId": "460b33d171d0b146e78150be7a9a967e4a5bba2c93bfbb33cc4c20ce7196fa63"
4781
+ },
4782
+ {
4783
+ "logId": "5186484768456530393",
4784
+ "concreteTypeId": "47fa186af0d359d9cc8a9d356bd1a3d0e9d5dabea8bae39bb44f6f0a7b71fc4c"
4785
+ },
4786
+ {
4787
+ "logId": "12318307230241804626",
4788
+ "concreteTypeId": "aaf36b2924b051521d649c120bdfc7bdb461abfb6531a5c37823f2bfcc024174"
4789
+ },
4790
+ {
4791
+ "logId": "13223605075162873955",
4792
+ "concreteTypeId": "b783aec11322c063e9d012c4942055569ade8a9493c8f31dd93b030af966938c"
4793
+ },
4794
+ {
4795
+ "logId": "13633858513150244942",
4796
+ "concreteTypeId": "bd3532151a41784e9f20402e1f532a784483d642628fc0f4bd77316d236e076a"
4797
+ },
4798
+ {
4799
+ "logId": "10588845906703333137",
4800
+ "concreteTypeId": "92f323400266b711dc630732cb484cabd5e5e0259d5027a3b8ad3fed4b2f9936"
4801
+ },
4802
+ {
4803
+ "logId": "11564462495369416089",
4804
+ "concreteTypeId": "a07d395e4ed24d99e538ba7eaea20f99806a77c4bd9f4ac6c1488f9ccf349ef1"
4805
+ },
4806
+ {
4807
+ "logId": "5993315539830474100",
4808
+ "concreteTypeId": "532c88bac26c85742e65ccb7d37979e658775f3c621544ce2b8f206d584af8af"
4809
+ },
4810
+ {
4811
+ "logId": "16633138457372901698",
4812
+ "concreteTypeId": "e6d4c74d0399c142f512c0821bc8c248c9d7b9f0d370d9b1eeac6dad489c0e75"
4813
+ }
4814
+ ],
4815
+ "messagesTypes": [],
4816
+ "configurables": [
4817
+ {
4818
+ "name": "INITIAL_LIQUIDATOR",
4819
+ "concreteTypeId": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335",
4820
+ "offset": 99248,
4821
+ "indirect": false
4822
+ },
4823
+ {
4824
+ "name": "COLLATERAL_ASSET",
4825
+ "concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974",
4826
+ "offset": 99208,
4827
+ "indirect": false
4828
+ },
4829
+ {
4830
+ "name": "COLLATERAL_DECIMALS",
4831
+ "concreteTypeId": "c89951a24c6ca28c13fd1cfdc646b2b656d69e61a92b91023be7eb58eb914b6b",
4832
+ "offset": 99240,
4833
+ "indirect": false
4834
+ },
4835
+ {
4836
+ "name": "MAX_TIER_BOOKS",
4837
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
4838
+ "offset": 99288,
4839
+ "indirect": false
4840
+ }
4841
+ ],
4842
+ "errorCodes": {},
4843
+ "panickingCalls": {}
4844
+ };
4845
+ const storageSlots = [
4846
+ {
4847
+ "key": "10e7cbf60d764b48f855b293d6b4ef1df3d6bcbf610ca3db9118d938021b541e",
4848
+ "value": "0000000000000000000000000000000000000000000000000000000000000000"
4849
+ },
4850
+ {
4851
+ "key": "3e684369d3fb07194fde634a209db2db8a839c4a3bac3a721e27771755bfc695",
4852
+ "value": "0000000000000000000000000000000000000000000000000000000000000000"
4853
+ },
4854
+ {
4855
+ "key": "3e684369d3fb07194fde634a209db2db8a839c4a3bac3a721e27771755bfc696",
4856
+ "value": "0000000000000000000000000000000000000000000000000000000000000000"
4857
+ },
4858
+ {
4859
+ "key": "48952c4dcb85139280b31575f27623c4f3fcef69e545e0b7406f49b9def0d398",
4860
+ "value": "0000000000000000000000000000000000000000000000000000000000000000"
4861
+ },
4862
+ {
4863
+ "key": "4cc709eb6156b3101cd56981482a3e83b12df6499ad14ee6e3b458981afacb4a",
4864
+ "value": "0000000000000000000000000000000000000000000000000000000000000000"
4865
+ },
4866
+ {
4867
+ "key": "5c4892b4971f5f11cc3ced35e6c8d3409db1cb10482fbf4aefd82df53d98a0b5",
4868
+ "value": "0000000000000000000000000000000000000000000000000000000000000000"
4869
+ },
4870
+ {
4871
+ "key": "8e3806335ed7969368f274f752a2492b6edba50827400c742ddefb139fd826d0",
4872
+ "value": "0000000000000000000000000000000000000000000000000000000000000000"
4873
+ },
4874
+ {
4875
+ "key": "8e3806335ed7969368f274f752a2492b6edba50827400c742ddefb139fd826d1",
4876
+ "value": "0000000000000000000000000000000000000000000000000000000000000000"
4877
+ },
4878
+ {
4879
+ "key": "c31ea37444e164f0df80072c31565d102b97cb0f0e8d52194ba756b8a88273fd",
4880
+ "value": "0000000000000000000000000000000000000000000000000000000000000000"
4881
+ },
4882
+ {
4883
+ "key": "c31ea37444e164f0df80072c31565d102b97cb0f0e8d52194ba756b8a88273fe",
4884
+ "value": "0000000000000000000000000000000000000000000000000000000000000000"
4885
+ }
4886
+ ];
4887
+ export class PropMarginPoolMockInterface extends Interface {
4888
+ constructor() {
4889
+ super(abi);
4890
+ }
4891
+ }
4892
+ export class PropMarginPoolMock extends __Contract {
4893
+ static abi = abi;
4894
+ static storageSlots = storageSlots;
4895
+ constructor(id, accountOrProvider) {
4896
+ super(id, abi, accountOrProvider);
4897
+ }
4898
+ }
4899
+ //# sourceMappingURL=PropMarginPoolMock.js.map