You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
struct LoanInfo {
/// Related active loan
pub active_loan: ActiveLoan<T>,
/// Present value of the loan
pub present_value: T::Balance,
/// Current outstanding principal of this loan
pub outstanding_principal: T::Balance,
/// Current outstanding interest of this loan
pub outstanding_interest: T::Balance,
/// Current price for external loans
/// - If oracle set, then the price is the one coming from the oracle,
/// - If not set, then the price is a linear accrual using the latest
/// settlement price.
/// See [`ExternalActivePricing::current_price()`]
pub current_price: Option<T::Balance>,
}
}
The text was updated successfully, but these errors were encountered:
NAV management prefillment from data gathered from the runtime API
Spec linear accrueing in NAV dashboard
Already briefed Tim on prefill of asset prices.
UI can get prices when calling runtime API
LoansAPI:Portfolio
Presentvalue
needs to be taken and prefilled in the price fieldsapi.call.loansApi.portfolio(PoolId) -> Vec<(LoanId, LoanInfo)>
The text was updated successfully, but these errors were encountered: