Trait Ownable

Source
pub trait Ownable {
    // Required methods
    fn get_owner(&self) -> AccountId;
    fn set_owner(&mut self, owner: AccountId);

    // Provided method
    fn assert_owner(&self) { ... }
}
๐Ÿ‘ŽDeprecated since 4.1.0: This was removed because there is no standard (NEP) for upgradable contracts.

Required Methodsยง

Source

fn get_owner(&self) -> AccountId

๐Ÿ‘ŽDeprecated since 4.1.0: This was removed because there is no standard (NEP) for upgradable contracts.
Source

fn set_owner(&mut self, owner: AccountId)

๐Ÿ‘ŽDeprecated since 4.1.0: This was removed because there is no standard (NEP) for upgradable contracts.

Provided Methodsยง

Source

fn assert_owner(&self)

๐Ÿ‘ŽDeprecated since 4.1.0: This was removed because there is no standard (NEP) for upgradable contracts.

Implementorsยง