@kasarlabs/vesu-mcp 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +28 -0
- package/bin/vesu-mcp.js +14 -0
- package/build/index.d.ts +2 -0
- package/build/index.js +49 -0
- package/build/index.js.map +1 -0
- package/build/interfaces/index.d.ts +112 -0
- package/build/interfaces/index.js +28 -0
- package/build/interfaces/index.js.map +1 -0
- package/build/lib/abis/erc20Abi.d.ts +89 -0
- package/build/lib/abis/erc20Abi.js +128 -0
- package/build/lib/abis/erc20Abi.js.map +1 -0
- package/build/lib/abis/extensionAbi.d.ts +1397 -0
- package/build/lib/abis/extensionAbi.js +1909 -0
- package/build/lib/abis/extensionAbi.js.map +1 -0
- package/build/lib/abis/singletonAbi.d.ts +1410 -0
- package/build/lib/abis/singletonAbi.js +1914 -0
- package/build/lib/abis/singletonAbi.js.map +1 -0
- package/build/lib/abis/vTokenAbi.d.ts +561 -0
- package/build/lib/abis/vTokenAbi.js +781 -0
- package/build/lib/abis/vTokenAbi.js.map +1 -0
- package/build/lib/constants/index.d.ts +7 -0
- package/build/lib/constants/index.js +7 -0
- package/build/lib/constants/index.js.map +1 -0
- package/build/lib/dependances/types.d.ts +85 -0
- package/build/lib/dependances/types.js +51 -0
- package/build/lib/dependances/types.js.map +1 -0
- package/build/lib/utils/contracts.d.ts +3458 -0
- package/build/lib/utils/contracts.js +22 -0
- package/build/lib/utils/contracts.js.map +1 -0
- package/build/lib/utils/num.d.ts +33 -0
- package/build/lib/utils/num.js +59 -0
- package/build/lib/utils/num.js.map +1 -0
- package/build/lib/utils/processTransactions.d.ts +6 -0
- package/build/lib/utils/processTransactions.js +23 -0
- package/build/lib/utils/processTransactions.js.map +1 -0
- package/build/schemas/index.d.ts +18 -0
- package/build/schemas/index.js +13 -0
- package/build/schemas/index.js.map +1 -0
- package/build/tools/depositService.d.ts +19 -0
- package/build/tools/depositService.js +117 -0
- package/build/tools/depositService.js.map +1 -0
- package/build/tools/withdrawService.d.ts +20 -0
- package/build/tools/withdrawService.js +122 -0
- package/build/tools/withdrawService.js.map +1 -0
- package/package.json +44 -0
|
@@ -0,0 +1,1410 @@
|
|
|
1
|
+
export declare const singletonAbi: readonly [{
|
|
2
|
+
readonly name: "SingletonImpl";
|
|
3
|
+
readonly type: "impl";
|
|
4
|
+
readonly interface_name: "vesu::singleton::ISingleton";
|
|
5
|
+
}, {
|
|
6
|
+
readonly name: "core::integer::u256";
|
|
7
|
+
readonly type: "struct";
|
|
8
|
+
readonly members: readonly [{
|
|
9
|
+
readonly name: "low";
|
|
10
|
+
readonly type: "core::integer::u128";
|
|
11
|
+
}, {
|
|
12
|
+
readonly name: "high";
|
|
13
|
+
readonly type: "core::integer::u128";
|
|
14
|
+
}];
|
|
15
|
+
}, {
|
|
16
|
+
readonly name: "core::bool";
|
|
17
|
+
readonly type: "enum";
|
|
18
|
+
readonly variants: readonly [{
|
|
19
|
+
readonly name: "False";
|
|
20
|
+
readonly type: "()";
|
|
21
|
+
}, {
|
|
22
|
+
readonly name: "True";
|
|
23
|
+
readonly type: "()";
|
|
24
|
+
}];
|
|
25
|
+
}, {
|
|
26
|
+
readonly name: "vesu::data_model::AssetConfig";
|
|
27
|
+
readonly type: "struct";
|
|
28
|
+
readonly members: readonly [{
|
|
29
|
+
readonly name: "total_collateral_shares";
|
|
30
|
+
readonly type: "core::integer::u256";
|
|
31
|
+
}, {
|
|
32
|
+
readonly name: "total_nominal_debt";
|
|
33
|
+
readonly type: "core::integer::u256";
|
|
34
|
+
}, {
|
|
35
|
+
readonly name: "reserve";
|
|
36
|
+
readonly type: "core::integer::u256";
|
|
37
|
+
}, {
|
|
38
|
+
readonly name: "max_utilization";
|
|
39
|
+
readonly type: "core::integer::u256";
|
|
40
|
+
}, {
|
|
41
|
+
readonly name: "floor";
|
|
42
|
+
readonly type: "core::integer::u256";
|
|
43
|
+
}, {
|
|
44
|
+
readonly name: "scale";
|
|
45
|
+
readonly type: "core::integer::u256";
|
|
46
|
+
}, {
|
|
47
|
+
readonly name: "is_legacy";
|
|
48
|
+
readonly type: "core::bool";
|
|
49
|
+
}, {
|
|
50
|
+
readonly name: "last_updated";
|
|
51
|
+
readonly type: "core::integer::u64";
|
|
52
|
+
}, {
|
|
53
|
+
readonly name: "last_rate_accumulator";
|
|
54
|
+
readonly type: "core::integer::u256";
|
|
55
|
+
}, {
|
|
56
|
+
readonly name: "last_full_utilization_rate";
|
|
57
|
+
readonly type: "core::integer::u256";
|
|
58
|
+
}, {
|
|
59
|
+
readonly name: "fee_rate";
|
|
60
|
+
readonly type: "core::integer::u256";
|
|
61
|
+
}];
|
|
62
|
+
}, {
|
|
63
|
+
readonly name: "vesu::data_model::LTVConfig";
|
|
64
|
+
readonly type: "struct";
|
|
65
|
+
readonly members: readonly [{
|
|
66
|
+
readonly name: "max_ltv";
|
|
67
|
+
readonly type: "core::integer::u64";
|
|
68
|
+
}];
|
|
69
|
+
}, {
|
|
70
|
+
readonly name: "vesu::data_model::Position";
|
|
71
|
+
readonly type: "struct";
|
|
72
|
+
readonly members: readonly [{
|
|
73
|
+
readonly name: "collateral_shares";
|
|
74
|
+
readonly type: "core::integer::u256";
|
|
75
|
+
}, {
|
|
76
|
+
readonly name: "nominal_debt";
|
|
77
|
+
readonly type: "core::integer::u256";
|
|
78
|
+
}];
|
|
79
|
+
}, {
|
|
80
|
+
readonly name: "alexandria_math::i257::i257";
|
|
81
|
+
readonly type: "struct";
|
|
82
|
+
readonly members: readonly [{
|
|
83
|
+
readonly name: "abs";
|
|
84
|
+
readonly type: "core::integer::u256";
|
|
85
|
+
}, {
|
|
86
|
+
readonly name: "is_negative";
|
|
87
|
+
readonly type: "core::bool";
|
|
88
|
+
}];
|
|
89
|
+
}, {
|
|
90
|
+
readonly name: "vesu::data_model::AmountType";
|
|
91
|
+
readonly type: "enum";
|
|
92
|
+
readonly variants: readonly [{
|
|
93
|
+
readonly name: "Delta";
|
|
94
|
+
readonly type: "()";
|
|
95
|
+
}, {
|
|
96
|
+
readonly name: "Target";
|
|
97
|
+
readonly type: "()";
|
|
98
|
+
}];
|
|
99
|
+
}, {
|
|
100
|
+
readonly name: "vesu::data_model::AmountDenomination";
|
|
101
|
+
readonly type: "enum";
|
|
102
|
+
readonly variants: readonly [{
|
|
103
|
+
readonly name: "Native";
|
|
104
|
+
readonly type: "()";
|
|
105
|
+
}, {
|
|
106
|
+
readonly name: "Assets";
|
|
107
|
+
readonly type: "()";
|
|
108
|
+
}];
|
|
109
|
+
}, {
|
|
110
|
+
readonly name: "vesu::data_model::Amount";
|
|
111
|
+
readonly type: "struct";
|
|
112
|
+
readonly members: readonly [{
|
|
113
|
+
readonly name: "amount_type";
|
|
114
|
+
readonly type: "vesu::data_model::AmountType";
|
|
115
|
+
}, {
|
|
116
|
+
readonly name: "denomination";
|
|
117
|
+
readonly type: "vesu::data_model::AmountDenomination";
|
|
118
|
+
}, {
|
|
119
|
+
readonly name: "value";
|
|
120
|
+
readonly type: "alexandria_math::i257::i257";
|
|
121
|
+
}];
|
|
122
|
+
}, {
|
|
123
|
+
readonly name: "vesu::data_model::AssetPrice";
|
|
124
|
+
readonly type: "struct";
|
|
125
|
+
readonly members: readonly [{
|
|
126
|
+
readonly name: "value";
|
|
127
|
+
readonly type: "core::integer::u256";
|
|
128
|
+
}, {
|
|
129
|
+
readonly name: "is_valid";
|
|
130
|
+
readonly type: "core::bool";
|
|
131
|
+
}];
|
|
132
|
+
}, {
|
|
133
|
+
readonly name: "vesu::data_model::Context";
|
|
134
|
+
readonly type: "struct";
|
|
135
|
+
readonly members: readonly [{
|
|
136
|
+
readonly name: "pool_id";
|
|
137
|
+
readonly type: "core::felt252";
|
|
138
|
+
}, {
|
|
139
|
+
readonly name: "extension";
|
|
140
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
141
|
+
}, {
|
|
142
|
+
readonly name: "collateral_asset";
|
|
143
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
144
|
+
}, {
|
|
145
|
+
readonly name: "debt_asset";
|
|
146
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
147
|
+
}, {
|
|
148
|
+
readonly name: "collateral_asset_config";
|
|
149
|
+
readonly type: "vesu::data_model::AssetConfig";
|
|
150
|
+
}, {
|
|
151
|
+
readonly name: "debt_asset_config";
|
|
152
|
+
readonly type: "vesu::data_model::AssetConfig";
|
|
153
|
+
}, {
|
|
154
|
+
readonly name: "collateral_asset_price";
|
|
155
|
+
readonly type: "vesu::data_model::AssetPrice";
|
|
156
|
+
}, {
|
|
157
|
+
readonly name: "debt_asset_price";
|
|
158
|
+
readonly type: "vesu::data_model::AssetPrice";
|
|
159
|
+
}, {
|
|
160
|
+
readonly name: "collateral_asset_fee_shares";
|
|
161
|
+
readonly type: "core::integer::u256";
|
|
162
|
+
}, {
|
|
163
|
+
readonly name: "debt_asset_fee_shares";
|
|
164
|
+
readonly type: "core::integer::u256";
|
|
165
|
+
}, {
|
|
166
|
+
readonly name: "max_ltv";
|
|
167
|
+
readonly type: "core::integer::u64";
|
|
168
|
+
}, {
|
|
169
|
+
readonly name: "user";
|
|
170
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
171
|
+
}, {
|
|
172
|
+
readonly name: "position";
|
|
173
|
+
readonly type: "vesu::data_model::Position";
|
|
174
|
+
}];
|
|
175
|
+
}, {
|
|
176
|
+
readonly name: "vesu::data_model::AssetParams";
|
|
177
|
+
readonly type: "struct";
|
|
178
|
+
readonly members: readonly [{
|
|
179
|
+
readonly name: "asset";
|
|
180
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
181
|
+
}, {
|
|
182
|
+
readonly name: "floor";
|
|
183
|
+
readonly type: "core::integer::u256";
|
|
184
|
+
}, {
|
|
185
|
+
readonly name: "initial_rate_accumulator";
|
|
186
|
+
readonly type: "core::integer::u256";
|
|
187
|
+
}, {
|
|
188
|
+
readonly name: "initial_full_utilization_rate";
|
|
189
|
+
readonly type: "core::integer::u256";
|
|
190
|
+
}, {
|
|
191
|
+
readonly name: "max_utilization";
|
|
192
|
+
readonly type: "core::integer::u256";
|
|
193
|
+
}, {
|
|
194
|
+
readonly name: "is_legacy";
|
|
195
|
+
readonly type: "core::bool";
|
|
196
|
+
}, {
|
|
197
|
+
readonly name: "fee_rate";
|
|
198
|
+
readonly type: "core::integer::u256";
|
|
199
|
+
}];
|
|
200
|
+
}, {
|
|
201
|
+
readonly name: "core::array::Span::<vesu::data_model::AssetParams>";
|
|
202
|
+
readonly type: "struct";
|
|
203
|
+
readonly members: readonly [{
|
|
204
|
+
readonly name: "snapshot";
|
|
205
|
+
readonly type: "@core::array::Array::<vesu::data_model::AssetParams>";
|
|
206
|
+
}];
|
|
207
|
+
}, {
|
|
208
|
+
readonly name: "vesu::data_model::LTVParams";
|
|
209
|
+
readonly type: "struct";
|
|
210
|
+
readonly members: readonly [{
|
|
211
|
+
readonly name: "collateral_asset_index";
|
|
212
|
+
readonly type: "core::integer::u32";
|
|
213
|
+
}, {
|
|
214
|
+
readonly name: "debt_asset_index";
|
|
215
|
+
readonly type: "core::integer::u32";
|
|
216
|
+
}, {
|
|
217
|
+
readonly name: "max_ltv";
|
|
218
|
+
readonly type: "core::integer::u64";
|
|
219
|
+
}];
|
|
220
|
+
}, {
|
|
221
|
+
readonly name: "core::array::Span::<vesu::data_model::LTVParams>";
|
|
222
|
+
readonly type: "struct";
|
|
223
|
+
readonly members: readonly [{
|
|
224
|
+
readonly name: "snapshot";
|
|
225
|
+
readonly type: "@core::array::Array::<vesu::data_model::LTVParams>";
|
|
226
|
+
}];
|
|
227
|
+
}, {
|
|
228
|
+
readonly name: "core::array::Span::<core::felt252>";
|
|
229
|
+
readonly type: "struct";
|
|
230
|
+
readonly members: readonly [{
|
|
231
|
+
readonly name: "snapshot";
|
|
232
|
+
readonly type: "@core::array::Array::<core::felt252>";
|
|
233
|
+
}];
|
|
234
|
+
}, {
|
|
235
|
+
readonly name: "vesu::data_model::ModifyPositionParams";
|
|
236
|
+
readonly type: "struct";
|
|
237
|
+
readonly members: readonly [{
|
|
238
|
+
readonly name: "pool_id";
|
|
239
|
+
readonly type: "core::felt252";
|
|
240
|
+
}, {
|
|
241
|
+
readonly name: "collateral_asset";
|
|
242
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
243
|
+
}, {
|
|
244
|
+
readonly name: "debt_asset";
|
|
245
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
246
|
+
}, {
|
|
247
|
+
readonly name: "user";
|
|
248
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
249
|
+
}, {
|
|
250
|
+
readonly name: "collateral";
|
|
251
|
+
readonly type: "vesu::data_model::Amount";
|
|
252
|
+
}, {
|
|
253
|
+
readonly name: "debt";
|
|
254
|
+
readonly type: "vesu::data_model::Amount";
|
|
255
|
+
}, {
|
|
256
|
+
readonly name: "data";
|
|
257
|
+
readonly type: "core::array::Span::<core::felt252>";
|
|
258
|
+
}];
|
|
259
|
+
}, {
|
|
260
|
+
readonly name: "vesu::data_model::UpdatePositionResponse";
|
|
261
|
+
readonly type: "struct";
|
|
262
|
+
readonly members: readonly [{
|
|
263
|
+
readonly name: "collateral_delta";
|
|
264
|
+
readonly type: "alexandria_math::i257::i257";
|
|
265
|
+
}, {
|
|
266
|
+
readonly name: "collateral_shares_delta";
|
|
267
|
+
readonly type: "alexandria_math::i257::i257";
|
|
268
|
+
}, {
|
|
269
|
+
readonly name: "debt_delta";
|
|
270
|
+
readonly type: "alexandria_math::i257::i257";
|
|
271
|
+
}, {
|
|
272
|
+
readonly name: "nominal_debt_delta";
|
|
273
|
+
readonly type: "alexandria_math::i257::i257";
|
|
274
|
+
}, {
|
|
275
|
+
readonly name: "bad_debt";
|
|
276
|
+
readonly type: "core::integer::u256";
|
|
277
|
+
}];
|
|
278
|
+
}, {
|
|
279
|
+
readonly name: "vesu::data_model::UnsignedAmount";
|
|
280
|
+
readonly type: "struct";
|
|
281
|
+
readonly members: readonly [{
|
|
282
|
+
readonly name: "amount_type";
|
|
283
|
+
readonly type: "vesu::data_model::AmountType";
|
|
284
|
+
}, {
|
|
285
|
+
readonly name: "denomination";
|
|
286
|
+
readonly type: "vesu::data_model::AmountDenomination";
|
|
287
|
+
}, {
|
|
288
|
+
readonly name: "value";
|
|
289
|
+
readonly type: "core::integer::u256";
|
|
290
|
+
}];
|
|
291
|
+
}, {
|
|
292
|
+
readonly name: "vesu::data_model::TransferPositionParams";
|
|
293
|
+
readonly type: "struct";
|
|
294
|
+
readonly members: readonly [{
|
|
295
|
+
readonly name: "pool_id";
|
|
296
|
+
readonly type: "core::felt252";
|
|
297
|
+
}, {
|
|
298
|
+
readonly name: "from_collateral_asset";
|
|
299
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
300
|
+
}, {
|
|
301
|
+
readonly name: "from_debt_asset";
|
|
302
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
303
|
+
}, {
|
|
304
|
+
readonly name: "to_collateral_asset";
|
|
305
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
306
|
+
}, {
|
|
307
|
+
readonly name: "to_debt_asset";
|
|
308
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
309
|
+
}, {
|
|
310
|
+
readonly name: "from_user";
|
|
311
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
312
|
+
}, {
|
|
313
|
+
readonly name: "to_user";
|
|
314
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
315
|
+
}, {
|
|
316
|
+
readonly name: "collateral";
|
|
317
|
+
readonly type: "vesu::data_model::UnsignedAmount";
|
|
318
|
+
}, {
|
|
319
|
+
readonly name: "debt";
|
|
320
|
+
readonly type: "vesu::data_model::UnsignedAmount";
|
|
321
|
+
}, {
|
|
322
|
+
readonly name: "from_data";
|
|
323
|
+
readonly type: "core::array::Span::<core::felt252>";
|
|
324
|
+
}, {
|
|
325
|
+
readonly name: "to_data";
|
|
326
|
+
readonly type: "core::array::Span::<core::felt252>";
|
|
327
|
+
}];
|
|
328
|
+
}, {
|
|
329
|
+
readonly name: "vesu::data_model::LiquidatePositionParams";
|
|
330
|
+
readonly type: "struct";
|
|
331
|
+
readonly members: readonly [{
|
|
332
|
+
readonly name: "pool_id";
|
|
333
|
+
readonly type: "core::felt252";
|
|
334
|
+
}, {
|
|
335
|
+
readonly name: "collateral_asset";
|
|
336
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
337
|
+
}, {
|
|
338
|
+
readonly name: "debt_asset";
|
|
339
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
340
|
+
}, {
|
|
341
|
+
readonly name: "user";
|
|
342
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
343
|
+
}, {
|
|
344
|
+
readonly name: "receive_as_shares";
|
|
345
|
+
readonly type: "core::bool";
|
|
346
|
+
}, {
|
|
347
|
+
readonly name: "data";
|
|
348
|
+
readonly type: "core::array::Span::<core::felt252>";
|
|
349
|
+
}];
|
|
350
|
+
}, {
|
|
351
|
+
readonly name: "vesu::singleton::ISingleton";
|
|
352
|
+
readonly type: "interface";
|
|
353
|
+
readonly items: readonly [{
|
|
354
|
+
readonly name: "creator_nonce";
|
|
355
|
+
readonly type: "function";
|
|
356
|
+
readonly inputs: readonly [{
|
|
357
|
+
readonly name: "creator";
|
|
358
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
359
|
+
}];
|
|
360
|
+
readonly outputs: readonly [{
|
|
361
|
+
readonly type: "core::felt252";
|
|
362
|
+
}];
|
|
363
|
+
readonly state_mutability: "view";
|
|
364
|
+
}, {
|
|
365
|
+
readonly name: "extension";
|
|
366
|
+
readonly type: "function";
|
|
367
|
+
readonly inputs: readonly [{
|
|
368
|
+
readonly name: "pool_id";
|
|
369
|
+
readonly type: "core::felt252";
|
|
370
|
+
}];
|
|
371
|
+
readonly outputs: readonly [{
|
|
372
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
373
|
+
}];
|
|
374
|
+
readonly state_mutability: "view";
|
|
375
|
+
}, {
|
|
376
|
+
readonly name: "asset_config_unsafe";
|
|
377
|
+
readonly type: "function";
|
|
378
|
+
readonly inputs: readonly [{
|
|
379
|
+
readonly name: "pool_id";
|
|
380
|
+
readonly type: "core::felt252";
|
|
381
|
+
}, {
|
|
382
|
+
readonly name: "asset";
|
|
383
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
384
|
+
}];
|
|
385
|
+
readonly outputs: readonly [{
|
|
386
|
+
readonly type: "(vesu::data_model::AssetConfig, core::integer::u256)";
|
|
387
|
+
}];
|
|
388
|
+
readonly state_mutability: "view";
|
|
389
|
+
}, {
|
|
390
|
+
readonly name: "asset_config";
|
|
391
|
+
readonly type: "function";
|
|
392
|
+
readonly inputs: readonly [{
|
|
393
|
+
readonly name: "pool_id";
|
|
394
|
+
readonly type: "core::felt252";
|
|
395
|
+
}, {
|
|
396
|
+
readonly name: "asset";
|
|
397
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
398
|
+
}];
|
|
399
|
+
readonly outputs: readonly [{
|
|
400
|
+
readonly type: "(vesu::data_model::AssetConfig, core::integer::u256)";
|
|
401
|
+
}];
|
|
402
|
+
readonly state_mutability: "external";
|
|
403
|
+
}, {
|
|
404
|
+
readonly name: "ltv_config";
|
|
405
|
+
readonly type: "function";
|
|
406
|
+
readonly inputs: readonly [{
|
|
407
|
+
readonly name: "pool_id";
|
|
408
|
+
readonly type: "core::felt252";
|
|
409
|
+
}, {
|
|
410
|
+
readonly name: "collateral_asset";
|
|
411
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
412
|
+
}, {
|
|
413
|
+
readonly name: "debt_asset";
|
|
414
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
415
|
+
}];
|
|
416
|
+
readonly outputs: readonly [{
|
|
417
|
+
readonly type: "vesu::data_model::LTVConfig";
|
|
418
|
+
}];
|
|
419
|
+
readonly state_mutability: "view";
|
|
420
|
+
}, {
|
|
421
|
+
readonly name: "position_unsafe";
|
|
422
|
+
readonly type: "function";
|
|
423
|
+
readonly inputs: readonly [{
|
|
424
|
+
readonly name: "pool_id";
|
|
425
|
+
readonly type: "core::felt252";
|
|
426
|
+
}, {
|
|
427
|
+
readonly name: "collateral_asset";
|
|
428
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
429
|
+
}, {
|
|
430
|
+
readonly name: "debt_asset";
|
|
431
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
432
|
+
}, {
|
|
433
|
+
readonly name: "user";
|
|
434
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
435
|
+
}];
|
|
436
|
+
readonly outputs: readonly [{
|
|
437
|
+
readonly type: "(vesu::data_model::Position, core::integer::u256, core::integer::u256)";
|
|
438
|
+
}];
|
|
439
|
+
readonly state_mutability: "view";
|
|
440
|
+
}, {
|
|
441
|
+
readonly name: "position";
|
|
442
|
+
readonly type: "function";
|
|
443
|
+
readonly inputs: readonly [{
|
|
444
|
+
readonly name: "pool_id";
|
|
445
|
+
readonly type: "core::felt252";
|
|
446
|
+
}, {
|
|
447
|
+
readonly name: "collateral_asset";
|
|
448
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
449
|
+
}, {
|
|
450
|
+
readonly name: "debt_asset";
|
|
451
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
452
|
+
}, {
|
|
453
|
+
readonly name: "user";
|
|
454
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
455
|
+
}];
|
|
456
|
+
readonly outputs: readonly [{
|
|
457
|
+
readonly type: "(vesu::data_model::Position, core::integer::u256, core::integer::u256)";
|
|
458
|
+
}];
|
|
459
|
+
readonly state_mutability: "external";
|
|
460
|
+
}, {
|
|
461
|
+
readonly name: "check_collateralization_unsafe";
|
|
462
|
+
readonly type: "function";
|
|
463
|
+
readonly inputs: readonly [{
|
|
464
|
+
readonly name: "pool_id";
|
|
465
|
+
readonly type: "core::felt252";
|
|
466
|
+
}, {
|
|
467
|
+
readonly name: "collateral_asset";
|
|
468
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
469
|
+
}, {
|
|
470
|
+
readonly name: "debt_asset";
|
|
471
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
472
|
+
}, {
|
|
473
|
+
readonly name: "user";
|
|
474
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
475
|
+
}];
|
|
476
|
+
readonly outputs: readonly [{
|
|
477
|
+
readonly type: "(core::bool, core::integer::u256, core::integer::u256)";
|
|
478
|
+
}];
|
|
479
|
+
readonly state_mutability: "view";
|
|
480
|
+
}, {
|
|
481
|
+
readonly name: "check_collateralization";
|
|
482
|
+
readonly type: "function";
|
|
483
|
+
readonly inputs: readonly [{
|
|
484
|
+
readonly name: "pool_id";
|
|
485
|
+
readonly type: "core::felt252";
|
|
486
|
+
}, {
|
|
487
|
+
readonly name: "collateral_asset";
|
|
488
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
489
|
+
}, {
|
|
490
|
+
readonly name: "debt_asset";
|
|
491
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
492
|
+
}, {
|
|
493
|
+
readonly name: "user";
|
|
494
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
495
|
+
}];
|
|
496
|
+
readonly outputs: readonly [{
|
|
497
|
+
readonly type: "(core::bool, core::integer::u256, core::integer::u256)";
|
|
498
|
+
}];
|
|
499
|
+
readonly state_mutability: "external";
|
|
500
|
+
}, {
|
|
501
|
+
readonly name: "rate_accumulator_unsafe";
|
|
502
|
+
readonly type: "function";
|
|
503
|
+
readonly inputs: readonly [{
|
|
504
|
+
readonly name: "pool_id";
|
|
505
|
+
readonly type: "core::felt252";
|
|
506
|
+
}, {
|
|
507
|
+
readonly name: "asset";
|
|
508
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
509
|
+
}];
|
|
510
|
+
readonly outputs: readonly [{
|
|
511
|
+
readonly type: "core::integer::u256";
|
|
512
|
+
}];
|
|
513
|
+
readonly state_mutability: "view";
|
|
514
|
+
}, {
|
|
515
|
+
readonly name: "rate_accumulator";
|
|
516
|
+
readonly type: "function";
|
|
517
|
+
readonly inputs: readonly [{
|
|
518
|
+
readonly name: "pool_id";
|
|
519
|
+
readonly type: "core::felt252";
|
|
520
|
+
}, {
|
|
521
|
+
readonly name: "asset";
|
|
522
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
523
|
+
}];
|
|
524
|
+
readonly outputs: readonly [{
|
|
525
|
+
readonly type: "core::integer::u256";
|
|
526
|
+
}];
|
|
527
|
+
readonly state_mutability: "external";
|
|
528
|
+
}, {
|
|
529
|
+
readonly name: "utilization_unsafe";
|
|
530
|
+
readonly type: "function";
|
|
531
|
+
readonly inputs: readonly [{
|
|
532
|
+
readonly name: "pool_id";
|
|
533
|
+
readonly type: "core::felt252";
|
|
534
|
+
}, {
|
|
535
|
+
readonly name: "asset";
|
|
536
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
537
|
+
}];
|
|
538
|
+
readonly outputs: readonly [{
|
|
539
|
+
readonly type: "core::integer::u256";
|
|
540
|
+
}];
|
|
541
|
+
readonly state_mutability: "view";
|
|
542
|
+
}, {
|
|
543
|
+
readonly name: "utilization";
|
|
544
|
+
readonly type: "function";
|
|
545
|
+
readonly inputs: readonly [{
|
|
546
|
+
readonly name: "pool_id";
|
|
547
|
+
readonly type: "core::felt252";
|
|
548
|
+
}, {
|
|
549
|
+
readonly name: "asset";
|
|
550
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
551
|
+
}];
|
|
552
|
+
readonly outputs: readonly [{
|
|
553
|
+
readonly type: "core::integer::u256";
|
|
554
|
+
}];
|
|
555
|
+
readonly state_mutability: "external";
|
|
556
|
+
}, {
|
|
557
|
+
readonly name: "delegation";
|
|
558
|
+
readonly type: "function";
|
|
559
|
+
readonly inputs: readonly [{
|
|
560
|
+
readonly name: "pool_id";
|
|
561
|
+
readonly type: "core::felt252";
|
|
562
|
+
}, {
|
|
563
|
+
readonly name: "delegator";
|
|
564
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
565
|
+
}, {
|
|
566
|
+
readonly name: "delegatee";
|
|
567
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
568
|
+
}];
|
|
569
|
+
readonly outputs: readonly [{
|
|
570
|
+
readonly type: "core::bool";
|
|
571
|
+
}];
|
|
572
|
+
readonly state_mutability: "view";
|
|
573
|
+
}, {
|
|
574
|
+
readonly name: "calculate_pool_id";
|
|
575
|
+
readonly type: "function";
|
|
576
|
+
readonly inputs: readonly [{
|
|
577
|
+
readonly name: "caller_address";
|
|
578
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
579
|
+
}, {
|
|
580
|
+
readonly name: "nonce";
|
|
581
|
+
readonly type: "core::felt252";
|
|
582
|
+
}];
|
|
583
|
+
readonly outputs: readonly [{
|
|
584
|
+
readonly type: "core::felt252";
|
|
585
|
+
}];
|
|
586
|
+
readonly state_mutability: "view";
|
|
587
|
+
}, {
|
|
588
|
+
readonly name: "calculate_debt";
|
|
589
|
+
readonly type: "function";
|
|
590
|
+
readonly inputs: readonly [{
|
|
591
|
+
readonly name: "nominal_debt";
|
|
592
|
+
readonly type: "alexandria_math::i257::i257";
|
|
593
|
+
}, {
|
|
594
|
+
readonly name: "rate_accumulator";
|
|
595
|
+
readonly type: "core::integer::u256";
|
|
596
|
+
}, {
|
|
597
|
+
readonly name: "asset_scale";
|
|
598
|
+
readonly type: "core::integer::u256";
|
|
599
|
+
}];
|
|
600
|
+
readonly outputs: readonly [{
|
|
601
|
+
readonly type: "core::integer::u256";
|
|
602
|
+
}];
|
|
603
|
+
readonly state_mutability: "view";
|
|
604
|
+
}, {
|
|
605
|
+
readonly name: "calculate_nominal_debt";
|
|
606
|
+
readonly type: "function";
|
|
607
|
+
readonly inputs: readonly [{
|
|
608
|
+
readonly name: "debt";
|
|
609
|
+
readonly type: "alexandria_math::i257::i257";
|
|
610
|
+
}, {
|
|
611
|
+
readonly name: "rate_accumulator";
|
|
612
|
+
readonly type: "core::integer::u256";
|
|
613
|
+
}, {
|
|
614
|
+
readonly name: "asset_scale";
|
|
615
|
+
readonly type: "core::integer::u256";
|
|
616
|
+
}];
|
|
617
|
+
readonly outputs: readonly [{
|
|
618
|
+
readonly type: "core::integer::u256";
|
|
619
|
+
}];
|
|
620
|
+
readonly state_mutability: "view";
|
|
621
|
+
}, {
|
|
622
|
+
readonly name: "calculate_collateral_shares_unsafe";
|
|
623
|
+
readonly type: "function";
|
|
624
|
+
readonly inputs: readonly [{
|
|
625
|
+
readonly name: "pool_id";
|
|
626
|
+
readonly type: "core::felt252";
|
|
627
|
+
}, {
|
|
628
|
+
readonly name: "asset";
|
|
629
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
630
|
+
}, {
|
|
631
|
+
readonly name: "collateral";
|
|
632
|
+
readonly type: "alexandria_math::i257::i257";
|
|
633
|
+
}];
|
|
634
|
+
readonly outputs: readonly [{
|
|
635
|
+
readonly type: "core::integer::u256";
|
|
636
|
+
}];
|
|
637
|
+
readonly state_mutability: "view";
|
|
638
|
+
}, {
|
|
639
|
+
readonly name: "calculate_collateral_shares";
|
|
640
|
+
readonly type: "function";
|
|
641
|
+
readonly inputs: readonly [{
|
|
642
|
+
readonly name: "pool_id";
|
|
643
|
+
readonly type: "core::felt252";
|
|
644
|
+
}, {
|
|
645
|
+
readonly name: "asset";
|
|
646
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
647
|
+
}, {
|
|
648
|
+
readonly name: "collateral";
|
|
649
|
+
readonly type: "alexandria_math::i257::i257";
|
|
650
|
+
}];
|
|
651
|
+
readonly outputs: readonly [{
|
|
652
|
+
readonly type: "core::integer::u256";
|
|
653
|
+
}];
|
|
654
|
+
readonly state_mutability: "external";
|
|
655
|
+
}, {
|
|
656
|
+
readonly name: "calculate_collateral_unsafe";
|
|
657
|
+
readonly type: "function";
|
|
658
|
+
readonly inputs: readonly [{
|
|
659
|
+
readonly name: "pool_id";
|
|
660
|
+
readonly type: "core::felt252";
|
|
661
|
+
}, {
|
|
662
|
+
readonly name: "asset";
|
|
663
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
664
|
+
}, {
|
|
665
|
+
readonly name: "collateral_shares";
|
|
666
|
+
readonly type: "alexandria_math::i257::i257";
|
|
667
|
+
}];
|
|
668
|
+
readonly outputs: readonly [{
|
|
669
|
+
readonly type: "core::integer::u256";
|
|
670
|
+
}];
|
|
671
|
+
readonly state_mutability: "view";
|
|
672
|
+
}, {
|
|
673
|
+
readonly name: "calculate_collateral";
|
|
674
|
+
readonly type: "function";
|
|
675
|
+
readonly inputs: readonly [{
|
|
676
|
+
readonly name: "pool_id";
|
|
677
|
+
readonly type: "core::felt252";
|
|
678
|
+
}, {
|
|
679
|
+
readonly name: "asset";
|
|
680
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
681
|
+
}, {
|
|
682
|
+
readonly name: "collateral_shares";
|
|
683
|
+
readonly type: "alexandria_math::i257::i257";
|
|
684
|
+
}];
|
|
685
|
+
readonly outputs: readonly [{
|
|
686
|
+
readonly type: "core::integer::u256";
|
|
687
|
+
}];
|
|
688
|
+
readonly state_mutability: "external";
|
|
689
|
+
}, {
|
|
690
|
+
readonly name: "deconstruct_collateral_amount_unsafe";
|
|
691
|
+
readonly type: "function";
|
|
692
|
+
readonly inputs: readonly [{
|
|
693
|
+
readonly name: "pool_id";
|
|
694
|
+
readonly type: "core::felt252";
|
|
695
|
+
}, {
|
|
696
|
+
readonly name: "collateral_asset";
|
|
697
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
698
|
+
}, {
|
|
699
|
+
readonly name: "debt_asset";
|
|
700
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
701
|
+
}, {
|
|
702
|
+
readonly name: "user";
|
|
703
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
704
|
+
}, {
|
|
705
|
+
readonly name: "collateral";
|
|
706
|
+
readonly type: "vesu::data_model::Amount";
|
|
707
|
+
}];
|
|
708
|
+
readonly outputs: readonly [{
|
|
709
|
+
readonly type: "(alexandria_math::i257::i257, alexandria_math::i257::i257)";
|
|
710
|
+
}];
|
|
711
|
+
readonly state_mutability: "view";
|
|
712
|
+
}, {
|
|
713
|
+
readonly name: "deconstruct_collateral_amount";
|
|
714
|
+
readonly type: "function";
|
|
715
|
+
readonly inputs: readonly [{
|
|
716
|
+
readonly name: "pool_id";
|
|
717
|
+
readonly type: "core::felt252";
|
|
718
|
+
}, {
|
|
719
|
+
readonly name: "collateral_asset";
|
|
720
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
721
|
+
}, {
|
|
722
|
+
readonly name: "debt_asset";
|
|
723
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
724
|
+
}, {
|
|
725
|
+
readonly name: "user";
|
|
726
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
727
|
+
}, {
|
|
728
|
+
readonly name: "collateral";
|
|
729
|
+
readonly type: "vesu::data_model::Amount";
|
|
730
|
+
}];
|
|
731
|
+
readonly outputs: readonly [{
|
|
732
|
+
readonly type: "(alexandria_math::i257::i257, alexandria_math::i257::i257)";
|
|
733
|
+
}];
|
|
734
|
+
readonly state_mutability: "external";
|
|
735
|
+
}, {
|
|
736
|
+
readonly name: "deconstruct_debt_amount_unsafe";
|
|
737
|
+
readonly type: "function";
|
|
738
|
+
readonly inputs: readonly [{
|
|
739
|
+
readonly name: "pool_id";
|
|
740
|
+
readonly type: "core::felt252";
|
|
741
|
+
}, {
|
|
742
|
+
readonly name: "collateral_asset";
|
|
743
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
744
|
+
}, {
|
|
745
|
+
readonly name: "debt_asset";
|
|
746
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
747
|
+
}, {
|
|
748
|
+
readonly name: "user";
|
|
749
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
750
|
+
}, {
|
|
751
|
+
readonly name: "debt";
|
|
752
|
+
readonly type: "vesu::data_model::Amount";
|
|
753
|
+
}];
|
|
754
|
+
readonly outputs: readonly [{
|
|
755
|
+
readonly type: "(alexandria_math::i257::i257, alexandria_math::i257::i257)";
|
|
756
|
+
}];
|
|
757
|
+
readonly state_mutability: "view";
|
|
758
|
+
}, {
|
|
759
|
+
readonly name: "deconstruct_debt_amount";
|
|
760
|
+
readonly type: "function";
|
|
761
|
+
readonly inputs: readonly [{
|
|
762
|
+
readonly name: "pool_id";
|
|
763
|
+
readonly type: "core::felt252";
|
|
764
|
+
}, {
|
|
765
|
+
readonly name: "collateral_asset";
|
|
766
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
767
|
+
}, {
|
|
768
|
+
readonly name: "debt_asset";
|
|
769
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
770
|
+
}, {
|
|
771
|
+
readonly name: "user";
|
|
772
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
773
|
+
}, {
|
|
774
|
+
readonly name: "debt";
|
|
775
|
+
readonly type: "vesu::data_model::Amount";
|
|
776
|
+
}];
|
|
777
|
+
readonly outputs: readonly [{
|
|
778
|
+
readonly type: "(alexandria_math::i257::i257, alexandria_math::i257::i257)";
|
|
779
|
+
}];
|
|
780
|
+
readonly state_mutability: "external";
|
|
781
|
+
}, {
|
|
782
|
+
readonly name: "context_unsafe";
|
|
783
|
+
readonly type: "function";
|
|
784
|
+
readonly inputs: readonly [{
|
|
785
|
+
readonly name: "pool_id";
|
|
786
|
+
readonly type: "core::felt252";
|
|
787
|
+
}, {
|
|
788
|
+
readonly name: "collateral_asset";
|
|
789
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
790
|
+
}, {
|
|
791
|
+
readonly name: "debt_asset";
|
|
792
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
793
|
+
}, {
|
|
794
|
+
readonly name: "user";
|
|
795
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
796
|
+
}];
|
|
797
|
+
readonly outputs: readonly [{
|
|
798
|
+
readonly type: "vesu::data_model::Context";
|
|
799
|
+
}];
|
|
800
|
+
readonly state_mutability: "view";
|
|
801
|
+
}, {
|
|
802
|
+
readonly name: "context";
|
|
803
|
+
readonly type: "function";
|
|
804
|
+
readonly inputs: readonly [{
|
|
805
|
+
readonly name: "pool_id";
|
|
806
|
+
readonly type: "core::felt252";
|
|
807
|
+
}, {
|
|
808
|
+
readonly name: "collateral_asset";
|
|
809
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
810
|
+
}, {
|
|
811
|
+
readonly name: "debt_asset";
|
|
812
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
813
|
+
}, {
|
|
814
|
+
readonly name: "user";
|
|
815
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
816
|
+
}];
|
|
817
|
+
readonly outputs: readonly [{
|
|
818
|
+
readonly type: "vesu::data_model::Context";
|
|
819
|
+
}];
|
|
820
|
+
readonly state_mutability: "external";
|
|
821
|
+
}, {
|
|
822
|
+
readonly name: "create_pool";
|
|
823
|
+
readonly type: "function";
|
|
824
|
+
readonly inputs: readonly [{
|
|
825
|
+
readonly name: "asset_params";
|
|
826
|
+
readonly type: "core::array::Span::<vesu::data_model::AssetParams>";
|
|
827
|
+
}, {
|
|
828
|
+
readonly name: "ltv_params";
|
|
829
|
+
readonly type: "core::array::Span::<vesu::data_model::LTVParams>";
|
|
830
|
+
}, {
|
|
831
|
+
readonly name: "extension";
|
|
832
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
833
|
+
}];
|
|
834
|
+
readonly outputs: readonly [{
|
|
835
|
+
readonly type: "core::felt252";
|
|
836
|
+
}];
|
|
837
|
+
readonly state_mutability: "external";
|
|
838
|
+
}, {
|
|
839
|
+
readonly name: "modify_position";
|
|
840
|
+
readonly type: "function";
|
|
841
|
+
readonly inputs: readonly [{
|
|
842
|
+
readonly name: "params";
|
|
843
|
+
readonly type: "vesu::data_model::ModifyPositionParams";
|
|
844
|
+
}];
|
|
845
|
+
readonly outputs: readonly [{
|
|
846
|
+
readonly type: "vesu::data_model::UpdatePositionResponse";
|
|
847
|
+
}];
|
|
848
|
+
readonly state_mutability: "external";
|
|
849
|
+
}, {
|
|
850
|
+
readonly name: "transfer_position";
|
|
851
|
+
readonly type: "function";
|
|
852
|
+
readonly inputs: readonly [{
|
|
853
|
+
readonly name: "params";
|
|
854
|
+
readonly type: "vesu::data_model::TransferPositionParams";
|
|
855
|
+
}];
|
|
856
|
+
readonly outputs: readonly [];
|
|
857
|
+
readonly state_mutability: "external";
|
|
858
|
+
}, {
|
|
859
|
+
readonly name: "liquidate_position";
|
|
860
|
+
readonly type: "function";
|
|
861
|
+
readonly inputs: readonly [{
|
|
862
|
+
readonly name: "params";
|
|
863
|
+
readonly type: "vesu::data_model::LiquidatePositionParams";
|
|
864
|
+
}];
|
|
865
|
+
readonly outputs: readonly [{
|
|
866
|
+
readonly type: "vesu::data_model::UpdatePositionResponse";
|
|
867
|
+
}];
|
|
868
|
+
readonly state_mutability: "external";
|
|
869
|
+
}, {
|
|
870
|
+
readonly name: "flash_loan";
|
|
871
|
+
readonly type: "function";
|
|
872
|
+
readonly inputs: readonly [{
|
|
873
|
+
readonly name: "receiver";
|
|
874
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
875
|
+
}, {
|
|
876
|
+
readonly name: "asset";
|
|
877
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
878
|
+
}, {
|
|
879
|
+
readonly name: "amount";
|
|
880
|
+
readonly type: "core::integer::u256";
|
|
881
|
+
}, {
|
|
882
|
+
readonly name: "is_legacy";
|
|
883
|
+
readonly type: "core::bool";
|
|
884
|
+
}, {
|
|
885
|
+
readonly name: "data";
|
|
886
|
+
readonly type: "core::array::Span::<core::felt252>";
|
|
887
|
+
}];
|
|
888
|
+
readonly outputs: readonly [];
|
|
889
|
+
readonly state_mutability: "external";
|
|
890
|
+
}, {
|
|
891
|
+
readonly name: "modify_delegation";
|
|
892
|
+
readonly type: "function";
|
|
893
|
+
readonly inputs: readonly [{
|
|
894
|
+
readonly name: "pool_id";
|
|
895
|
+
readonly type: "core::felt252";
|
|
896
|
+
}, {
|
|
897
|
+
readonly name: "delegatee";
|
|
898
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
899
|
+
}, {
|
|
900
|
+
readonly name: "delegation";
|
|
901
|
+
readonly type: "core::bool";
|
|
902
|
+
}];
|
|
903
|
+
readonly outputs: readonly [];
|
|
904
|
+
readonly state_mutability: "external";
|
|
905
|
+
}, {
|
|
906
|
+
readonly name: "donate_to_reserve";
|
|
907
|
+
readonly type: "function";
|
|
908
|
+
readonly inputs: readonly [{
|
|
909
|
+
readonly name: "pool_id";
|
|
910
|
+
readonly type: "core::felt252";
|
|
911
|
+
}, {
|
|
912
|
+
readonly name: "asset";
|
|
913
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
914
|
+
}, {
|
|
915
|
+
readonly name: "amount";
|
|
916
|
+
readonly type: "core::integer::u256";
|
|
917
|
+
}];
|
|
918
|
+
readonly outputs: readonly [];
|
|
919
|
+
readonly state_mutability: "external";
|
|
920
|
+
}, {
|
|
921
|
+
readonly name: "retrieve_from_reserve";
|
|
922
|
+
readonly type: "function";
|
|
923
|
+
readonly inputs: readonly [{
|
|
924
|
+
readonly name: "pool_id";
|
|
925
|
+
readonly type: "core::felt252";
|
|
926
|
+
}, {
|
|
927
|
+
readonly name: "asset";
|
|
928
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
929
|
+
}, {
|
|
930
|
+
readonly name: "receiver";
|
|
931
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
932
|
+
}, {
|
|
933
|
+
readonly name: "amount";
|
|
934
|
+
readonly type: "core::integer::u256";
|
|
935
|
+
}];
|
|
936
|
+
readonly outputs: readonly [];
|
|
937
|
+
readonly state_mutability: "external";
|
|
938
|
+
}, {
|
|
939
|
+
readonly name: "set_asset_config";
|
|
940
|
+
readonly type: "function";
|
|
941
|
+
readonly inputs: readonly [{
|
|
942
|
+
readonly name: "pool_id";
|
|
943
|
+
readonly type: "core::felt252";
|
|
944
|
+
}, {
|
|
945
|
+
readonly name: "params";
|
|
946
|
+
readonly type: "vesu::data_model::AssetParams";
|
|
947
|
+
}];
|
|
948
|
+
readonly outputs: readonly [];
|
|
949
|
+
readonly state_mutability: "external";
|
|
950
|
+
}, {
|
|
951
|
+
readonly name: "set_ltv_config";
|
|
952
|
+
readonly type: "function";
|
|
953
|
+
readonly inputs: readonly [{
|
|
954
|
+
readonly name: "pool_id";
|
|
955
|
+
readonly type: "core::felt252";
|
|
956
|
+
}, {
|
|
957
|
+
readonly name: "collateral_asset";
|
|
958
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
959
|
+
}, {
|
|
960
|
+
readonly name: "debt_asset";
|
|
961
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
962
|
+
}, {
|
|
963
|
+
readonly name: "ltv_config";
|
|
964
|
+
readonly type: "vesu::data_model::LTVConfig";
|
|
965
|
+
}];
|
|
966
|
+
readonly outputs: readonly [];
|
|
967
|
+
readonly state_mutability: "external";
|
|
968
|
+
}, {
|
|
969
|
+
readonly name: "set_asset_parameter";
|
|
970
|
+
readonly type: "function";
|
|
971
|
+
readonly inputs: readonly [{
|
|
972
|
+
readonly name: "pool_id";
|
|
973
|
+
readonly type: "core::felt252";
|
|
974
|
+
}, {
|
|
975
|
+
readonly name: "asset";
|
|
976
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
977
|
+
}, {
|
|
978
|
+
readonly name: "parameter";
|
|
979
|
+
readonly type: "core::felt252";
|
|
980
|
+
}, {
|
|
981
|
+
readonly name: "value";
|
|
982
|
+
readonly type: "core::integer::u256";
|
|
983
|
+
}];
|
|
984
|
+
readonly outputs: readonly [];
|
|
985
|
+
readonly state_mutability: "external";
|
|
986
|
+
}, {
|
|
987
|
+
readonly name: "set_extension";
|
|
988
|
+
readonly type: "function";
|
|
989
|
+
readonly inputs: readonly [{
|
|
990
|
+
readonly name: "pool_id";
|
|
991
|
+
readonly type: "core::felt252";
|
|
992
|
+
}, {
|
|
993
|
+
readonly name: "extension";
|
|
994
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
995
|
+
}];
|
|
996
|
+
readonly outputs: readonly [];
|
|
997
|
+
readonly state_mutability: "external";
|
|
998
|
+
}, {
|
|
999
|
+
readonly name: "claim_fee_shares";
|
|
1000
|
+
readonly type: "function";
|
|
1001
|
+
readonly inputs: readonly [{
|
|
1002
|
+
readonly name: "pool_id";
|
|
1003
|
+
readonly type: "core::felt252";
|
|
1004
|
+
}, {
|
|
1005
|
+
readonly name: "asset";
|
|
1006
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1007
|
+
}];
|
|
1008
|
+
readonly outputs: readonly [];
|
|
1009
|
+
readonly state_mutability: "external";
|
|
1010
|
+
}];
|
|
1011
|
+
}, {
|
|
1012
|
+
readonly kind: "struct";
|
|
1013
|
+
readonly name: "vesu::singleton::Singleton::CreatePool";
|
|
1014
|
+
readonly type: "event";
|
|
1015
|
+
readonly members: readonly [{
|
|
1016
|
+
readonly kind: "key";
|
|
1017
|
+
readonly name: "pool_id";
|
|
1018
|
+
readonly type: "core::felt252";
|
|
1019
|
+
}, {
|
|
1020
|
+
readonly kind: "key";
|
|
1021
|
+
readonly name: "extension";
|
|
1022
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1023
|
+
}, {
|
|
1024
|
+
readonly kind: "key";
|
|
1025
|
+
readonly name: "creator";
|
|
1026
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1027
|
+
}];
|
|
1028
|
+
}, {
|
|
1029
|
+
readonly kind: "struct";
|
|
1030
|
+
readonly name: "vesu::singleton::Singleton::ModifyPosition";
|
|
1031
|
+
readonly type: "event";
|
|
1032
|
+
readonly members: readonly [{
|
|
1033
|
+
readonly kind: "key";
|
|
1034
|
+
readonly name: "pool_id";
|
|
1035
|
+
readonly type: "core::felt252";
|
|
1036
|
+
}, {
|
|
1037
|
+
readonly kind: "key";
|
|
1038
|
+
readonly name: "collateral_asset";
|
|
1039
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1040
|
+
}, {
|
|
1041
|
+
readonly kind: "key";
|
|
1042
|
+
readonly name: "debt_asset";
|
|
1043
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1044
|
+
}, {
|
|
1045
|
+
readonly kind: "key";
|
|
1046
|
+
readonly name: "user";
|
|
1047
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1048
|
+
}, {
|
|
1049
|
+
readonly kind: "data";
|
|
1050
|
+
readonly name: "collateral_delta";
|
|
1051
|
+
readonly type: "alexandria_math::i257::i257";
|
|
1052
|
+
}, {
|
|
1053
|
+
readonly kind: "data";
|
|
1054
|
+
readonly name: "collateral_shares_delta";
|
|
1055
|
+
readonly type: "alexandria_math::i257::i257";
|
|
1056
|
+
}, {
|
|
1057
|
+
readonly kind: "data";
|
|
1058
|
+
readonly name: "debt_delta";
|
|
1059
|
+
readonly type: "alexandria_math::i257::i257";
|
|
1060
|
+
}, {
|
|
1061
|
+
readonly kind: "data";
|
|
1062
|
+
readonly name: "nominal_debt_delta";
|
|
1063
|
+
readonly type: "alexandria_math::i257::i257";
|
|
1064
|
+
}];
|
|
1065
|
+
}, {
|
|
1066
|
+
readonly kind: "struct";
|
|
1067
|
+
readonly name: "vesu::singleton::Singleton::TransferPosition";
|
|
1068
|
+
readonly type: "event";
|
|
1069
|
+
readonly members: readonly [{
|
|
1070
|
+
readonly kind: "key";
|
|
1071
|
+
readonly name: "pool_id";
|
|
1072
|
+
readonly type: "core::felt252";
|
|
1073
|
+
}, {
|
|
1074
|
+
readonly kind: "key";
|
|
1075
|
+
readonly name: "from_collateral_asset";
|
|
1076
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1077
|
+
}, {
|
|
1078
|
+
readonly kind: "key";
|
|
1079
|
+
readonly name: "from_debt_asset";
|
|
1080
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1081
|
+
}, {
|
|
1082
|
+
readonly kind: "key";
|
|
1083
|
+
readonly name: "to_collateral_asset";
|
|
1084
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1085
|
+
}, {
|
|
1086
|
+
readonly kind: "key";
|
|
1087
|
+
readonly name: "to_debt_asset";
|
|
1088
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1089
|
+
}, {
|
|
1090
|
+
readonly kind: "key";
|
|
1091
|
+
readonly name: "from_user";
|
|
1092
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1093
|
+
}, {
|
|
1094
|
+
readonly kind: "key";
|
|
1095
|
+
readonly name: "to_user";
|
|
1096
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1097
|
+
}];
|
|
1098
|
+
}, {
|
|
1099
|
+
readonly kind: "struct";
|
|
1100
|
+
readonly name: "vesu::singleton::Singleton::LiquidatePosition";
|
|
1101
|
+
readonly type: "event";
|
|
1102
|
+
readonly members: readonly [{
|
|
1103
|
+
readonly kind: "key";
|
|
1104
|
+
readonly name: "pool_id";
|
|
1105
|
+
readonly type: "core::felt252";
|
|
1106
|
+
}, {
|
|
1107
|
+
readonly kind: "key";
|
|
1108
|
+
readonly name: "collateral_asset";
|
|
1109
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1110
|
+
}, {
|
|
1111
|
+
readonly kind: "key";
|
|
1112
|
+
readonly name: "debt_asset";
|
|
1113
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1114
|
+
}, {
|
|
1115
|
+
readonly kind: "key";
|
|
1116
|
+
readonly name: "user";
|
|
1117
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1118
|
+
}, {
|
|
1119
|
+
readonly kind: "key";
|
|
1120
|
+
readonly name: "liquidator";
|
|
1121
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1122
|
+
}, {
|
|
1123
|
+
readonly kind: "data";
|
|
1124
|
+
readonly name: "collateral_delta";
|
|
1125
|
+
readonly type: "alexandria_math::i257::i257";
|
|
1126
|
+
}, {
|
|
1127
|
+
readonly kind: "data";
|
|
1128
|
+
readonly name: "collateral_shares_delta";
|
|
1129
|
+
readonly type: "alexandria_math::i257::i257";
|
|
1130
|
+
}, {
|
|
1131
|
+
readonly kind: "data";
|
|
1132
|
+
readonly name: "debt_delta";
|
|
1133
|
+
readonly type: "alexandria_math::i257::i257";
|
|
1134
|
+
}, {
|
|
1135
|
+
readonly kind: "data";
|
|
1136
|
+
readonly name: "nominal_debt_delta";
|
|
1137
|
+
readonly type: "alexandria_math::i257::i257";
|
|
1138
|
+
}, {
|
|
1139
|
+
readonly kind: "data";
|
|
1140
|
+
readonly name: "bad_debt";
|
|
1141
|
+
readonly type: "core::integer::u256";
|
|
1142
|
+
}];
|
|
1143
|
+
}, {
|
|
1144
|
+
readonly kind: "struct";
|
|
1145
|
+
readonly name: "vesu::singleton::Singleton::AccrueFees";
|
|
1146
|
+
readonly type: "event";
|
|
1147
|
+
readonly members: readonly [{
|
|
1148
|
+
readonly kind: "key";
|
|
1149
|
+
readonly name: "pool_id";
|
|
1150
|
+
readonly type: "core::felt252";
|
|
1151
|
+
}, {
|
|
1152
|
+
readonly kind: "key";
|
|
1153
|
+
readonly name: "collateral_asset";
|
|
1154
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1155
|
+
}, {
|
|
1156
|
+
readonly kind: "key";
|
|
1157
|
+
readonly name: "debt_asset";
|
|
1158
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1159
|
+
}, {
|
|
1160
|
+
readonly kind: "key";
|
|
1161
|
+
readonly name: "recipient";
|
|
1162
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1163
|
+
}, {
|
|
1164
|
+
readonly kind: "data";
|
|
1165
|
+
readonly name: "collateral_asset_fee_shares";
|
|
1166
|
+
readonly type: "core::integer::u256";
|
|
1167
|
+
}, {
|
|
1168
|
+
readonly kind: "data";
|
|
1169
|
+
readonly name: "debt_asset_fee_shares";
|
|
1170
|
+
readonly type: "core::integer::u256";
|
|
1171
|
+
}];
|
|
1172
|
+
}, {
|
|
1173
|
+
readonly kind: "struct";
|
|
1174
|
+
readonly name: "vesu::singleton::Singleton::UpdateContext";
|
|
1175
|
+
readonly type: "event";
|
|
1176
|
+
readonly members: readonly [{
|
|
1177
|
+
readonly kind: "key";
|
|
1178
|
+
readonly name: "pool_id";
|
|
1179
|
+
readonly type: "core::felt252";
|
|
1180
|
+
}, {
|
|
1181
|
+
readonly kind: "key";
|
|
1182
|
+
readonly name: "collateral_asset";
|
|
1183
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1184
|
+
}, {
|
|
1185
|
+
readonly kind: "key";
|
|
1186
|
+
readonly name: "debt_asset";
|
|
1187
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1188
|
+
}, {
|
|
1189
|
+
readonly kind: "data";
|
|
1190
|
+
readonly name: "collateral_asset_config";
|
|
1191
|
+
readonly type: "vesu::data_model::AssetConfig";
|
|
1192
|
+
}, {
|
|
1193
|
+
readonly kind: "data";
|
|
1194
|
+
readonly name: "debt_asset_config";
|
|
1195
|
+
readonly type: "vesu::data_model::AssetConfig";
|
|
1196
|
+
}, {
|
|
1197
|
+
readonly kind: "data";
|
|
1198
|
+
readonly name: "collateral_asset_price";
|
|
1199
|
+
readonly type: "vesu::data_model::AssetPrice";
|
|
1200
|
+
}, {
|
|
1201
|
+
readonly kind: "data";
|
|
1202
|
+
readonly name: "debt_asset_price";
|
|
1203
|
+
readonly type: "vesu::data_model::AssetPrice";
|
|
1204
|
+
}];
|
|
1205
|
+
}, {
|
|
1206
|
+
readonly kind: "struct";
|
|
1207
|
+
readonly name: "vesu::singleton::Singleton::Flashloan";
|
|
1208
|
+
readonly type: "event";
|
|
1209
|
+
readonly members: readonly [{
|
|
1210
|
+
readonly kind: "key";
|
|
1211
|
+
readonly name: "sender";
|
|
1212
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1213
|
+
}, {
|
|
1214
|
+
readonly kind: "key";
|
|
1215
|
+
readonly name: "receiver";
|
|
1216
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1217
|
+
}, {
|
|
1218
|
+
readonly kind: "key";
|
|
1219
|
+
readonly name: "asset";
|
|
1220
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1221
|
+
}, {
|
|
1222
|
+
readonly kind: "data";
|
|
1223
|
+
readonly name: "amount";
|
|
1224
|
+
readonly type: "core::integer::u256";
|
|
1225
|
+
}];
|
|
1226
|
+
}, {
|
|
1227
|
+
readonly kind: "struct";
|
|
1228
|
+
readonly name: "vesu::singleton::Singleton::ModifyDelegation";
|
|
1229
|
+
readonly type: "event";
|
|
1230
|
+
readonly members: readonly [{
|
|
1231
|
+
readonly kind: "key";
|
|
1232
|
+
readonly name: "pool_id";
|
|
1233
|
+
readonly type: "core::felt252";
|
|
1234
|
+
}, {
|
|
1235
|
+
readonly kind: "key";
|
|
1236
|
+
readonly name: "delegator";
|
|
1237
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1238
|
+
}, {
|
|
1239
|
+
readonly kind: "key";
|
|
1240
|
+
readonly name: "delegatee";
|
|
1241
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1242
|
+
}, {
|
|
1243
|
+
readonly kind: "data";
|
|
1244
|
+
readonly name: "delegation";
|
|
1245
|
+
readonly type: "core::bool";
|
|
1246
|
+
}];
|
|
1247
|
+
}, {
|
|
1248
|
+
readonly kind: "struct";
|
|
1249
|
+
readonly name: "vesu::singleton::Singleton::Donate";
|
|
1250
|
+
readonly type: "event";
|
|
1251
|
+
readonly members: readonly [{
|
|
1252
|
+
readonly kind: "key";
|
|
1253
|
+
readonly name: "pool_id";
|
|
1254
|
+
readonly type: "core::felt252";
|
|
1255
|
+
}, {
|
|
1256
|
+
readonly kind: "key";
|
|
1257
|
+
readonly name: "asset";
|
|
1258
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1259
|
+
}, {
|
|
1260
|
+
readonly kind: "data";
|
|
1261
|
+
readonly name: "amount";
|
|
1262
|
+
readonly type: "core::integer::u256";
|
|
1263
|
+
}];
|
|
1264
|
+
}, {
|
|
1265
|
+
readonly kind: "struct";
|
|
1266
|
+
readonly name: "vesu::singleton::Singleton::RetrieveReserve";
|
|
1267
|
+
readonly type: "event";
|
|
1268
|
+
readonly members: readonly [{
|
|
1269
|
+
readonly kind: "key";
|
|
1270
|
+
readonly name: "pool_id";
|
|
1271
|
+
readonly type: "core::felt252";
|
|
1272
|
+
}, {
|
|
1273
|
+
readonly kind: "key";
|
|
1274
|
+
readonly name: "asset";
|
|
1275
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1276
|
+
}, {
|
|
1277
|
+
readonly kind: "key";
|
|
1278
|
+
readonly name: "receiver";
|
|
1279
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1280
|
+
}];
|
|
1281
|
+
}, {
|
|
1282
|
+
readonly kind: "struct";
|
|
1283
|
+
readonly name: "vesu::singleton::Singleton::SetLTVConfig";
|
|
1284
|
+
readonly type: "event";
|
|
1285
|
+
readonly members: readonly [{
|
|
1286
|
+
readonly kind: "key";
|
|
1287
|
+
readonly name: "pool_id";
|
|
1288
|
+
readonly type: "core::felt252";
|
|
1289
|
+
}, {
|
|
1290
|
+
readonly kind: "key";
|
|
1291
|
+
readonly name: "collateral_asset";
|
|
1292
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1293
|
+
}, {
|
|
1294
|
+
readonly kind: "key";
|
|
1295
|
+
readonly name: "debt_asset";
|
|
1296
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1297
|
+
}, {
|
|
1298
|
+
readonly kind: "data";
|
|
1299
|
+
readonly name: "ltv_config";
|
|
1300
|
+
readonly type: "vesu::data_model::LTVConfig";
|
|
1301
|
+
}];
|
|
1302
|
+
}, {
|
|
1303
|
+
readonly kind: "struct";
|
|
1304
|
+
readonly name: "vesu::singleton::Singleton::SetAssetConfig";
|
|
1305
|
+
readonly type: "event";
|
|
1306
|
+
readonly members: readonly [{
|
|
1307
|
+
readonly kind: "key";
|
|
1308
|
+
readonly name: "pool_id";
|
|
1309
|
+
readonly type: "core::felt252";
|
|
1310
|
+
}, {
|
|
1311
|
+
readonly kind: "key";
|
|
1312
|
+
readonly name: "asset";
|
|
1313
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1314
|
+
}];
|
|
1315
|
+
}, {
|
|
1316
|
+
readonly kind: "struct";
|
|
1317
|
+
readonly name: "vesu::singleton::Singleton::SetAssetParameter";
|
|
1318
|
+
readonly type: "event";
|
|
1319
|
+
readonly members: readonly [{
|
|
1320
|
+
readonly kind: "key";
|
|
1321
|
+
readonly name: "pool_id";
|
|
1322
|
+
readonly type: "core::felt252";
|
|
1323
|
+
}, {
|
|
1324
|
+
readonly kind: "key";
|
|
1325
|
+
readonly name: "asset";
|
|
1326
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1327
|
+
}, {
|
|
1328
|
+
readonly kind: "key";
|
|
1329
|
+
readonly name: "parameter";
|
|
1330
|
+
readonly type: "core::felt252";
|
|
1331
|
+
}, {
|
|
1332
|
+
readonly kind: "data";
|
|
1333
|
+
readonly name: "value";
|
|
1334
|
+
readonly type: "core::integer::u256";
|
|
1335
|
+
}];
|
|
1336
|
+
}, {
|
|
1337
|
+
readonly kind: "struct";
|
|
1338
|
+
readonly name: "vesu::singleton::Singleton::SetExtension";
|
|
1339
|
+
readonly type: "event";
|
|
1340
|
+
readonly members: readonly [{
|
|
1341
|
+
readonly kind: "key";
|
|
1342
|
+
readonly name: "pool_id";
|
|
1343
|
+
readonly type: "core::felt252";
|
|
1344
|
+
}, {
|
|
1345
|
+
readonly kind: "key";
|
|
1346
|
+
readonly name: "extension";
|
|
1347
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1348
|
+
}];
|
|
1349
|
+
}, {
|
|
1350
|
+
readonly kind: "enum";
|
|
1351
|
+
readonly name: "vesu::singleton::Singleton::Event";
|
|
1352
|
+
readonly type: "event";
|
|
1353
|
+
readonly variants: readonly [{
|
|
1354
|
+
readonly kind: "nested";
|
|
1355
|
+
readonly name: "CreatePool";
|
|
1356
|
+
readonly type: "vesu::singleton::Singleton::CreatePool";
|
|
1357
|
+
}, {
|
|
1358
|
+
readonly kind: "nested";
|
|
1359
|
+
readonly name: "ModifyPosition";
|
|
1360
|
+
readonly type: "vesu::singleton::Singleton::ModifyPosition";
|
|
1361
|
+
}, {
|
|
1362
|
+
readonly kind: "nested";
|
|
1363
|
+
readonly name: "TransferPosition";
|
|
1364
|
+
readonly type: "vesu::singleton::Singleton::TransferPosition";
|
|
1365
|
+
}, {
|
|
1366
|
+
readonly kind: "nested";
|
|
1367
|
+
readonly name: "LiquidatePosition";
|
|
1368
|
+
readonly type: "vesu::singleton::Singleton::LiquidatePosition";
|
|
1369
|
+
}, {
|
|
1370
|
+
readonly kind: "nested";
|
|
1371
|
+
readonly name: "AccrueFees";
|
|
1372
|
+
readonly type: "vesu::singleton::Singleton::AccrueFees";
|
|
1373
|
+
}, {
|
|
1374
|
+
readonly kind: "nested";
|
|
1375
|
+
readonly name: "UpdateContext";
|
|
1376
|
+
readonly type: "vesu::singleton::Singleton::UpdateContext";
|
|
1377
|
+
}, {
|
|
1378
|
+
readonly kind: "nested";
|
|
1379
|
+
readonly name: "Flashloan";
|
|
1380
|
+
readonly type: "vesu::singleton::Singleton::Flashloan";
|
|
1381
|
+
}, {
|
|
1382
|
+
readonly kind: "nested";
|
|
1383
|
+
readonly name: "ModifyDelegation";
|
|
1384
|
+
readonly type: "vesu::singleton::Singleton::ModifyDelegation";
|
|
1385
|
+
}, {
|
|
1386
|
+
readonly kind: "nested";
|
|
1387
|
+
readonly name: "Donate";
|
|
1388
|
+
readonly type: "vesu::singleton::Singleton::Donate";
|
|
1389
|
+
}, {
|
|
1390
|
+
readonly kind: "nested";
|
|
1391
|
+
readonly name: "RetrieveReserve";
|
|
1392
|
+
readonly type: "vesu::singleton::Singleton::RetrieveReserve";
|
|
1393
|
+
}, {
|
|
1394
|
+
readonly kind: "nested";
|
|
1395
|
+
readonly name: "SetLTVConfig";
|
|
1396
|
+
readonly type: "vesu::singleton::Singleton::SetLTVConfig";
|
|
1397
|
+
}, {
|
|
1398
|
+
readonly kind: "nested";
|
|
1399
|
+
readonly name: "SetAssetConfig";
|
|
1400
|
+
readonly type: "vesu::singleton::Singleton::SetAssetConfig";
|
|
1401
|
+
}, {
|
|
1402
|
+
readonly kind: "nested";
|
|
1403
|
+
readonly name: "SetAssetParameter";
|
|
1404
|
+
readonly type: "vesu::singleton::Singleton::SetAssetParameter";
|
|
1405
|
+
}, {
|
|
1406
|
+
readonly kind: "nested";
|
|
1407
|
+
readonly name: "SetExtension";
|
|
1408
|
+
readonly type: "vesu::singleton::Singleton::SetExtension";
|
|
1409
|
+
}];
|
|
1410
|
+
}];
|