verbs.utils.process_contract#

process_contract(contract_path: str, solc_version: str) List[Dict][source]#

Compile a solidity contract and return its abi and bytecode

Parameters:
  • contract_path (str) – Path to solidity contract.

  • solc_version (str) – Solidity version used for compilation.

Returns:

list – List of dictionary containing the contract name, abi JSON and bytecode hex string.