Module fuels_core::code_gen::functions_gen
source · Functions§
- Functions used by the Abigen to expand functions defined in an ABI spec. Transforms a function defined in
ABIFunctioninto aTokenStreamthat represents that same function signature as a Rust-native function declaration. - Expands a positional identifier string that may be empty. Note that this expands the parameter name with
safe_ident, meaning that identifiers that are reserved keywords get_appended to them. - Generate the
mainfunction of a script