HlsParamsUnchecked

Type Alias HlsParamsUnchecked 

Source
pub type HlsParamsUnchecked = HlsParamsBase<String>;

Aliased Type§

pub struct HlsParamsUnchecked {
    pub max_loan_to_value: Decimal,
    pub liquidation_threshold: Decimal,
    pub correlations: Vec<HlsAssetType<String>>,
}

Fields§

§max_loan_to_value: Decimal§liquidation_threshold: Decimal§correlations: Vec<HlsAssetType<String>>

Given this asset is debt, correlations are the only allowed collateral which are permitted to fulfill the HLS strategy

Implementations§

Trait Implementations§

Source§

impl From<HlsParamsBase<Addr>> for HlsParamsUnchecked

Source§

fn from(hls: HlsParams) -> Self

Converts to this type from the input type.