Trait t3rn_primitives::threevm::ModuleOperations
source · pub trait ModuleOperations<T: ConfigSystem, Balance> {
// Required methods
fn get_bytecode(&self) -> &Vec<u8> ⓘ;
fn get_author(&self) -> Option<&AuthorInfo<T::AccountId, Balance>>;
fn set_author(&mut self, author: AuthorInfo<T::AccountId, Balance>);
fn get_type(&self) -> &ContractType;
fn set_type(&mut self, kind: ContractType);
}