Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 700 Bytes

cast-selectors.md

File metadata and controls

32 lines (19 loc) · 700 Bytes

cast selectors

NAME

cast-selectors - Extracts function selectors and arguments from bytecode

SYNOPSIS

cast selectors [options] bytecode

DESCRIPTION

Extracts function selectors and arguments from bytecode using the EVMole library

OPTIONS

-r
--resolve
    Resolve the function signatures for the extracted selectors using https://openchain.xyz

{{#include common-options.md}}

EXAMPLES

  1. Get WETH's contract function signatures & arguments:
    cast selectors $(cast code 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2)

SEE ALSO

cast, cast 4byte