Commit Graph

111 Commits

Author SHA1 Message Date
Leonid Logvinov
0e54418dbb Wrap all event args in a newer version of BigNumber and test it 2017-07-01 19:44:17 -07:00
Fabio Berger
0f413febd3 Fix typo 2017-06-26 10:30:09 -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
656d74518d Rename Log*Args to Log*ContractEventArgs 2017-06-21 16:38:20 +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
1ad54ba742 Add newline between type defs 2017-06-19 17:38:21 -07:00
Leonid Logvinov
26f20fa3e3 Rename LogErrorArgs to LogErrorEventArgs and EventArgs to ContractEventArgs 2017-06-19 09:47:29 +02:00
Leonid
f2d08ce3d9 Merge branch 'master' into event-types 2017-06-15 17:59:13 +02:00
Leonid Logvinov
209ca30460 Add explaining comment for the web3Provider type 2017-06-15 17:27:21 +02:00
Leonid Logvinov
d789aa24aa Make ZeroEx constructor accept Web3Provider instead of Web3 instance 2017-06-15 17:05:03 +02:00
Leonid Logvinov
76d6e6a748 Add actual type for contract event arguments 2017-06-15 16:21:27 +02:00
Leonid Logvinov
ba289c2843 Remove types that are not used in public interface from export and rename EventEmitter to ContractEventEmitter and IndexFilterValues to IndexedFilterValues 2017-06-14 11:27:33 +02:00
Leonid Logvinov
5ebc3a4660 Rename ZeroExEvent to EventEmitter 2017-06-13 17:52:06 +02:00
Leonid Logvinov
6ad1900ada Refactor subscription to return zeroExSignature object 2017-06-13 15:52:50 +02:00
Leonid Logvinov
5036553dc9 Duplicate truffle contracts types 2017-06-11 16:40:48 +02:00
Leonid Logvinov
10e8e89fee Add initial error handling decorator implementation 2017-06-10 13:55:36 +02:00
Leonid Logvinov
6e01cf9a5a Address feedback 2017-06-08 19:22:48 +02:00
Leonid Logvinov
a786776d7c Add assert.hashAtMostOneUniqueValue 2017-06-08 19:22:48 +02:00
Leonid
c94485dfbb Merge branch 'master' into fillOrderUpToAsync 2017-06-08 18:33:19 +02:00
Fabio Berger
2b08c04d4d Merge branch 'master' into batchFillOrKill
# Conflicts:
#	test/exchange_wrapper_test.ts
2017-06-08 18:09:47 +02:00
Leonid Logvinov
cd25d38118 Implement fillOrderUpToAsync 2017-06-08 17:28:09 +02:00
Leonid Logvinov
96e52ea3cc Fix names in types 2017-06-08 15:02:43 +02:00
Leonid Logvinov
c132271780 Merge branch 'master' into batchFillAsync 2017-06-08 11:31:40 +02:00
Fabio Berger
6e97489c1a Merge branch 'master' into batchFillOrKill
# Conflicts:
#	src/types.ts
2017-06-08 11:26:46 +02:00
Fabio Berger
8ab80914e0 Implement batchFillOrKill and tests 2017-06-08 11:25:47 +02:00
Leonid
41f005a676 Merge branch 'master' into batchCancelAsync 2017-06-07 21:45:18 +02:00
Fabio Berger
ca30835488 make txOpts optional 2017-06-07 17:54:27 +02:00
Leonid Logvinov
7460acbc0b Fix linter error 2017-06-07 17:53:45 +02:00
Leonid Logvinov
badbaa39fc Address feedback 2017-06-07 17:46:55 +02:00
Leonid Logvinov
4efd5984d5 Merge branch 'batchCancelAsync' into batchFillAsync 2017-06-07 16:56:54 +02:00
Leonid Logvinov
5bb04528d3 Merge branch 'batchCancelAsync' into batchFillAsync 2017-06-07 16:42:02 +02:00
Leonid Logvinov
c3cd5812e6 Refactor to use OrderCancellationRequest 2017-06-07 14:40:28 +02:00
Leonid Logvinov
d55213e1aa Add initial batchCancelAsync implementation 2017-06-07 13:26:13 +02:00
Leonid Logvinov
65beef5b9c Use ContractInstance from globals 2017-06-07 13:26:13 +02:00
Fabio Berger
8c81fab695 remove space 2017-06-07 13:05:52 +02:00
Fabio Berger
4eee0b52f1 merge master 2017-06-07 12:48:26 +02:00
Fabio Berger
918315e89f Implement fillOrKill & tests 2017-06-07 12:40:58 +02:00
Leonid Logvinov
9325bd8cb4 Add initial batchCancelAsync implementation 2017-06-07 12:39:44 +02:00
Leonid Logvinov
9a2a79a947 Use ContractInstance from globals 2017-06-07 12:16:07 +02:00
Leonid Logvinov
491a6e3c04 Add initial implementation of batchCancelAsync 2017-06-07 11:50:23 +02:00
Leonid Logvinov
02d36d7c9c Make txOpts optional 2017-06-07 11:18:41 +02:00
Leonid Logvinov
9daca6a4be Address feedback 2017-06-07 11:04:42 +02:00
Leonid Logvinov
bfa7872b14 Add missing semicolon 2017-06-06 17:38:03 +02:00
Leonid Logvinov
42b4952693 Add test when the order was already cancelled or filled 2017-06-06 17:26:16 +02:00
Leonid Logvinov
fa910bca0e Add checks and tests for expired order and zero fill amount 2017-06-06 16:57:13 +02:00
Leonid Logvinov
8aa673aabe Add initial implementation with success test 2017-06-06 15:36:07 +02:00
Leonid Logvinov
bac6833436 Make methods accept senderAccount 2017-06-05 16:22:56 +02:00
Fabio Berger
3d75a50235 Merge pull request #32 from 0xProject/addEventSubscriptions
Implement zeroEx.exchange.subscribeAsync
2017-06-02 21:18:02 +02:00