Trait frame_support::traits::tokens::fungible::InspectHold [−][src]
pub trait InspectHold<AccountId>: Inspect<AccountId> { fn balance_on_hold(who: &AccountId) -> Self::Balance; fn can_hold(who: &AccountId, amount: Self::Balance) -> bool; }
Expand description
Trait for inspecting a fungible asset which can be reserved.
Required methods
fn balance_on_hold(who: &AccountId) -> Self::Balance
fn balance_on_hold(who: &AccountId) -> Self::Balance
Amount of funds held in reserve by who
.
Implementors
impl<F: InspectHold<AccountId>, A: Get<<F as Inspect<AccountId>>::AssetId>, AccountId> InspectHold<AccountId> for ItemOf<F, A, AccountId>