pub trait Nep26Lifecycle {
// Provided methods
fn update_contract(
&self,
script_hash: &NeoByteString,
nef_script: &NeoByteString,
manifest: &NeoContractManifest,
) -> NeoResult<()> { ... }
fn destroy_contract(&self, script_hash: &NeoByteString) -> NeoResult<()> { ... }
}Expand description
Legacy lifecycle helper wrapping runtime update/destroy calls.
Provided Methods§
fn update_contract( &self, script_hash: &NeoByteString, nef_script: &NeoByteString, manifest: &NeoContractManifest, ) -> NeoResult<()>
fn destroy_contract(&self, script_hash: &NeoByteString) -> NeoResult<()>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".