Trait frame_support::traits::tokens::fungibles::InspectHold
source · pub trait InspectHold<AccountId>: Inspect<AccountId> {
fn balance_on_hold(asset: Self::AssetId, who: &AccountId) -> Self::Balance;
fn can_hold(
asset: Self::AssetId,
who: &AccountId,
amount: Self::Balance
) -> bool;
}
Expand description
Trait for inspecting a set of named fungible assets which can be placed on hold.
Required Methods§
sourcefn balance_on_hold(asset: Self::AssetId, who: &AccountId) -> Self::Balance
fn balance_on_hold(asset: Self::AssetId, who: &AccountId) -> Self::Balance
Amount of funds held in hold.