pub trait ContractAbiProvider {
type Api: VMApi;
fn abi() -> ContractAbi;
}
Expand description
Required by contract ABI generators.
Provides the same associated types as the ContractBase
,
so that associated types that show up in arguments and results match.
Required Associated Types§
Required Methods§
sourcefn abi() -> ContractAbi
fn abi() -> ContractAbi
Associated function that provides the contract or module ABI. Since ABI generation is static, no state from the contract is required.