- Updated dependencies [d60a343]
- Updated dependencies [5a60d00]
- Updated dependencies [d60a343]
- typechain@5.0.0
-
0d4b293: Changed return type of functions from a object with number indexes, to an array merged with object containing named outputs.
Before, solidity function like this:
function x() public pure returns (uint256)
Generated such method signature:
x(overrides?: CallOverrides): Promise<{0: BigNumber}>;
New output is:
x(overrides?: CallOverrides): Promise<[BigNumber]>;
The difference is that now you can use standard array destructuring while working with output types.
- db5baa5: Do not generate typings in contract type itself for reserved keywords that would collide with ethers internals