Module ownership Copy item path Source cw721 This module used internally, for Nft Owners and could be removed at any point if cw721 will get upgraded to cosmwasm 2.0+ nested_admin Ownership The contract’s ownership info GovAction Actions that can be taken to alter the contract’s governance ownership GovOwnershipError Errors associated with the contract’s ownership GovernanceDetails Governance types assert_nested_owner Assert that an account is the contract’s current owner. get_ownership Get the current ownership value. initialize_owner Set the given address as the contract owner. is_owner Return Ok(true) if the contract has an owner and it’s the given address.
Return Ok(false) if the contract doesn’t have an owner, of if it does but
it’s not the given address.
Return Err if fails to load ownership info from storage. query_ownership update_ownership Update the contract’s ownership info based on the given action.
Return the updated ownership.