Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 897 Bytes

CHANGELOG.md

File metadata and controls

42 lines (27 loc) · 897 Bytes

@typechain/ethers-v4

5.0.0

Patch Changes

  • Updated dependencies [d60a343]
  • Updated dependencies [5a60d00]
  • Updated dependencies [d60a343]
    • typechain@5.0.0

4.0.0

Major Changes

  • 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.

Patch Changes

  • db5baa5: Do not generate typings in contract type itself for reserved keywords that would collide with ethers internals