Alex Browne
cde85243d6
Merge pull request #601 from 0xProject/contracts-test-fixes
...
Contracts test fixes
2018-05-22 11:48:41 -07:00
Fabio Berger
a682b5d90e
Remove 0x.js dep from contracts
2018-05-22 11:18:50 -07:00
Remco Bloemen
b39f75a2e3
Add CancelOrder and MatchOrder types
2018-05-22 15:15:14 +02:00
Remco Bloemen
1dad14f8ea
Add missing return types
2018-05-22 13:50:07 +02:00
Alex Browne
2c496a92ad
Add awaitTransactionMinedAsync after every sent transaction
2018-05-21 16:52:49 -07:00
Greg Hysen
f4ebbfabf4
Added getNullFillResults
2018-05-18 17:07:00 -07:00
Greg Hysen
b5bcfc8fe7
orderFilledAmount -> orderTakerAssetFilledAmount
2018-05-18 17:07:00 -07:00
Greg Hysen
d13c08cc0d
Style improvements to order matching
2018-05-18 17:07:00 -07:00
Greg Hysen
89abd76570
Upgraded to Solidity 0.4.24
2018-05-18 17:07:00 -07:00
Greg Hysen
8c1ae35088
Rebased against v2-prototype
2018-05-18 17:05:36 -07:00
Greg Hysen
bb74789b42
Changed calculateFillResults to public visibility so that it can be used by the Forwarding Contract.
2018-05-18 17:01:06 -07:00
Greg Hysen
80285a300d
Wording of calculateMatchedFillResults
2018-05-18 17:01:06 -07:00
Greg Hysen
2eb5819851
Cleaned up interface for decoding proxy data. Added a general decoder, which should be useful for the forwarding contract code.
2018-05-18 17:01:06 -07:00
Greg Hysen
28bb11217c
Removed redundant log decode call
2018-05-18 17:01:06 -07:00
Greg Hysen
636dae6a79
The OrderInfo struct is now returned by the getOrderInfo function
2018-05-18 17:01:06 -07:00
Greg Hysen
c8f65a1bf9
Updated order of settleMatchedOrders to align with settleOrder
2018-05-18 17:01:06 -07:00
Greg Hysen
ce177ae6f6
IExchange inherits from all other interfaces (in the same order as Exchange inherits Mixins)
2018-05-18 17:01:06 -07:00
Greg Hysen
c79f3501cd
Renamed takerAssetFilledAmount to orderFilledAmount to more easily distinguish between fill results and order state
2018-05-18 17:01:06 -07:00
Greg Hysen
80114edc71
Comments for readability in exchange core and mixin match orders
2018-05-18 17:01:06 -07:00
Greg Hysen
71483e2865
Renamed "validate" functions to "assert" in mixin match.
2018-05-18 17:01:06 -07:00
Greg Hysen
93087324d9
Throw if the left or right orders do not compute the correct fill results. I like this better than just logging an error and failing silently.
2018-05-18 17:01:06 -07:00
Greg Hysen
061facdcce
Removed redundant status checks in matchOrders. Saves gas, plus follows pattern of fillOrder more closely.
2018-05-18 17:01:06 -07:00
Greg Hysen
3e6e7fb272
Token -> Asset in fillOrder spec
2018-05-18 17:01:06 -07:00
Greg Hysen
12d8c2398f
Reordered functions in mixin exchange core -- getOrderInfo is at the bottom
2018-05-18 17:01:06 -07:00
Greg Hysen
bb73963421
Changes based on style guidelines put out by Amir
2018-05-18 17:01:06 -07:00
Greg Hysen
1dd7688bdd
Reordered fund transfers for matched orders, plus added an extra sanity check to order matching calculations
2018-05-18 17:01:06 -07:00
Greg Hysen
5735095521
Style changes to atomic order matching
2018-05-18 17:01:06 -07:00
Greg Hysen
fa7570352c
Added require reasons to MixinMatchOrders and cleaned up some comments.
2018-05-18 17:01:06 -07:00
Greg Hysen
f378406d15
Updated remaining contracts to v0.4.23
2018-05-18 17:01:05 -07:00
Greg Hysen
68fa7ae2a3
Removed isRoundingError from mixin header
2018-05-18 17:01:05 -07:00
Greg Hysen
9b1015bbce
Atomic Order Matching - Tests
2018-05-18 17:01:05 -07:00
Greg Hysen
a4c821eb60
Atomic Order Matching - Smart Contracts.
2018-05-18 17:01:05 -07:00
Jacob Evans
0137c0da8c
Merge pull request #583 from 0xProject/bug/contracts/erc721-encoded-pad
...
ERC721Proxy Pad to 32 if asset ids are small
2018-05-18 12:26:31 +10:00
Fabio Berger
78623ae3bd
Merge branch 'development' into v2-prototype
...
* development: (29 commits)
Do not remove artifacts when running `clean`
fix style errors
Fix circular dependency
Add my profile image to images
Add myself to about page
Add dogfood configs to website
Revert to lerna:run lint
Do lint sequentially
Exclude monorepo-scripts from tslint as test
Fix prettier
Add hover state to top tokens
Change to weekly txn volume
Change minimum Node version to 6.12
Document Node.js version requirement and add it to package.json
Apply prettier to some files which were not formatted correctly
Fix TSLint issues
Fix TSLint issues
Update ethereeumjs-testrpc to ganache-cli
Fix infinite loop
Add changelog entries for packages where executable binary exporting fixed
...
# Conflicts:
# packages/contracts/package.json
# packages/contracts/util/formatters.ts
# packages/contracts/util/signed_order_utils.ts
# packages/migrations/package.json
# yarn.lock
2018-05-16 16:18:47 +02:00
Amir Bandeali
9e0471bfbb
Merge branch 'development' into v2-prototype
2018-05-15 15:52:49 -04:00
Jacob Evans
f9d2689a12
Pad to 32 if asset ids are small
2018-05-10 15:59:44 +10:00
Amir Bandeali
5198c56db9
Add revert variables, change lib => libs to get around gitignore
2018-05-08 13:10:09 -07:00
Amir Bandeali
7e7364fc83
Move Authorizable to AssetProxy dir, rename to MixinAuthorizable
2018-05-07 11:20:53 -07:00
Amir Bandeali
395d060427
Split up mixins and interfaces
2018-05-04 17:10:25 -07:00
Amir Bandeali
bbf088d903
Make LibBytes methods internal, add TestLibBytes
2018-05-04 17:00:24 -07:00
Amir Bandeali
c84be8ddb3
Update contracts with revert reasons and constructor keyword
2018-05-02 15:23:05 -07:00
Amir Bandeali
3355a39fe0
Add MixinAssetProxy to reuse redundant code
2018-05-02 11:30:26 -07:00
Amir Bandeali
668dcb7cf0
Add batchTransferFrom to asset proxies
2018-05-01 13:38:41 -07:00
Amir Bandeali
c849c8ef08
Remove outdated comment
2018-04-30 16:40:27 -07:00
Amir Bandeali
bbb3d5bb67
Add hard coded proxyId into each AssetProxy
2018-04-30 16:40:27 -07:00
Amir Bandeali
e4f8ea2f7c
Move TokenRegistry to 'previous' directory
2018-04-26 11:11:54 -07:00
Amir Bandeali
599d34f1c0
Make all lib functions internal, add contracts for testing
2018-04-26 11:11:54 -07:00
Amir Bandeali
31411dd11b
Add LibFillResults
2018-04-26 11:09:53 -07:00
Amir Bandeali
b7781108ae
Add ERC721 contracts from zeppelin-solidity
2018-04-26 10:59:27 -07:00
Amir Bandeali
9ddec32260
Add tests and comments
2018-04-26 10:56:44 -07:00