pub fn check_account_has_all_attributes<S: Into<String>>(
    deps: &DepsMut<'_>,
    account: S,
    attributes: &[String]
) -> Result<(), ContractError>
Expand description

Ensures that the target account has all the specified attributes. Does not check for valid attribute body contents.

§Parameters

  • deps A dependencies object provided by the cosmwasm framework. Allows access to useful resources like contract internal storage and a querier to retrieve blockchain objects.
  • account The bech32 address for which to pull and verify attributes.
  • attributes All attribute names to verify.