Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Throw revert reasons from contract wrappers | Leonid Logvinov | 2018-09-27 | 1 | -0/+1 |
| | |||||
* | Upgrade contract_templates to work with ethers 4.0 | Leonid Logvinov | 2018-09-19 | 2 | -14/+6 |
| | |||||
* | Add strictArgumentEncodingCheck to BaseContract and use it in contract templates | Alex Browne | 2018-08-09 | 2 | -0/+2 |
| | |||||
* | Render callAsync in templates even if it returns nothing | Leonid Logvinov | 2018-07-09 | 1 | -2/+0 |
| | |||||
* | Merge pull request #822 from 0xProject/v2-contract-wrappers-WIP | Leonid Logvinov | 2018-07-06 | 1 | -1/+1 |
|\ | | | | | V2 contract wrappers | ||||
| * | Rename {{*}}ContractEventArgs to {{*}}EventArgs and append {{contractName}} ↵ | Leonid Logvinov | 2018-06-29 | 1 | -1/+1 |
| | | | | | | | | to each event name (ERC721TransferEventArgs instead of TransferContractEventArgs) | ||||
* | | Forwarding contract (squashed commits) | Jacob Evans | 2018-07-06 | 1 | -1/+1 |
|/ | |||||
* | Fixed `callAsync` template. Previously did not append `callData`, so we ↵ | Greg Hysen | 2018-06-21 | 1 | -0/+1 |
| | | | | couldn’t specify `from` address | ||||
* | workaround for TypeScript trailing comma bug | F. Eugene Aumson | 2018-06-15 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | before this change, TypeScript compilation of the generated contract wrapper was giving me the following errors: $ abi-gen --abis 'build/contracts/*.json' --out build/types --template contract_templates/contract.handlebars --partials 'contract_templates/partials/*.handlebars' Found 7 partial templates Found 1 ABI files Processing: Migrations... Created: build/types/migrations.ts $ tsc build/types/migrations.ts(81,23): error TS1013: A rest parameter or binding pattern may not have a trailing comma. build/types/migrations.ts(108,23): error TS1013: A rest parameter or binding pattern may not have a trailing comma. build/types/migrations.ts(130,23): error TS1013: A rest parameter or binding pattern may not have a trailing comma. build/types/migrations.ts(146,25): error TS1013: A rest parameter or binding pattern may not have a trailing comma. build/types/migrations.ts(173,25): error TS1013: A rest parameter or binding pattern may not have a trailing comma. build/types/migrations.ts(195,25): error TS1013: A rest parameter or binding pattern may not have a trailing comma. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. Here is the generated code around the first error: 74: public setCompleted = { 75: async sendTransactionAsync( 76: completed: BigNumber, 77: txData: Partial<TxData> = {}, 78: ): Promise<string> { 79: const self = this as any as MigrationsContract; 80: const inputAbi = self._lookupAbi('setCompleted(uint256)').inputs; 81: [completed, 82: ] = BaseContract._formatABIDataItemList(inputAbi, [completed, 83: ], BaseContract._bigNumberToString.bind(self)); All of the other errors are the same, a destructuring assignment with a single element but with a trailing comma. This is legal JavaScript but it is not allowed by the TypeScript compiler, apparently per the bug described at https://github.com/Microsoft/TypeScript/issues/24628 . While awaiting the 3.0 version of TypeScript, it's a simple enough change to have the template not append a trailing comma. | ||||
* | Fix linter issues in generated contract wrappers | Leonid Logvinov | 2018-06-07 | 1 | -1/+1 |
| | |||||
* | Introduce ethereum-types package | Leonid Logvinov | 2018-06-01 | 1 | -1/+1 |
| | |||||
* | Fix ganache subprovider config | Leonid Logvinov | 2018-05-11 | 2 | -0/+3 |
| | |||||
* | Fix templates | Leonid Logvinov | 2018-05-10 | 2 | -3/+3 |
| | |||||
* | Remove _applyDefaultsToDeployTxDataAsync | Leonid Logvinov | 2018-05-10 | 2 | -5/+8 |
| | |||||
* | Remove deployer from metacoin and contract tests | Leonid Logvinov | 2018-05-10 | 1 | -2/+2 |
| | |||||
* | Fix getABIEncodedTransactionData in contract templates | Amir Bandeali | 2018-04-21 | 1 | -1/+1 |
| | |||||
* | Update CHANGELOGs | Jacob Evans | 2018-04-19 | 1 | -6/+4 |
| | |||||
* | Support Tuples from function returns | Jacob Evans | 2018-04-19 | 2 | -9/+12 |
| | |||||
* | Updated deployer to accept a list of contract directories as input. Contract ↵ | Greg Hysen | 2018-04-10 | 2 | -13/+13 |
| | | | | directories are namespaced to a void clashes. Also in this commit is a fix for overloading contract functions. | ||||
* | Add metacoin example project | Leonid Logvinov | 2018-04-02 | 2 | -9/+10 |
| | |||||
* | Remove redundant cast | Leonid Logvinov | 2018-03-28 | 1 | -1/+1 |
| | |||||
* | Move common types out of web3 types | Leonid Logvinov | 2018-03-27 | 2 | -26/+20 |
| | |||||
* | Transform input data before encoding for callAsync and ↵ | Amir Bandeali | 2018-03-14 | 1 | -0/+4 |
| | | | | getABIEncodedTransactionData | ||||
* | Add txData to async calls | Leonid Logvinov | 2018-02-28 | 1 | -1/+2 |
| | |||||
* | Rewrite templates to decode call data on transactions | Leonid Logvinov | 2018-02-28 | 3 | -47/+31 |
| | |||||
* | Use the same templates as 0x.js | Leonid Logvinov | 2018-02-28 | 6 | -0/+127 |