abi
usage:
ctc abi ADDRESS NAMES [options]
description:
display abi of contract
examples:
ctc abi 0x956f47f50a910163d8bf957cf5846d573e7f87ca
ctc abi 0x2b79b3c3c7b35463a28a76e0d332aab3e20aa337 Mint Burn Swap Sync
ctc abi 0x2b79b3c3c7b35463a28a76e0d332aab3e20aa337 -f
ctc abi 0x2b79b3c3c7b35463a28a76e0d332aab3e20aa337 -e
ctc abi 0x956f47f50a910163d8bf957cf5846d573e7f87ca --json
ctc abi 0x956f47f50a910163d8bf957cf5846d573e7f87ca --map-names --python
arguments:
ADDRESS address of contract
NAMES name of function or event
--json json only
--json-raw json only, without sorting or indentations
--map-names output ABI as map where names are the keys
--map-selectors output ABI as map where hash selectors are the keys
-f, --functions display function abi's only
-e, --events display event abi's only
--search SEARCH query of name of function or event abi
--verbose, -v include extra abi data
--python output data as pep8-formatted python syntax
--update re-import ABI from etherscan (e.g. if proxy has changed)
usage of subcommands:
ctc abi can also be used to invoke subcommands
to view help about a specific subcommand, run:
ctc abi <subcommand> -h
available subcommands:
diff display diff of two contract ABI's