Skip to main content

Module args

Module args 

Source

Macrosยง

with_network_provider ๐Ÿ”’
Runs $body with $provider bound to a provider for the selected --network. Optionally binds $network_type to the selected network type.

Functionsยง

address_at_slot ๐Ÿ”’
decode_raw_transaction ๐Ÿ”’
encode_event_topic ๐Ÿ”’
Encodes the topic of an indexed event parameter.
encode_event_topic_preimage ๐Ÿ”’
Encodes a value into the in-place preimage of an indexed event parameter: words as-is, string/bytes right-padded to a multiple of 32 bytes, and sequences as the concatenation of their encoded members.
explorer_client ๐Ÿ”’
format_lane_classification ๐Ÿ”’
Validates that encoded is a supported EIP-2718 transaction and renders its Tempo T5 payment lane classification.
format_transaction ๐Ÿ”’
format_unit_as_string ๐Ÿ”’
format_units ๐Ÿ”’
get_selector ๐Ÿ”’
int_bound ๐Ÿ”’
resolve_or ๐Ÿ”’
Resolves who when given, otherwise returns default.
rpc_provider_and_address ๐Ÿ”’
Builds the default provider for rpc and resolves who against it.
run
Run the cast command-line interface.
run_command
Run the subcommand.
setup
Setup the global logger and other utilities.
shift ๐Ÿ”’
Parses value and bits, applies shift and formats the result with the base_out prefix.
signed_parse_units ๐Ÿ”’
Converts a parsed, possibly-negative NumberWithBase into a ParseUnits, preserving its sign.
strip_0x ๐Ÿ”’
to_base ๐Ÿ”’
transaction_response ๐Ÿ”’