Skip to main content

Module erc20

Module erc20 

Source

Modules§

IERC20
Module containing a contract’s types and functions.

Enums§

Erc20Subcommand
Interact with ERC20 tokens.

Functions§

build_provider_with_signer 🔒
Creates a provider with a pre-resolved signer.
fill_tx 🔒
Fills from, chain_id, nonce, fees, and gas limit on a transaction request for the browser wallet path. Mirrors the filling logic in the shared tx builder but operates on a pre-built transaction request from the sol! macro rather than through the builder pipeline. Only fills fields that haven’t already been set by the user.