Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make contract-templates an npm package | Leonid Logvinov | 2018-11-22 | 9 | -220/+0 |
| | |||||
* | Allow a `SimpleContractArtifact` to be passed into `deployFrom0xArtifactAsync` | Fabio Berger | 2018-11-21 | 1 | -1/+2 |
| | |||||
* | chore: missing converts | Fabio Berger | 2018-10-18 | 1 | -3/+3 |
| | |||||
* | chore: change README.md from 0xproject to 0x | Jacob Evans | 2018-10-18 | 1 | -2/+2 |
| | |||||
* | Stop accesing ethers private methods | Leonid Logvinov | 2018-10-09 | 1 | -2/+2 |
| | |||||
* | Fix ethers build issue | Leonid Logvinov | 2018-10-09 | 1 | -2/+2 |
| | |||||
* | Throw revert reasons from contract wrappers | Leonid Logvinov | 2018-09-27 | 1 | -0/+1 |
| | |||||
* | Fix linter issue | Leonid Logvinov | 2018-09-21 | 1 | -1/+1 |
| | |||||
* | Upgrade contract_templates to work with ethers 4.0 | Leonid Logvinov | 2018-09-19 | 3 | -16/+10 |
| | |||||
* | Issue #1025 BlockParam unroll | Jacob Evans | 2018-08-27 | 1 | -1/+1 |
| | | | | BlockParam unrolls into number | BlockParamLiteral, though BlockParamLiteral does not get imported. This results in type build errors in downstream projects where tslint checks libs | ||||
* | Fix many linter errors that showed up upon upgrading tsutil | Fabio Berger | 2018-08-23 | 1 | -3/+4 |
| | |||||
* | Move types from sol-compiler to types so they can be used in other places ↵ | Fabio Berger | 2018-08-22 | 1 | -1/+1 |
| | | | | without requiring sol-compiler as a dep | ||||
* | Add strictArgumentEncodingCheck to BaseContract and use it in contract templates | Alex Browne | 2018-08-09 | 2 | -0/+2 |
| | |||||
* | Ignore coverage of generated files | Leonid Logvinov | 2018-07-09 | 1 | -0/+1 |
| | |||||
* | 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 | 2 | -4/+4 |
|\ | | | | | V2 contract wrappers | ||||
| * | Fix tests | Leonid Logvinov | 2018-07-06 | 1 | -1/+1 |
| | | |||||
| * | Rename {{*}}ContractEventArgs to {{*}}EventArgs and append {{contractName}} ↵ | Leonid Logvinov | 2018-06-29 | 2 | -3/+3 |
| | | | | | | | | 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 | ||||
* | Prettier fix | Fabio Berger | 2018-06-19 | 1 | -3/+5 |
| | |||||
* | change @0xproject/types to ethereum-types | F. Eugene Aumson | 2018-06-15 | 1 | -1/+1 |
| | |||||
* | remove mistaken comment | F. Eugene Aumson | 2018-06-15 | 1 | -4/+0 |
| | | | | | It must have been left over from when an abi-gen output was modified to be the source of this template. | ||||
* | 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. | ||||
* | Document contract_templates | F. Eugene Aumson | 2018-06-15 | 1 | -0/+15 |
| | |||||
* | Get build and tests to pass | fragosti | 2018-06-07 | 1 | -3/+4 |
| | |||||
* | Merge branch 'v2-prototype' of https://github.com/0xProject/0x-monorepo into ↵ | fragosti | 2018-06-07 | 2 | -3/+3 |
|\ | | | | | | | feature/improve-linting | ||||
| * | Fix linter issues in generated contract wrappers | Leonid Logvinov | 2018-06-07 | 2 | -3/+3 |
| | | |||||
* | | Add missing import | Fabio Berger | 2018-06-06 | 1 | -1/+1 |
| | | |||||
* | | Remove unused imports from contract handlebar template | Fabio Berger | 2018-06-06 | 1 | -2/+2 |
|/ | |||||
* | Fix linter errors | Leonid Logvinov | 2018-06-01 | 1 | -1/+1 |
| | |||||
* | Introduce ethereum-types package | Leonid Logvinov | 2018-06-01 | 2 | -2/+2 |
| | |||||
* | Check transaction receipt status codes where applicable | Alex Browne | 2018-05-24 | 1 | -1/+1 |
| | |||||
* | Ignore classnames linter rule | Remco Bloemen | 2018-05-22 | 1 | -0/+1 |
| | |||||
* | Fix ganache subprovider config | Leonid Logvinov | 2018-05-11 | 2 | -0/+3 |
| | |||||
* | Fix templates | Leonid Logvinov | 2018-05-10 | 2 | -3/+3 |
| | |||||
* | Remove unused deployer docs configs | Leonid Logvinov | 2018-05-10 | 1 | -7/+7 |
| | |||||
* | Add a check for compiler output | Leonid Logvinov | 2018-05-10 | 1 | -0/+3 |
| | |||||
* | Remove _applyDefaultsToDeployTxDataAsync | Leonid Logvinov | 2018-05-10 | 3 | -6/+9 |
| | |||||
* | Fix linter issues | Leonid Logvinov | 2018-05-10 | 1 | -5/+5 |
| | |||||
* | Rename deployer to sol-compiler | Leonid Logvinov | 2018-05-10 | 1 | -1/+1 |
| | |||||
* | Remove deployer from 0x.js and migrations | Leonid Logvinov | 2018-05-10 | 1 | -1/+4 |
| | |||||
* | Remove deployer from metacoin and contract tests | Leonid Logvinov | 2018-05-10 | 2 | -2/+38 |
| | |||||
* | Fix getABIEncodedTransactionData in contract templates | Amir Bandeali | 2018-04-21 | 1 | -1/+1 |
| | |||||
* | Remove ethers-contracts types | Jacob Evans | 2018-04-20 | 1 | -1/+1 |
| | |||||
* | Update CHANGELOGs | Jacob Evans | 2018-04-19 | 1 | -6/+4 |
| | |||||
* | Support Tuples from function returns | Jacob Evans | 2018-04-19 | 3 | -10/+13 |
| | |||||
* | Updated deployer to accept a list of contract directories as input. Contract ↵ | Greg Hysen | 2018-04-10 | 3 | -14/+14 |
| | | | | directories are namespaced to a void clashes. Also in this commit is a fix for overloading contract functions. | ||||
* | Move our contract templates to accept Provider instead of Web3Wrapper | Leonid Logvinov | 2018-04-04 | 1 | -3/+3 |
| | |||||
* | Add metacoin example project | Leonid Logvinov | 2018-04-02 | 3 | -10/+10 |
| | |||||
* | Remove redundant cast | Leonid Logvinov | 2018-03-28 | 1 | -1/+1 |
| | |||||
* | Move common types out of web3 types | Leonid Logvinov | 2018-03-27 | 3 | -28/+22 |
| | |||||
* | Transform input data before encoding for callAsync and ↵ | Amir Bandeali | 2018-03-14 | 1 | -0/+4 |
| | | | | getABIEncodedTransactionData | ||||
* | Update all mentions of the repo name being `0x.js` to `0x-monorepo` | Fabio Berger | 2018-03-04 | 1 | -1/+1 |
| | |||||
* | Move BaseContract to its own package | Leonid Logvinov | 2018-02-28 | 1 | -1/+2 |
| | |||||
* | Move BaseContract to web3Wrapper | Leonid Logvinov | 2018-02-28 | 1 | -3/+1 |
| | |||||
* | 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 |
| | |||||
* | Update template link | Leonid Logvinov | 2018-02-28 | 1 | -1/+1 |
| | |||||
* | Fix build | Leonid Logvinov | 2018-02-28 | 1 | -1/+1 |
| | |||||
* | Use the same templates as 0x.js | Leonid Logvinov | 2018-02-28 | 7 | -0/+175 |