pub trait Generatable {
    // Required method
    fn generate<C: Context>(&self, context: &mut C) -> Result<()>;
}
Expand description

ABI data structure that can be generated into arbitrary programming language supported by Ethbind.

Ethbind provides Generatable implementations for types of crate ethbind-json

Required Methods§

source

fn generate<C: Context>(&self, context: &mut C) -> Result<()>

Generate abi data to Target programming language code.

Implementations on Foreign Types§

source§

impl Generatable for HardhatArtifact

source§

fn generate<C: Context>(&self, context: &mut C) -> Result<()>

source§

impl Generatable for Vec<AbiField>

source§

fn generate<C: Context>(&self, context: &mut C) -> Result<()>

Implementors§