pub trait ContractAbiProvider {
    type Api: VMApi;

    // Required method
    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§

source

fn abi() -> ContractAbi

Associated function that provides the contract or module ABI. Since ABI generation is static, no state from the contract is required.

Object Safety§

This trait is not object safe.

Implementors§