2.0.14
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)"
]
}