Skip to main content

collateral_currency

Function collateral_currency 

pub fn collateral_currency(
    code: &str,
) -> Result<Currency, NotACollateralCurrency>
Expand description

The currency a collateral argument names.

ยงErrors

NotACollateralCurrency for anything that is not a currency code.