pub trait RedeemRequestExt<T: Config> {
    // Required methods
    fn amount_btc(&self) -> Amount<T>;
    fn fee(&self) -> Amount<T>;
    fn premium(&self) -> Result<Amount<T>, DispatchError>;
    fn transfer_fee_btc(&self) -> Amount<T>;
}

Required Methods§

source

fn amount_btc(&self) -> Amount<T>

source

fn fee(&self) -> Amount<T>

source

fn premium(&self) -> Result<Amount<T>, DispatchError>

source

fn transfer_fee_btc(&self) -> Amount<T>

Implementors§

source§

impl<T: Config> RedeemRequestExt<T> for RedeemRequest<T::AccountId, BlockNumberFor<T>, <T as Config>::Balance, CurrencyId<T>>