Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 339 Bytes

sig.md

File metadata and controls

19 lines (14 loc) · 339 Bytes

cast sig

Get the selector for a function

$ cast sig --help
Usage: cast sig [SIG] [OPTIMIZE]

Arguments:
  [SIG]       The function signature, e.g. transfer(address,uint256)
  [OPTIMIZE]  Optimize signature to contain provided amount of leading zeroes in
              selector

Options:
  -h, --help  Print help