logic
Module0x512f…833a
- Move path
- 0xd899…81ca::logic
- Functions
- 3315 public, 0 entry
- Structs
- 1
- Friend modules
- flash_loanlending
logic
Declarations
Rebuilt from the module interface. No verified source is published, and function bodies are only available as bytecode.
module logic;
struct StateUpdated has copy, drop {
user: address,
asset: u8,
user_supply_balance: u256,
user_borrow_balance: u256,
new_supply_index: u256,
new_borrow_index: u256,
}
fun calculate_liquidation(&Clock,&mut storage::Storage,&oracle::PriceOracle,address,u8,u8,u256): (u256, u256, u256, u256, u256, bool)
public fun dynamic_liquidation_threshold(&Clock,&mut storage::Storage,&oracle::PriceOracle,address): u256
public(package) fun execute_borrow<T0>(&Clock,&oracle::PriceOracle,&mut storage::Storage,u8,address,u256)
public(package) fun execute_liquidate<T0, T1>(&Clock,&oracle::PriceOracle,&mut storage::Storage,address,u8,u8,u256): (u256, u256, u256)
public(package) fun execute_repay<T0>(&Clock,&oracle::PriceOracle,&mut storage::Storage,u8,address,u256): u256
public(package) fun execute_withdraw<T0>(&Clock,&oracle::PriceOracle,&mut storage::Storage,u8,address,u256): u64
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