taco-web icon indicating copy to clipboard operation
taco-web copied to clipboard

Support human-redeable ABI format in `ContractCondition.functionAbi`

Open piotr-roslaniec opened this issue 2 years ago • 3 comments

  • Support function signatures of the form myFunction(address, uint256):uint256 in addition to JSON ABI format
  • Provides less verbose functionAbi interface

piotr-roslaniec avatar Oct 27 '23 09:10 piotr-roslaniec

I've sometimes seen this notation myFunction(address, uint256):(uint256, bool) that allows you to specify multiple output types

cygnusv avatar Oct 27 '23 10:10 cygnusv

ethers refers to this notation as Human-Readable ABI format

piotr-roslaniec avatar Oct 27 '23 10:10 piotr-roslaniec

Note that any addition here that is different from the JSON ABI format will need an associated change in nucypher for the nodes to appropriately handle it.

derekpierre avatar Oct 27 '23 12:10 derekpierre