Trait OWNABLE
Source pub trait OWNABLE<Storage: ContractStorage>: ContractContext<Storage> {
// Provided methods
fn init(
&mut self,
contract_hash: ContractHash,
package_hash: ContractPackageHash,
) { ... }
fn owner(&self) -> Key { ... }
fn only_owner(&self) { ... }
fn is_owner(&self) -> bool { ... }
fn renounce_ownership(&mut self) { ... }
fn transfer_ownership(&mut self, new_owner: Key) { ... }
fn _transfer_ownership(&mut self, new_owner: Key) { ... }
fn ownable_emit(&mut self, ownable_event: &OwnableEvent) { ... }
}