Macro generate_abi_impls

Source
macro_rules! generate_abi_impls {
    ($generator: expr, $ink_abi: expr, $sol_abi: expr) => { ... };
    (@tokens $callback: expr) => { ... };
    (@type $callback: expr) => { ... };
}
Expand description

Generates code for all enabled ABIs by calling the given generator function for each enabled ABI, and returns a TokenStream combining all generated ABI specific code. with the ABI as an argument.

ยงNote

The ABI is passed to the generator function as an argument. The argument value can be either as an ink_primitives::abi::Abi variant, or tokens for ::ink::abi::Ink or ::ink::abi::Sol.