diff --git a/.circleci/config.yml b/.circleci/config.yml index a6a62ecf6..30c6ccc57 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,7 +5,7 @@ jobs: BASH_ENV: ~/.nvm/nvm.sh docker: - image: circleci/golang:1.12.13-browsers - - image: 0xorg/ganache-cli:latest + - image: 0xorg/ganache-cli:4.3.0 environment: VERSION: 4.3.3 resource_class: large diff --git a/CHANGELOG.md b/CHANGELOG.md index c235e3347..91e51f3d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,20 @@ This changelog is a work in progress and may contain notes for versions which have not actually been released. Check the [Releases](https://github.com/0xProject/0x-mesh/releases) page to see full release notes and more information about the latest released versions. +## v7.1.0-beta + +### Features ✅ + + - Reduce startup time for Mesh node by only waiting for a block to be processed if Mesh isn't already sync'ed up to the latest block. ([#622](https://github.com/0xProject/0x-mesh/pull/622)) + - Developers can now override the contract addresses for any testnet using the `CUSTOM_CONTRACT_ADDRESSES` env config ([#640](https://github.com/0xProject/0x-mesh/pull/640)). + - Add `getOrdersForPageAsync` method to `@0x/mesh-rpc-client` WS client interface so that clients can paginate through the retrieved orders themselves ([#642](https://github.com/0xProject/0x-mesh/pull/642)). + +### Bug fixes 🐞 + + - Fixed a bug where we attempted to update the same order multiple times in a single DB txn, causing the later update to noop. ([#623](https://github.com/0xProject/0x-mesh/pull/623)). +- Fixed a bug which could cause Mesh to exit if a re-org condition occurs causing a block to be added and removed within the same block sync operation. ([#614](https://github.com/0xProject/0x-mesh/pull/614)). + - Fix bug where we attempted to update the same order multiple times in a single DB txn, causing the later update to noop. ([#623](https://github.com/0xProject/0x-mesh/pull/623)) + ## v7.0.0-beta ### Breaking changes 🛠 diff --git a/README.md b/README.md index 226f46847..5cc3c799a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Version](https://img.shields.io/badge/version-7.0.1--beta-orange.svg)](https://github.com/0xProject/0x-mesh/releases) +[![Version](https://img.shields.io/badge/version-7.1.0--beta-orange.svg)](https://github.com/0xProject/0x-mesh/releases) [![Docs](https://img.shields.io/badge/docs-website-yellow.svg)](https://0x-org.gitbook.io/mesh) [![Chat with us on Discord](https://img.shields.io/badge/chat-Discord-blueViolet.svg)](https://discord.gg/HF7fHwk) [![Circle CI](https://img.shields.io/circleci/project/0xProject/0x-mesh/master.svg)](https://circleci.com/gh/0xProject/0x-mesh/tree/master) diff --git a/browser/package.json b/browser/package.json index 2ce88aa2b..2152bb40b 100644 --- a/browser/package.json +++ b/browser/package.json @@ -1,6 +1,6 @@ { "name": "@0x/mesh-browser", - "version": "7.0.1-beta", + "version": "7.1.0-beta", "description": "TypeScript and JavaScript bindings for running Mesh directly in the browser.", "main": "./lib/index.js", "license": "Apache-2.0", diff --git a/core/core.go b/core/core.go index 40d856fb3..c58ca4971 100644 --- a/core/core.go +++ b/core/core.go @@ -57,7 +57,7 @@ const ( estimatedNonPollingEthereumRPCRequestsPer24Hrs = 50000 // logStatsInterval is how often to log stats for this node. logStatsInterval = 5 * time.Minute - version = "7.0.1-beta" + version = "7.1.0-beta" ) // Note(albrow): The Config type is currently copied to browser/ts/index.ts. We @@ -126,14 +126,15 @@ type Config struct { // is typically only needed for testing on custom chains/networks. The given // addresses are added to the default list of addresses for known chains/networks and // overriding any contract addresses for known chains/networks is not allowed. The - // addresses for exchange, devUtils, erc20Proxy, and erc721Proxy are required + // addresses for exchange, devUtils, erc20Proxy, erc721Proxy and erc1155Proxy are required // for each chain/network. For example: // // { // "exchange":"0x48bacb9266a570d521063ef5dd96e61686dbe788", // "devUtils": "0x38ef19fdf8e8415f18c307ed71967e19aac28ba1", // "erc20Proxy": "0x1dc4c1cefef38a777b15aa20260a54e584b16c48", - // "erc721Proxy": "0x1d7022f5b17d2f8b695918fb48fa1089c9f85401" + // "erc721Proxy": "0x1d7022f5b17d2f8b695918fb48fa1089c9f85401", + // "erc1155Proxy": "0x64517fa2b480ba3678a2a3c0cf08ef7fd4fad36f" // } // CustomContractAddresses string `envvar:"CUSTOM_CONTRACT_ADDRESSES" default:""` @@ -464,11 +465,14 @@ func (app *App) Start(ctx context.Context) error { blockWatcherErrChan <- app.blockWatcher.Watch(innerCtx) }() - // Ensure orderWatcher has processed at least one recent block before - // starting the P2P node and completing app start, so that Mesh does - // not validate any orders at outdated block heights - if err := app.orderWatcher.WaitForAtLeastOneBlockToBeProcessed(ctx); err != nil { - return err + // If Mesh is not caught up with the latest block found via Ethereum RPC, ensure orderWatcher + // has processed at least one recent block before starting the P2P node and completing app start, + // so that Mesh does not validate any orders at outdated block heights + isCaughtUp := app.IsCaughtUpToLatestBlock(innerCtx) + if !isCaughtUp { + if err := app.orderWatcher.WaitForAtLeastOneBlockToBeProcessed(ctx); err != nil { + return err + } } if blocksElapsed >= constants.MaxBlocksStoredInNonArchiveNode { @@ -906,6 +910,29 @@ func (app *App) SubscribeToOrderEvents(sink chan<- []*zeroex.OrderEvent) event.S return subscription } +// IsCaughtUpToLatestBlock returns whether or not the latest block stored by Mesh corresponds +// to the latest block retrieved from it's Ethereum RPC endpoint +func (app *App) IsCaughtUpToLatestBlock(ctx context.Context) bool { + latestBlockStored, err := app.db.FindLatestMiniHeader() + if err != nil { + if _, ok := err.(meshdb.MiniHeaderCollectionEmptyError); ok { + return false + } + log.WithFields(map[string]interface{}{ + "err": err.Error(), + }).Warn("failed to fetch the latest miniHeader from DB") + return false + } + latestBlock, err := app.ethRPCClient.HeaderByNumber(ctx, nil) + if err != nil { + log.WithFields(map[string]interface{}{ + "err": err.Error(), + }).Warn("failed to fetch the latest block header via Ethereum RPC") + return false + } + return latestBlock.Number.Cmp(latestBlockStored.Number) == 0 +} + func parseAndAddCustomContractAddresses(chainID int, encodedContractAddresses string) error { customAddresses := ethereum.ContractAddresses{} if err := json.Unmarshal([]byte(encodedContractAddresses), &customAddresses); err != nil { diff --git a/db/transaction.go b/db/transaction.go index 0a5cb7060..e46294f17 100644 --- a/db/transaction.go +++ b/db/transaction.go @@ -2,6 +2,7 @@ package db import ( "errors" + "fmt" "sync" "sync/atomic" @@ -9,11 +10,20 @@ import ( ) var ( - ErrDiscarded = errors.New("transaction has already been discarded") - ErrCommitted = errors.New("transaction has already been committed") - ErrConflictingOperations = errors.New("cannot perform more than one operation (insert/delete/update) on the same model within a transaction") + ErrDiscarded = errors.New("transaction has already been discarded") + ErrCommitted = errors.New("transaction has already been committed") ) +// ConflictingOperationsError is returned when two conflicting operations are attempted within the same +// transaction +type ConflictingOperationsError struct { + operation string +} + +func (e ConflictingOperationsError) Error() string { + return fmt.Sprintf("error on %s: cannot perform more than one operation on the same model within a transaction", e.operation) +} + // Transaction is an atomic database transaction for a single collection which // can be used to guarantee consistency. type Transaction struct { @@ -139,7 +149,7 @@ func (txn *Transaction) Insert(model Model) error { return err } if txn.affectedIDs.Contains(string(model.ID())) { - return ErrConflictingOperations + return ConflictingOperationsError{operation: "insert"} } if err := insertWithTransaction(txn.colInfo, txn.readWriter, model); err != nil { return err @@ -159,7 +169,7 @@ func (txn *Transaction) Update(model Model) error { return err } if txn.affectedIDs.Contains(string(model.ID())) { - return ErrConflictingOperations + return ConflictingOperationsError{operation: "update"} } if err := updateWithTransaction(txn.colInfo, txn.readWriter, model); err != nil { return err @@ -178,7 +188,7 @@ func (txn *Transaction) Delete(id []byte) error { return err } if txn.affectedIDs.Contains(string(id)) { - return ErrConflictingOperations + return ConflictingOperationsError{operation: "delete"} } if err := deleteWithTransaction(txn.colInfo, txn.readWriter, id); err != nil { return err diff --git a/db/transaction_test.go b/db/transaction_test.go index d74385924..195648701 100644 --- a/db/transaction_test.go +++ b/db/transaction_test.go @@ -284,7 +284,7 @@ func TestTransactionDeleteThenInsertSameModel(t *testing.T) { require.NoError(t, txn.Delete(model.ID())) err = txn.Insert(model) assert.Error(t, err) - assert.Equal(t, ErrConflictingOperations, err, "wrong error") + assert.Equal(t, ConflictingOperationsError{operation: "insert"}, err, "wrong error") } func TestTransactionInsertThenDeleteSameModel(t *testing.T) { @@ -309,7 +309,7 @@ func TestTransactionInsertThenDeleteSameModel(t *testing.T) { require.NoError(t, txn.Insert(model)) err = txn.Delete(model.ID()) assert.Error(t, err) - assert.Equal(t, ErrConflictingOperations, err, "wrong error") + assert.Equal(t, ConflictingOperationsError{operation: "delete"}, err, "wrong error") } func TestTransactionInsertThenInsertSameModel(t *testing.T) { @@ -334,7 +334,7 @@ func TestTransactionInsertThenInsertSameModel(t *testing.T) { require.NoError(t, txn.Insert(model)) err = txn.Insert(model) assert.Error(t, err) - assert.Equal(t, ErrConflictingOperations, err, "wrong error") + assert.Equal(t, ConflictingOperationsError{operation: "insert"}, err, "wrong error") } func TestTransactionDeleteThenDeleteSameModel(t *testing.T) { @@ -360,7 +360,7 @@ func TestTransactionDeleteThenDeleteSameModel(t *testing.T) { require.NoError(t, txn.Delete(model.ID())) err = txn.Delete(model.ID()) assert.Error(t, err) - assert.Equal(t, ErrConflictingOperations, err, "wrong error") + assert.Equal(t, ConflictingOperationsError{operation: "delete"}, err, "wrong error") } func TestTransactionInsertThenUpdateSameModel(t *testing.T) { @@ -385,5 +385,5 @@ func TestTransactionInsertThenUpdateSameModel(t *testing.T) { require.NoError(t, txn.Insert(model)) err = txn.Update(model) assert.Error(t, err) - assert.Equal(t, ErrConflictingOperations, err, "wrong error") + assert.Equal(t, ConflictingOperationsError{operation: "update"}, err, "wrong error") } diff --git a/docs/browser/reference.md b/docs/browser/reference.md index 0a599de0d..b2a564389 100644 --- a/docs/browser/reference.md +++ b/docs/browser/reference.md @@ -14,7 +14,7 @@ sending orders through the 0x Mesh network. \+ **new Mesh**(`config`: [Config](#interface-config)): *[Mesh](#class-mesh)* -*Defined in [index.ts:573](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L573)* +*Defined in [index.ts:573](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L573)* Instantiates a new Mesh instance. @@ -34,7 +34,7 @@ An instance of Mesh ▸ **addOrdersAsync**(`orders`: SignedOrder[], `pinned`: boolean): *Promise‹[ValidationResults](#interface-validationresults)›* -*Defined in [index.ts:647](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L647)* +*Defined in [index.ts:647](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L647)* Validates and adds the given orders to Mesh. If an order is successfully added, Mesh will share it with any peers in the network and start @@ -61,7 +61,7 @@ ___ ▸ **onError**(`handler`: function): *void* -*Defined in [index.ts:593](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L593)* +*Defined in [index.ts:593](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L593)* Registers a handler which will be called in the event of a critical error. Note that the handler will not be called for non-critical errors. @@ -90,7 +90,7 @@ ___ ▸ **onOrderEvents**(`handler`: function): *void* -*Defined in [index.ts:608](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L608)* +*Defined in [index.ts:608](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L608)* Registers a handler which will be called for any incoming order events. Order events are fired whenver an order is added, canceled, expired, or @@ -119,7 +119,7 @@ ___ ▸ **startAsync**(): *Promise‹void›* -*Defined in [index.ts:619](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L619)* +*Defined in [index.ts:619](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L619)* Starts the Mesh node in the background. Mesh will automatically find peers in the network and begin receiving orders from them. @@ -137,7 +137,7 @@ peers in the network and begin receiving orders from them. • **Added**: = "ADDED" -*Defined in [index.ts:436](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L436)* +*Defined in [index.ts:436](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L436)* ___ @@ -145,7 +145,7 @@ ___ • **Cancelled**: = "CANCELLED" -*Defined in [index.ts:439](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L439)* +*Defined in [index.ts:439](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L439)* ___ @@ -153,7 +153,7 @@ ___ • **Expired**: = "EXPIRED" -*Defined in [index.ts:440](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L440)* +*Defined in [index.ts:440](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L440)* ___ @@ -161,7 +161,7 @@ ___ • **FillabilityIncreased**: = "FILLABILITY_INCREASED" -*Defined in [index.ts:443](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L443)* +*Defined in [index.ts:443](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L443)* ___ @@ -169,7 +169,7 @@ ___ • **Filled**: = "FILLED" -*Defined in [index.ts:437](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L437)* +*Defined in [index.ts:437](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L437)* ___ @@ -177,7 +177,7 @@ ___ • **FullyFilled**: = "FULLY_FILLED" -*Defined in [index.ts:438](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L438)* +*Defined in [index.ts:438](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L438)* ___ @@ -185,7 +185,7 @@ ___ • **Invalid**: = "INVALID" -*Defined in [index.ts:435](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L435)* +*Defined in [index.ts:435](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L435)* ___ @@ -193,7 +193,7 @@ ___ • **StoppedWatching**: = "STOPPED_WATCHING" -*Defined in [index.ts:444](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L444)* +*Defined in [index.ts:444](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L444)* ___ @@ -201,7 +201,7 @@ ___ • **Unexpired**: = "UNEXPIRED" -*Defined in [index.ts:441](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L441)* +*Defined in [index.ts:441](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L441)* ___ @@ -209,7 +209,7 @@ ___ • **Unfunded**: = "UNFUNDED" -*Defined in [index.ts:442](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L442)* +*Defined in [index.ts:442](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L442)*
@@ -224,7 +224,7 @@ A set of categories for rejected orders. • **CoordinatorError**: = "COORDINATOR_ERROR" -*Defined in [index.ts:527](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L527)* +*Defined in [index.ts:527](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L527)* ___ @@ -232,7 +232,7 @@ ___ • **MeshError**: = "MESH_ERROR" -*Defined in [index.ts:525](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L525)* +*Defined in [index.ts:525](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L525)* ___ @@ -240,7 +240,7 @@ ___ • **MeshValidation**: = "MESH_VALIDATION" -*Defined in [index.ts:526](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L526)* +*Defined in [index.ts:526](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L526)* ___ @@ -248,7 +248,7 @@ ___ • **ZeroExValidation**: = "ZEROEX_VALIDATION" -*Defined in [index.ts:524](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L524)* +*Defined in [index.ts:524](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L524)*
@@ -261,7 +261,7 @@ ___ • **Debug**: = 5 -*Defined in [index.ts:149](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L149)* +*Defined in [index.ts:149](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L149)* ___ @@ -269,7 +269,7 @@ ___ • **Error**: = 2 -*Defined in [index.ts:146](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L146)* +*Defined in [index.ts:146](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L146)* ___ @@ -277,7 +277,7 @@ ___ • **Fatal**: = 1 -*Defined in [index.ts:145](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L145)* +*Defined in [index.ts:145](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L145)* ___ @@ -285,7 +285,7 @@ ___ • **Info**: = 4 -*Defined in [index.ts:148](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L148)* +*Defined in [index.ts:148](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L148)* ___ @@ -293,7 +293,7 @@ ___ • **Panic**: = 0 -*Defined in [index.ts:144](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L144)* +*Defined in [index.ts:144](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L144)* ___ @@ -301,7 +301,7 @@ ___ • **Trace**: = 6 -*Defined in [index.ts:150](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L150)* +*Defined in [index.ts:150](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L150)* ___ @@ -309,7 +309,7 @@ ___ • **Warn**: = 3 -*Defined in [index.ts:147](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L147)* +*Defined in [index.ts:147](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L147)*
@@ -328,7 +328,7 @@ Info for any orders that were accepted. • **fillableTakerAssetAmount**: *BigNumber* -*Defined in [index.ts:505](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L505)* +*Defined in [index.ts:505](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L505)* ___ @@ -336,7 +336,7 @@ ___ • **isNew**: *boolean* -*Defined in [index.ts:506](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L506)* +*Defined in [index.ts:506](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L506)* ___ @@ -344,7 +344,7 @@ ___ • **orderHash**: *string* -*Defined in [index.ts:503](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L503)* +*Defined in [index.ts:503](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L503)* ___ @@ -352,7 +352,7 @@ ___ • **signedOrder**: *SignedOrder* -*Defined in [index.ts:504](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L504)* +*Defined in [index.ts:504](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L504)*
@@ -371,7 +371,7 @@ A set of configuration options for Mesh. • **blockPollingIntervalSeconds**? : *undefined | number* -*Defined in [index.ts:79](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L79)* +*Defined in [index.ts:79](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L79)* ___ @@ -379,7 +379,7 @@ ___ • **bootstrapList**? : *string[]* -*Defined in [index.ts:72](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L72)* +*Defined in [index.ts:72](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L72)* ___ @@ -387,7 +387,7 @@ ___ • **customContractAddresses**? : *[ContractAddresses](#class-contractaddresses)* -*Defined in [index.ts:123](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L123)* +*Defined in [index.ts:123](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L123)* ___ @@ -395,7 +395,7 @@ ___ • **enableEthereumRPCRateLimiting**? : *undefined | false | true* -*Defined in [index.ts:96](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L96)* +*Defined in [index.ts:96](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L96)* ___ @@ -403,7 +403,7 @@ ___ • **ethereumChainID**: *number* -*Defined in [index.ts:64](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L64)* +*Defined in [index.ts:64](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L64)* ___ @@ -411,7 +411,7 @@ ___ • **ethereumRPCMaxContentLength**? : *undefined | number* -*Defined in [index.ts:88](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L88)* +*Defined in [index.ts:88](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L88)* ___ @@ -419,7 +419,7 @@ ___ • **ethereumRPCMaxRequestsPer24HrUTC**? : *undefined | number* -*Defined in [index.ts:101](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L101)* +*Defined in [index.ts:101](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L101)* ___ @@ -427,7 +427,7 @@ ___ • **ethereumRPCMaxRequestsPerSecond**? : *undefined | number* -*Defined in [index.ts:107](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L107)* +*Defined in [index.ts:107](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L107)* ___ @@ -435,7 +435,7 @@ ___ • **ethereumRPCURL**: *string* -*Defined in [index.ts:61](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L61)* +*Defined in [index.ts:61](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L61)* ___ @@ -443,7 +443,7 @@ ___ • **maxOrdersInStorage**? : *undefined | number* -*Defined in [index.ts:128](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L128)* +*Defined in [index.ts:128](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L128)* ___ @@ -451,7 +451,7 @@ ___ • **useBootstrapList**? : *undefined | false | true* -*Defined in [index.ts:67](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L67)* +*Defined in [index.ts:67](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L67)* ___ @@ -459,7 +459,7 @@ ___ • **verbosity**? : *[Verbosity](#enumeration-verbosity)* -*Defined in [index.ts:58](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L58)* +*Defined in [index.ts:58](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L58)*
@@ -476,7 +476,7 @@ ___ • **coordinator**? : *undefined | string* -*Defined in [index.ts:137](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L137)* +*Defined in [index.ts:137](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L137)* ___ @@ -484,7 +484,7 @@ ___ • **coordinatorRegistry**? : *undefined | string* -*Defined in [index.ts:138](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L138)* +*Defined in [index.ts:138](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L138)* ___ @@ -492,7 +492,7 @@ ___ • **devUtils**: *string* -*Defined in [index.ts:133](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L133)* +*Defined in [index.ts:133](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L133)* ___ @@ -500,7 +500,7 @@ ___ • **erc1155Proxy**: *string* -*Defined in [index.ts:136](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L136)* +*Defined in [index.ts:136](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L136)* ___ @@ -508,7 +508,7 @@ ___ • **erc20Proxy**: *string* -*Defined in [index.ts:134](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L134)* +*Defined in [index.ts:134](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L134)* ___ @@ -516,7 +516,7 @@ ___ • **erc721Proxy**: *string* -*Defined in [index.ts:135](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L135)* +*Defined in [index.ts:135](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L135)* ___ @@ -524,7 +524,7 @@ ___ • **exchange**: *string* -*Defined in [index.ts:132](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L132)* +*Defined in [index.ts:132](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L132)* ___ @@ -532,7 +532,7 @@ ___ • **weth9**? : *undefined | string* -*Defined in [index.ts:139](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L139)* +*Defined in [index.ts:139](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L139)* ___ @@ -540,7 +540,7 @@ ___ • **zrxToken**? : *undefined | string* -*Defined in [index.ts:140](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L140)* +*Defined in [index.ts:140](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L140)*
@@ -557,7 +557,7 @@ ___ • **address**: *string* -*Defined in [index.ts:417](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L417)* +*Defined in [index.ts:417](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L417)* ___ @@ -565,7 +565,7 @@ ___ • **blockHash**: *string* -*Defined in [index.ts:412](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L412)* +*Defined in [index.ts:412](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L412)* ___ @@ -573,7 +573,7 @@ ___ • **isRemoved**: *string* -*Defined in [index.ts:416](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L416)* +*Defined in [index.ts:416](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L416)* ___ @@ -581,7 +581,7 @@ ___ • **kind**: *ContractEventKind* -*Defined in [index.ts:418](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L418)* +*Defined in [index.ts:418](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L418)* ___ @@ -589,7 +589,7 @@ ___ • **logIndex**: *number* -*Defined in [index.ts:415](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L415)* +*Defined in [index.ts:415](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L415)* ___ @@ -597,7 +597,7 @@ ___ • **parameters**: *ContractEventParameters* -*Defined in [index.ts:419](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L419)* +*Defined in [index.ts:419](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L419)* ___ @@ -605,7 +605,7 @@ ___ • **txHash**: *string* -*Defined in [index.ts:413](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L413)* +*Defined in [index.ts:413](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L413)* ___ @@ -613,7 +613,7 @@ ___ • **txIndex**: *number* -*Defined in [index.ts:414](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L414)* +*Defined in [index.ts:414](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L414)*
@@ -630,7 +630,7 @@ ___ • **approved**: *boolean* -*Defined in [index.ts:293](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L293)* +*Defined in [index.ts:293](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L293)* ___ @@ -638,7 +638,7 @@ ___ • **operator**: *string* -*Defined in [index.ts:292](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L292)* +*Defined in [index.ts:292](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L292)* ___ @@ -646,7 +646,7 @@ ___ • **owner**: *string* -*Defined in [index.ts:291](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L291)* +*Defined in [index.ts:291](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L291)*
@@ -663,7 +663,7 @@ ___ • **from**: *string* -*Defined in [index.ts:276](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L276)* +*Defined in [index.ts:276](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L276)* ___ @@ -671,7 +671,7 @@ ___ • **ids**: *BigNumber[]* -*Defined in [index.ts:278](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L278)* +*Defined in [index.ts:278](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L278)* ___ @@ -679,7 +679,7 @@ ___ • **operator**: *string* -*Defined in [index.ts:275](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L275)* +*Defined in [index.ts:275](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L275)* ___ @@ -687,7 +687,7 @@ ___ • **to**: *string* -*Defined in [index.ts:277](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L277)* +*Defined in [index.ts:277](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L277)* ___ @@ -695,7 +695,7 @@ ___ • **values**: *BigNumber[]* -*Defined in [index.ts:279](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L279)* +*Defined in [index.ts:279](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L279)*
@@ -712,7 +712,7 @@ ___ • **from**: *string* -*Defined in [index.ts:260](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L260)* +*Defined in [index.ts:260](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L260)* ___ @@ -720,7 +720,7 @@ ___ • **id**: *BigNumber* -*Defined in [index.ts:262](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L262)* +*Defined in [index.ts:262](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L262)* ___ @@ -728,7 +728,7 @@ ___ • **operator**: *string* -*Defined in [index.ts:259](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L259)* +*Defined in [index.ts:259](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L259)* ___ @@ -736,7 +736,7 @@ ___ • **to**: *string* -*Defined in [index.ts:261](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L261)* +*Defined in [index.ts:261](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L261)* ___ @@ -744,7 +744,7 @@ ___ • **value**: *BigNumber* -*Defined in [index.ts:263](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L263)* +*Defined in [index.ts:263](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L263)*
@@ -761,7 +761,7 @@ ___ • **owner**: *string* -*Defined in [index.ts:217](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L217)* +*Defined in [index.ts:217](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L217)* ___ @@ -769,7 +769,7 @@ ___ • **spender**: *string* -*Defined in [index.ts:218](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L218)* +*Defined in [index.ts:218](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L218)* ___ @@ -777,7 +777,7 @@ ___ • **value**: *BigNumber* -*Defined in [index.ts:219](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L219)* +*Defined in [index.ts:219](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L219)*
@@ -794,7 +794,7 @@ ___ • **from**: *string* -*Defined in [index.ts:205](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L205)* +*Defined in [index.ts:205](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L205)* ___ @@ -802,7 +802,7 @@ ___ • **to**: *string* -*Defined in [index.ts:206](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L206)* +*Defined in [index.ts:206](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L206)* ___ @@ -810,7 +810,7 @@ ___ • **value**: *BigNumber* -*Defined in [index.ts:207](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L207)* +*Defined in [index.ts:207](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L207)*
@@ -827,7 +827,7 @@ ___ • **approved**: *string* -*Defined in [index.ts:242](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L242)* +*Defined in [index.ts:242](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L242)* ___ @@ -835,7 +835,7 @@ ___ • **owner**: *string* -*Defined in [index.ts:241](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L241)* +*Defined in [index.ts:241](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L241)* ___ @@ -843,7 +843,7 @@ ___ • **tokenId**: *BigNumber* -*Defined in [index.ts:243](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L243)* +*Defined in [index.ts:243](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L243)*
@@ -860,7 +860,7 @@ ___ • **approved**: *boolean* -*Defined in [index.ts:255](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L255)* +*Defined in [index.ts:255](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L255)* ___ @@ -868,7 +868,7 @@ ___ • **operator**: *string* -*Defined in [index.ts:254](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L254)* +*Defined in [index.ts:254](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L254)* ___ @@ -876,7 +876,7 @@ ___ • **owner**: *string* -*Defined in [index.ts:253](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L253)* +*Defined in [index.ts:253](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L253)*
@@ -893,7 +893,7 @@ ___ • **from**: *string* -*Defined in [index.ts:229](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L229)* +*Defined in [index.ts:229](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L229)* ___ @@ -901,7 +901,7 @@ ___ • **to**: *string* -*Defined in [index.ts:230](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L230)* +*Defined in [index.ts:230](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L230)* ___ @@ -909,7 +909,7 @@ ___ • **tokenId**: *BigNumber* -*Defined in [index.ts:231](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L231)* +*Defined in [index.ts:231](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L231)*
@@ -926,7 +926,7 @@ ___ • **feeRecipientAddress**: *string* -*Defined in [index.ts:327](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L327)* +*Defined in [index.ts:327](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L327)* ___ @@ -934,7 +934,7 @@ ___ • **makerAddress**: *string* -*Defined in [index.ts:325](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L325)* +*Defined in [index.ts:325](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L325)* ___ @@ -942,7 +942,7 @@ ___ • **makerAssetData**: *string* -*Defined in [index.ts:329](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L329)* +*Defined in [index.ts:329](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L329)* ___ @@ -950,7 +950,7 @@ ___ • **orderHash**: *string* -*Defined in [index.ts:328](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L328)* +*Defined in [index.ts:328](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L328)* ___ @@ -958,7 +958,7 @@ ___ • **senderAddress**: *string* -*Defined in [index.ts:326](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L326)* +*Defined in [index.ts:326](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L326)* ___ @@ -966,7 +966,7 @@ ___ • **takerAssetData**: *string* -*Defined in [index.ts:330](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L330)* +*Defined in [index.ts:330](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L330)*
@@ -983,7 +983,7 @@ ___ • **makerAddress**: *string* -*Defined in [index.ts:334](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L334)* +*Defined in [index.ts:334](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L334)* ___ @@ -991,7 +991,7 @@ ___ • **orderEpoch**: *BigNumber* -*Defined in [index.ts:336](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L336)* +*Defined in [index.ts:336](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L336)* ___ @@ -999,7 +999,7 @@ ___ • **senderAddress**: *string* -*Defined in [index.ts:335](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L335)* +*Defined in [index.ts:335](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L335)*
@@ -1016,7 +1016,7 @@ ___ • **feeRecipientAddress**: *string* -*Defined in [index.ts:300](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L300)* +*Defined in [index.ts:300](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L300)* ___ @@ -1024,7 +1024,7 @@ ___ • **makerAddress**: *string* -*Defined in [index.ts:297](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L297)* +*Defined in [index.ts:297](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L297)* ___ @@ -1032,7 +1032,7 @@ ___ • **makerAssetData**: *string* -*Defined in [index.ts:306](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L306)* +*Defined in [index.ts:306](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L306)* ___ @@ -1040,7 +1040,7 @@ ___ • **makerAssetFilledAmount**: *BigNumber* -*Defined in [index.ts:301](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L301)* +*Defined in [index.ts:301](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L301)* ___ @@ -1048,7 +1048,7 @@ ___ • **makerFeePaid**: *BigNumber* -*Defined in [index.ts:303](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L303)* +*Defined in [index.ts:303](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L303)* ___ @@ -1056,7 +1056,7 @@ ___ • **orderHash**: *string* -*Defined in [index.ts:305](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L305)* +*Defined in [index.ts:305](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L305)* ___ @@ -1064,7 +1064,7 @@ ___ • **senderAddress**: *string* -*Defined in [index.ts:299](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L299)* +*Defined in [index.ts:299](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L299)* ___ @@ -1072,7 +1072,7 @@ ___ • **takerAddress**: *string* -*Defined in [index.ts:298](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L298)* +*Defined in [index.ts:298](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L298)* ___ @@ -1080,7 +1080,7 @@ ___ • **takerAssetData**: *string* -*Defined in [index.ts:307](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L307)* +*Defined in [index.ts:307](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L307)* ___ @@ -1088,7 +1088,7 @@ ___ • **takerAssetFilledAmount**: *BigNumber* -*Defined in [index.ts:302](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L302)* +*Defined in [index.ts:302](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L302)* ___ @@ -1096,7 +1096,7 @@ ___ • **takerFeePaid**: *BigNumber* -*Defined in [index.ts:304](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L304)* +*Defined in [index.ts:304](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L304)*
@@ -1116,7 +1116,7 @@ or filled. • **contractEvents**: *[ContractEvent](#class-contractevent)[]* -*Defined in [index.ts:466](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L466)* +*Defined in [index.ts:466](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L466)* ___ @@ -1124,7 +1124,7 @@ ___ • **endState**: *[OrderEventEndState](#enumeration-ordereventendstate)* -*Defined in [index.ts:464](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L464)* +*Defined in [index.ts:464](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L464)* ___ @@ -1132,7 +1132,7 @@ ___ • **fillableTakerAssetAmount**: *BigNumber* -*Defined in [index.ts:465](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L465)* +*Defined in [index.ts:465](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L465)* ___ @@ -1140,7 +1140,7 @@ ___ • **orderHash**: *string* -*Defined in [index.ts:462](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L462)* +*Defined in [index.ts:462](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L462)* ___ @@ -1148,7 +1148,7 @@ ___ • **signedOrder**: *SignedOrder* -*Defined in [index.ts:463](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L463)* +*Defined in [index.ts:463](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L463)* ___ @@ -1156,7 +1156,7 @@ ___ • **timestampMs**: *number* -*Defined in [index.ts:461](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L461)* +*Defined in [index.ts:461](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L461)*
@@ -1176,7 +1176,7 @@ rejected. • **kind**: *[RejectedOrderKind](#enumeration-rejectedorderkind)* -*Defined in [index.ts:516](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L516)* +*Defined in [index.ts:516](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L516)* ___ @@ -1184,7 +1184,7 @@ ___ • **orderHash**: *string* -*Defined in [index.ts:514](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L514)* +*Defined in [index.ts:514](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L514)* ___ @@ -1192,7 +1192,7 @@ ___ • **signedOrder**: *SignedOrder* -*Defined in [index.ts:515](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L515)* +*Defined in [index.ts:515](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L515)* ___ @@ -1200,7 +1200,7 @@ ___ • **status**: *[RejectedOrderStatus](#class-rejectedorderstatus)* -*Defined in [index.ts:517](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L517)* +*Defined in [index.ts:517](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L517)*
@@ -1219,7 +1219,7 @@ Provides more information about why an order was rejected. • **code**: *string* -*Defined in [index.ts:534](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L534)* +*Defined in [index.ts:534](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L534)* ___ @@ -1227,7 +1227,7 @@ ___ • **message**: *string* -*Defined in [index.ts:535](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L535)* +*Defined in [index.ts:535](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L535)*
@@ -1246,7 +1246,7 @@ Indicates which orders where accepted, which were rejected, and why. • **accepted**: *[AcceptedOrderInfo](#class-acceptedorderinfo)[]* -*Defined in [index.ts:495](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L495)* +*Defined in [index.ts:495](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L495)* ___ @@ -1254,7 +1254,7 @@ ___ • **rejected**: *[RejectedOrderInfo](#class-rejectedorderinfo)[]* -*Defined in [index.ts:496](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L496)* +*Defined in [index.ts:496](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L496)*
@@ -1271,7 +1271,7 @@ ___ • **owner**: *string* -*Defined in [index.ts:356](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L356)* +*Defined in [index.ts:356](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L356)* ___ @@ -1279,7 +1279,7 @@ ___ • **value**: *BigNumber* -*Defined in [index.ts:357](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L357)* +*Defined in [index.ts:357](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L357)*
@@ -1296,7 +1296,7 @@ ___ • **owner**: *string* -*Defined in [index.ts:346](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L346)* +*Defined in [index.ts:346](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L346)* ___ @@ -1304,7 +1304,7 @@ ___ • **value**: *BigNumber* -*Defined in [index.ts:347](https://github.com/0xProject/0x-mesh/blob/8813eae2/browser/ts/index.ts#L347)* +*Defined in [index.ts:347](https://github.com/0xProject/0x-mesh/blob/80bd6ae/browser/ts/index.ts#L347)*
diff --git a/docs/deployment.md b/docs/deployment.md index c36362e4d..73f80b600 100644 --- a/docs/deployment.md +++ b/docs/deployment.md @@ -1,4 +1,4 @@ -[![Version](https://img.shields.io/badge/version-7.0.1--beta-orange.svg)](https://github.com/0xProject/0x-mesh/releases) +[![Version](https://img.shields.io/badge/version-7.1.0--beta-orange.svg)](https://github.com/0xProject/0x-mesh/releases) # 0x Mesh Deployment Guide diff --git a/docs/deployment_with_telemetry.md b/docs/deployment_with_telemetry.md index 90c7815eb..ab7c1c502 100644 --- a/docs/deployment_with_telemetry.md +++ b/docs/deployment_with_telemetry.md @@ -1,4 +1,4 @@ -[![Version](https://img.shields.io/badge/version-7.0.1--beta-orange.svg)](https://github.com/0xProject/0x-mesh/releases) +[![Version](https://img.shields.io/badge/version-7.1.0--beta-orange.svg)](https://github.com/0xProject/0x-mesh/releases) ## Deploying a Telemetry-Enabled Mesh Node @@ -35,7 +35,7 @@ version: '3' services: mesh: - image: 0xorg/mesh:7.0.1-beta + image: 0xorg/mesh:7.1.0-beta restart: always logging: driver: fluentd diff --git a/docs/json_rpc_clients/typescript/reference.md b/docs/json_rpc_clients/typescript/reference.md index b7daffe15..0184315ec 100644 --- a/docs/json_rpc_clients/typescript/reference.md +++ b/docs/json_rpc_clients/typescript/reference.md @@ -18,6 +18,7 @@ websocket endpoint. * [addOrdersAsync](#addordersasync) * [destroy](#destroy) * [getOrdersAsync](#getordersasync) +* [getOrdersForPageAsync](#getordersforpageasync) * [getStatsAsync](#getstatsasync) * [onClose](#onclose) * [onReconnected](#onreconnected) @@ -30,7 +31,7 @@ websocket endpoint. \+ **new WSClient**(`url`: string, `wsOpts?`: [WSOpts](#interface-wsopts)): *[WSClient](#class-wsclient)* -*Defined in [ws_client.ts:233](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/ws_client.ts#L233)* +*Defined in [ws_client.ts:233](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/ws_client.ts#L233)* Instantiates a new WSClient instance @@ -51,7 +52,7 @@ An instance of WSClient ▸ **addOrdersAsync**(`signedOrders`: `SignedOrder`[], `pinned`: boolean): *`Promise`* -*Defined in [ws_client.ts:262](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/ws_client.ts#L262)* +*Defined in [ws_client.ts:262](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/ws_client.ts#L262)* Adds an array of 0x signed orders to the Mesh node. @@ -72,7 +73,7 @@ ___ ▸ **destroy**(): *void* -*Defined in [ws_client.ts:384](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/ws_client.ts#L384)* +*Defined in [ws_client.ts:398](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/ws_client.ts#L398)* destroy unsubscribes all active subscriptions, closes the websocket connection and stops the internal heartbeat connection liveness check. @@ -85,7 +86,7 @@ ___ ▸ **getOrdersAsync**(`perPage`: number): *`Promise`* -*Defined in [ws_client.ts:292](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/ws_client.ts#L292)* +*Defined in [ws_client.ts:292](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/ws_client.ts#L292)* Get all 0x signed orders currently stored in the Mesh node @@ -97,7 +98,29 @@ Name | Type | Default | Description | **Returns:** *`Promise`* -all orders, their hash and their fillableTakerAssetAmount +the snapshotID, snapshotTimestamp and all orders, their hashes and fillableTakerAssetAmounts + +___ + +### getOrdersForPageAsync + +▸ **getOrdersForPageAsync**(`page`: number, `perPage`: number, `snapshotID?`: undefined | string): *`Promise`* + +*Defined in [ws_client.ts:323](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/ws_client.ts#L323)* + +Get page of 0x signed orders stored on the Mesh node at the specified snapshot + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`page` | number | - | Page index at which to retrieve orders | +`perPage` | number | 200 | number of signedOrders to fetch per paginated request | +`snapshotID?` | undefined \| string | - | The DB snapshot at which to fetch orders. If omitted, a new snapshot is created | + +**Returns:** *`Promise`* + +the snapshotID, snapshotTimestamp and all orders, their hashes and fillableTakerAssetAmounts ___ @@ -105,7 +128,7 @@ ___ ▸ **getStatsAsync**(): *`Promise`* -*Defined in [ws_client.ts:283](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/ws_client.ts#L283)* +*Defined in [ws_client.ts:283](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/ws_client.ts#L283)* **Returns:** *`Promise`* @@ -115,7 +138,7 @@ ___ ▸ **onClose**(`cb`: function): *void* -*Defined in [ws_client.ts:366](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/ws_client.ts#L366)* +*Defined in [ws_client.ts:380](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/ws_client.ts#L380)* Get notified when the underlying WS connection closes normally. If it closes with an error, WSClient automatically attempts to re-connect without emitting a `close` event. @@ -136,7 +159,7 @@ ___ ▸ **onReconnected**(`cb`: function): *void* -*Defined in [ws_client.ts:375](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/ws_client.ts#L375)* +*Defined in [ws_client.ts:389](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/ws_client.ts#L389)* Get notified when a connection to the underlying WS connection is re-established @@ -156,7 +179,7 @@ ___ ▸ **subscribeToOrdersAsync**(`cb`: function): *`Promise`* -*Defined in [ws_client.ts:326](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/ws_client.ts#L326)* +*Defined in [ws_client.ts:340](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/ws_client.ts#L340)* Subscribe to the 'orders' topic and receive order events from Mesh. This method returns a subscriptionId that can be used to `unsubscribe()` from this subscription. @@ -185,7 +208,7 @@ ___ ▸ **unsubscribeAsync**(`subscriptionId`: string): *`Promise`* -*Defined in [ws_client.ts:356](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/ws_client.ts#L356)* +*Defined in [ws_client.ts:370](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/ws_client.ts#L370)* Unsubscribe from a subscription @@ -225,7 +248,7 @@ Name | Type | Description | • **ERC1155ApprovalForAllEvent**: = "ERC1155ApprovalForAllEvent" -*Defined in [types.ts:220](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L220)* +*Defined in [types.ts:220](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L220)* ___ @@ -233,7 +256,7 @@ ___ • **ERC1155TransferBatchEvent**: = "ERC1155TransferBatchEvent" -*Defined in [types.ts:222](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L222)* +*Defined in [types.ts:222](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L222)* ___ @@ -241,7 +264,7 @@ ___ • **ERC1155TransferSingleEvent**: = "ERC1155TransferSingleEvent" -*Defined in [types.ts:221](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L221)* +*Defined in [types.ts:221](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L221)* ___ @@ -249,7 +272,7 @@ ___ • **ERC20ApprovalEvent**: = "ERC20ApprovalEvent" -*Defined in [types.ts:216](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L216)* +*Defined in [types.ts:216](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L216)* ___ @@ -257,7 +280,7 @@ ___ • **ERC20TransferEvent**: = "ERC20TransferEvent" -*Defined in [types.ts:215](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L215)* +*Defined in [types.ts:215](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L215)* ___ @@ -265,7 +288,7 @@ ___ • **ERC721ApprovalEvent**: = "ERC721ApprovalEvent" -*Defined in [types.ts:218](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L218)* +*Defined in [types.ts:218](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L218)* ___ @@ -273,7 +296,7 @@ ___ • **ERC721ApprovalForAllEvent**: = "ERC721ApprovalForAllEvent" -*Defined in [types.ts:219](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L219)* +*Defined in [types.ts:219](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L219)* ___ @@ -281,7 +304,7 @@ ___ • **ERC721TransferEvent**: = "ERC721TransferEvent" -*Defined in [types.ts:217](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L217)* +*Defined in [types.ts:217](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L217)* ___ @@ -289,7 +312,7 @@ ___ • **ExchangeCancelEvent**: = "ExchangeCancelEvent" -*Defined in [types.ts:224](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L224)* +*Defined in [types.ts:224](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L224)* ___ @@ -297,7 +320,7 @@ ___ • **ExchangeCancelUpToEvent**: = "ExchangeCancelUpToEvent" -*Defined in [types.ts:225](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L225)* +*Defined in [types.ts:225](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L225)* ___ @@ -305,7 +328,7 @@ ___ • **ExchangeFillEvent**: = "ExchangeFillEvent" -*Defined in [types.ts:223](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L223)* +*Defined in [types.ts:223](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L223)* ___ @@ -313,7 +336,7 @@ ___ • **WethDepositEvent**: = "WethDepositEvent" -*Defined in [types.ts:226](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L226)* +*Defined in [types.ts:226](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L226)* ___ @@ -321,7 +344,7 @@ ___ • **WethWithdrawalEvent**: = "WethWithdrawalEvent" -*Defined in [types.ts:227](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L227)* +*Defined in [types.ts:227](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L227)*
@@ -348,7 +371,7 @@ ___ • **Added**: = "ADDED" -*Defined in [types.ts:284](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L284)* +*Defined in [types.ts:284](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L284)* ___ @@ -356,7 +379,7 @@ ___ • **Cancelled**: = "CANCELLED" -*Defined in [types.ts:287](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L287)* +*Defined in [types.ts:287](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L287)* ___ @@ -364,7 +387,7 @@ ___ • **Expired**: = "EXPIRED" -*Defined in [types.ts:288](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L288)* +*Defined in [types.ts:288](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L288)* ___ @@ -372,7 +395,7 @@ ___ • **FillabilityIncreased**: = "FILLABILITY_INCREASED" -*Defined in [types.ts:292](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L292)* +*Defined in [types.ts:292](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L292)* ___ @@ -380,7 +403,7 @@ ___ • **Filled**: = "FILLED" -*Defined in [types.ts:285](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L285)* +*Defined in [types.ts:285](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L285)* ___ @@ -388,7 +411,7 @@ ___ • **FullyFilled**: = "FULLY_FILLED" -*Defined in [types.ts:286](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L286)* +*Defined in [types.ts:286](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L286)* ___ @@ -396,7 +419,7 @@ ___ • **Invalid**: = "INVALID" -*Defined in [types.ts:283](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L283)* +*Defined in [types.ts:283](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L283)* ___ @@ -404,7 +427,7 @@ ___ • **StoppedWatching**: = "STOPPED_WATCHING" -*Defined in [types.ts:290](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L290)* +*Defined in [types.ts:290](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L290)* ___ @@ -412,7 +435,7 @@ ___ • **Unexpired**: = "UNEXPIRED" -*Defined in [types.ts:289](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L289)* +*Defined in [types.ts:289](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L289)* ___ @@ -420,7 +443,7 @@ ___ • **Unfunded**: = "UNFUNDED" -*Defined in [types.ts:291](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L291)* +*Defined in [types.ts:291](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L291)*
@@ -451,7 +474,7 @@ ___ • **InternalError**: = "InternalError" -*Defined in [types.ts:356](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L356)* +*Defined in [types.ts:356](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L356)* ___ @@ -459,7 +482,7 @@ ___ • **MaxOrderSizeExceeded**: = "MaxOrderSizeExceeded" -*Defined in [types.ts:357](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L357)* +*Defined in [types.ts:357](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L357)* ___ @@ -467,7 +490,7 @@ ___ • **NetworkRequestFailed**: = "NetworkRequestFailed" -*Defined in [types.ts:360](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L360)* +*Defined in [types.ts:360](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L360)* ___ @@ -475,7 +498,7 @@ ___ • **OrderAlreadyStored**: = "OrderAlreadyStored" -*Defined in [types.ts:358](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L358)* +*Defined in [types.ts:358](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L358)* ___ @@ -483,7 +506,7 @@ ___ • **OrderCancelled**: = "OrderCancelled" -*Defined in [types.ts:365](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L365)* +*Defined in [types.ts:365](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L365)* ___ @@ -491,7 +514,7 @@ ___ • **OrderExpired**: = "OrderExpired" -*Defined in [types.ts:363](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L363)* +*Defined in [types.ts:363](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L363)* ___ @@ -499,7 +522,7 @@ ___ • **OrderForIncorrectChain**: = "OrderForIncorrectChain" -*Defined in [types.ts:359](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L359)* +*Defined in [types.ts:359](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L359)* ___ @@ -507,7 +530,7 @@ ___ • **OrderFullyFilled**: = "OrderFullyFilled" -*Defined in [types.ts:364](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L364)* +*Defined in [types.ts:364](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L364)* ___ @@ -515,7 +538,7 @@ ___ • **OrderHasInvalidMakerAssetAmount**: = "OrderHasInvalidMakerAssetAmount" -*Defined in [types.ts:361](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L361)* +*Defined in [types.ts:361](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L361)* ___ @@ -523,7 +546,7 @@ ___ • **OrderHasInvalidMakerAssetData**: = "OrderHasInvalidMakerAssetData" -*Defined in [types.ts:367](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L367)* +*Defined in [types.ts:367](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L367)* ___ @@ -531,7 +554,7 @@ ___ • **OrderHasInvalidSignature**: = "OrderHasInvalidSignature" -*Defined in [types.ts:369](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L369)* +*Defined in [types.ts:369](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L369)* ___ @@ -539,7 +562,7 @@ ___ • **OrderHasInvalidTakerAssetAmount**: = "OrderHasInvalidTakerAssetAmount" -*Defined in [types.ts:362](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L362)* +*Defined in [types.ts:362](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L362)* ___ @@ -547,7 +570,7 @@ ___ • **OrderHasInvalidTakerAssetData**: = "OrderHasInvalidTakerAssetData" -*Defined in [types.ts:368](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L368)* +*Defined in [types.ts:368](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L368)* ___ @@ -555,7 +578,7 @@ ___ • **OrderUnfunded**: = "OrderUnfunded" -*Defined in [types.ts:366](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L366)* +*Defined in [types.ts:366](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L366)*
@@ -575,7 +598,7 @@ ___ • **MeshError**: = "MESH_ERROR" -*Defined in [types.ts:351](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L351)* +*Defined in [types.ts:351](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L351)* ___ @@ -583,7 +606,7 @@ ___ • **MeshValidation**: = "MESH_VALIDATION" -*Defined in [types.ts:352](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L352)* +*Defined in [types.ts:352](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L352)* ___ @@ -591,7 +614,7 @@ ___ • **ZeroexValidation**: = "ZEROEX_VALIDATION" -*Defined in [types.ts:350](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L350)* +*Defined in [types.ts:350](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L350)*
@@ -616,7 +639,7 @@ ___ • **fillableTakerAssetAmount**: *`BigNumber`* -*Defined in [types.ts:333](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L333)* +*Defined in [types.ts:333](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L333)* ___ @@ -624,7 +647,7 @@ ___ • **isNew**: *boolean* -*Defined in [types.ts:334](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L334)* +*Defined in [types.ts:334](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L334)* ___ @@ -632,7 +655,7 @@ ___ • **orderHash**: *string* -*Defined in [types.ts:331](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L331)* +*Defined in [types.ts:331](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L331)* ___ @@ -640,7 +663,7 @@ ___ • **signedOrder**: *`SignedOrder`* -*Defined in [types.ts:332](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L332)* +*Defined in [types.ts:332](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L332)*
@@ -672,7 +695,7 @@ Source: https://github.com/theturtle32/WebSocket-Node/blob/master/docs/WebSocket • **assembleFragments**? : *undefined | false | true* -*Defined in [types.ts:14](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L14)* +*Defined in [types.ts:14](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L14)* ___ @@ -680,7 +703,7 @@ ___ • **closeTimeout**? : *undefined | number* -*Defined in [types.ts:15](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L15)* +*Defined in [types.ts:15](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L15)* ___ @@ -688,7 +711,7 @@ ___ • **fragmentOutgoingMessages**? : *undefined | false | true* -*Defined in [types.ts:12](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L12)* +*Defined in [types.ts:12](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L12)* ___ @@ -696,7 +719,7 @@ ___ • **fragmentationThreshold**? : *undefined | number* -*Defined in [types.ts:13](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L13)* +*Defined in [types.ts:13](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L13)* ___ @@ -704,7 +727,7 @@ ___ • **maxReceivedFrameSize**? : *undefined | number* -*Defined in [types.ts:10](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L10)* +*Defined in [types.ts:10](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L10)* ___ @@ -712,7 +735,7 @@ ___ • **maxReceivedMessageSize**? : *undefined | number* -*Defined in [types.ts:11](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L11)* +*Defined in [types.ts:11](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L11)* ___ @@ -720,7 +743,7 @@ ___ • **tlsOptions**? : *any* -*Defined in [types.ts:16](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L16)* +*Defined in [types.ts:16](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L16)* ___ @@ -728,7 +751,7 @@ ___ • **webSocketVersion**? : *undefined | number* -*Defined in [types.ts:9](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L9)* +*Defined in [types.ts:9](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L9)*
@@ -757,7 +780,7 @@ ___ • **address**: *string* -*Defined in [types.ts:277](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L277)* +*Defined in [types.ts:277](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L277)* ___ @@ -765,7 +788,7 @@ ___ • **blockHash**: *string* -*Defined in [types.ts:272](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L272)* +*Defined in [types.ts:272](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L272)* ___ @@ -773,7 +796,7 @@ ___ • **isRemoved**: *string* -*Defined in [types.ts:276](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L276)* +*Defined in [types.ts:276](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L276)* ___ @@ -781,7 +804,7 @@ ___ • **kind**: *[ContractEventKind](#enumeration-contracteventkind)* -*Defined in [types.ts:278](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L278)* +*Defined in [types.ts:278](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L278)* ___ @@ -789,7 +812,7 @@ ___ • **logIndex**: *number* -*Defined in [types.ts:275](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L275)* +*Defined in [types.ts:275](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L275)* ___ @@ -797,7 +820,7 @@ ___ • **parameters**: *[ContractEventParameters](#contracteventparameters)* -*Defined in [types.ts:279](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L279)* +*Defined in [types.ts:279](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L279)* ___ @@ -805,7 +828,7 @@ ___ • **txHash**: *string* -*Defined in [types.ts:273](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L273)* +*Defined in [types.ts:273](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L273)* ___ @@ -813,7 +836,7 @@ ___ • **txIndex**: *number* -*Defined in [types.ts:274](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L274)* +*Defined in [types.ts:274](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L274)*
@@ -837,7 +860,7 @@ ___ • **approved**: *boolean* -*Defined in [types.ts:142](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L142)* +*Defined in [types.ts:142](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L142)* ___ @@ -845,7 +868,7 @@ ___ • **operator**: *string* -*Defined in [types.ts:141](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L141)* +*Defined in [types.ts:141](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L141)* ___ @@ -853,7 +876,7 @@ ___ • **owner**: *string* -*Defined in [types.ts:140](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L140)* +*Defined in [types.ts:140](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L140)*
@@ -879,7 +902,7 @@ ___ • **from**: *string* -*Defined in [types.ts:125](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L125)* +*Defined in [types.ts:125](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L125)* ___ @@ -887,7 +910,7 @@ ___ • **ids**: *`BigNumber`[]* -*Defined in [types.ts:127](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L127)* +*Defined in [types.ts:127](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L127)* ___ @@ -895,7 +918,7 @@ ___ • **operator**: *string* -*Defined in [types.ts:124](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L124)* +*Defined in [types.ts:124](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L124)* ___ @@ -903,7 +926,7 @@ ___ • **to**: *string* -*Defined in [types.ts:126](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L126)* +*Defined in [types.ts:126](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L126)* ___ @@ -911,7 +934,7 @@ ___ • **values**: *`BigNumber`[]* -*Defined in [types.ts:128](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L128)* +*Defined in [types.ts:128](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L128)*
@@ -937,7 +960,7 @@ ___ • **from**: *string* -*Defined in [types.ts:109](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L109)* +*Defined in [types.ts:109](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L109)* ___ @@ -945,7 +968,7 @@ ___ • **id**: *`BigNumber`* -*Defined in [types.ts:111](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L111)* +*Defined in [types.ts:111](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L111)* ___ @@ -953,7 +976,7 @@ ___ • **operator**: *string* -*Defined in [types.ts:108](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L108)* +*Defined in [types.ts:108](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L108)* ___ @@ -961,7 +984,7 @@ ___ • **to**: *string* -*Defined in [types.ts:110](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L110)* +*Defined in [types.ts:110](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L110)* ___ @@ -969,7 +992,7 @@ ___ • **value**: *`BigNumber`* -*Defined in [types.ts:112](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L112)* +*Defined in [types.ts:112](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L112)*
@@ -993,7 +1016,7 @@ ___ • **owner**: *string* -*Defined in [types.ts:66](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L66)* +*Defined in [types.ts:66](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L66)* ___ @@ -1001,7 +1024,7 @@ ___ • **spender**: *string* -*Defined in [types.ts:67](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L67)* +*Defined in [types.ts:67](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L67)* ___ @@ -1009,7 +1032,7 @@ ___ • **value**: *`BigNumber`* -*Defined in [types.ts:68](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L68)* +*Defined in [types.ts:68](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L68)*
@@ -1033,7 +1056,7 @@ ___ • **from**: *string* -*Defined in [types.ts:54](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L54)* +*Defined in [types.ts:54](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L54)* ___ @@ -1041,7 +1064,7 @@ ___ • **to**: *string* -*Defined in [types.ts:55](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L55)* +*Defined in [types.ts:55](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L55)* ___ @@ -1049,7 +1072,7 @@ ___ • **value**: *`BigNumber`* -*Defined in [types.ts:56](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L56)* +*Defined in [types.ts:56](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L56)*
@@ -1073,7 +1096,7 @@ ___ • **approved**: *string* -*Defined in [types.ts:91](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L91)* +*Defined in [types.ts:91](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L91)* ___ @@ -1081,7 +1104,7 @@ ___ • **owner**: *string* -*Defined in [types.ts:90](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L90)* +*Defined in [types.ts:90](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L90)* ___ @@ -1089,7 +1112,7 @@ ___ • **tokenId**: *`BigNumber`* -*Defined in [types.ts:92](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L92)* +*Defined in [types.ts:92](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L92)*
@@ -1113,7 +1136,7 @@ ___ • **approved**: *boolean* -*Defined in [types.ts:104](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L104)* +*Defined in [types.ts:104](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L104)* ___ @@ -1121,7 +1144,7 @@ ___ • **operator**: *string* -*Defined in [types.ts:103](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L103)* +*Defined in [types.ts:103](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L103)* ___ @@ -1129,7 +1152,7 @@ ___ • **owner**: *string* -*Defined in [types.ts:102](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L102)* +*Defined in [types.ts:102](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L102)*
@@ -1153,7 +1176,7 @@ ___ • **from**: *string* -*Defined in [types.ts:78](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L78)* +*Defined in [types.ts:78](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L78)* ___ @@ -1161,7 +1184,7 @@ ___ • **to**: *string* -*Defined in [types.ts:79](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L79)* +*Defined in [types.ts:79](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L79)* ___ @@ -1169,7 +1192,7 @@ ___ • **tokenId**: *`BigNumber`* -*Defined in [types.ts:80](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L80)* +*Defined in [types.ts:80](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L80)*
@@ -1196,7 +1219,7 @@ ___ • **feeRecipientAddress**: *string* -*Defined in [types.ts:176](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L176)* +*Defined in [types.ts:176](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L176)* ___ @@ -1204,7 +1227,7 @@ ___ • **makerAddress**: *string* -*Defined in [types.ts:174](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L174)* +*Defined in [types.ts:174](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L174)* ___ @@ -1212,7 +1235,7 @@ ___ • **makerAssetData**: *string* -*Defined in [types.ts:178](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L178)* +*Defined in [types.ts:178](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L178)* ___ @@ -1220,7 +1243,7 @@ ___ • **orderHash**: *string* -*Defined in [types.ts:177](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L177)* +*Defined in [types.ts:177](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L177)* ___ @@ -1228,7 +1251,7 @@ ___ • **senderAddress**: *string* -*Defined in [types.ts:175](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L175)* +*Defined in [types.ts:175](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L175)* ___ @@ -1236,7 +1259,7 @@ ___ • **takerAssetData**: *string* -*Defined in [types.ts:179](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L179)* +*Defined in [types.ts:179](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L179)*
@@ -1260,7 +1283,7 @@ ___ • **makerAddress**: *string* -*Defined in [types.ts:183](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L183)* +*Defined in [types.ts:183](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L183)* ___ @@ -1268,7 +1291,7 @@ ___ • **orderEpoch**: *`BigNumber`* -*Defined in [types.ts:185](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L185)* +*Defined in [types.ts:185](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L185)* ___ @@ -1276,7 +1299,7 @@ ___ • **senderAddress**: *string* -*Defined in [types.ts:184](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L184)* +*Defined in [types.ts:184](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L184)*
@@ -1308,7 +1331,7 @@ ___ • **feeRecipientAddress**: *string* -*Defined in [types.ts:149](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L149)* +*Defined in [types.ts:149](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L149)* ___ @@ -1316,7 +1339,7 @@ ___ • **makerAddress**: *string* -*Defined in [types.ts:146](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L146)* +*Defined in [types.ts:146](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L146)* ___ @@ -1324,7 +1347,7 @@ ___ • **makerAssetData**: *string* -*Defined in [types.ts:155](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L155)* +*Defined in [types.ts:155](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L155)* ___ @@ -1332,7 +1355,7 @@ ___ • **makerAssetFilledAmount**: *`BigNumber`* -*Defined in [types.ts:150](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L150)* +*Defined in [types.ts:150](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L150)* ___ @@ -1340,7 +1363,7 @@ ___ • **makerFeePaid**: *`BigNumber`* -*Defined in [types.ts:152](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L152)* +*Defined in [types.ts:152](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L152)* ___ @@ -1348,7 +1371,7 @@ ___ • **orderHash**: *string* -*Defined in [types.ts:154](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L154)* +*Defined in [types.ts:154](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L154)* ___ @@ -1356,7 +1379,7 @@ ___ • **senderAddress**: *string* -*Defined in [types.ts:148](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L148)* +*Defined in [types.ts:148](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L148)* ___ @@ -1364,7 +1387,7 @@ ___ • **takerAddress**: *string* -*Defined in [types.ts:147](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L147)* +*Defined in [types.ts:147](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L147)* ___ @@ -1372,7 +1395,7 @@ ___ • **takerAssetData**: *string* -*Defined in [types.ts:156](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L156)* +*Defined in [types.ts:156](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L156)* ___ @@ -1380,7 +1403,7 @@ ___ • **takerAssetFilledAmount**: *`BigNumber`* -*Defined in [types.ts:151](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L151)* +*Defined in [types.ts:151](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L151)* ___ @@ -1388,7 +1411,7 @@ ___ • **takerFeePaid**: *`BigNumber`* -*Defined in [types.ts:153](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L153)* +*Defined in [types.ts:153](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L153)*
@@ -1412,7 +1435,7 @@ ___ • **ordersInfos**: *[OrderInfo](#interface-orderinfo)[]* -*Defined in [types.ts:413](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L413)* +*Defined in [types.ts:413](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L413)* ___ @@ -1420,7 +1443,7 @@ ___ • **snapshotID**: *string* -*Defined in [types.ts:411](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L411)* +*Defined in [types.ts:411](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L411)* ___ @@ -1428,7 +1451,7 @@ ___ • **snapshotTimestamp**: *number* -*Defined in [types.ts:412](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L412)* +*Defined in [types.ts:412](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L412)*
@@ -1463,7 +1486,7 @@ ___ • **ethRPCRateLimitExpiredRequests**: *number* -*Defined in [types.ts:440](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L440)* +*Defined in [types.ts:440](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L440)* ___ @@ -1471,7 +1494,7 @@ ___ • **ethRPCRequestsSentInCurrentUTCDay**: *number* -*Defined in [types.ts:439](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L439)* +*Defined in [types.ts:439](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L439)* ___ @@ -1479,7 +1502,7 @@ ___ • **ethereumChainID**: *number* -*Defined in [types.ts:431](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L431)* +*Defined in [types.ts:431](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L431)* ___ @@ -1487,7 +1510,7 @@ ___ • **latestBlock**: *[LatestBlock](#interface-latestblock)* -*Defined in [types.ts:432](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L432)* +*Defined in [types.ts:432](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L432)* ___ @@ -1495,7 +1518,7 @@ ___ • **maxExpirationTime**: *string* -*Defined in [types.ts:437](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L437)* +*Defined in [types.ts:437](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L437)* ___ @@ -1503,7 +1526,7 @@ ___ • **numOrders**: *number* -*Defined in [types.ts:434](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L434)* +*Defined in [types.ts:434](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L434)* ___ @@ -1511,7 +1534,7 @@ ___ • **numOrdersIncludingRemoved**: *number* -*Defined in [types.ts:435](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L435)* +*Defined in [types.ts:435](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L435)* ___ @@ -1519,7 +1542,7 @@ ___ • **numPeers**: *number* -*Defined in [types.ts:433](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L433)* +*Defined in [types.ts:433](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L433)* ___ @@ -1527,7 +1550,7 @@ ___ • **numPinnedOrders**: *number* -*Defined in [types.ts:436](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L436)* +*Defined in [types.ts:436](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L436)* ___ @@ -1535,7 +1558,7 @@ ___ • **peerID**: *string* -*Defined in [types.ts:430](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L430)* +*Defined in [types.ts:430](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L430)* ___ @@ -1543,7 +1566,7 @@ ___ • **pubSubTopic**: *string* -*Defined in [types.ts:428](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L428)* +*Defined in [types.ts:428](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L428)* ___ @@ -1551,7 +1574,7 @@ ___ • **rendezvous**: *string* -*Defined in [types.ts:429](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L429)* +*Defined in [types.ts:429](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L429)* ___ @@ -1559,7 +1582,7 @@ ___ • **startOfCurrentUTCDay**: *string* -*Defined in [types.ts:438](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L438)* +*Defined in [types.ts:438](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L438)* ___ @@ -1567,7 +1590,7 @@ ___ • **version**: *string* -*Defined in [types.ts:427](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L427)* +*Defined in [types.ts:427](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L427)*
@@ -1590,7 +1613,7 @@ ___ • **result**: *string* -*Defined in [types.ts:302](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L302)* +*Defined in [types.ts:302](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L302)* ___ @@ -1598,7 +1621,7 @@ ___ • **subscription**: *string* -*Defined in [types.ts:301](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L301)* +*Defined in [types.ts:301](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L301)*
@@ -1621,7 +1644,7 @@ ___ • **hash**: *string* -*Defined in [types.ts:423](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L423)* +*Defined in [types.ts:423](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L423)* ___ @@ -1629,7 +1652,7 @@ ___ • **number**: *number* -*Defined in [types.ts:422](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L422)* +*Defined in [types.ts:422](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L422)*
@@ -1656,7 +1679,7 @@ ___ • **contractEvents**: *[ContractEvent](#interface-contractevent)[]* -*Defined in [types.ts:320](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L320)* +*Defined in [types.ts:320](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L320)* ___ @@ -1664,7 +1687,7 @@ ___ • **endState**: *[OrderEventEndState](#enumeration-ordereventendstate)* -*Defined in [types.ts:318](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L318)* +*Defined in [types.ts:318](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L318)* ___ @@ -1672,7 +1695,7 @@ ___ • **fillableTakerAssetAmount**: *`BigNumber`* -*Defined in [types.ts:319](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L319)* +*Defined in [types.ts:319](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L319)* ___ @@ -1680,7 +1703,7 @@ ___ • **orderHash**: *string* -*Defined in [types.ts:316](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L316)* +*Defined in [types.ts:316](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L316)* ___ @@ -1688,7 +1711,7 @@ ___ • **signedOrder**: *`SignedOrder`* -*Defined in [types.ts:317](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L317)* +*Defined in [types.ts:317](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L317)* ___ @@ -1696,7 +1719,7 @@ ___ • **timestampMs**: *number* -*Defined in [types.ts:315](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L315)* +*Defined in [types.ts:315](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L315)*
@@ -1719,7 +1742,7 @@ ___ • **result**: *[RawOrderEvent](#interface-raworderevent)[]* -*Defined in [types.ts:297](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L297)* +*Defined in [types.ts:297](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L297)* ___ @@ -1727,7 +1750,7 @@ ___ • **subscription**: *string* -*Defined in [types.ts:296](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L296)* +*Defined in [types.ts:296](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L296)*
@@ -1751,7 +1774,7 @@ ___ • **fillableTakerAssetAmount**: *`BigNumber`* -*Defined in [types.ts:346](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L346)* +*Defined in [types.ts:346](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L346)* ___ @@ -1759,7 +1782,7 @@ ___ • **orderHash**: *string* -*Defined in [types.ts:344](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L344)* +*Defined in [types.ts:344](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L344)* ___ @@ -1767,7 +1790,7 @@ ___ • **signedOrder**: *`SignedOrder`* -*Defined in [types.ts:345](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L345)* +*Defined in [types.ts:345](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L345)*
@@ -1792,7 +1815,7 @@ ___ • **fillableTakerAssetAmount**: *string* -*Defined in [types.ts:326](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L326)* +*Defined in [types.ts:326](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L326)* ___ @@ -1800,7 +1823,7 @@ ___ • **isNew**: *boolean* -*Defined in [types.ts:327](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L327)* +*Defined in [types.ts:327](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L327)* ___ @@ -1808,7 +1831,7 @@ ___ • **orderHash**: *string* -*Defined in [types.ts:324](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L324)* +*Defined in [types.ts:324](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L324)* ___ @@ -1816,7 +1839,7 @@ ___ • **signedOrder**: *[StringifiedSignedOrder](#interface-stringifiedsignedorder)* -*Defined in [types.ts:325](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L325)* +*Defined in [types.ts:325](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L325)*
@@ -1840,7 +1863,7 @@ ___ • **ordersInfos**: *[RawAcceptedOrderInfo](#interface-rawacceptedorderinfo)[]* -*Defined in [types.ts:404](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L404)* +*Defined in [types.ts:404](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L404)* ___ @@ -1848,7 +1871,7 @@ ___ • **snapshotID**: *string* -*Defined in [types.ts:402](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L402)* +*Defined in [types.ts:402](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L402)* ___ @@ -1856,7 +1879,7 @@ ___ • **snapshotTimestamp**: *string* -*Defined in [types.ts:403](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L403)* +*Defined in [types.ts:403](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L403)*
@@ -1883,7 +1906,7 @@ ___ • **contractEvents**: *[StringifiedContractEvent](#interface-stringifiedcontractevent)[]* -*Defined in [types.ts:311](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L311)* +*Defined in [types.ts:311](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L311)* ___ @@ -1891,7 +1914,7 @@ ___ • **endState**: *[OrderEventEndState](#enumeration-ordereventendstate)* -*Defined in [types.ts:309](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L309)* +*Defined in [types.ts:309](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L309)* ___ @@ -1899,7 +1922,7 @@ ___ • **fillableTakerAssetAmount**: *string* -*Defined in [types.ts:310](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L310)* +*Defined in [types.ts:310](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L310)* ___ @@ -1907,7 +1930,7 @@ ___ • **orderHash**: *string* -*Defined in [types.ts:307](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L307)* +*Defined in [types.ts:307](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L307)* ___ @@ -1915,7 +1938,7 @@ ___ • **signedOrder**: *[StringifiedSignedOrder](#interface-stringifiedsignedorder)* -*Defined in [types.ts:308](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L308)* +*Defined in [types.ts:308](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L308)* ___ @@ -1923,7 +1946,7 @@ ___ • **timestamp**: *string* -*Defined in [types.ts:306](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L306)* +*Defined in [types.ts:306](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L306)*
@@ -1947,7 +1970,7 @@ ___ • **fillableTakerAssetAmount**: *string* -*Defined in [types.ts:340](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L340)* +*Defined in [types.ts:340](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L340)* ___ @@ -1955,7 +1978,7 @@ ___ • **orderHash**: *string* -*Defined in [types.ts:338](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L338)* +*Defined in [types.ts:338](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L338)* ___ @@ -1963,7 +1986,7 @@ ___ • **signedOrder**: *[StringifiedSignedOrder](#interface-stringifiedsignedorder)* -*Defined in [types.ts:339](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L339)* +*Defined in [types.ts:339](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L339)*
@@ -1988,7 +2011,7 @@ ___ • **kind**: *[RejectedKind](#enumeration-rejectedkind)* -*Defined in [types.ts:380](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L380)* +*Defined in [types.ts:380](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L380)* ___ @@ -1996,7 +2019,7 @@ ___ • **orderHash**: *string* -*Defined in [types.ts:378](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L378)* +*Defined in [types.ts:378](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L378)* ___ @@ -2004,7 +2027,7 @@ ___ • **signedOrder**: *[StringifiedSignedOrder](#interface-stringifiedsignedorder)* -*Defined in [types.ts:379](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L379)* +*Defined in [types.ts:379](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L379)* ___ @@ -2012,7 +2035,7 @@ ___ • **status**: *[RejectedStatus](#interface-rejectedstatus)* -*Defined in [types.ts:381](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L381)* +*Defined in [types.ts:381](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L381)*
@@ -2035,7 +2058,7 @@ ___ • **accepted**: *[RawAcceptedOrderInfo](#interface-rawacceptedorderinfo)[]* -*Defined in [types.ts:392](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L392)* +*Defined in [types.ts:392](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L392)* ___ @@ -2043,7 +2066,7 @@ ___ • **rejected**: *[RawRejectedOrderInfo](#interface-rawrejectedorderinfo)[]* -*Defined in [types.ts:393](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L393)* +*Defined in [types.ts:393](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L393)*
@@ -2068,7 +2091,7 @@ ___ • **kind**: *[RejectedKind](#enumeration-rejectedkind)* -*Defined in [types.ts:387](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L387)* +*Defined in [types.ts:387](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L387)* ___ @@ -2076,7 +2099,7 @@ ___ • **orderHash**: *string* -*Defined in [types.ts:385](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L385)* +*Defined in [types.ts:385](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L385)* ___ @@ -2084,7 +2107,7 @@ ___ • **signedOrder**: *`SignedOrder`* -*Defined in [types.ts:386](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L386)* +*Defined in [types.ts:386](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L386)* ___ @@ -2092,7 +2115,7 @@ ___ • **status**: *[RejectedStatus](#interface-rejectedstatus)* -*Defined in [types.ts:388](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L388)* +*Defined in [types.ts:388](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L388)*
@@ -2115,7 +2138,7 @@ ___ • **code**: *[RejectedCode](#enumeration-rejectedcode)* -*Defined in [types.ts:373](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L373)* +*Defined in [types.ts:373](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L373)* ___ @@ -2123,7 +2146,7 @@ ___ • **message**: *string* -*Defined in [types.ts:374](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L374)* +*Defined in [types.ts:374](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L374)*
@@ -2152,7 +2175,7 @@ ___ • **address**: *string* -*Defined in [types.ts:251](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L251)* +*Defined in [types.ts:251](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L251)* ___ @@ -2160,7 +2183,7 @@ ___ • **blockHash**: *string* -*Defined in [types.ts:246](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L246)* +*Defined in [types.ts:246](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L246)* ___ @@ -2168,7 +2191,7 @@ ___ • **isRemoved**: *string* -*Defined in [types.ts:250](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L250)* +*Defined in [types.ts:250](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L250)* ___ @@ -2176,7 +2199,7 @@ ___ • **kind**: *string* -*Defined in [types.ts:252](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L252)* +*Defined in [types.ts:252](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L252)* ___ @@ -2184,7 +2207,7 @@ ___ • **logIndex**: *number* -*Defined in [types.ts:249](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L249)* +*Defined in [types.ts:249](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L249)* ___ @@ -2192,7 +2215,7 @@ ___ • **parameters**: *[StringifiedContractEventParameters](#stringifiedcontracteventparameters)* -*Defined in [types.ts:253](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L253)* +*Defined in [types.ts:253](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L253)* ___ @@ -2200,7 +2223,7 @@ ___ • **txHash**: *string* -*Defined in [types.ts:247](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L247)* +*Defined in [types.ts:247](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L247)* ___ @@ -2208,7 +2231,7 @@ ___ • **txIndex**: *number* -*Defined in [types.ts:248](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L248)* +*Defined in [types.ts:248](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L248)*
@@ -2234,7 +2257,7 @@ ___ • **from**: *string* -*Defined in [types.ts:133](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L133)* +*Defined in [types.ts:133](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L133)* ___ @@ -2242,7 +2265,7 @@ ___ • **ids**: *string[]* -*Defined in [types.ts:135](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L135)* +*Defined in [types.ts:135](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L135)* ___ @@ -2250,7 +2273,7 @@ ___ • **operator**: *string* -*Defined in [types.ts:132](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L132)* +*Defined in [types.ts:132](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L132)* ___ @@ -2258,7 +2281,7 @@ ___ • **to**: *string* -*Defined in [types.ts:134](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L134)* +*Defined in [types.ts:134](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L134)* ___ @@ -2266,7 +2289,7 @@ ___ • **values**: *string[]* -*Defined in [types.ts:136](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L136)* +*Defined in [types.ts:136](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L136)*
@@ -2292,7 +2315,7 @@ ___ • **from**: *string* -*Defined in [types.ts:117](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L117)* +*Defined in [types.ts:117](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L117)* ___ @@ -2300,7 +2323,7 @@ ___ • **id**: *string* -*Defined in [types.ts:119](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L119)* +*Defined in [types.ts:119](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L119)* ___ @@ -2308,7 +2331,7 @@ ___ • **operator**: *string* -*Defined in [types.ts:116](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L116)* +*Defined in [types.ts:116](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L116)* ___ @@ -2316,7 +2339,7 @@ ___ • **to**: *string* -*Defined in [types.ts:118](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L118)* +*Defined in [types.ts:118](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L118)* ___ @@ -2324,7 +2347,7 @@ ___ • **value**: *string* -*Defined in [types.ts:120](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L120)* +*Defined in [types.ts:120](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L120)*
@@ -2348,7 +2371,7 @@ ___ • **owner**: *string* -*Defined in [types.ts:72](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L72)* +*Defined in [types.ts:72](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L72)* ___ @@ -2356,7 +2379,7 @@ ___ • **spender**: *string* -*Defined in [types.ts:73](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L73)* +*Defined in [types.ts:73](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L73)* ___ @@ -2364,7 +2387,7 @@ ___ • **value**: *string* -*Defined in [types.ts:74](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L74)* +*Defined in [types.ts:74](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L74)*
@@ -2388,7 +2411,7 @@ ___ • **from**: *string* -*Defined in [types.ts:60](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L60)* +*Defined in [types.ts:60](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L60)* ___ @@ -2396,7 +2419,7 @@ ___ • **to**: *string* -*Defined in [types.ts:61](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L61)* +*Defined in [types.ts:61](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L61)* ___ @@ -2404,7 +2427,7 @@ ___ • **value**: *string* -*Defined in [types.ts:62](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L62)* +*Defined in [types.ts:62](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L62)*
@@ -2428,7 +2451,7 @@ ___ • **approved**: *string* -*Defined in [types.ts:97](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L97)* +*Defined in [types.ts:97](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L97)* ___ @@ -2436,7 +2459,7 @@ ___ • **owner**: *string* -*Defined in [types.ts:96](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L96)* +*Defined in [types.ts:96](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L96)* ___ @@ -2444,7 +2467,7 @@ ___ • **tokenId**: *string* -*Defined in [types.ts:98](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L98)* +*Defined in [types.ts:98](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L98)*
@@ -2468,7 +2491,7 @@ ___ • **from**: *string* -*Defined in [types.ts:84](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L84)* +*Defined in [types.ts:84](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L84)* ___ @@ -2476,7 +2499,7 @@ ___ • **to**: *string* -*Defined in [types.ts:85](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L85)* +*Defined in [types.ts:85](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L85)* ___ @@ -2484,7 +2507,7 @@ ___ • **tokenId**: *string* -*Defined in [types.ts:86](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L86)* +*Defined in [types.ts:86](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L86)*
@@ -2508,7 +2531,7 @@ ___ • **makerAddress**: *string* -*Defined in [types.ts:189](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L189)* +*Defined in [types.ts:189](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L189)* ___ @@ -2516,7 +2539,7 @@ ___ • **orderEpoch**: *string* -*Defined in [types.ts:191](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L191)* +*Defined in [types.ts:191](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L191)* ___ @@ -2524,7 +2547,7 @@ ___ • **senderAddress**: *string* -*Defined in [types.ts:190](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L190)* +*Defined in [types.ts:190](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L190)*
@@ -2556,7 +2579,7 @@ ___ • **feeRecipientAddress**: *string* -*Defined in [types.ts:163](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L163)* +*Defined in [types.ts:163](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L163)* ___ @@ -2564,7 +2587,7 @@ ___ • **makerAddress**: *string* -*Defined in [types.ts:160](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L160)* +*Defined in [types.ts:160](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L160)* ___ @@ -2572,7 +2595,7 @@ ___ • **makerAssetData**: *string* -*Defined in [types.ts:169](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L169)* +*Defined in [types.ts:169](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L169)* ___ @@ -2580,7 +2603,7 @@ ___ • **makerAssetFilledAmount**: *string* -*Defined in [types.ts:164](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L164)* +*Defined in [types.ts:164](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L164)* ___ @@ -2588,7 +2611,7 @@ ___ • **makerFeePaid**: *string* -*Defined in [types.ts:166](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L166)* +*Defined in [types.ts:166](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L166)* ___ @@ -2596,7 +2619,7 @@ ___ • **orderHash**: *string* -*Defined in [types.ts:168](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L168)* +*Defined in [types.ts:168](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L168)* ___ @@ -2604,7 +2627,7 @@ ___ • **senderAddress**: *string* -*Defined in [types.ts:162](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L162)* +*Defined in [types.ts:162](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L162)* ___ @@ -2612,7 +2635,7 @@ ___ • **takerAddress**: *string* -*Defined in [types.ts:161](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L161)* +*Defined in [types.ts:161](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L161)* ___ @@ -2620,7 +2643,7 @@ ___ • **takerAssetData**: *string* -*Defined in [types.ts:170](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L170)* +*Defined in [types.ts:170](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L170)* ___ @@ -2628,7 +2651,7 @@ ___ • **takerAssetFilledAmount**: *string* -*Defined in [types.ts:165](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L165)* +*Defined in [types.ts:165](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L165)* ___ @@ -2636,7 +2659,7 @@ ___ • **takerFeePaid**: *string* -*Defined in [types.ts:167](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L167)* +*Defined in [types.ts:167](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L167)*
@@ -2671,7 +2694,7 @@ ___ • **exchangeAddress**: *string* -*Defined in [types.ts:47](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L47)* +*Defined in [types.ts:47](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L47)* ___ @@ -2679,7 +2702,7 @@ ___ • **expirationTimeSeconds**: *string* -*Defined in [types.ts:49](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L49)* +*Defined in [types.ts:49](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L49)* ___ @@ -2687,7 +2710,7 @@ ___ • **feeRecipientAddress**: *string* -*Defined in [types.ts:48](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L48)* +*Defined in [types.ts:48](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L48)* ___ @@ -2695,7 +2718,7 @@ ___ • **makerAddress**: *string* -*Defined in [types.ts:38](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L38)* +*Defined in [types.ts:38](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L38)* ___ @@ -2703,7 +2726,7 @@ ___ • **makerAssetAmount**: *string* -*Defined in [types.ts:42](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L42)* +*Defined in [types.ts:42](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L42)* ___ @@ -2711,7 +2734,7 @@ ___ • **makerAssetData**: *string* -*Defined in [types.ts:44](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L44)* +*Defined in [types.ts:44](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L44)* ___ @@ -2719,7 +2742,7 @@ ___ • **makerFee**: *string* -*Defined in [types.ts:40](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L40)* +*Defined in [types.ts:40](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L40)* ___ @@ -2727,7 +2750,7 @@ ___ • **salt**: *string* -*Defined in [types.ts:46](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L46)* +*Defined in [types.ts:46](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L46)* ___ @@ -2735,7 +2758,7 @@ ___ • **senderAddress**: *string* -*Defined in [types.ts:37](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L37)* +*Defined in [types.ts:37](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L37)* ___ @@ -2743,7 +2766,7 @@ ___ • **signature**: *string* -*Defined in [types.ts:50](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L50)* +*Defined in [types.ts:50](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L50)* ___ @@ -2751,7 +2774,7 @@ ___ • **takerAddress**: *string* -*Defined in [types.ts:39](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L39)* +*Defined in [types.ts:39](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L39)* ___ @@ -2759,7 +2782,7 @@ ___ • **takerAssetAmount**: *string* -*Defined in [types.ts:43](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L43)* +*Defined in [types.ts:43](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L43)* ___ @@ -2767,7 +2790,7 @@ ___ • **takerAssetData**: *string* -*Defined in [types.ts:45](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L45)* +*Defined in [types.ts:45](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L45)* ___ @@ -2775,7 +2798,7 @@ ___ • **takerFee**: *string* -*Defined in [types.ts:41](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L41)* +*Defined in [types.ts:41](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L41)*
@@ -2798,7 +2821,7 @@ ___ • **owner**: *string* -*Defined in [types.ts:210](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L210)* +*Defined in [types.ts:210](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L210)* ___ @@ -2806,7 +2829,7 @@ ___ • **value**: *string* -*Defined in [types.ts:211](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L211)* +*Defined in [types.ts:211](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L211)*
@@ -2829,7 +2852,7 @@ ___ • **owner**: *string* -*Defined in [types.ts:200](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L200)* +*Defined in [types.ts:200](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L200)* ___ @@ -2837,7 +2860,7 @@ ___ • **value**: *string* -*Defined in [types.ts:201](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L201)* +*Defined in [types.ts:201](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L201)*
@@ -2860,7 +2883,7 @@ ___ • **accepted**: *[AcceptedOrderInfo](#interface-acceptedorderinfo)[]* -*Defined in [types.ts:397](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L397)* +*Defined in [types.ts:397](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L397)* ___ @@ -2868,7 +2891,7 @@ ___ • **rejected**: *[RejectedOrderInfo](#interface-rejectedorderinfo)[]* -*Defined in [types.ts:398](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L398)* +*Defined in [types.ts:398](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L398)*
@@ -2891,7 +2914,7 @@ ___ • **owner**: *string* -*Defined in [types.ts:205](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L205)* +*Defined in [types.ts:205](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L205)* ___ @@ -2899,7 +2922,7 @@ ___ • **value**: *`BigNumber`* -*Defined in [types.ts:206](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L206)* +*Defined in [types.ts:206](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L206)*
@@ -2922,7 +2945,7 @@ ___ • **owner**: *string* -*Defined in [types.ts:195](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L195)* +*Defined in [types.ts:195](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L195)* ___ @@ -2930,7 +2953,7 @@ ___ • **value**: *`BigNumber`* -*Defined in [types.ts:196](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L196)* +*Defined in [types.ts:196](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L196)*
@@ -2953,7 +2976,7 @@ ___ • **type**: *string* -*Defined in [types.ts:417](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L417)* +*Defined in [types.ts:417](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L417)* ___ @@ -2961,7 +2984,7 @@ ___ • **utf8Data**: *string* -*Defined in [types.ts:418](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L418)* +*Defined in [types.ts:418](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L418)*
@@ -2995,7 +3018,7 @@ reconnectDelay: time in milliseconds after which to attempt to reconnect to WS s • **clientConfig**? : *[ClientConfig](#interface-clientconfig)* -*Defined in [types.ts:32](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L32)* +*Defined in [types.ts:32](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L32)* ___ @@ -3003,7 +3026,7 @@ ___ • **headers**? : *undefined | `__type`* -*Defined in [types.ts:30](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L30)* +*Defined in [types.ts:30](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L30)* ___ @@ -3011,7 +3034,7 @@ ___ • **protocol**? : *undefined | string* -*Defined in [types.ts:31](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L31)* +*Defined in [types.ts:31](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L31)* ___ @@ -3019,7 +3042,7 @@ ___ • **reconnectDelay**? : *undefined | number* -*Defined in [types.ts:33](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L33)* +*Defined in [types.ts:33](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L33)* ___ @@ -3027,7 +3050,7 @@ ___ • **timeout**? : *undefined | number* -*Defined in [types.ts:29](https://github.com/0xProject/0x-mesh/blob/8813eae2/rpc/clients/typescript/src/types.ts#L29)* +*Defined in [types.ts:29](https://github.com/0xProject/0x-mesh/blob/80bd6ae/rpc/clients/typescript/src/types.ts#L29)*
diff --git a/docs/rpc_api.md b/docs/rpc_api.md index abe078a2f..6dcd4faea 100644 --- a/docs/rpc_api.md +++ b/docs/rpc_api.md @@ -1,4 +1,4 @@ -[![Version](https://img.shields.io/badge/version-7.0.1--beta-orange.svg)](https://github.com/0xProject/0x-mesh/releases) +[![Version](https://img.shields.io/badge/version-7.1.0--beta-orange.svg)](https://github.com/0xProject/0x-mesh/releases) # 0x Mesh JSON-RPC API Documentation diff --git a/ethereum/blockchain_lifecycle.go b/ethereum/blockchain_lifecycle.go index 7edcc772a..56125dec3 100644 --- a/ethereum/blockchain_lifecycle.go +++ b/ethereum/blockchain_lifecycle.go @@ -46,6 +46,9 @@ func (b *BlockchainLifecycle) Revert(t *testing.T) { } // Mine force-mines a block with the specified block timestamp +// WARNING(fabio): Using this method will brick `eth_getLogs` such that it always +// returns the logs for the latest block, even if a specific blockHash is specified +// Source: https://github.com/trufflesuite/ganache-cli/issues/708 func (b *BlockchainLifecycle) Mine(t *testing.T, blockTimestamp time.Time) { var didForceMine string err := b.rpcClient.Call(&didForceMine, "evm_mine", blockTimestamp.Unix()) diff --git a/ethereum/contract_addresses.go b/ethereum/contract_addresses.go index 266923795..3176e125a 100644 --- a/ethereum/contract_addresses.go +++ b/ethereum/contract_addresses.go @@ -17,8 +17,8 @@ func GetContractAddressesForChainID(chainID int) (ContractAddresses, error) { } func AddContractAddressesForChainID(chainID int, addresses ContractAddresses) error { - if _, alreadExists := ChainIDToContractAddresses[chainID]; alreadExists { - return fmt.Errorf("cannot add contract addresses for chain ID %d: addresses for this chain id are already defined", chainID) + if chainID == 1 { + return fmt.Errorf("cannot add contract addresses for chainID 1: addresses for mainnet are hard-coded and cannot be changed") } if addresses.Exchange == constants.NullAddress { return fmt.Errorf("cannot add contract addresses for chain ID %d: Exchange address is required", chainID) @@ -103,7 +103,7 @@ var ChainIDToContractAddresses = map[int]ContractAddresses{ Exchange: common.HexToAddress("0x30589010550762d2f0d06f650d8e8b6ade6dbf4b"), Coordinator: common.HexToAddress("0x2ba02e03ee0029311e0f43715307870a3e701b53"), CoordinatorRegistry: common.HexToAddress("0x09fb99968c016a3ff537bf58fb3d9fe55a7975d5"), - DevUtils: common.HexToAddress("0x1e3616bc5144362f95d72de41874395567697e93"), + DevUtils: common.HexToAddress("0x80101f90446d9e19a80109ac2767c8c957debb29"), WETH9: common.HexToAddress("0xd0a1e359811322d97991e03f863a0c30c2cf029c"), ZRXToken: common.HexToAddress("0x2002d3812f58e35f0ea1ffbf80a75a38c32175fa"), }, diff --git a/rpc/clients/typescript/package.json b/rpc/clients/typescript/package.json index 9ce1190ac..d5c89cf86 100644 --- a/rpc/clients/typescript/package.json +++ b/rpc/clients/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@0x/mesh-rpc-client", - "version": "7.0.1-beta", + "version": "7.1.0-beta", "engines": { "node": ">=6.12" }, diff --git a/rpc/clients/typescript/src/ws_client.ts b/rpc/clients/typescript/src/ws_client.ts index 093614c24..394f42c94 100644 --- a/rpc/clients/typescript/src/ws_client.ts +++ b/rpc/clients/typescript/src/ws_client.ts @@ -287,36 +287,50 @@ export class WSClient { /** * Get all 0x signed orders currently stored in the Mesh node * @param perPage number of signedOrders to fetch per paginated request - * @returns all orders, their hash and their fillableTakerAssetAmount + * @returns the snapshotID, snapshotTimestamp and all orders, their hashes and fillableTakerAssetAmounts */ public async getOrdersAsync(perPage: number = 200): Promise { let snapshotID = ''; // New snapshot let page = 0; - const rawGetOrdersResponse: RawGetOrdersResponse = await this._wsProvider.send('mesh_getOrders', [ - page, - perPage, - snapshotID, - ]); - let getOrdersResponse = WSClient._convertRawGetOrdersResponse(rawGetOrdersResponse); - snapshotID = rawGetOrdersResponse.snapshotID; - let rawOrdersInfos = rawGetOrdersResponse.ordersInfos; + let getOrdersResponse = await this.getOrdersForPageAsync(page, perPage, snapshotID); + snapshotID = getOrdersResponse.snapshotID; + let ordersInfos = getOrdersResponse.ordersInfos; + + let allOrderInfos: OrderInfo[] = []; - let allRawOrderInfos: RawOrderInfo[] = []; do { - allRawOrderInfos = [...allRawOrderInfos, ...rawOrdersInfos]; + allOrderInfos = [...allOrderInfos, ...ordersInfos]; page++; - rawOrdersInfos = (await this._wsProvider.send('mesh_getOrders', [page, perPage, snapshotID])).ordersInfos; - } while (rawOrdersInfos.length > 0); + getOrdersResponse = await this.getOrdersForPageAsync(page, perPage, snapshotID); + ordersInfos = getOrdersResponse.ordersInfos; + } while (ordersInfos.length > 0); - const orderInfos = WSClient._convertRawOrderInfos(allRawOrderInfos); getOrdersResponse = { snapshotID, snapshotTimestamp: getOrdersResponse.snapshotTimestamp, - ordersInfos: orderInfos, + ordersInfos: allOrderInfos, }; return getOrdersResponse; } + /** + * Get page of 0x signed orders stored on the Mesh node at the specified snapshot + * @param page Page index at which to retrieve orders + * @param perPage number of signedOrders to fetch per paginated request + * @param snapshotID The DB snapshot at which to fetch orders. If omitted, a new snapshot is created + * @returns the snapshotID, snapshotTimestamp and all orders, their hashes and fillableTakerAssetAmounts + */ + public async getOrdersForPageAsync(page: number, perPage: number = 200, snapshotID?: string): Promise { + const finalSnapshotID = snapshotID === undefined ? '' : snapshotID; + + const rawGetOrdersResponse: RawGetOrdersResponse = await this._wsProvider.send('mesh_getOrders', [ + page, + perPage, + finalSnapshotID, + ]); + const getOrdersResponse = WSClient._convertRawGetOrdersResponse(rawGetOrdersResponse); + return getOrdersResponse; + } /** * Subscribe to the 'orders' topic and receive order events from Mesh. This method returns a * subscriptionId that can be used to `unsubscribe()` from this subscription. diff --git a/zeroex/orderwatch/order_watcher.go b/zeroex/orderwatch/order_watcher.go index def3fedcd..0391fa7fd 100644 --- a/zeroex/orderwatch/order_watcher.go +++ b/zeroex/orderwatch/order_watcher.go @@ -342,7 +342,14 @@ func (w *Watcher) removedCheckerLoop(ctx context.Context) error { } } -func (w *Watcher) handleOrderExpirations(ordersColTxn *db.Transaction, latestBlockTimestamp time.Time, previousLatestBlockTimestamp time.Time) ([]*zeroex.OrderEvent, error) { +// handleOrderExpirations takes care of generating expired and unexpired order events for orders that do not require re-validation. +// Since expiry is now done according to block timestamp, we can figure out which orders have expired/unexpired statically. We do not +// process blocks that require re-validation, since the validation process will already emit the necessary events and we cannot make +// multiple updates to an order within a single DB transaction. +// latestBlockTimestamp is the latest block timestamp Mesh knows about +// previousLatestBlockTimestamp is the previous latest block timestamp Mesh knew about +// ordersToRevalidate contains all the orders Mesh needs to re-validate given the events emitted by the blocks processed +func (w *Watcher) handleOrderExpirations(ordersColTxn *db.Transaction, latestBlockTimestamp, previousLatestBlockTimestamp time.Time, ordersToRevalidate map[common.Hash]*meshdb.Order) ([]*zeroex.OrderEvent, error) { orderEvents := []*zeroex.OrderEvent{} var defaultTime time.Time @@ -350,6 +357,11 @@ func (w *Watcher) handleOrderExpirations(ordersColTxn *db.Transaction, latestBlo expiredOrders := w.expirationWatcher.Prune(latestBlockTimestamp) for _, expiredOrder := range expiredOrders { orderHash := common.HexToHash(expiredOrder.ID) + // If we will re-validate this order, the revalidation process will discover that + // it's expired, and an appropriate event will already be emitted + if _, ok := ordersToRevalidate[orderHash]; ok { + continue + } order := &meshdb.Order{} err := w.meshDB.Orders.FindByID(orderHash.Bytes(), order) if err != nil { @@ -383,6 +395,11 @@ func (w *Watcher) handleOrderExpirations(ordersColTxn *db.Transaction, latestBlo if order.FillableTakerAssetAmount.Cmp(big.NewInt(0)) == 0 { continue } + // If we will re-validate this order, the revalidation process will discover that + // it's unexpired, and an appropriate event will already be emitted + if _, ok := ordersToRevalidate[order.Hash]; ok { + continue + } expiration := time.Unix(order.SignedOrder.ExpirationTimeSeconds.Int64(), 0) if latestBlockTimestamp.Before(expiration) { w.rewatchOrder(ordersColTxn, order, order.FillableTakerAssetAmount) @@ -435,29 +452,13 @@ func (w *Watcher) handleBlockEvents( } latestBlockNumber, latestBlockTimestamp := w.getBlockchainState(events) - expirationOrderEvents, err := w.handleOrderExpirations(ordersColTxn, latestBlockTimestamp, previousLatestBlockTimestamp) + err = updateBlockHeadersStoredInDB(miniHeadersColTxn, events) if err != nil { return err } - orderHashToDBOrder := map[common.Hash]*meshdb.Order{} orderHashToEvents := map[common.Hash][]*zeroex.ContractEvent{} for _, event := range events { - blockHeader := event.BlockHeader - switch event.Type { - case blockwatch.Added: - err = miniHeadersColTxn.Insert(blockHeader) - if err != nil { - return err - } - case blockwatch.Removed: - err = miniHeadersColTxn.Delete(blockHeader.ID()) - if err != nil { - return err - } - default: - return fmt.Errorf("Unrecognized block event type encountered: %d", event.Type) - } for _, log := range event.BlockHeader.Logs { eventType, err := w.eventDecoder.FindEventType(log) if err != nil { @@ -753,6 +754,11 @@ func (w *Watcher) handleBlockEvents( } } + expirationOrderEvents, err := w.handleOrderExpirations(ordersColTxn, latestBlockTimestamp, previousLatestBlockTimestamp, orderHashToDBOrder) + if err != nil { + return err + } + // This timeout of 1min is for limiting how long this call should block at the ETH RPC rate limiter ctx, done := context.WithTimeout(ctx, 1*time.Minute) defer done() @@ -933,6 +939,13 @@ func (w *Watcher) add(orderInfo *ordervalidator.AcceptedOrderInfo, validationBlo // return an error. return orderEvents, nil } + if _, ok := err.(db.ConflictingOperationsError); ok { + logger.WithFields(logger.Fields{ + "error": err.Error(), + "order": order, + }).Error("Failed to insert order into DB") + return orderEvents, nil + } return orderEvents, err } if err := txn.Commit(); err != nil { @@ -1011,6 +1024,62 @@ func (w *Watcher) trimOrdersAndGenerateEvents() ([]*zeroex.OrderEvent, error) { return orderEvents, nil } +// updateBlockHeadersStoredInDB updates the block headers stored in the DB. Since our DB txns don't support +// multiple operations involving the same entry, we make sure we only perform either an insertion or a deletion +// for each block in this method. +func updateBlockHeadersStoredInDB(miniHeadersColTxn *db.Transaction, events []*blockwatch.Event) error { + blocksToAdd := map[common.Hash]*miniheader.MiniHeader{} + blocksToRemove := map[common.Hash]*miniheader.MiniHeader{} + for _, event := range events { + blockHeader := event.BlockHeader + switch event.Type { + case blockwatch.Added: + if _, ok := blocksToAdd[blockHeader.Hash]; ok { + continue + } + if _, ok := blocksToRemove[blockHeader.Hash]; ok { + delete(blocksToRemove, blockHeader.Hash) + } + blocksToAdd[blockHeader.Hash] = blockHeader + case blockwatch.Removed: + if _, ok := blocksToAdd[blockHeader.Hash]; ok { + delete(blocksToAdd, blockHeader.Hash) + } + if _, ok := blocksToRemove[blockHeader.Hash]; ok { + continue + } + blocksToRemove[blockHeader.Hash] = blockHeader + default: + return fmt.Errorf("Unrecognized block event type encountered: %d", event.Type) + } + } + + for _, blockHeader := range blocksToAdd { + if err := miniHeadersColTxn.Insert(blockHeader); err != nil { + if _, ok := err.(db.AlreadyExistsError); !ok { + logger.WithFields(logger.Fields{ + "error": err.Error(), + "hash": blockHeader.Hash, + "number": blockHeader.Number, + }).Error("Failed to insert miniHeaders") + } + } + } + for _, blockHeader := range blocksToRemove { + if err := miniHeadersColTxn.Delete(blockHeader.ID()); err != nil { + if _, ok := err.(db.NotFoundError); !ok { + logger.WithFields(logger.Fields{ + "error": err.Error(), + "hash": blockHeader.Hash, + "number": blockHeader.Number, + }).Error("Failed to delete miniHeaders") + } + } + } + + return nil +} + // MaxExpirationTime returns the current maximum expiration time for incoming // orders. func (w *Watcher) MaxExpirationTime() *big.Int { @@ -1125,35 +1194,52 @@ func (w *Watcher) generateOrderEventsIfChanged( ContractEvents: orderHashToEvents[order.Hash], } orderEvents = append(orderEvents, orderEvent) - } else if oldFillableAmount.Cmp(newFillableAmount) == 0 { - // No important state-change happened - } else if oldFillableAmount.Cmp(big.NewInt(0)) == 1 && oldAmountIsMoreThenNewAmount { - // Order was filled, emit event and update order in DB - order.FillableTakerAssetAmount = newFillableAmount - w.updateOrderDBEntry(ordersColTxn, order) - orderEvent := &zeroex.OrderEvent{ - Timestamp: validationBlockTimestamp, - OrderHash: acceptedOrderInfo.OrderHash, - SignedOrder: order.SignedOrder, - EndState: zeroex.ESOrderFilled, - FillableTakerAssetAmount: acceptedOrderInfo.FillableTakerAssetAmount, - ContractEvents: orderHashToEvents[order.Hash], + } else { + // If order was previously expired, check if it has become unexpired + if order.IsRemoved && oldFillableAmount.Cmp(big.NewInt(0)) != 0 { + expiration := time.Unix(order.SignedOrder.ExpirationTimeSeconds.Int64(), 0) + if validationBlockTimestamp.Before(expiration) { + w.rewatchOrder(ordersColTxn, order, order.FillableTakerAssetAmount) + orderEvent := &zeroex.OrderEvent{ + Timestamp: validationBlockTimestamp, + OrderHash: order.Hash, + SignedOrder: order.SignedOrder, + FillableTakerAssetAmount: order.FillableTakerAssetAmount, + EndState: zeroex.ESOrderUnexpired, + } + orderEvents = append(orderEvents, orderEvent) + } } - orderEvents = append(orderEvents, orderEvent) - } else if oldFillableAmount.Cmp(big.NewInt(0)) == 1 && !oldAmountIsMoreThenNewAmount { - // The order is now fillable for more then it was before. E.g.: A fill txn reverted (block-reorg) - // Update order in DB and emit event - order.FillableTakerAssetAmount = newFillableAmount - w.updateOrderDBEntry(ordersColTxn, order) - orderEvent := &zeroex.OrderEvent{ - Timestamp: validationBlockTimestamp, - OrderHash: acceptedOrderInfo.OrderHash, - SignedOrder: order.SignedOrder, - EndState: zeroex.ESOrderFillabilityIncreased, - FillableTakerAssetAmount: acceptedOrderInfo.FillableTakerAssetAmount, - ContractEvents: orderHashToEvents[order.Hash], + if oldFillableAmount.Cmp(newFillableAmount) == 0 { + // No important state-change happened + } else if oldFillableAmount.Cmp(big.NewInt(0)) == 1 && oldAmountIsMoreThenNewAmount { + // Order was filled, emit event and update order in DB + order.FillableTakerAssetAmount = newFillableAmount + w.updateOrderDBEntry(ordersColTxn, order) + orderEvent := &zeroex.OrderEvent{ + Timestamp: validationBlockTimestamp, + OrderHash: acceptedOrderInfo.OrderHash, + SignedOrder: order.SignedOrder, + EndState: zeroex.ESOrderFilled, + FillableTakerAssetAmount: acceptedOrderInfo.FillableTakerAssetAmount, + ContractEvents: orderHashToEvents[order.Hash], + } + orderEvents = append(orderEvents, orderEvent) + } else if oldFillableAmount.Cmp(big.NewInt(0)) == 1 && !oldAmountIsMoreThenNewAmount { + // The order is now fillable for more then it was before. E.g.: A fill txn reverted (block-reorg) + // Update order in DB and emit event + order.FillableTakerAssetAmount = newFillableAmount + w.updateOrderDBEntry(ordersColTxn, order) + orderEvent := &zeroex.OrderEvent{ + Timestamp: validationBlockTimestamp, + OrderHash: acceptedOrderInfo.OrderHash, + SignedOrder: order.SignedOrder, + EndState: zeroex.ESOrderFillabilityIncreased, + FillableTakerAssetAmount: acceptedOrderInfo.FillableTakerAssetAmount, + ContractEvents: orderHashToEvents[order.Hash], + } + orderEvents = append(orderEvents, orderEvent) } - orderEvents = append(orderEvents, orderEvent) } } for _, rejectedOrderInfo := range validationResults.Rejected { @@ -1451,16 +1537,17 @@ type orderDeleter interface { func (w *Watcher) permanentlyDeleteOrder(deleter orderDeleter, order *meshdb.Order) error { err := deleter.Delete(order.Hash.Bytes()) if err != nil { - logger.WithFields(logger.Fields{ - "error": err.Error(), - "order": order, - }).Warn("Attempted to delete order that no longer exists") - // TODO(fabio): With the current way the OrderWatcher is written, it is possible for multiple - // events to trigger logic that updates the orders in the DB simultaneously. This is mostly - // benign but is a waste of computation, and causes processes to try and delete orders the - // have already been deleted. In order to fix this, we need to re-write the event handling logic - // to queue the processing of events so that they happen sequentially rather then in parallel. - return nil // Already deleted. Noop. + if _, ok := err.(db.ConflictingOperationsError); ok { + logger.WithFields(logger.Fields{ + "error": err.Error(), + "order": order, + }).Error("Failed to permanently delete order") + return nil + } + if _, ok := err.(db.NotFoundError); ok { + return nil // Already deleted. Noop. + } + return err } // After permanently deleting an order, we also remove it's assetData from the Decoder diff --git a/zeroex/orderwatch/order_watcher_test.go b/zeroex/orderwatch/order_watcher_test.go index 121c546fd..01fae0070 100644 --- a/zeroex/orderwatch/order_watcher_test.go +++ b/zeroex/orderwatch/order_watcher_test.go @@ -983,6 +983,161 @@ func TestOrderWatcherCleanup(t *testing.T) { } } +func TestOrderWatcherUpdateBlockHeadersStoredInDBHeaderExists(t *testing.T) { + meshDB, err := meshdb.New("/tmp/leveldb_testing/" + uuid.New().String()) + require.NoError(t, err) + + headerOne := &miniheader.MiniHeader{ + Number: big.NewInt(5), + Hash: common.HexToHash("0x293b9ea024055a3e9eddbf9b9383dc7731744111894af6aa038594dc1b61f87f"), + Parent: common.HexToHash("0x26b13ac89500f7fcdd141b7d1b30f3a82178431eca325d1cf10998f9d68ff5ba"), + Timestamp: time.Now().UTC(), + } + + testCases := []struct { + events []*blockwatch.Event + startMiniHeaders []*miniheader.MiniHeader + expectedMiniHeaders []*miniheader.MiniHeader + }{ + // Scenario 1: Header 1 exists in DB. Get's removed and then re-added. + { + events: []*blockwatch.Event{ + &blockwatch.Event{ + Type: blockwatch.Removed, + BlockHeader: headerOne, + }, + &blockwatch.Event{ + Type: blockwatch.Added, + BlockHeader: headerOne, + }, + }, + startMiniHeaders: []*miniheader.MiniHeader{ + headerOne, + }, + expectedMiniHeaders: []*miniheader.MiniHeader{ + headerOne, + }, + }, + // Scenario 2: Header doesn't exist, get's added and then removed + { + events: []*blockwatch.Event{ + &blockwatch.Event{ + Type: blockwatch.Added, + BlockHeader: headerOne, + }, + &blockwatch.Event{ + Type: blockwatch.Removed, + BlockHeader: headerOne, + }, + }, + startMiniHeaders: []*miniheader.MiniHeader{}, + expectedMiniHeaders: []*miniheader.MiniHeader{}, + }, + // Scenario 3: Header added, removed then re-added + { + events: []*blockwatch.Event{ + &blockwatch.Event{ + Type: blockwatch.Added, + BlockHeader: headerOne, + }, + &blockwatch.Event{ + Type: blockwatch.Removed, + BlockHeader: headerOne, + }, + &blockwatch.Event{ + Type: blockwatch.Added, + BlockHeader: headerOne, + }, + }, + startMiniHeaders: []*miniheader.MiniHeader{}, + expectedMiniHeaders: []*miniheader.MiniHeader{ + headerOne, + }, + }, + // Scenario 4: Header removed, added then removed again + { + events: []*blockwatch.Event{ + &blockwatch.Event{ + Type: blockwatch.Removed, + BlockHeader: headerOne, + }, + &blockwatch.Event{ + Type: blockwatch.Added, + BlockHeader: headerOne, + }, + &blockwatch.Event{ + Type: blockwatch.Removed, + BlockHeader: headerOne, + }, + }, + startMiniHeaders: []*miniheader.MiniHeader{ + headerOne, + }, + expectedMiniHeaders: []*miniheader.MiniHeader{}, + }, + // Scenario 5: Call added twice for the same block + { + events: []*blockwatch.Event{ + &blockwatch.Event{ + Type: blockwatch.Added, + BlockHeader: headerOne, + }, + &blockwatch.Event{ + Type: blockwatch.Added, + BlockHeader: headerOne, + }, + }, + startMiniHeaders: []*miniheader.MiniHeader{}, + expectedMiniHeaders: []*miniheader.MiniHeader{ + headerOne, + }, + }, + // Scenario 6: Call removed twice for the same block + { + events: []*blockwatch.Event{ + &blockwatch.Event{ + Type: blockwatch.Removed, + BlockHeader: headerOne, + }, + &blockwatch.Event{ + Type: blockwatch.Removed, + BlockHeader: headerOne, + }, + }, + startMiniHeaders: []*miniheader.MiniHeader{ + headerOne, + }, + expectedMiniHeaders: []*miniheader.MiniHeader{}, + }, + } + + for _, testCase := range testCases { + for _, startMiniHeader := range testCase.startMiniHeaders { + err = meshDB.MiniHeaders.Insert(startMiniHeader) + require.NoError(t, err) + } + + miniHeadersColTxn := meshDB.MiniHeaders.OpenTransaction() + defer func() { + _ = miniHeadersColTxn.Discard() + }() + + err = updateBlockHeadersStoredInDB(miniHeadersColTxn, testCase.events) + require.NoError(t, err) + + err = miniHeadersColTxn.Commit() + require.NoError(t, err) + + miniHeaders := []*miniheader.MiniHeader{} + err = meshDB.MiniHeaders.FindAll(&miniHeaders) + require.NoError(t, err) + assert.Equal(t, testCase.expectedMiniHeaders, miniHeaders) + + err := meshDB.ClearAllMiniHeaders() + require.NoError(t, err) + } +} + func setupOrderWatcherScenario(ctx context.Context, t *testing.T, ethClient *ethclient.Client, meshDB *meshdb.MeshDB, signedOrder *zeroex.SignedOrder) (*blockwatch.Watcher, chan []*zeroex.OrderEvent) { blockWatcher, orderWatcher := setupOrderWatcher(ctx, t, ethRPCClient, meshDB)