inspect¶
Inspect compiler data of a contract.
This command will directly use the Vyper compiler to access this data. For example, to get function signatures and selectors run:
mox inspect src/Counter.vy methods
or
mox inspect Counter methods
usage: mox inspect [-h]
contract
{methods,abi,natspec,storage-layout,ir-nodes,ir-runtime,function-signatures,function-selectors,selectors,signatures,assembly,venom-functions,bytecode,bytecode-runtime}
Positional Arguments¶
- contract
Path or Contract name of the contract you want to inspect.
- inspect_type
Possible choices: methods, abi, natspec, storage-layout, ir-nodes, ir-runtime, function-signatures, function-selectors, selectors, signatures, assembly, venom-functions, bytecode, bytecode-runtime
Type of inspection you want to do.