Struct ethers_contract_abigen::contract::Context [−][src]
pub struct Context { /* fields omitted */ }
Expand description
Internal shared context for generating smart contract bindings.
Implementations
Expands each event to a struct + its impl Detokenize block
Generate the event filter methods for the contract
Generate corresponding types for structs parsed from a human readable ABI
NOTE: This assumes that all structs that are potentially used as type for variable are
in fact present in the AbiParser
, this is sound because AbiParser::parse
would have
failed already
In the event of type conflicts this allows for removing a specific struct type.
Returns the type definition for the struct with the given name
Expands the whole rust contract
Create a context from the code generation arguments.
The internal abi struct mapping table
The internal mutable abi struct mapping table
Auto Trait Implementations
impl RefUnwindSafe for Context
impl UnwindSafe for Context
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more