Functionsยง
- Functions used by the Abigen to expand functions defined in an ABI spec. Transforms a function defined in
Function
into aTokenStream
that represents that same function signature as a Rust-native function declaration. The actual logic inside the function is the functionmethod_hash
underContract
, which is responsible for encoding the function selector and the function parameters that will be used in the actual contract call. - Expands a positional identifier string that may be empty.