Trait frame_support::traits::tokens::currency::InspectLockableCurrency
source · 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§
sourcefn balance_locked(id: LockIdentifier, who: &AccountId) -> Self::Balance
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.