abstract_std::objects::ownership

Function assert_nested_owner

Source
pub fn assert_nested_owner(
    store: &dyn Storage,
    querier: &QuerierWrapper<'_>,
    sender: &Addr,
) -> Result<(), GovOwnershipError>
Expand description

Assert that an account is the contract’s current owner.