- e447bfb: Added optional
config.inputDir
property and--input-dir
flag to control directory structure in generated types. If not set, it's inferred as lowest common path of all ABI files.
- Updated dependencies [3a8a99a]
- Updated dependencies [5b9a7fb]
- Updated dependencies [e447bfb]
- Updated dependencies [978490f]
- Updated dependencies [a59ae6e]
- Updated dependencies [975a9dc]
- Updated dependencies [e1f832c]
- Updated dependencies [92939ea]
- Updated dependencies [d244e41]
- Updated dependencies [0ac4921]
- Updated dependencies [95517e9]
- Updated dependencies [33ee803]
- b3c94a1: Adds overrides introduced by EIP-1559.
- 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.