pub trait InspectLockableCurrency<AccountId>: LockableCurrency<AccountId> {
    // Required method
    fn balance_locked(id: LockIdentifier, who: &AccountId) -> Self::Balance;
}
Expand description

A inspect interface for a currency whose accounts can have liquidity restrictions.

Required Methods§

source

fn balance_locked(id: LockIdentifier, who: &AccountId) -> Self::Balance

Amount of funds locked for who associated with id.

Object Safety§

This trait is not object safe.

Implementors§