Commit Graph

54 Commits

Author SHA1 Message Date
Leonid Logvinov
a7b2131db7 Decode logs args in awaitTransactionMinedAsync 2017-09-05 18:45:20 +02:00
Leonid Logvinov
b5c6c91962 Increase the default polling interval to 1000 2017-09-05 12:52:44 +02:00
Leonid Logvinov
f6a945dfe4 Fix the comment at awaitTransactionMinedAsync 2017-09-05 12:52:00 +02:00
Leonid Logvinov
a12df1c73a Fix gasPrice regression 2017-09-05 11:38:28 +02:00
Leonid Logvinov
96d2a55eff Add TransationReceipt as a public exported type 2017-09-05 10:29:51 +02:00
Leonid Logvinov
2b547f94a4 Change non-exhange contracts to also return txHash 2017-09-05 10:07:16 +02:00
Leonid Logvinov
c9e490bdae Implement zeroEx.awaitTransactionMined 2017-09-04 19:08:14 +02:00
Leonid Logvinov
1ad395cf86 Make the functions immidiately return txHash instead of awaiting for a transaction to be mined 2017-09-04 18:14:48 +02:00
Leonid Logvinov
c83e1d57fc Improve the comment 2017-08-30 11:14:01 +02:00
Leonid Logvinov
60ad5024ce Add assert.isWeb3Provider 2017-08-30 11:12:28 +02:00
Leonid Logvinov
a98bb1f7ac Improve the comment 2017-08-29 18:45:26 +02:00
Leonid Logvinov
3f99281309 Support web3@1.0 providers 2017-08-29 18:40:49 +02:00
Leonid Logvinov
a19b40b051 Pass config object to a constructor instead of gasPrice 2017-08-29 10:01:53 +02:00
Leonid Logvinov
5b60d9f0f4 Remove default value for gasPrice 2017-08-29 10:01:13 +02:00
Leonid Logvinov
a6a1601799 Allow user to specify the gas price 2017-08-29 10:01:13 +02:00
Leonid Logvinov
96da2c26dc Use 0x-json-schemas 2017-08-28 16:49:57 +02:00
Leonid Logvinov
b2b5abadb2 Rename internally Proxy to TokenTransferProxy 2017-08-22 13:28:05 +02:00
Leonid Logvinov
73e8f890b5 Remove unused imports 2017-07-25 22:25:56 +02:00
Leonid Logvinov
6033c1a5d5 Use PascalCase names as string enum keys 2017-07-11 17:54:57 -07:00
Leonid Logvinov
fbf89aea1c Make getOrderHashHex static 2017-07-11 17:45:35 -07:00
Leonid Logvinov
8052625e76 Migrate to using a single Exchange contract 2017-07-11 16:15:08 -07:00
Fabio Berger
68120ad1da Move private helper methods into signatureUtils so that they don't show up in the ZeroEx classes auto-complete list 2017-07-07 14:21:47 -07:00
Fabio Berger
bdfbfb829b Remove duplication of 27, 28 v values 2017-07-07 14:20:59 -07:00
Fabio Berger
712a1ba36e Modify signOrderHashAsync to parse the signatureHex string as V + R + S AND R + S + V and check both for a valid signature in order to fix the issue of different nodes returning it differently 2017-07-07 13:49:02 -07:00
Leonid Logvinov
9f89dbc8e4 Inline _isExchangeContractAddressProxyAuthorizedAsync 2017-07-06 10:19:22 -07:00
Leonid Logvinov
b1667cdd89 Fix comments to use web3 provider instead of web3 instance 2017-07-06 10:18:38 -07:00
Leonid Logvinov
9a9fd7d926 Move zeroEx.exchange.getAvailableContractAddressesAsync to zeroEx.getAvailableExchangeContractAddressesAsync and zeroEx.exchange.getProxyAuthorizedContractAddressesAsync to zeroEx.getProxyAuthorizedExchangeContractAddressesAsync 2017-07-05 14:18:46 -07:00
Leonid Logvinov
464c16be73 move order hash schema to a separate file 2017-07-04 17:33:35 -07:00
Leonid Logvinov
a45f6ff4af Fix the bug when didn't invalidate etherToken contract instance 2017-07-04 11:48:41 -07:00
Leonid Logvinov
33216ea53f Make this.proxy.invalidateContractInstance and this.tokenRegistry.invalidateContractInstance private 2017-07-04 11:22:12 -07:00
Leonid Logvinov
4ebf046cea Make invalidateContractInstancesAsync private on exchange and token 2017-07-04 11:12:56 -07:00
Leonid Logvinov
b1c7291d3c Use orderHashSchema to validate order hash 2017-07-04 10:27:31 -07:00
Leonid
6d234c09af Merge branch 'master' into subscribe-token 2017-07-03 16:37:15 -07:00
Leonid Logvinov
5a8eb77ff0 Add initial implementation and tests for zeroEx.token.subscribeAsync 2017-07-03 15:54:05 -07:00
Leonid Logvinov
dacf19ecae Make proxy wrapper public on zeroEx instance 2017-07-03 14:48:11 -07:00
Leonid
8204409c6d Merge branch 'master' into add-exchange-address-to-order-struct 2017-07-03 12:05:46 -07:00
Leonid Logvinov
4bcad26024 Stop passing exchangeContractAddress to utils.getOrderHashHex 2017-07-03 12:04:07 -07:00
Leonid Logvinov
f09a0fca75 Rename invalidateContractInstanceAsync to invalidateContractInstancesAsync 2017-07-03 11:57:05 -07:00
Leonid Logvinov
74ef0458f5 Fix test failures caused by testrpc new eth_sign behaviour 2017-06-30 19:08:07 -07:00
Leonid Logvinov
83eeeb85b2 Rename _proxy to _proxyWrapper 2017-06-29 13:11:06 -07:00
Leonid Logvinov
d009b9b525 Add ProxyWrapper instance to zeroEx 2017-06-29 12:16:50 -07:00
Leonid Logvinov
e9db532727 Make getOrderHashHex a non-async function 2017-06-29 10:34:49 -07:00
Leonid Logvinov
3d55f97c0a Remove _getExchangeAddressAsync 2017-06-26 19:44:21 -07:00
Leonid Logvinov
de0e436aad Allow multiple exchange versions t be functional at the same time 2017-06-26 19:44:21 -07:00
Fabio Berger
60b3f3e6dd Implement EtherTokenWrapper and tests, with deposit and withdraw methods 2017-06-25 14:50:11 -07:00
Leonid
94cab6f694 Revert "Use different lodash import syntax which allows to include only used functions" 2017-06-22 16:21:56 +02:00
Leonid Logvinov
a1c363a8af Fall back to import x = require() syntax 2017-06-21 14:11:06 +02:00
Leonid Logvinov
40a7be0690 Use different lodash import syntax which allows to include only used functions 2017-06-21 13:56:14 +02:00
Fabio Berger
7f32cdf29d Fix tslint issue 2017-06-19 08:59:04 -07:00
Fabio Berger
a8f706c79f Merge branch 'master' of github.com:0xProject/0x.js 2017-06-19 08:42:25 -07:00