Amir Bandeali
45f229c531
Move LibEIP712ExchangeDomain tests to own file
2019-08-13 16:11:57 -07:00
Amir Bandeali
d6772b4a0a
Fix linting errors
2019-08-13 16:11:57 -07:00
Amir Bandeali
5016d50c2b
Move calculateFillResults tests to exchange-libs package
2019-08-13 16:11:09 -07:00
Amir Bandeali
24eaf93db8
Move all exchange-libs tests to separate files
2019-08-13 16:11:09 -07:00
Amir Bandeali
2e519b534d
Fix build in OrderValidationUtils
2019-08-13 16:11:09 -07:00
Amir Bandeali
31c2b36039
Fix build errors in exchange package contracts
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
0df360c5e8
Fix compile errors
2019-08-13 16:11:09 -07:00
Amir Bandeali
9b786df828
Update test contracts
2019-08-13 16:11:09 -07:00
Amir Bandeali
ae859fa01e
Update Exchange contract to use libraries
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
52dcd998c4
Add library implementation of SafeMath
2019-08-13 16:09:48 -07:00
Amir Bandeali
a8cd168345
Cleanup imports
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
Amir Bandeali
58ee4447a1
Remove remaining hard coded selectors
2019-08-13 16:04:33 -07:00
Amir Bandeali
d153ac0951
Make remaining functions public
2019-08-13 16:04:33 -07:00
Amir Bandeali
2e97cfa5e5
Remove LibAssetProxyIds and TestLibConstants
2019-08-13 16:04:33 -07:00
Amir Bandeali
7d5276ad11
Remove LibExchangeSelectors.sol
2019-08-13 16:04:33 -07:00
Amir Bandeali
2251e5e418
Optimize LibEIP712
2019-08-13 16:00:19 -07:00
Alex Towle
e4257fb6c7
Addressed review comments and prettified code
2019-08-13 11:06:41 -07:00
Lawrence Forman
f22b03fdb5
Merge pull request #2042 from 0xProject/feature/3.0/exchange/wrapper-tests
...
Wrapper/Reentrancy unit tests, etc.
2019-08-13 13:55:29 -04:00
F. Eugene Aumson
e045f5f74b
contract_wrappers.py: include DevUtils in docs
2019-08-13 12:16:20 -04:00
F. Eugene Aumson
e5c07ff0c5
abi-gen/Py: fix hanging indent for return val doc
...
The update to the fixture contract's artifact added a bunch of
`internalType` stuff. I'm not sure where that came from. Maybe
newly generated by the latest version of solc?
2019-08-13 12:16:20 -04:00
Greg Hysen
dd4541c825
Fill Order Assertion Wrapper
2019-08-13 17:51:40 +02:00
F. Eugene Aumson
cdf0aa27e4
contract_wrappers.py: Merge CHANGELOG from dev
...
Merge CHANGELOG updates from the development branch, in order to avoid
merge conflicts.
2019-08-13 09:32:31 -04:00
F. Eugene Aumson
88998e6bb7
contract_wrappers.py: add DevUtils wrapper
2019-08-13 09:28:03 -04:00
F. Eugene Aumson
b885dfa606
Fixes for broken tox
runs ( #2053 )
...
* order_utils.py: git rm package.json
This was used at one time, a long, long time ago, but is no longer used,
and its presence actually causes problems when trying to do, eg
`PKG=@0x/python-contract-wrappers yarn build` from within the
order_utils directory.
* order_utils.py: improve `./setup.py clean`
* python-packages: in tox, test, don't lint
* python-packages: update dev req's to fix tox runs
* contract_wrappers.py: post-publish version bump
2019-08-13 09:18:16 -04:00
Jacob Evans
407495c278
Update packages/migrations/CHANGELOG.json
...
Co-Authored-By: Fabio B <me@fabioberger.com >
2019-08-13 21:56:07 +10:00
Jacob Evans
ea50a94355
Update Mainnet
2019-08-13 21:40:38 +10:00
Jacob Evans
cb3318972e
Merge pull request #2044 from 0xProject/fix/sol-compiler-bin-publish
...
Remove solc-bin from npm publish
2019-08-13 21:16:32 +10:00
Jacob Evans
c057ad7977
Update CHANGELOG
2019-08-13 14:46:53 +10:00
Jacob Evans
eb21718462
Added DevUtils Wrappers
2019-08-13 14:44:53 +10:00
Lawrence Forman
98f77394ed
@0x/contracts-dev-utils
: Update OrderValidationUtils
for new isValidOrderSignature()
semantics.
2019-08-12 19:18:57 -04:00
Lawrence Forman
fc18db10be
@0x/contracts-exchange
: Add tests for when callback signature types return incorrect data.
2019-08-12 19:10:24 -04:00
Lawrence Forman
9382e2e8c7
@0x/contracts-exchange
: Fix bad resultData
assertion in fillOrderNoThrow()
.
2019-08-12 18:53:40 -04:00
Lawrence Forman
a3b2dbf8e2
@0x/contracts-exchange
: Remove redundant new bytes(0)
in ReentrancyTester.sol
.
2019-08-12 18:32:05 -04:00
Lawrence Forman
6df190edbb
@0x/contracts-exchange
: Light changes to address PR comments.
2019-08-12 18:20:50 -04:00
Lawrence Forman
5b0b8a9717
@0x/contracts-exchange
: Remove explicit signerAddress
parameter from many MixinSignatureValidator
functions.
2019-08-12 18:10:57 -04:00
Lawrence Forman
a8ddbe4127
@0x/contracts-exchange
: Update IWallet
for new legacy wallet spec.
2019-08-12 17:30:24 -04: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
Francesco Agosti
7836e10d8a
Merge pull request #2052 from 0xProject/feature/website/adding-oskar
...
Added Oskar to team page
2019-08-12 10:15:19 -07:00
Francesco Agosti
946a31821d
Merge pull request #2050 from 0xProject/feature/website/privacy-policy
...
Privacy Policy and Terms of Service pages
2019-08-12 10:10:55 -07:00
xianny
92a915f477
fix dependency version check
2019-08-12 09:27:51 -07:00
Jacob Evans
60b458dbfb
Merge pull request #2045 from 0xProject/feature/i-voted-tokens
...
I Voted Tokens
2019-08-12 17:24:07 +10:00