ape icon indicating copy to clipboard operation
ape copied to clipboard

Integrate tab completion magic for ContractCallHandler and ContractTransactionHandler

Open fubuloubu opened this issue 2 years ago • 0 comments

Overview

There are ways to better integrate objects w/ IPython and Juypter notebook that will make them easier to use. I think especially that knowing what the call args will be for both ContractCallHandler and ContractTransactionHandler will help immensely to users needing to know what to type next. Brownie has several integrations within the console, some of which we have already. For example, it would be nice to print out the NatSpec documentation as the docstring for a given method object (e.g. Contract<*>Handler.__doc__)

Here are some helpful resources:

  • https://eth-brownie.readthedocs.io/en/stable/api-network.html#ContractCall.info
  • https://ipython.readthedocs.io/en/stable/config/integrating.html

Specification

TBD

Dependencies

n/a

fubuloubu avatar Aug 10 '22 14:08 fubuloubu