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