Alex Towle
|
2c970a0466
|
@0x:contracts-exchange Added protocol fees to fill order
|
2019-08-28 15:01:30 -07:00 |
|
Alex Towle
|
c688b11c86
|
@0x:contracts-exchange-libs Added protocol fees to LibFillResults
* This commit also squashed some bugs in the reference functions.
Thankfully, combinatorial testing had our back!
|
2019-08-28 15:01:30 -07:00 |
|
mzhu25
|
c926a586d2
|
Merge pull request #2103 from 0xProject/feature/contracts-staking/rich-reverts
Staking RichErrors and cleanup
|
2019-08-26 17:32:05 -07:00 |
|
Michael Zhu
|
078b1af04e
|
Binop -> BinOp
|
2019-08-26 16:06:31 -07:00 |
|
Michael Zhu
|
98e5b26eb7
|
refactor SafeMath rich errors and use them in staking libs
|
2019-08-26 15:49:09 -07:00 |
|
Amir Bandeali
|
020e7609c3
|
Add assetProxyId param to AssetProxyExistsError
|
2019-08-25 17:06:37 -07:00 |
|
Amir Bandeali
|
5e51233b49
|
Address PR feedback
|
2019-08-22 17:11:50 -07:00 |
|
Amir Bandeali
|
44753bb168
|
Add TransactionInvalidContextError and remove NO_REENTRANCY errorCode
|
2019-08-22 17:04:15 -07:00 |
|
Amir Bandeali
|
23dd711396
|
Update ZeroExTransaction tests
|
2019-08-22 17:04:15 -07:00 |
|
Amir Bandeali
|
2134537bc3
|
Add TransactionGasPriceError to LibExchangeRichErrors
|
2019-08-22 17:04:14 -07:00 |
|
Amir Bandeali
|
67f91269ee
|
Add gasPrice to ZeroExTransaction struct
|
2019-08-22 17:04:14 -07:00 |
|
Lawrence Forman
|
34f6facdee
|
@0x/contracts-exchange-libs : Update CHANGELOG.
|
2019-08-21 10:59:34 -04:00 |
|
Lawrence Forman
|
75a4d129f7
|
@0x/contracts-exchange-libs : Consolidate FillOrKill errors into IncompleteFillError .
|
2019-08-21 10:59:34 -04:00 |
|
Lawrence Forman
|
d8372f73bc
|
@0x/contracts-exchange-libs : Add new revert types and use abi.decode() instead of LibBytes .
|
2019-08-21 10:59:34 -04:00 |
|
Amir Bandeali
|
430d068d78
|
Add truffle compile to build in CI
|
2019-08-20 12:57:31 -07:00 |
|
Amir Bandeali
|
f09cadb7b3
|
Add truffle compile option to contract packages
|
2019-08-20 12:49:33 -07:00 |
|
Amir Bandeali
|
c366a4bd83
|
Update copyright dates
|
2019-08-20 12:49:01 -07:00 |
|
Alex Towle
|
22c8a25a26
|
Merge branch 'development' into 3.0
|
2019-08-19 11:13:21 -07:00 |
|
Amir Bandeali
|
8402d211bf
|
Update CHANGELOGs
|
2019-08-15 16:51:50 -07:00 |
|
Amir Bandeali
|
cc3be9448a
|
Move MatchedFillResults constants closer to tests where they are utilized
|
2019-08-15 16:51:40 -07:00 |
|
Amir Bandeali
|
7ac30c5153
|
Merge branch '3.0' into feat/3.0/optimizeConstants
|
2019-08-15 15:20:48 -07:00 |
|
Amir Bandeali
|
1dae1d244c
|
Rename hashing functions in LibOrder and LibZeroExTransaction
|
2019-08-14 13:38:12 -07:00 |
|
Amir Bandeali
|
2da996f493
|
Hard code chainId in tests
|
2019-08-14 11:07:28 -07:00 |
|
Amir Bandeali
|
c5d4559300
|
Remove generate-exchange-selectors script
|
2019-08-14 11:07:22 -07:00 |
|
James Towle
|
f66212ce23
|
Merge pull request #2051 from jalextowle/feature/3.0/exchange-libs/unit-tests
`@0x:contracts-exchange-libs` Added unit tests to exchange-libs
|
2019-08-14 10:52:10 -07:00 |
|
Amir Bandeali
|
070147db52
|
Fix build errors
|
2019-08-13 16:43:55 -07:00 |
|
Amir Bandeali
|
55436510b6
|
Regenerate boilerplate for exchange-libs package
|
2019-08-13 16:20:35 -07:00 |
|
Amir Bandeali
|
dc31294440
|
Move LibExchangeRichErrors to exchange-libs package
|
2019-08-13 16:20:35 -07:00 |
|
Amir Bandeali
|
7cfceebeb8
|
Remove unused ABIEncoderV2 pragma
|
2019-08-13 16:19:48 -07:00 |
|
Amir Bandeali
|
0e2616f16b
|
Rename _rrevert to rrevert
|
2019-08-13 16:19:48 -07:00 |
|
Amir Bandeali
|
ccce7e001e
|
Compile all contracts by default, regenerate boilerplate
|
2019-08-13 16:19:48 -07:00 |
|
Amir Bandeali
|
45f229c531
|
Move LibEIP712ExchangeDomain tests to own file
|
2019-08-13 16:11:57 -07:00 |
|
Amir Bandeali
|
24eaf93db8
|
Move all exchange-libs tests to separate files
|
2019-08-13 16:11:09 -07:00 |
|
Amir Bandeali
|
245956c658
|
Create test contracts for each exchange lib
|
2019-08-13 16:11:09 -07:00 |
|
Amir Bandeali
|
7eb64eb3dc
|
Update test contracts
|
2019-08-13 16:09:48 -07:00 |
|
Amir Bandeali
|
f45014f75b
|
Convert LibOrder and LibZeroExTransaction to libraries
|
2019-08-13 16:09:48 -07:00 |
|
Amir Bandeali
|
74a5c8c23c
|
Simplify LibEIP712ExchangeDomain to be used only for generating domain hash
|
2019-08-13 16:09:48 -07:00 |
|
Amir Bandeali
|
28e781db15
|
Convert LibFillResults to library
|
2019-08-13 16:09:48 -07:00 |
|
Amir Bandeali
|
6ca9d4ee78
|
Convert LibMath to library
|
2019-08-13 16:09:48 -07:00 |
|
Amir Bandeali
|
b05a2a90d0
|
Move FillResults calculations into LibFillResults
|
2019-08-13 16:09:48 -07:00 |
|
Amir Bandeali
|
242715240b
|
Do not inherit libs
|
2019-08-13 16:07:07 -07:00 |
|
Amir Bandeali
|
65f17fd76e
|
Make LibEIP712 a library
|
2019-08-13 16:04:33 -07:00 |
|
Alex Towle
|
e4257fb6c7
|
Addressed review comments and prettified code
|
2019-08-13 11:06:41 -07:00 |
|
James Towle
|
6e1fdda182
|
Update contracts/exchange-libs/test/lib_zero_ex_transaction.ts
Co-Authored-By: Lawrence Forman <lawrence@0xproject.com>
|
2019-08-12 11:06:01 -07:00 |
|
Lawrence Forman
|
e34b390c18
|
@0x/contracts-exchange-libs : Fix CHANGELOG rebase issues.
|
2019-08-09 22:15:33 -04:00 |
|
Lawrence Forman
|
14fe3045dc
|
@0x/contracts-exchange-libs : Update CHANGELOG.
|
2019-08-09 22:15:33 -04:00 |
|
Lawrence Forman
|
cc8d5ac93a
|
Update changelogs.
|
2019-08-09 22:15:33 -04:00 |
|
Lawrence Forman
|
ae454b0892
|
@0x/contracts-exchange-libs : Regenerate selectors.
|
2019-08-09 22:15:33 -04:00 |
|
Lawrence Forman
|
18485dd456
|
@0x/contracts-exchange-libs : Add complementary tests when rounding up and down behavior with isRoundingErrorFloor() and isRoundingerrorCeil() .
|
2019-08-09 21:07:23 -04:00 |
|
Alex Towle
|
c318b849fe
|
@0x:contracts-exchange-libs Added unit tests to exchange-libs
|
2019-08-09 17:28:36 -07:00 |
|