Expand description
cast subcommands.
All subcommands should respect the foundry_config::Config.
If a subcommand accepts values that are supported by the Config, then the subcommand should
implement figment::Provider which allows the subcommand to override the configβs defaults, see
foundry_config::Config.
ModulesΒ§
- access_
list - artifact
- auth π
- b2e_
payload - Command Line handler to convert Beacon blockβs execution payload to Execution format.
- bal
- batch_
mktx cast batch-mktxcommand implementation.- batch_
send cast batch-sendcommand implementation.- bind
- call
- call_
overrides - Shared
eth_callstate and block override options. - constructor_
args - create2
- creation_
code - da_
estimate baseoroptimism - Estimates the data availability size of a block for opstack.
- erc20
- erc4626
- estimate
- events
- find_
block - interface
- keychain
- logs
- miner π
- mktx
- receive_
policy - rpc
- run
- safe
- send
- storage
- storage_
credits - tempo
- tempo_
policy_ πargs - tip20
- tip403
- trace
- txpool
- vaddr
- wallet
ConstantsΒ§
FunctionsΒ§
- confirm_
continue π - Asks whether to continue after a warning, printing
Aborted.when the user declines. - disassemble π
- fetch_
code_ πvia_ rpc - Fetches the non-empty code of
addressesatblockwith bounded concurrency, warning about addresses whose code cannot be fetched. - load_
cast_ πconfig_ and_ evm_ opts - Loads Castβs config and applies its normalized network to the EVM options.
- print_
json_ πor - Prints
jsonpretty-printed (un-enveloped) in JSON mode,plainotherwise. - print_
raw_ πline - Prints a raw line to stdout, bypassing the shell verbosity layer so
--quietdoes not suppress it. - print_
result_ πline - Prints the primary result of a command: a JSON envelope in
--jsonmode, otherwise a raw line that bypasses the shell verbosity layer so--quietdoes not suppress it. - resolve_
transaction_ πnetwork - Resolves the RPC request family before typed transaction construction.
- rpc_
provider π - Loads the config for
rpcand builds the default provider from it. - validate_
base_ πtransaction_ options base - Rejects blob options before Baseβs transaction builder can discard them.
- validate_
tempo_ πnetwork - Validates a Tempo transaction requirement against an explicit execution family.