Macrosยง
- with_
network_ ๐provider - Runs
$bodywith$providerbound to a provider for the selected--network. Optionally binds$network_typeto 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/bytesright-padded to a multiple of 32 bytes, and sequences as the concatenation of their encoded members. - explorer_
client ๐ - format_
lane_ ๐classification - Validates that
encodedis 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
whowhen given, otherwise returnsdefault. - rpc_
provider_ ๐and_ address - Builds the default provider for
rpcand resolveswhoagainst it. - run
- Run the
castcommand-line interface. - run_
command - Run the subcommand.
- setup
- Setup the global logger and other utilities.
- shift ๐
- Parses
valueandbits, appliesshiftand formats the result with thebase_outprefix. - signed_
parse_ ๐units - Converts a parsed, possibly-negative
NumberWithBaseinto aParseUnits, preserving its sign. - strip_
0x ๐ - to_base ๐
- transaction_
response ๐