Alex Towle
22c8a25a26
Merge branch 'development' into 3.0
2019-08-19 11:13:21 -07:00
Greg Hysen
d8cf9d54aa
Updated all instances of deployFrom0xArtifactAsync
2019-07-29 12:07:28 +02:00
Amir Bandeali
949946589f
Fix order-utils tests
2019-07-23 15:50:36 -07:00
Amir Bandeali
6ddaa6f52a
Add expirationTimeSeconds to ZeroExTransaction schema throughout codebase
2019-07-23 15:46:15 -07:00
Lawrence Forman
9952de615a
Update order-utils for ZEIP-28
2019-07-23 15:23:40 -07:00
Lawrence Forman
94d0db2dba
In @0x/order-utils: Fix order hash tests.
...
In `@0x/contracts-exchange-libs`: Add fee asset datas to `LibOrder` type.
2019-07-23 15:23:40 -07:00
Amir Bandeali
64c596c922
temp
2019-07-23 15:23:40 -07:00
Amir Bandeali
e30b8999d4
Update order utils to use new order schema
2019-07-23 15:23:40 -07:00
Lawrence Forman
5955a541a3
In order-utils, inherit chaiSetup from @0x/dev-utils
2019-07-23 15:13:26 -07:00
Lawrence Forman
665942a8c9
Update order-utils package for new Order structure
2019-07-23 15:04:46 -07:00
Lawrence Forman
3688956ee5
Switch eip712 domain field verifyingContract to verifyingContractAddress
2019-07-23 15:04:46 -07:00
Lawrence Forman
e6aff19a0c
Clearer usage of chainId constants in order-utils tests.
2019-07-23 14:58:00 -07:00
Lawrence Forman
bd06c7b343
Remove lingering invalid calls to OrderStateUtils()
2019-07-23 14:58:00 -07:00
Lawrence Forman
f77823ee24
Remove unused chainId variables in signature_utils.ts.
...
Obey the linter gods.
2019-07-23 14:58:00 -07:00
Lawrence Forman
2d28fde24d
Migrate all contract-related tooling and tests to accept a chain ID in domain separators.
2019-07-23 14:58:00 -07:00
Xianny
88ae8311c8
Copy dutch auction asset data utils to @0x/order-utils ( #1943 )
...
* copy dutch auction assetdata utils to @0x/order-utils
* encode/decode dutch auction asset data using order-utils
2019-07-12 17:27:06 -07:00
David Sun
3e2dbfc83c
added testing to market utils for market sell
2019-07-11 15:15:08 -07:00
Amir Bandeali
570c1e1809
Add StaticCallAssetData encoding and decoding
2019-06-18 19:50:59 -07:00
xianny
9f9797b123
remove only flag
2019-05-15 18:02:32 -04:00
Xianny
05d34616b7
fallback to eth_sign if eth_signTypedData fails ( #1817 )
...
* fallback to eth_sign if eth_signTypedData fails
lots of wallets/web3providers still don't support the new signing methods
2019-05-15 18:01:55 -04:00
Greg Hysen
7ed3afe9f0
Updated function signature for ERC1155 ProxyId - ERC1155Token -> ERC1155Assets
2019-03-19 15:35:08 -07:00
Greg Hysen
c0260bc44a
rebased against development
2019-03-19 09:36:11 -07:00
Greg Hysen
31dbca7efc
More integration tests for ERC1155 <> Multi Asset Proxy encoding / decoding
2019-03-19 09:36:11 -07:00
Greg Hysen
5063c17e6b
ERC1155 Asset Data tests + types
2019-03-19 09:36:11 -07:00
Greg Hysen
05ef250ab4
Ran prettier & linter
2019-03-15 15:05:02 -07:00
Greg Hysen
5704afc54c
ERC1155 Asset Data tests + types
2019-03-15 15:05:02 -07:00
Fabio Berger
1fa82c1077
Fix up missing Provider interfaces and refactor providerUtils.standardizeOrThrow()
2019-02-19 22:34:31 -08:00
Fabio Berger
b883b183a6
Stop exporting EIP712 schemas
2019-02-07 01:03:43 +00:00
Amir Bandeali
eac254f925
Fix outdated comments and make verifyingContractAddress a required part of the 0x tx schema
2019-02-05 09:26:03 -08:00
Amir Bandeali
9abd6f5695
Allow custom domains in eip712Utils
2019-02-05 09:23:09 -08:00
Amir Bandeali
a394967268
Use new transaction schema throughout monorepo
2019-02-05 09:23:09 -08:00
Amir Bandeali
c7c4cb9bc6
Add transaction hash utils
2019-02-05 09:23:09 -08:00
Amir Bandeali
1ada679663
Update ZeroExTransactionSchema
2019-02-05 09:23:09 -08:00
Fabio Berger
7885b2e3f8
Fix test
2019-02-05 12:56:04 +00:00
Fabio Berger
52f22aad81
Write failing preSign unit test
2019-02-04 16:03:48 +00:00
Leonid Logvinov
c3afc13dd6
Upgrade bignumber.js version
2019-01-15 16:25:24 +01:00
Amir Bandeali
24564b986d
Minimize unnecessary type assertions
2019-01-07 10:31:11 -08:00
Amir Bandeali
a91bc415ed
Fix linting errors
2019-01-07 10:31:11 -08:00
Amir Bandeali
5720589515
Add tests for recursive MAP decoding
2019-01-07 10:31:11 -08:00
Amir Bandeali
eeb07d76fc
Fix transferFrom to work with MAP
2019-01-07 10:31:11 -08:00
Amir Bandeali
8549252a2c
Fix decoding and add tests
2019-01-07 10:31:11 -08:00
kao
f14603ca4d
Implement prefer-template tslint rule
2018-12-07 17:06:52 -08: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
F. Eugene Aumson
af91a56a55
feat(order_utils.py): ERC721 asset data codec ( #1186 )
2018-10-26 15:13:42 -04:00
F. Eugene Aumson
1f0c7f8fbe
feat(order_utils.py): ERC20 asset data encoding and decoding
...
In addition to the ERC20 codec, also:
Stopped ignoring type errors on 3rd party imports, by including
interface stubs for them;
Removed the unimplemented signature-utils module, which was just a
stand-in when the python project support was first put in place.
https://github.com/0xProject/0x-monorepo/pull/1144
2018-10-23 12:08:16 -04:00
Jacob Evans
9f924e459c
chore: change package org from 0xproject to 0x
2018-10-18 22:27:31 +11:00
Alex Browne
57d9fcf9e5
update order-utils to use new artifacts and abi-gen wrappers packages
2018-10-15 13:36:59 -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
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