Trait dharitri_wasm::api::ContractImpl
source · pub trait ContractImpl {
type Api;
// Required method
fn new_contract_impl(api: Self::Api) -> Self;
}Expand description
Governs the instantiation process of contract implementation. Using a trait for the instantiation helps with code generation.
Required Associated Types§
Required Methods§
fn new_contract_impl(api: Self::Api) -> Self
Object Safety§
This trait is not object safe.