Trait dharitri_wasm::api::ContractWithAbi
source · pub trait ContractWithAbi {
type Storage;
// Required method
fn abi(&self, include_modules: bool) -> ContractAbi;
}Expand description
ContractWithAbi is the means by which a contract can provide an ABI.
Required Associated Types§
Required Methods§
sourcefn abi(&self, include_modules: bool) -> ContractAbi
fn abi(&self, include_modules: bool) -> ContractAbi
Generate a raw ABI object. Contracts would not call this function, so it never ends up in the wasm bytecode. It is, however, still no_std.