Function cw_ownable::update_ownership
source · pub fn update_ownership(
deps: DepsMut<'_>,
block: &BlockInfo,
sender: &Addr,
action: Action
) -> Result<Ownership<Addr>, OwnershipError>
Expand description
Update the contract’s ownership info based on the given action. Return the updated ownership.