Greg Hysen
c040ad0850
cleaning
2018-12-18 13:36:05 -08:00
Greg Hysen
a332c5e5c2
Code to validate addresses from order arrays
2018-12-18 13:36:05 -08:00
Greg Hysen
16bd0ce7ec
generalized KYC extension passing all tests
2018-12-18 13:36:05 -08:00
Greg Hysen
9f68ac7bbe
Making progress on generalized forwarder
2018-12-18 13:36:05 -08:00
Greg Hysen
4e341582ae
Extract makerAddress in assembly
2018-12-18 13:36:05 -08:00
Greg Hysen
37a1271af2
fillOrder -> executeTransaction rename
2018-12-18 13:36:05 -08:00
Greg Hysen
3f7bd24250
Wrapped up tests for compliant forwarder
2018-12-18 13:36:05 -08:00
Greg Hysen
33e41dd500
More tests + require instead of revert in compliance contract
2018-12-18 13:36:05 -08:00
Greg Hysen
989b5b0a98
Ran linter
2018-12-18 13:36:05 -08:00
Greg Hysen
a4ab038aa8
Ran prettier
2018-12-18 13:36:05 -08:00
Greg Hysen
e81f92bffa
End-to-end test for compliant forwarder - works
2018-12-18 13:36:05 -08:00
Greg Hysen
003075a8a5
WIP - Tests for compliant forwarder
2018-12-18 13:36:05 -08:00
Greg Hysen
b4aca370de
Writing tests for Compliant Forwarder
2018-12-18 13:36:05 -08:00
Greg Hysen
c854c99f20
template for Compliant Forwarder tests
2018-12-18 13:36:05 -08:00
Greg Hysen
88595718c3
Yes Compliance Token
2018-12-18 13:36:04 -08:00
Greg Hysen
f104d91595
Broken commit -- saving current state of getting wyre compliance token contract setup
2018-12-18 13:36:04 -08:00
Leonid Logvinov
4668b0732c
Move packages/contracts to contracts/core
2018-12-03 11:31:53 +01:00
Amir Bandeali
0b9e9eb0e4
Don't load assetProxy if currentProxyid is equal to the last seen proxyid
2018-11-27 16:09:51 -08:00
Amir Bandeali
743c43f768
Add Exchange tests with MultiAsset orders
2018-11-27 16:09:51 -08:00
Amir Bandeali
7b51eddc03
Fix linting errors
2018-11-27 16:09:51 -08:00
Amir Bandeali
6f92f0a7b5
Add more tests for MAP
2018-11-27 16:09:51 -08:00
Amir Bandeali
a0bc97b589
Add initial MultiAssetProxy tests
2018-11-27 16:09:51 -08:00
Amir Bandeali
d146e15ff3
Fix async loops in erc721Wrapper
2018-11-27 16:09:51 -08:00
Amir Bandeali
994c6032bb
fix: remove getApproved check from OrderValidator since approval is removed after a single transfer
2018-11-26 09:45:38 -08:00
Fabio Berger
8efc6c2112
Remove unnecessary conversion to BigNumber
2018-11-12 10:25:33 +01:00
Fabio Berger
8aeb18bcc3
rename param
2018-11-12 10:22:03 +01:00
Fabio Berger
1f0ac47bd9
Move signature validation into OrderValidationUtils.validateOrderFillableOrThrowAsync
2018-11-10 00:14:48 +01:00
Fabio Berger
857a35d4f7
Fix validateOrderFillableOrThrowAsync method so it also checks order signature, cancelled, cancelledUpTo, and throws helpful error messages
2018-11-09 00:45:48 +01:00
Amir Bandeali
56953320b3
Run prettier and linter
2018-10-23 10:07:48 -07:00
Greg Hysen
e086c7b8e6
Round up for Market Buys in Forwarding Contract. Includes new test cases + regression testing.
2018-10-23 09:56:03 -07:00
Jacob Evans
9f924e459c
chore: change package org from 0xproject to 0x
2018-10-18 22:27:31 +11:00
Alex Browne
81c4887241
Move generated contract wrappers and artifacts into contracts package
2018-10-15 13:36:09 -07:00
Jacob Evans
9e8031d5e3
Throw and handle errors from Providers.
...
In web3 wrapper when a response contains an error field we throw this rather than return response.result which is often undefined.
In Signature Utils we handle the error thrown when a user rejects the signing dialogue to prevent double signing.
Exposed the ZeroExTransaction JSON schema.
In Website only use the MetamaskSubprovider if we can detect the provider is Metamask
2018-10-09 19:01:36 +11:00
Jacob Evans
75d274f330
Return SignedOrder from signing utils.
...
Create a helper back in EIP712Utils for code cleanup.
Moved constants in order-utils into the constants object
2018-10-05 17:12:17 +10:00
Jacob Evans
3e2fe40a11
Add eth_signTypedData support to our wallet subproviders
2018-10-05 12:02:09 +10:00
Jacob Evans
07926ded6e
Introduce Metamask Subprovider.
...
MM has a number of inconsistencies with other providers when implementing the JSON RPC interface. This subprovider wraps those nuances so they do not leak into the rest of our code
2018-10-05 12:00:41 +10:00
Fabio Berger
d0448c2bbd
Fix bug where if block wasn't found, getBlockAsync would throw. Now it returns undefined
2018-09-24 15:02:06 +01:00
Alex Browne
9858bb0ce4
Fix bug in contracts tests
2018-09-04 18:10:13 -04:00
Amir Bandeali
f6b6619c08
Fix geth tests
2018-09-04 07:57:47 -07:00
Amir Bandeali
e480e08aa4
Add test for external_call visibility
2018-09-04 07:57:47 -07:00
Amir Bandeali
652cf7a976
Add MultiSigWalletWithTimeLock revert reasons to tests
2018-09-04 07:57:47 -07:00
Amir Bandeali
9deec8ec35
Add more tests for MultiSigWalletWithTimeLock
2018-09-04 07:57:47 -07:00
Amir Bandeali
3f1586045c
Add test for executeRemoveAuthorizedAddressAtIndex when called by non-owner
2018-09-04 07:57:47 -07:00
Amir Bandeali
cb4fcf4de7
Revert in Forwarder constructor if ERC20 proxy isn't registered
2018-09-03 20:35:00 -07:00
Francesco Agosti
66eef758c6
Merge pull request #1047 from 0xProject/feature/re-add-no-unused-variables
...
Re-add no-unused-variable tslint rule
2018-08-30 15:38:21 -07:00
Greg Hysen
5802713801
Merge pull request #1046 from 0xProject/fix/contracts/roundingFeeTestsMatchOrders
...
Test cases for rounding fees in matchOrders
2018-08-30 14:27:01 -07:00
fragosti
80b7a7842c
run prettier
2018-08-30 13:47:33 -07:00
fragosti
1d5ef4d0ca
Fix unused vars for react-shared and website
2018-08-30 13:28:07 -07:00
Amir Bandeali
81ba2a8411
Merge pull request #1045 from 0xProject/feature/contracts/cancelOrderInternal
...
Add cancelOrderInternal, use within batchCancelOrders
2018-08-30 13:07:51 -07:00
Greg Hysen
0be2219beb
Test cases for rounding fees in matchOrders
2018-08-30 12:23:11 -07:00