Trait frame_support::traits::tokens::fungibles::InspectHold[][src]

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

Amount of funds held in hold.

Check to see if some amount of asset may be held on the account of who.

Implementors