aboutsummaryrefslogtreecommitdiffstats
path: root/src/contract_wrappers/token_wrapper.ts
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant assertionsLeonid Logvinov2017-11-101-4/+0
|
* Add assert.isValidBaseUnitAmount that checks for decimals in amounts that ↵Fabio Berger2017-11-091-0/+4
| | | | should be in baseUnits. This can sometimes alert developers whenever they accidentally pass in unitAmounts.
* Upgrade bignumber to the version with native typings and remove typingsLeonid Logvinov2017-10-261-8/+8
|
* Increase ALLOWANCE_TO_ZERO_GAS_AMOUNTAustin Roberts2017-10-251-1/+1
| | | | | | | | | | | | On TestRPC, I'm seeing a particular transaction that is taking 47275 gas instead of the predefined 47155. It's not at all obvious to me why this transaction is taking an extra 120 gas, and I've been unable to reproduce the issue in the 0x.js test suite, but bumping the gas allowance has resolved the issue for me. The transactions in question are trying to set an unlimited proxy allowance on either the WETH or ZRX tokens in the testrpc snapshot, but run out of gas.
* Revert "Reduce final bundle size by 11% (82kB)"Leonid2017-10-241-1/+1
|
* Include only used lodash functionsLeonid Logvinov2017-10-181-1/+1
|
* Make logs fetching and sunscriptions more type-safeLeonid Logvinov2017-10-131-6/+9
|
* Remove unused importsLeonid Logvinov2017-10-051-3/+1
|
* Add type assertions for callback parametersLeonid Logvinov2017-10-051-0/+1
|
* Fix commentsLeonid Logvinov2017-10-051-1/+1
|
* Implement subscriptions based on ethereumjs-blockstreamLeonid Logvinov2017-10-051-35/+25
|
* Add assertion for tokenAddressLeonid Logvinov2017-10-051-0/+1
|
* Add assertionsLeonid Logvinov2017-10-051-0/+3
|
* Fix a typoLeonid Logvinov2017-10-041-1/+1
|
* Add tests for zeroEx.exchange.getLogsAsyncLeonid Logvinov2017-10-041-1/+1
|
* Implement zeroEx.exchange.getLogsAsyncLeonid Logvinov2017-10-041-0/+9
|
* Add _getLogsAsync on contract_wrapperLeonid Logvinov2017-10-041-13/+5
|
* Implement getLogsAsync on token contractLeonid Logvinov2017-10-041-2/+21
|
* Move lower-casing logicLeonid Logvinov2017-09-191-2/+1
|
* Fix a typoLeonid Logvinov2017-09-181-3/+3
|
* Fetch tokenTransferProxy address from exchange contractLeonid Logvinov2017-09-181-13/+9
|
* Replace placeholders with actual comentsLeonid Logvinov2017-09-081-3/+3
|
* Rename CallOpts to MethodOptsLeonid Logvinov2017-09-081-10/+10
|
* Allow user to specify defaultBlock when calling const token methodsLeonid Logvinov2017-09-081-6/+13
|
* Define CallOpts typeLeonid Logvinov2017-09-081-0/+1
|
* Decode logs args in awaitTransactionMinedAsyncLeonid Logvinov2017-09-061-4/+3
|
* Rename x.call -> x.callAsync x() -> x.sendTransactionAsync() x.estimateGas() ↵Leonid Logvinov2017-09-051-7/+10
| | | | -> x.estimateGasAsync()
* Fix gasPrice regressionLeonid Logvinov2017-09-051-2/+2
|
* Change non-exhange contracts to also return txHashLeonid Logvinov2017-09-051-14/+29
|
* Make the functions immidiately return txHash instead of awaiting for a ↵Leonid Logvinov2017-09-051-1/+3
| | | | transaction to be mined
* Remove default value for gasPriceLeonid Logvinov2017-08-291-1/+1
|
* Allow user to specify the gas priceLeonid Logvinov2017-08-291-2/+2
|
* Use 0x-json-schemasLeonid Logvinov2017-08-281-4/+3
|
* Improve commentsLeonid Logvinov2017-08-251-0/+4
|
* Refactor UNLIMITED_ALLOWANCE_IN_BASE_UNITS to constantsLeonid Logvinov2017-08-251-1/+1
|
* Add tests for unlimited allowanceLeonid Logvinov2017-08-251-1/+1
|
* Add setUnlimitedProxyAllowanceAsync and setUnlimitedAllowanceAsyncLeonid Logvinov2017-08-251-0/+25
|
* Convert artifacts addresses lo lower case before usingLeonid Logvinov2017-08-241-1/+1
|
* Update artifacts and rename proxy to tokenTransferProxyFabio Berger2017-08-211-2/+2
|
* remove unnecessary assertion and add regression testFabio Berger2017-08-171-1/+0
|
* Remove isUserAddressAvailable assertion from getBalanceAsync and add ↵Fabio Berger2017-08-171-1/+0
| | | | regression test
* Use PascalCase names as string enum keysLeonid Logvinov2017-07-121-4/+4
|
* Make invalidateContractInstancesAsync private on exchange and tokenLeonid Logvinov2017-07-051-4/+4
|
* Add parameter validation for subscribeAsyncLeonid Logvinov2017-07-051-0/+4
|
* Refactor event testsLeonid Logvinov2017-07-051-4/+0
|
* Add tests for order hash SchemaLeonid Logvinov2017-07-051-0/+6
|
* Fix commentsLeonid Logvinov2017-07-041-5/+4
|
* Add initial implementation and tests for zeroEx.token.subscribeAsyncLeonid Logvinov2017-07-041-2/+55
|
* Add missing return commentFabio Berger2017-06-261-0/+1
|
* Revert "Use different lodash import syntax which allows to include only used ↵Leonid2017-06-221-4/+4
| | | | functions"
* Fall back to import x = require() syntaxLeonid Logvinov2017-06-211-1/+1
|
* Use different lodash import syntax which allows to include only used functionsLeonid Logvinov2017-06-211-4/+4
|
* Add and improve commentsFabio Berger2017-06-161-4/+10
|
* Fix last testsLeonid Logvinov2017-06-111-7/+7
|
* Prefix private vars with _Leonid Logvinov2017-06-101-15/+15
|
* Align all param comments so that they are more readableFabio Berger2017-06-101-25/+27
|
* Add param & return comments to all public methods and add comments to some ↵Fabio Berger2017-06-101-1/+26
| | | | public methods that were missing them
* Address feedbackLeonid Logvinov2017-06-061-2/+2
|
* Add isAnyAddressAvailableAsyncLeonid Logvinov2017-06-061-0/+2
|
* Rename isSenderAddressHexAsync to isSenderAddressAsyncLeonid Logvinov2017-06-061-3/+3
|
* Rename senderAccount to senderAddressLeonid Logvinov2017-06-061-5/+5
|
* Rename assert.isSenderAccountHexAsync to assert.isSenderAddressHexAsyncLeonid Logvinov2017-06-061-3/+3
|
* Add variableName to isSenderAddcountHexAsyncLeonid Logvinov2017-06-061-3/+3
|
* Make methods accept senderAccountLeonid Logvinov2017-06-051-6/+5
|
* Merge branch 'master' into remainingTokenMethodsFabio Berger2017-06-031-2/+2
|\ | | | | | | | | # Conflicts: # src/contract_wrappers/token_wrapper.ts
| * Always wrap BigNumbers returned by web3 with our own version and add commentFabio Berger2017-06-021-2/+2
| |
* | Fix bugFabio Berger2017-06-031-1/+1
| |
* | Fix commentFabio Berger2017-06-031-1/+1
| |
* | Add balance check to `transferAsync` and related testFabio Berger2017-06-021-0/+6
| |
* | Improve commentFabio Berger2017-06-021-0/+2
| |
* | Add setAllowanceAsync, getAllowanceAsync and transferFrom to tokenWrapperFabio Berger2017-06-021-15/+66
|/
* Merge branch 'master' into erc20transferLeonid2017-05-311-8/+6
|\
| * remove InternalError type since this error could surface through the public ↵Fabio Berger2017-05-311-2/+2
| | | | | | | | interface
| * Remove superfluous undefined checkFabio Berger2017-05-311-4/+2
| |
| * Add full stop to commentsFabio Berger2017-05-311-2/+2
| |
* | Add transfer function and tests for itLeonid Logvinov2017-05-311-1/+16
|/
* Implement setProxyAllowanceAsyncFabio Berger2017-05-301-4/+32
|
* Implement zeroEx.token.getProxyAllowanceAsyncFabio Berger2017-05-301-1/+26
|
* rename ERC20Contract to TokenContractFabio Berger2017-05-301-4/+4
|
* rename erc20Wrapper to tokenWrapper to be more generic in case we end up ↵Fabio Berger2017-05-301-0/+42
supporting another spec