aboutsummaryrefslogtreecommitdiffstats
path: root/src/contract_wrappers
Commit message (Expand)AuthorAgeFilesLines
* Increase ALLOWANCE_TO_ZERO_GAS_AMOUNTAustin Roberts2017-10-251-1/+1
* Revert "Reduce final bundle size by 11% (82kB)"Leonid2017-10-246-6/+6
* Include only used lodash functionsLeonid Logvinov2017-10-186-6/+6
* Merge branch 'development' into setFillOrKillToUseRequestInterfaceLeonid2017-10-163-30/+41
|\
| * Make logs fetching and sunscriptions more type-safeLeonid Logvinov2017-10-133-30/+41
* | Use OrderFillRequest interface for batchFillOrKillAssaf2017-10-111-12/+11
|/
* Implement transfer Emulator and rewrite testsLeonid Logvinov2017-10-091-17/+50
* Add undefined checkLeonid Logvinov2017-10-061-1/+4
* Fix a typoLeonid Logvinov2017-10-061-1/+1
* introduce BlockParamLiteralLeonid Logvinov2017-10-061-1/+2
* Check for blockAndLogStreamer to be undefined instead of th filters object to...Leonid Logvinov2017-10-061-5/+8
* Install js-sha3 and use it for keccak256Leonid Logvinov2017-10-061-7/+2
* Remove _activeFiltersLeonid Logvinov2017-10-061-2/+0
* Remove unused importsLeonid Logvinov2017-10-053-7/+2
* Add type assertions for callback parametersLeonid Logvinov2017-10-052-0/+2
* Fix commentsLeonid Logvinov2017-10-052-2/+2
* Move more logic into _stopBlockAndLogStream and _startBlockAndLogStreamLeonid Logvinov2017-10-051-11/+12
* Remove missing commentLeonid Logvinov2017-10-051-1/+0
* Add missing commentLeonid Logvinov2017-10-051-0/+1
* Implement subscriptions based on ethereumjs-blockstreamLeonid Logvinov2017-10-053-123/+141
* Instantiate logAndBlockStreamerLeonid Logvinov2017-10-051-0/+7
* Add assertion for tokenAddressLeonid Logvinov2017-10-051-0/+1
* Add assertionsLeonid Logvinov2017-10-052-0/+6
* Reduce nestingLeonid Logvinov2017-10-041-10/+11
* Use findLeonid Logvinov2017-10-041-1/+1
* Add filtering by topicLeonid Logvinov2017-10-041-3/+23
* Fix a typoLeonid Logvinov2017-10-041-1/+1
* Use _.find instead of _.filterLeonid Logvinov2017-10-041-1/+1
* Move NoAbiDecoder to InternalZeroExErrorsLeonid Logvinov2017-10-041-2/+2
* Extract topics to its variableLeonid Logvinov2017-10-041-7/+9
* Add tests for zeroEx.exchange.getLogsAsyncLeonid Logvinov2017-10-043-5/+7
* Implement zeroEx.exchange.getLogsAsyncLeonid Logvinov2017-10-042-0/+26
* Add _getLogsAsync on contract_wrapperLeonid Logvinov2017-10-042-14/+29
* Implement getLogsAsync on token contractLeonid Logvinov2017-10-042-3/+22
* Add tryToDecodeLogOrNoOp and _getEventSignatureFromAbiByName on contract_wrapperLeonid Logvinov2017-10-041-2/+18
* Fixed nitsBrandon Millman2017-09-281-9/+27
* Add testsBrandon Millman2017-09-281-5/+0
* Add OrderTransactionOpts to enable optional validation to exchange_wrapperBrandon Millman2017-09-281-27/+64
* fix merge issueFabio Berger2017-09-261-1/+1
* Merge branch 'development' into addOrderValidationFabio Berger2017-09-261-7/+11
|\
| * Update commentLeonid Logvinov2017-09-261-1/+1
| * Make getZRXTokenAddressAsync publicLeonid Logvinov2017-09-261-7/+11
* | improve commentFabio Berger2017-09-261-1/+2
* | make opts optionalFabio Berger2017-09-261-1/+1
* | rename validateOrderFillableThrowIfNotFillableAsync to validateOrderFillableO...Fabio Berger2017-09-261-2/+2
* | Add validateOrderFillableThrowIfNotFillableAsync to public methods in order t...Fabio Berger2017-09-261-0/+19
|/
* Move lower-casing logicLeonid Logvinov2017-09-192-3/+3
* Postfix variable names with 'ifExists'Leonid Logvinov2017-09-194-14/+15
* Fix a typoLeonid Logvinov2017-09-181-3/+3
* Add tests for contracts address configLeonid Logvinov2017-09-181-0/+10
* Make contract addresses configurableLeonid Logvinov2017-09-183-6/+12
* Fetch tokenTransferProxy address from exchange contractLeonid Logvinov2017-09-183-14/+22
* Replace placeholders with actual comentsLeonid Logvinov2017-09-082-6/+6
* Rename CallOpts to MethodOptsLeonid Logvinov2017-09-082-20/+21
* Allow user to specify defaultBlock when calling const exchange methodsLeonid Logvinov2017-09-081-6/+15
* Allow user to specify defaultBlock when calling const token methodsLeonid Logvinov2017-09-081-6/+13
* Define CallOpts typeLeonid Logvinov2017-09-081-0/+1
* Move Aftifact type definition to 'types'Leonid Logvinov2017-09-081-1/+1
* Use LogError typeLeonid Logvinov2017-09-071-3/+3
* Fix a commentLeonid Logvinov2017-09-071-2/+1
* Add zeroEx.exchange.throwLogErrorsAsErrorsLeonid Logvinov2017-09-061-0/+23
* Decode logs args in awaitTransactionMinedAsyncLeonid Logvinov2017-09-065-12/+11
* Cast to Artifat typeLeonid Logvinov2017-09-051-1/+1
* Remove unused codeLeonid Logvinov2017-09-051-16/+0
* Rename x.call -> x.callAsync x() -> x.sendTransactionAsync() x.estimateGas() ...Leonid Logvinov2017-09-055-38/+41
* Fix gasPrice regressionLeonid Logvinov2017-09-055-11/+9
* Change non-exhange contracts to also return txHashLeonid Logvinov2017-09-053-19/+37
* Make the functions immidiately return txHash instead of awaiting for a transa...Leonid Logvinov2017-09-056-85/+54
* Remove default value for gasPriceLeonid Logvinov2017-08-295-6/+6
* Allow user to specify the gas priceLeonid Logvinov2017-08-295-9/+14
* Use 0x-json-schemasLeonid Logvinov2017-08-282-29/+21
* 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-242-2/+2
* Rename _getTokenByMetadata to _createTokenFromMetadataLeonid Logvinov2017-08-241-4/+4
* Remove redundant else'sLeonid Logvinov2017-08-241-4/+2
* Add tests for tokenRegistry public gettersLeonid Logvinov2017-08-241-1/+1
* Add all public tokenRegistry functionsLeonid Logvinov2017-08-241-0/+38
* Add zeroEx.tokenRegistry.getTokenAddressesAsync()Leonid Logvinov2017-08-241-1/+10
* Fix commentsLeonid Logvinov2017-08-241-5/+7
* Add a comment for isRoundingErrorAsyncLeonid Logvinov2017-08-241-5/+12
* Remove And's from namesLeonid Logvinov2017-08-241-17/+17
* Move order validation functions to orderValidationUtils and make isRoundingEr...Leonid Logvinov2017-08-241-51/+26
* Add initial implementation for public order validation functionsLeonid Logvinov2017-08-241-48/+77
* Merge pull request #131 from 0xProject/addTokenRegistryMethodFabio Berger2017-08-241-12/+26
|\
| * rename method for clarity since we return a Token and not tokenMetadataFabio Berger2017-08-241-2/+2
| * Add assertion to public methodFabio Berger2017-08-241-0/+3
| * Add public method `getTokenMetadataIfExistsAsync` to TokenRegistry wrapper, r...Fabio Berger2017-08-231-12/+23
* | Return variable instead of expressionFabio Berger2017-08-232-2/+4
* | Add getContractAddressAsync public method to proxy instanceFabio Berger2017-08-231-0/+9
|/
* Fix the docs for shouldThrowOnInsufficientBalanceOrAllowanceLeonid Logvinov2017-08-221-4/+6
* Rename internally Proxy to TokenTransferProxyLeonid Logvinov2017-08-222-41/+41
* Update artifacts and rename proxy to tokenTransferProxyFabio Berger2017-08-212-4/+4
* Merge pull request #118 from 0xProject/artifacts-updateFabio Berger2017-08-212-4/+3
|\
| * Remove url from token registryLeonid Logvinov2017-08-151-2/+1
| * Update Exchange artifacts and adjust ExchangeWrapperLeonid Logvinov2017-08-151-2/+2
* | remove unnecessary assertion and add regression testFabio Berger2017-08-171-1/+0
* | remove unneeded assertion from _isRoundingErrorAsync since one can make stati...Fabio Berger2017-08-171-1/+0
* | Remove isUserAddressAvailable assertion from getBalanceAsync and add regressi...Fabio Berger2017-08-171-1/+0
|/
* Store tokenWrapper inside of OrdervalidationUtilsLeonid Logvinov2017-07-261-2/+4
* Remove and from namesLeonid Logvinov2017-07-261-1/+1
* Remove unused importsLeonid Logvinov2017-07-263-8/+0
* Refactor OrderValidationUtils to check for the case when ZRX is one of the to...Leonid Logvinov2017-07-261-2/+2
* Pass tokenWrapper to validateFillOrderBalancesAndAllowancesAndThrowIfInvalidA...Leonid Logvinov2017-07-261-1/+1
* Move _validateFillOrderBalancesAndAllowancesAndThrowIfInvalidAsync to orderVa...Leonid Logvinov2017-07-261-63/+4
* Add forgotten meger conflict resolutionLeonid Logvinov2017-07-121-19/+0
* Use PascalCase names as string enum keysLeonid Logvinov2017-07-124-35/+63
* Fix the commentLeonid Logvinov2017-07-121-1/+3
* Migrate to using a single Exchange contractLeonid Logvinov2017-07-122-71/+40
* Fix a typoLeonid Logvinov2017-07-111-4/+4
* Fix a typo in commentLeonid Logvinov2017-07-111-2/+2
* Rename shouldCheckTransfer to shouldThrowOnInsufficientBalanceOrAllowanceLeonid Logvinov2017-07-111-10/+11
* Change arguments order at isRoundingErrorLeonid Logvinov2017-07-111-3/+3
* Migrate eventsLeonid Logvinov2017-07-111-3/+4
* Migrate fillOrKillOrderLeonid Logvinov2017-07-111-9/+9
* Migrate ZRX_TOKEN_AMOUNTLeonid Logvinov2017-07-111-1/+1
* Migrate getUnavailableTakerTokenAmountLeonid Logvinov2017-07-111-3/+3
* Migrate batchFillOrKillOrdersLeonid Logvinov2017-07-111-5/+5
* Migrate batchFillOrdersLeonid Logvinov2017-07-111-16/+20
* Migrate fillOrderLeonid Logvinov2017-07-111-20/+23
* Migrate fillOrdersUpTo and remove minLeonid Logvinov2017-07-111-13/+14
* Migrate batchCancelOrdersLeonid Logvinov2017-07-111-5/+5
* Migrate cencelOrderLeonid Logvinov2017-07-111-9/+9
* Revert "Migrate isRoundingError parameter changes"Leonid Logvinov2017-07-111-5/+5
* Revert "Rename ZRX to ZRX_TOKEN_CONTRACT"Leonid Logvinov2017-07-111-1/+1
* Migrate isRoundingError parameter changesLeonid Logvinov2017-07-111-5/+5
* Rename ZRX to ZRX_TOKEN_CONTRACTLeonid Logvinov2017-07-111-1/+1
* Rename batchCancelOrderAsync to batchCancelOrdersAsyncLeonid Logvinov2017-07-081-1/+1
* Rename batchFillOrderAsync to batchFillOrdersAsyncLeonid Logvinov2017-07-081-2/+2
* Move zeroEx.exchange.getAvailableContractAddressesAsync to zeroEx.getAvailabl...Leonid Logvinov2017-07-061-45/+2
* move order hash schema to a separate fileLeonid Logvinov2017-07-051-1/+2
* Fix the bug when didn't invalidate etherToken contract instanceLeonid Logvinov2017-07-051-0/+3
* Make this.proxy.invalidateContractInstance and this.tokenRegistry.invalidateC...Leonid Logvinov2017-07-052-6/+6
* Make invalidateContractInstancesAsync private on exchange and tokenLeonid Logvinov2017-07-052-8/+8
* Add parameter validation for subscribeAsyncLeonid Logvinov2017-07-052-0/+10
* Use orderHashSchema to validate order hashLeonid Logvinov2017-07-051-4/+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
* Merge branch 'master' into subscribe-tokenLeonid2017-07-042-5/+15
|\
| * Merge pull request #89 from 0xProject/proxyLeonid2017-07-042-5/+15
| |\
| | * Use call instead of use in the commentsLeonid Logvinov2017-07-042-6/+6
| | * Fix the commentLeonid Logvinov2017-07-041-1/+1
| | * Add zeroEx.proxy.getAuthorizedAddressesAsync and testsLeonid Logvinov2017-07-041-0/+10
* | | Add initial implementation and tests for zeroEx.token.subscribeAsyncLeonid Logvinov2017-07-042-34/+57
|/ /
* | Rename _wrapEventCallback to _getBigNumberWrappingEventCallbackLeonid Logvinov2017-07-041-2/+2
* | Merge branch 'master' into wrap-log-bignumberLeonid2017-07-042-61/+178
|\|
| * Stop passing exchangeContractAddress to utils.getOrderHashHexLeonid Logvinov2017-07-041-7/+2
| * Await ZRX callLeonid Logvinov2017-07-041-1/+1
| * Fix the commentLeonid Logvinov2017-07-041-1/+1
| * Rename invalidateContractInstanceAsync to invalidateContractInstancesAsyncLeonid Logvinov2017-07-041-1/+1
| * Fix _getProxyContractAsync function nameLeonid Logvinov2017-07-041-2/+2
| * Fix commentLeonid Logvinov2017-07-041-1/+1
| * Fix commentLeonid Logvinov2017-07-011-1/+1
| * Remove constructorLeonid Logvinov2017-07-011-3/+0
| * Fix proxy commentLeonid Logvinov2017-07-011-1/+1
| * Fix namingLeonid Logvinov2017-07-011-2/+3
| * Fix a typo in authorizedLeonid Logvinov2017-07-011-3/+3
| * Fix a bug in getProxyAuthorizedContractAddressesAsyncLeonid Logvinov2017-07-011-2/+7
| * Move schema assertion up to prevent the _.map failureLeonid Logvinov2017-07-011-1/+1
| * Fix a typo in authorizedLeonid Logvinov2017-06-301-1/+1
| * Implement getProxyAuthorizedContractAddressesAsyncLeonid Logvinov2017-06-301-0/+16
| * Store ProxyWrapper instance in ExchangeWrapperLeonid Logvinov2017-06-301-1/+4
| * Add Proxy wrapperLeonid Logvinov2017-06-301-0/+36
| * Factor out ZRXtokenAddress variableLeonid Logvinov2017-06-301-1/+2
| * Rename ZeroExError.CONTRACT_DOES_NOT_EXIST to ZeroExError.EXCHANGE_CONTRACT_D...Leonid Logvinov2017-06-301-1/+1
| * Fix a typo in a nameLeonid Logvinov2017-06-301-2/+2
| * Factor out exchangeArtifacts variableLeonid Logvinov2017-06-301-1/+2
| * Check that artefacts by networkId are not undefined before getting the addressLeonid Logvinov2017-06-301-2/+5
| * Fix a typo in a nameLeonid Logvinov2017-06-301-1/+1
| * Fix a typo in a nameLeonid Logvinov2017-06-301-1/+1
| * Move schema assertion up to prevent the _.map failureLeonid Logvinov2017-06-301-2/+2
| * Move schema assertion up to prevent the _.map failureLeonid Logvinov2017-06-301-1/+1
| * Mve schema assertion up to prevent the _.map failureLeonid Logvinov2017-06-301-1/+1
| * Allow multiple exchange versions t be functional at the same timeLeonid Logvinov2017-06-271-48/+107
| * Move exchange artifacts to an exchange subfolderLeonid Logvinov2017-06-271-1/+1
* | Check for a BigNumber instanceLeonid Logvinov2017-07-041-1/+8
* | Use _.isString instead of instanceofLeonid Logvinov2017-07-041-1/+1
* | Wrap all event args in a newer version of BigNumber and test itLeonid Logvinov2017-07-021-1/+19
|/
* Additional EtherToken comment changesFabio Berger2017-06-271-10/+10
* Improve EtherToken commentsFabio Berger2017-06-271-10/+10
* refactor getBalanceInEthAsync to getBalanceInWeiAsync and change the test ass...Fabio Berger2017-06-271-2/+1
* Fix typoFabio Berger2017-06-271-1/+1
* Implement EtherTokenWrapper and tests, with deposit and withdraw methodsFabio Berger2017-06-261-0/+76
* Add missing return commentFabio Berger2017-06-261-0/+1
* Fix incorrect merge consequencesLeonid Logvinov2017-06-231-3/+3
* Merge branch 'master' into fill-order-amuontLeonid2017-06-234-44/+37
|\
| * Revert "Use different lodash import syntax which allows to include only used ...Leonid2017-06-224-43/+37
* | Return filledTakerTokenAmount from fillOrdersUpToAsyncLeonid Logvinov2017-06-221-3/+10
* | Return cancelledAmount from cancelOrderAsyncLeonid Logvinov2017-06-221-1/+6
* | Fix return commentLeonid Logvinov2017-06-221-1/+1
* | Return filledAmount from fillOrderAsyncLeonid Logvinov2017-06-211-1/+6
|/
* Fall back to import x = require() syntaxLeonid Logvinov2017-06-214-10/+10
* Use different lodash import syntax which allows to include only used functionsLeonid Logvinov2017-06-214-37/+43
* Add missing semi-colonFabio Berger2017-06-201-1/+1
* Improve commentFabio Berger2017-06-201-3/+3
* Merge branch 'master' of github.com:0xProject/0x.jsFabio Berger2017-06-191-1/+2
|\
| * Rename LogErrorArgs to LogErrorEventArgs and EventArgs to ContractEventArgsLeonid Logvinov2017-06-191-2/+2
| * Add actual type for contract event argumentsLeonid Logvinov2017-06-151-1/+2
* | Add and improve commentsFabio Berger2017-06-163-12/+25
|/
* Remove types that are not used in public interface from export and rename Eve...Leonid Logvinov2017-06-141-7/+7
* Rename ZeroExEvent to EventEmitterLeonid Logvinov2017-06-131-12/+12
* Bind watch function on an eventLeonid Logvinov2017-06-131-1/+1
* Refactor subscription to return zeroExSignature objectLeonid Logvinov2017-06-131-16/+27
* Add getContractAddressAsync and testsLeonid Logvinov2017-06-131-0/+9
* Duplicate truffle contracts typesLeonid Logvinov2017-06-111-1/+1
* Merge branch 'master' into privateLeonid2017-06-111-14/+22
|\
| * Merge pull request #60 from 0xProject/error-decoratorFabio Berger2017-06-111-0/+8
| |\
| | * Merge branch 'master' into error-decoratorLeonid2017-06-103-12/+93
| | |\
| | * | Add initial error handling decorator implementationLeonid Logvinov2017-06-101-0/+8
| * | | Remove Hex suffix from public functions parameters namesLeonid Logvinov2017-06-101-14/+14
| | |/ | |/|
* | | Fix last testsLeonid Logvinov2017-06-113-20/+20
* | | Prefix private vars with _Leonid Logvinov2017-06-104-116/+117
|/ /
* | Align all param comments so that they are more readableFabio Berger2017-06-103-64/+76
* | Add param & return comments to all public methods and add comments to some pu...Fabio Berger2017-06-103-12/+81
|/
* Address feedbackLeonid Logvinov2017-06-101-1/+1
* Fix testLeonid Logvinov2017-06-101-8/+5
* Merge branch 'master' into json-schemaLeonid2017-06-101-5/+4
|\
| * Merge branch 'master' into async-bugLeonid2017-06-091-20/+83
| |\
| * | Use for ofLeonid Logvinov2017-06-091-2/+2
| * | Fix the bug of not awaiting an async functionLeonid Logvinov2017-06-091-4/+3
* | | Merge branch 'master' into json-schemaLeonid2017-06-091-4/+71
|\ \ \ | | |/ | |/|
| * | Merge branch 'master' into fillOrderUpToAsyncLeonid2017-06-091-16/+12
| |\ \
| * | | Address feedbackLeonid Logvinov2017-06-091-5/+2
| * | | Add signedOrdersScxhemaLeonid Logvinov2017-06-091-0/+4
| * | | Address feedbackLeonid Logvinov2017-06-091-1/+1
| * | | Add assert.hashAtMostOneUniqueValueLeonid Logvinov2017-06-091-6/+6
| * | | Merge branch 'master' into fillOrderUpToAsyncLeonid2017-06-091-24/+89
| |\ \ \ | | | |/ | | |/|
| * | | Add tests for fillOrdersUpToLeonid Logvinov2017-06-091-7/+7
| * | | Implement fillOrderUpToAsyncLeonid Logvinov2017-06-081-0/+66
* | | | Fix tests one moreLeonid Logvinov2017-06-091-1/+1
* | | | Fix testsLeonid Logvinov2017-06-091-1/+1
* | | | Merge branch 'master' into json-schemaLeonid2017-06-091-12/+7
|\ \ \ \ | | |_|/ | |/| |
| * | | Add orderCancelrequestsSchema and orderFillRequestsSchemaLeonid Logvinov2017-06-091-16/+12
| | |/ | |/|
* | | Make static function publicLeonid Logvinov2017-06-091-1/+0
* | | Convert to JSON schema compatible object by defaultLeonid Logvinov2017-06-091-19/+7
|/ /
* | fix indentationFabio Berger2017-06-091-13/+13
* | add comment explaining the use of anyFabio Berger2017-06-091-0/+1
* | Improve commentFabio Berger2017-06-091-1/+1
* | Add orderFillOrKillRequestsSchema and validate using it instead of looping ov...Fabio Berger2017-06-091-4/+5
* | Merge branch 'master' into batchFillOrKillFabio Berger2017-06-092-26/+92
|\|
| * Merge pull request #48 from 0xProject/interfaceTweaksLeonid2017-06-081-1/+1
| |\
| | * Merge branch 'master' into interfaceTweaksLeonid2017-06-081-0/+6
| | |\
| | * | Make web3Wrapper protected instead of publicFabio Berger2017-06-081-1/+1
| * | | Merge pull request #47 from 0xProject/is-valid-signature-contractLeonid2017-06-081-2/+2
| |\ \ \
| | * \ \ Merge branch 'master' into is-valid-signature-contractLeonid2017-06-081-0/+6
| | |\ \ \ | | | | |/ | | | |/|
| | * | | Refactor isValidSignatureLeonid Logvinov2017-06-081-2/+2
| | | |/ | | |/|
| * | | Merge branch 'master' into batchFillAsyncLeonid2017-06-081-0/+6
| |\ \ \ | | | |/ | | |/|