3️Calculator
This module contains the core calculation functions used in the lending and borrowing process in NAVI.
calculate_utilization
public fun caculate_utilization(
storage: &mut Storage,
asset: u8
): u256 {}calculate_borrow_rate
public fun calculate_borrow_rate(
storage: &mut Storage,
asset: u8
): u256 {}calculate_supply_rate
calculate_compounded_interest
calculate_linear_interest
calculate_value
calculate_amount
Last updated