Remco Bloemen
1dad14f8ea
Add missing return types
2018-05-22 13:50:07 +02:00
Greg Hysen
d460c0e8b9
Merge pull request #572 from 0xProject/feature/contracts/atomicMatching
...
Atomic Order Matching
2018-05-21 14:29:56 -07:00
Fabio Berger
0fdf32cf6f
merge development
2018-05-21 13:38:12 -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
dbbd32d2ce
Moved feeTokenAddress to MatchOrderTester constructor. Since it is constant, we dont need to pass it in on each call.
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
e748e1891b
Style improvements to the match orders typescript test class
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
Alex Browne
251218af8b
Use make-promises-safe to catch unhandled rejections in tests
2018-05-16 17:36:37 -07: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
Alex Browne
0bc338ba42
Merge pull request #578 from 0xProject/document-node-version
...
Document Node.js version requirement and add it to package.json
2018-05-15 10:51:49 -07:00
Alex Browne
fdeab0475c
Change minimum Node version to 6.12
2018-05-14 18:46:53 -07:00
Alex Browne
f86cc0dc7a
Document Node.js version requirement and add it to package.json
2018-05-14 18:46:52 -07:00
Fabio Berger
a6773b85d2
Fix sol-compiler binary so it can be called directly from packages
2018-05-14 19:32:32 +02:00
Fabio Berger
5f678acf46
Fix abi-gen binary so it can be called directly from packages
2018-05-14 19:31:56 +02:00
Fabio Berger
478f6ed011
Move from using lerna multi-package commands to wsrun, update README's accordingly
2018-05-14 19:23:50 +02:00
Leonid Logvinov
b74957acdf
Add missing type definitions
2018-05-14 10:35:13 +02:00
Fabio Berger
31763a018c
Revert "Remove gitkeeps"
...
This reverts commit 3f6876c419 .
2018-05-11 18:50:50 +02:00
Fabio Berger
3f6876c419
Remove gitkeeps
2018-05-11 17:41:35 +02:00
Fabio Berger
d370296e82
Merge branch 'development' into breakUp0xjs
...
* development:
Fix ganache subprovider config
Fix a bug in compiler config precedence
Fix linter errors
Fix templates
Remove unused deployer docs configs
Add a legacy endpoint for the deployer
Add a check for compiler output
Add a comment
Put ARTIFACTS_VERSION in a config
Improve a comment
Remove _applyDefaultsToDeployTxDataAsync
Add a HACK comment
Fix linter issues
Rename deployer to sol-compiler
Remove deployer
Remove deployer from 0x.js and migrations
Configure migrations with a compiler.json
Remove deployer from metacoin and contract tests
Update wallet footer and add remove token functionality
# Conflicts:
# .gitignore
# packages/0x.js/package.json
# packages/0x.js/src/0x.ts
# packages/contracts/package.json
# packages/contracts/test/multi_sig_with_time_lock.ts
# packages/contracts/test/multi_sig_with_time_lock_except_remove_auth_addr.ts
# packages/contracts/util/artifacts.ts
# packages/deployer/test/deployer_test.ts
# packages/migrations/package.json
2018-05-11 12:32:57 +02:00
Fabio Berger
733fe5b335
Add artifacts to clean command
2018-05-11 12:05:32 +02:00
Fabio Berger
bea185ce8b
Commit v1 artifacts to migrations package and remove compile step from prebuild
2018-05-10 19:02:41 +02:00
Leonid Logvinov
e972ed8456
Fix linter errors
2018-05-10 18:12:34 +02:00
Fabio Berger
83dd333eba
Fix tslint errors
2018-05-10 17:55:27 +02:00