Function cosmwasm_std::has_coins

source ·
pub fn has_coins(coins: &[Coin], required: &Coin) -> bool
Expand description

has_coins returns true if the list of coins has at least the required amount