Skip to main content

initialize_owner

Function initialize_owner 

Source
pub fn initialize_owner(
    deps: DepsMut<'_>,
    owner: GovernanceDetails<String>,
) -> Result<Ownership<Addr>, GovOwnershipError>
Expand description

Set the given address as the contract owner.

This function is only intended to be used only during contract instantiation.