Trait near_contract_standards_sbt::upgrade::Ownable
source · pub trait Ownable {
fn get_owner(&self) -> AccountId;
fn set_owner(&mut self, owner: AccountId);
fn assert_owner(&self) { ... }
}
👎Deprecated since 4.1.0: This was removed because there is no standard (NEP) for upgradable contracts.
Required Methods§
Provided Methods§
sourcefn assert_owner(&self)
fn assert_owner(&self)
👎Deprecated since 4.1.0: This was removed because there is no standard (NEP) for upgradable contracts.