Skip to content

2.0.14

Compare
Choose a tag to compare
@marekkirejczyk marekkirejczyk released this 16 Jul 07:15
· 418 commits to master since this release

With this release, Waffle introduces support human-readable abi as an output.

Human readable ABI was introduced in ethers.js by @ricmoo in a blog post.

To enable it, specify the following flag in Waffle config file:

{
  ...
  outputHumanReadableAbi: true
}

You will now see the following in your output:

{
  ...
  "humanReadableAbi": [
    "constructor(uint256 argOne)",
    "event Bar(bool argOne, uint256 indexed argTwo)",
    "event FooEvent()",
    "function noArgs() view returns(uint200)",
    "function oneArg(bool argOne)",
    "function threeArgs(string argOne, bool argTwo, uint256[] argThree) view returns(bool, uint256)",
    "function twoReturns(bool argOne) view returns(bool, uint256)"
  ]
}