Function cw_ownable::assert_owner
source · pub fn assert_owner(
store: &dyn Storage,
sender: &Addr,
) -> Result<(), OwnershipError>Expand description
Assert that an account is the contract’s current owner.
pub fn assert_owner(
store: &dyn Storage,
sender: &Addr,
) -> Result<(), OwnershipError>Assert that an account is the contract’s current owner.