call
usage:
ctc call ADDRESS FUNCTION ARGS [options]
description:
output result of a call
examples:
ctc call 0x956f47f50a910163d8bf957cf5846d573e7f87ca totalSupply
ctc call 0x956f47f50a910163d8bf957cf5846d573e7f87ca 0x18160ddd
ctc call 0x956f47f50a910163d8bf957cf5846d573e7f87ca '{"name": "totalSupply", "inputs": [], "outputs": [{"type":
"uint256"}]}'
arguments:
ADDRESS address to point call toward
FUNCTION function name, 4byte selector, or ABI
ARGS function arguments
--verbose, -v show summary
--from FROM address where call should come from
--block BLOCK block number for call
usage of subcommands:
ctc call can also be used to invoke subcommands
to view help about a specific subcommand, run:
ctc call <subcommand> -h
available subcommands:
all display outputs of all contract's read-only functions