Function cw_ownable::initialize_owner
source · pub fn initialize_owner(
storage: &mut dyn Storage,
api: &dyn Api,
owner: Option<&str>
) -> StdResult<Ownership<Addr>>
Expand description
Set the given address as the contract owner.
This function is only intended to be used only during contract instantiation.