logic
Module0x512f…833a
- Move path
- 0xd899…81ca::logic
- Functions
- 3315 public, 0 entry
- Structs
- 1
- Friend modules
- flash_loanlending
logic
Functions33
- public fun dynamic_liquidation_threshold(&Clock,&mut storage::Storage,&oracle::PriceOracle,address): u256
- public fun user_collateral_value(&Clock,&oracle::PriceOracle,&mut storage::Storage,u8,address): u256
- public fun user_health_collateral_value(&Clock,&oracle::PriceOracle,&mut storage::Storage,address): u256
- public fun user_health_factor_batch(&Clock,&oracle::PriceOracle,&mut storage::Storage,vector<address>): vector<u256>
- public fun weighted_user_health_loan_value(&Clock,&oracle::PriceOracle,&mut storage::Storage,address): u256
Structs1
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
- StateUpdatedcopydrop
user address asset u8 user_supply_balance u256 user_borrow_balance u256 new_supply_index u256 new_borrow_index u256
Constants1
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Index | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 0x0000000000000000000000000000000000000000000000000000000000000000 | address | Value | cumulate_to_supply_index |