- Updated dependencies [d60a343]
- Updated dependencies [5a60d00]
- Updated dependencies [d60a343]
- ebaeffc: Add missing properties to
Truffle.ContractInstance
-
f8711eb: Changed return type of functions from an array to a object. This represents better runtime types.
Before, solidity function like this:
function x() public pure returns (uint256)
Generated such method signature:
x(txDetails?: Truffle.TransactionDetails): Promise<[BigNumber]>;
New output is:
x(txDetails?: Truffle.TransactionDetails): Promise<{0: BigNumber}>;
The difference is that now you can use standard object destructuring while working with output types.