Add coordinator wrapper (#1792)

* wip first pass at coordinator wrapper

* implement cancels, helper methods, and more unit tests

* pin typeorm version in pipeline

* prettier

* add export to 0x.js

* generate ZeroEx transaction using EIP712

* update Coordinator artifact

* change OrderError -> TypedDataError
This commit is contained in:
Xianny
2019-05-09 15:48:41 -07:00
committed by GitHub
parent c2d3e5f052
commit 41cc5234c4
22 changed files with 2413 additions and 219 deletions

View File

@@ -38,6 +38,7 @@ export const docGenConfigs: DocGenConfigs = {
// and getting confused. Any class name in this list will not have it's constructor rendered in our docs.
CLASSES_WITH_HIDDEN_CONSTRUCTORS: [
'AssetBuyer',
'CoordinatorWrapper',
'DutchAuctionWrapper',
'ERC20ProxyWrapper',
'ERC20TokenWrapper',
@@ -56,9 +57,11 @@ export const docGenConfigs: DocGenConfigs = {
'NonceSubproviderErrors',
'Web3WrapperErrors',
'ContractWrappersError',
'OrderError',
'TypedDataError',
'AssetBuyerError',
'ForwarderWrapperError',
'CoordinatorServerError',
'CoordinatorServerCancellationResponse',
],
// Some libraries only export types. In those cases, we cannot check if the exported types are part of the
// "exported public interface". Thus we add them here and skip those checks.