Trait frame_support::traits::tokens::fungible::InspectHold
source · 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§
sourcefn balance_on_hold(who: &AccountId) -> Self::Balance
fn balance_on_hold(who: &AccountId) -> Self::Balance
Amount of funds held in reserve by who
.