From 0020ca96541a36240fa05f5ca3e686979c5ac56a Mon Sep 17 00:00:00 2001 From: fabioberger Date: Tue, 5 Nov 2019 23:53:59 +0000 Subject: [PATCH 01/36] Remove dead link from doc sidebar --- docs/summary.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/summary.md b/docs/summary.md index 5b5a3d0bd..19320ec89 100644 --- a/docs/summary.md +++ b/docs/summary.md @@ -4,7 +4,6 @@ * [Deployment guide](deployment.md) * [Deploying a Telemetry-Enabled Mesh Node](deployment_with_telemetry.md) -* [Mesh Beta participation guide](../examples/beta_telemetry_node/README.md) * [JSON-RPC API documentation](rpc_api.md) * [Browser API documentation](browser/reference.md) * [Browser guide](browser.md) From 900fa85138124c166ed015ee8aae56df5fab4fa7 Mon Sep 17 00:00:00 2001 From: Alex Browne Date: Tue, 5 Nov 2019 21:02:30 -0800 Subject: [PATCH 02/36] Improve examples/go/subscribe-to-orders --- examples/go/subscribe-to-orders/main.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/go/subscribe-to-orders/main.go b/examples/go/subscribe-to-orders/main.go index 141c660a5..4e9107d8c 100644 --- a/examples/go/subscribe-to-orders/main.go +++ b/examples/go/subscribe-to-orders/main.go @@ -18,6 +18,8 @@ type clientEnvVars struct { } func main() { + log.SetFormatter(&log.JSONFormatter{}) + env := clientEnvVars{} if err := envvar.Parse(&env); err != nil { panic(err) @@ -40,7 +42,9 @@ func main() { select { case orderEvents := <-orderEventsChan: for _, orderEvent := range orderEvents { - log.Printf("Received order event: %+v\n", orderEvent) + log.WithFields(log.Fields{ + "event": orderEvent, + }).Printf("received order event") } case err := <-clientSubscription.Err(): log.Fatal(err) From 89601543e91392f2716741c306eacc40d64df6a1 Mon Sep 17 00:00:00 2001 From: fabioberger Date: Wed, 6 Nov 2019 16:13:15 +0000 Subject: [PATCH 03/36] Add missing env var to docker-compose.yml --- docs/deployment_with_telemetry.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/deployment_with_telemetry.md b/docs/deployment_with_telemetry.md index b21c12155..370e6cf1b 100644 --- a/docs/deployment_with_telemetry.md +++ b/docs/deployment_with_telemetry.md @@ -53,6 +53,7 @@ services: environment: - VERBOSITY=5 - ETHEREUM_CHAIN_ID=1 + - RPC_ADDR=0.0.0.0:60557 # Set your backing Ethereum JSON RPC endpoint below - ETHEREUM_RPC_URL= - BLOCK_POLLING_INTERVAL=5s From 4502899ec16281b18fe6526d7d2690052e3c14ba Mon Sep 17 00:00:00 2001 From: Alex Browne Date: Wed, 6 Nov 2019 11:50:39 -0800 Subject: [PATCH 04/36] Make new TypeScript config parameters lowercase --- browser/go/main.go | 18 +++++++++--------- browser/ts/index.ts | 26 ++++++++++++++------------ 2 files changed, 23 insertions(+), 21 deletions(-) diff --git a/browser/go/main.go b/browser/go/main.go index b8c1b6aa5..dff0a4b77 100644 --- a/browser/go/main.go +++ b/browser/go/main.go @@ -80,16 +80,16 @@ func convertConfig(jsConfig js.Value) (core.Config, error) { // Default config options. Some might be overridden. config := core.Config{ - Verbosity: 2, - DataDir: "0x-mesh", - P2PTCPPort: 0, - P2PWebSocketsPort: 0, - UseBootstrapList: true, - BlockPollingInterval: 5 * time.Second, - EthereumRPCMaxContentLength: 524288, + Verbosity: 2, + DataDir: "0x-mesh", + P2PTCPPort: 0, + P2PWebSocketsPort: 0, + UseBootstrapList: true, + BlockPollingInterval: 5 * time.Second, + EthereumRPCMaxContentLength: 524288, EthereumRPCMaxRequestsPer24HrUTC: 100000, - EthereumRPCMaxRequestsPerSecond: 30.0, - MaxOrdersInStorage: 100000, + EthereumRPCMaxRequestsPerSecond: 30, + MaxOrdersInStorage: 100000, } // Required config options diff --git a/browser/ts/index.ts b/browser/ts/index.ts index bb397c4a8..9a7fcdc94 100644 --- a/browser/ts/index.ts +++ b/browser/ts/index.ts @@ -63,15 +63,17 @@ export interface Config { // Parity, feel free to double the default max in order to reduce the number // of RPC calls made by Mesh. Defaults to 524288 bytes. ethereumRPCMaxContentLength?: number; - // EthereumRPCMaxRequestsPer24HrUTC caps the number of Ethereum JSON-RPC requests a Mesh node will make - // per 24hr UTC time window (time window starts and ends at 12am UTC). It defaults to the 100k limit on - // Infura's free tier but can be increased well beyond this limit for those using alternative infra/plans. - EthereumRPCMaxRequestsPer24HrUTC?: number; - // EthereumRPCMaxRequestsPerSecond caps the number of Ethereum JSON-RPC requests a Mesh node will make per - // second. This limits the concurrency of these requests and prevents the Mesh node from getting rate-limited. - // It defaults to the recommended 30 rps for Infura's free tier, and can be increased to 100 rpc for pro users, - // and potentially higher on alternative infrastructure. - EthereumRPCMaxRequestsPerSecond?: number; + // A cap on the number of Ethereum JSON-RPC requests a Mesh node will make + // per 24hr UTC time window (time window starts and ends at 12am UTC). It + // defaults to the 100k limit on Infura's free tier but can be increased + // well beyond this limit for those using alternative infra/plans. + ethereumRPCMaxRequestsPer24HrUTC?: number; + // A cap on the number of Ethereum JSON-RPC requests a Mesh node will make + // per second. This limits the concurrency of these requests and prevents + // the Mesh node from getting rate-limited. It defaults to the recommended + // 30 rps for Infura's free tier, and can be increased to 100 rpc for pro + // users, and potentially higher on alternative infrastructure. + ethereumRPCMaxRequestsPerSecond?: number; // A set of custom addresses to use for the configured network ID. The // contract addresses for most common networks are already included by // default, so this is typically only needed for testing on custom networks. @@ -92,7 +94,7 @@ export interface Config { // number of orders in storage grows, Mesh will begin enforcing a limit on // maximum expiration time for incoming orders and remove any orders with an // expiration time too far in the future. Defaults to 100,000. - maxOrdersInStorage ?: number; + maxOrdersInStorage?: number; } export interface ContractAddresses { @@ -141,8 +143,8 @@ interface WrapperConfig { bootstrapList?: string; // comma-separated string instead of an array of strings. blockPollingIntervalSeconds?: number; ethereumRPCMaxContentLength?: number; - EthereumRPCMaxRequestsPer24HrUTC?: number; - EthereumRPCMaxRequestsPerSecond?: number; + ethereumRPCMaxRequestsPer24HrUTC?: number; + ethereumRPCMaxRequestsPerSecond?: number; customContractAddresses?: string; // json-encoded instead of Object. maxOrdersInStorage?: number; } From cd1fb54248b5a6db2075e6a0bd5e33ee27bd6e26 Mon Sep 17 00:00:00 2001 From: fabioberger Date: Wed, 6 Nov 2019 23:07:08 +0000 Subject: [PATCH 05/36] Switch default for RPC_ADDR to `localhost` and add comment about it --- docs/deployment_with_telemetry.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/deployment_with_telemetry.md b/docs/deployment_with_telemetry.md index 370e6cf1b..39c842993 100644 --- a/docs/deployment_with_telemetry.md +++ b/docs/deployment_with_telemetry.md @@ -53,7 +53,7 @@ services: environment: - VERBOSITY=5 - ETHEREUM_CHAIN_ID=1 - - RPC_ADDR=0.0.0.0:60557 + - RPC_ADDR=localhost:60557 # Set your backing Ethereum JSON RPC endpoint below - ETHEREUM_RPC_URL= - BLOCK_POLLING_INTERVAL=5s @@ -82,7 +82,10 @@ services: ``` In most cases, the only change you need to make to the __docker-compose.yml__ -file is to set `ETHEREUM_RPC_URL` to your own Ethereum JSON RPC endpoint. +file is to set `ETHEREUM_RPC_URL` to your own Ethereum JSON RPC endpoint. If you +wish to connect to your Mesh node over a subnet or over the public internet, you + must set the `RPC_ADDR` to something other than `localhost` (e.g., `0.0.0.0` for + the public internet). ### Deploying with Docker Machine From 222ed98e1508bb4f56ea9f159842a3a1a3430edf Mon Sep 17 00:00:00 2001 From: Alex Browne Date: Wed, 6 Nov 2019 15:10:46 -0800 Subject: [PATCH 06/36] Add a README for both browser and Go examples --- examples/browser/README.md | 29 +++++++++++++++++++++++++++++ examples/go/README.md | 18 ++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 examples/browser/README.md create mode 100644 examples/go/README.md diff --git a/examples/browser/README.md b/examples/browser/README.md new file mode 100644 index 000000000..a40c823f1 --- /dev/null +++ b/examples/browser/README.md @@ -0,0 +1,29 @@ +## 0x Mesh Browser Example + +This directory contains an example of how to run Mesh in the browser. + +### Running the Example + +To run the example, first change into the __examples/browser__ directory and +then run: + +``` +yarn install --force && yarn build +``` + +Then simply serve the __examples/browser/dist__ directory using the web server +of your choice and navigate to the page in your browser. For example, you could +use `goexec`: + +``` +go get -u github.com/shurcooL/goexec +goexec 'http.ListenAndServe(":8000", http.FileServer(http.Dir("./dist")))' +``` + +Then navigate to [localhost:8000](http://localhost:8000) in your browser (Chrome +or Firefox are recommended). + +### More Information + +- [Browser Guide](https://0x-org.gitbook.io/mesh/getting-started/browser) +- [Browser API Documentation](https://0x-org.gitbook.io/mesh/getting-started/reference) diff --git a/examples/go/README.md b/examples/go/README.md new file mode 100644 index 000000000..a178d3b01 --- /dev/null +++ b/examples/go/README.md @@ -0,0 +1,18 @@ +## 0x Mesh Example Go Usage + +This directory contains some example code for using the Go RPC client. + +### Running the Examples + +Simply use `go run` to run an example. Each example requires some environment +variables. + + +``` +RPC_ADDRESS=ws://167.71.80.233:60557 go run ./examples/go/subscribe-to-orders/main.go +``` + +### More Information + +- [RPC API Documentation](https://0x-org.gitbook.io/mesh/getting-started/rpc_api) +- [Go RPC Client Documentation](https://godoc.org/github.com/0xProject/0x-mesh/rpc) From 82ae25aa798da95e1ac514b70cb6b68a5207f4db Mon Sep 17 00:00:00 2001 From: Alex Browne Date: Wed, 6 Nov 2019 15:19:25 -0800 Subject: [PATCH 07/36] Upgrade Go version to 1.12.13 --- .circleci/config.yml | 2 +- dockerfiles/mesh-bootstrap/Dockerfile | 2 +- dockerfiles/mesh/Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 272bf2e09..4da33a378 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,7 +4,7 @@ jobs: environment: BASH_ENV: ~/.nvm/nvm.sh docker: - - image: circleci/golang:1.12.9-browsers + - image: circleci/golang:1.12.13-browsers - image: 0xorg/ganache-cli:latest environment: VERSION: 4.3.3 diff --git a/dockerfiles/mesh-bootstrap/Dockerfile b/dockerfiles/mesh-bootstrap/Dockerfile index 690105969..7c1c41641 100644 --- a/dockerfiles/mesh-bootstrap/Dockerfile +++ b/dockerfiles/mesh-bootstrap/Dockerfile @@ -4,7 +4,7 @@ # # mesh-builder produces a statically linked binary -FROM golang:1.12.9-alpine3.9 as mesh-builder +FROM golang:1.12.13-alpine3.9 as mesh-builder RUN apk update && apk add ca-certificates nodejs-current npm make git dep gcc build-base musl linux-headers diff --git a/dockerfiles/mesh/Dockerfile b/dockerfiles/mesh/Dockerfile index 40cf71d7c..413039326 100644 --- a/dockerfiles/mesh/Dockerfile +++ b/dockerfiles/mesh/Dockerfile @@ -4,7 +4,7 @@ # # mesh-builder produces a statically linked binary -FROM golang:1.12.9-alpine3.9 as mesh-builder +FROM golang:1.12.13-alpine3.9 as mesh-builder RUN apk update && apk add ca-certificates nodejs-current npm make git dep gcc build-base musl linux-headers From cd18d385b68edf30c517daab449584c89a163ce8 Mon Sep 17 00:00:00 2001 From: fabioberger Date: Wed, 6 Nov 2019 23:33:02 +0000 Subject: [PATCH 08/36] Set RPC_ADDR to the `mesh`'s own Docker subnet and remove comment about exposing it to the public internet since we don't want people doing this --- docs/deployment_with_telemetry.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/deployment_with_telemetry.md b/docs/deployment_with_telemetry.md index 39c842993..14d0ffc28 100644 --- a/docs/deployment_with_telemetry.md +++ b/docs/deployment_with_telemetry.md @@ -53,7 +53,7 @@ services: environment: - VERBOSITY=5 - ETHEREUM_CHAIN_ID=1 - - RPC_ADDR=localhost:60557 + - RPC_ADDR=mesh:60557 # Set your backing Ethereum JSON RPC endpoint below - ETHEREUM_RPC_URL= - BLOCK_POLLING_INTERVAL=5s @@ -82,10 +82,7 @@ services: ``` In most cases, the only change you need to make to the __docker-compose.yml__ -file is to set `ETHEREUM_RPC_URL` to your own Ethereum JSON RPC endpoint. If you -wish to connect to your Mesh node over a subnet or over the public internet, you - must set the `RPC_ADDR` to something other than `localhost` (e.g., `0.0.0.0` for - the public internet). +file is to set `ETHEREUM_RPC_URL` to your own Ethereum JSON RPC endpoint. ### Deploying with Docker Machine From 3fe23164c779e5a13a69dadf428b458dfdc6d7a6 Mon Sep 17 00:00:00 2001 From: fabioberger Date: Wed, 6 Nov 2019 23:50:41 +0000 Subject: [PATCH 09/36] Add comment about use of Docker Compose link in RPC_ADDR --- docs/deployment_with_telemetry.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/docs/deployment_with_telemetry.md b/docs/deployment_with_telemetry.md index 14d0ffc28..87169a6ee 100644 --- a/docs/deployment_with_telemetry.md +++ b/docs/deployment_with_telemetry.md @@ -82,7 +82,24 @@ services: ``` In most cases, the only change you need to make to the __docker-compose.yml__ -file is to set `ETHEREUM_RPC_URL` to your own Ethereum JSON RPC endpoint. +file is to set `ETHEREUM_RPC_URL` to your own Ethereum JSON RPC endpoint. The +`RPC_ADDR` above will allow any Docker containers running in the same Docker +Compose file to access the Mesh RPC API via +[links](https://docs.docker.com/compose/networking/#links). To use this feature, +be sure to add the following line to any containers you wish to access the Mesh +RPC API from: + +``` +links: + - mesh +``` + +You can then use the URL `ws://mesh:60557` to access the RPC API. + +Alternatively, if you want to open up your Mesh RPC API to the public internet, +you can set `RPC_ADDR=0.0.0.0:60557`. If you choose to go this route, we strongly +recommend using an external firewall to restrict who can access your RPC API. + ### Deploying with Docker Machine From 02bfa7494800f6238df7e35539191df911bbfe63 Mon Sep 17 00:00:00 2001 From: Alex Browne Date: Wed, 6 Nov 2019 17:42:37 -0800 Subject: [PATCH 10/36] Fix bug in ethereum/ratelimit for timezones behind UTC --- ethereum/ratelimit/rate_limiter.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ethereum/ratelimit/rate_limiter.go b/ethereum/ratelimit/rate_limiter.go index 286198389..d6d907897 100644 --- a/ethereum/ratelimit/rate_limiter.go +++ b/ethereum/ratelimit/rate_limiter.go @@ -218,5 +218,6 @@ func (r *rateLimiter) getGrantedInLast24hrsUTC() int { } func getUTCMidnightOfDate(date time.Time) time.Time { - return time.Date(date.Year(), date.Month(), date.Day(), 0, 0, 0, 0, time.UTC) + utcDate := date.UTC() + return time.Date(utcDate.Year(), utcDate.Month(), utcDate.Day(), 0, 0, 0, 0, time.UTC) } From 5300f1c012e0e3c06ec7354f644e0f2fa6485594 Mon Sep 17 00:00:00 2001 From: fabioberger Date: Thu, 7 Nov 2019 13:00:04 +0000 Subject: [PATCH 11/36] Loosen docker image version regex so it'll match any existing version, not `latest` --- cmd/cut-release/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/cut-release/main.go b/cmd/cut-release/main.go index 36c0b9e5d..f29e126a3 100644 --- a/cmd/cut-release/main.go +++ b/cmd/cut-release/main.go @@ -91,7 +91,7 @@ func updateHardCodedVersions(version string) { // Update `docs/deployment_with_telemetry.md` newVersionString = fmt.Sprintf(`image: 0xorg/mesh:%s`, version) - regex = `image: 0xorg/mesh:latest` + regex = `image: 0xorg/mesh:[0-9.]+.*` updateFileWithRegex("docs/deployment_with_telemetry.md", regex, newVersionString) // Update `CHANGELOG.md` From 6767ae21b3c96be2c5f0af148829034b64d7eaa8 Mon Sep 17 00:00:00 2001 From: fabioberger Date: Thu, 7 Nov 2019 15:48:00 +0000 Subject: [PATCH 12/36] Add note about needing to increase ETHEREUM_RPC_MAX_REQUESTS_PER_24_HR_UTC for Kovan network deploys --- docs/deployment.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/deployment.md b/docs/deployment.md index c7c7ba908..2794fb7e8 100644 --- a/docs/deployment.md +++ b/docs/deployment.md @@ -43,7 +43,8 @@ machine where all Mesh-related data will be stored. - Ports 60557, 60558, and 60559 are the default ports used for the JSON RPC endpoint, communicating with peers over TCP, and communicating with peers over WebSockets, respectively. - In order to disable P2P order discovery and sharing, set `USE_BOOTSTRAP_LIST` to `false`. - Running a VPN may interfere with Mesh. If you are having difficulty connecting to peers, disable your VPN. -- If you are running against a POA testnet (e.g., Kovan), you might want to shorten the `BLOCK_POLLING_INTERVAL` since blocks are mined more frequently then on mainnet. +- If you are running against a POA testnet (e.g., Kovan), you might want to shorten the `BLOCK_POLLING_INTERVAL` since blocks are mined more frequently then on mainnet. If you do this, your node will use more Ethereum RPC calls, so you will also need to adjust the `ETHEREUM_RPC_MAX_REQUESTS_PER_24_HR_UTC` to around `380000` (*warning:* this will not fit within Infura's +free tier). - If you want to run the mesh in "detached" mode, add the `-d` switch to the docker run command so that your console doesn't get blocked. ## Persisting State From cf3a450820d320d66cad8d4e705e01f4bab91d6e Mon Sep 17 00:00:00 2001 From: fabioberger Date: Thu, 7 Nov 2019 16:23:22 +0000 Subject: [PATCH 13/36] Refuse to start Mesh if per 24hr Eth RPC rate limit set too low given the blockPollingInterval --- core/core.go | 35 +++++++++++++++++++++++++++++------ 1 file changed, 29 insertions(+), 6 deletions(-) diff --git a/core/core.go b/core/core.go index f3e7ce226..0960be5fb 100644 --- a/core/core.go +++ b/core/core.go @@ -43,12 +43,14 @@ import ( ) const ( - blockWatcherRetentionLimit = 20 - ethereumRPCRequestTimeout = 30 * time.Second - peerConnectTimeout = 60 * time.Second - checkNewAddrInterval = 20 * time.Second - expirationPollingInterval = 50 * time.Millisecond - rateLimiterCheckpointInterval = 1 * time.Minute + blockWatcherRetentionLimit = 20 + ethereumRPCRequestTimeout = 30 * time.Second + peerConnectTimeout = 60 * time.Second + checkNewAddrInterval = 20 * time.Second + expirationPollingInterval = 50 * time.Millisecond + rateLimiterCheckpointInterval = 1 * time.Minute + // Computed with default blockPollingInterval (5s), and EthereumRPCMaxRequestsPer24HrUTC (100k) + defaultNonPollingEthRPCRequestBuffer = 82720 // logStatsInterval is how often to log stats for this node. logStatsInterval = 5 * time.Minute version = "development" @@ -186,6 +188,27 @@ func New(config Config) (*App, error) { } config = unquoteConfig(config) + // Ensure ETHEREUM_RPC_MAX_REQUESTS_PER_24_HR_UTC is reasonably set given BLOCK_POLLING_INTERVAL + var per24HrPollingRequests int + if config.BlockPollingInterval > 1*time.Second { + perMinute := 60 / float64(config.BlockPollingInterval.Seconds()) + per24HrPollingRequests = int(perMinute * 60 * 24) + } else { + // HACK(fabio): Since we haven't upgraded to Golang 1.13 yet, we don't have access to + // duration.milliseconds(), so we do `duration / 1000000` for now + perSecond := 1000 / float64(config.BlockPollingInterval/1000000) + per24HrPollingRequests = int(perSecond * 60 * 60 * 24) + } + requiredNumOfEthRPCRequestsIn24HrPeriod := per24HrPollingRequests + defaultNonPollingEthRPCRequestBuffer + if requiredNumOfEthRPCRequestsIn24HrPeriod > config.EthereumRPCMaxRequestsPer24HrUTC { + return nil, fmt.Errorf( + "Given BLOCK_POLLING_INTERVAL (%s), there are insufficient remaining ETH RPC requests in a 24hr period for Mesh to function properly. Increase ETHEREUM_RPC_MAX_REQUESTS_PER_24_HR_UTC to at least %d (currently configured to: %d)", + config.BlockPollingInterval, + requiredNumOfEthRPCRequestsIn24HrPeriod, + config.EthereumRPCMaxRequestsPer24HrUTC, + ) + } + // Initialize db databasePath := filepath.Join(config.DataDir, "db") meshDB, err := meshdb.New(databasePath) From 363a72e5064c1af26806c4e20b609fcdd6aed68c Mon Sep 17 00:00:00 2001 From: fabioberger Date: Thu, 7 Nov 2019 16:30:50 +0000 Subject: [PATCH 14/36] Rename variable for clarity --- core/core.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/core.go b/core/core.go index 0960be5fb..c9cbd7038 100644 --- a/core/core.go +++ b/core/core.go @@ -199,12 +199,12 @@ func New(config Config) (*App, error) { perSecond := 1000 / float64(config.BlockPollingInterval/1000000) per24HrPollingRequests = int(perSecond * 60 * 60 * 24) } - requiredNumOfEthRPCRequestsIn24HrPeriod := per24HrPollingRequests + defaultNonPollingEthRPCRequestBuffer - if requiredNumOfEthRPCRequestsIn24HrPeriod > config.EthereumRPCMaxRequestsPer24HrUTC { + minNumOfEthRPCRequestsIn24HrPeriod := per24HrPollingRequests + defaultNonPollingEthRPCRequestBuffer + if minNumOfEthRPCRequestsIn24HrPeriod > config.EthereumRPCMaxRequestsPer24HrUTC { return nil, fmt.Errorf( "Given BLOCK_POLLING_INTERVAL (%s), there are insufficient remaining ETH RPC requests in a 24hr period for Mesh to function properly. Increase ETHEREUM_RPC_MAX_REQUESTS_PER_24_HR_UTC to at least %d (currently configured to: %d)", config.BlockPollingInterval, - requiredNumOfEthRPCRequestsIn24HrPeriod, + minNumOfEthRPCRequestsIn24HrPeriod, config.EthereumRPCMaxRequestsPer24HrUTC, ) } From 4a9cb56823b2187654c06674022a2cc1adcb142d Mon Sep 17 00:00:00 2001 From: Alex Browne Date: Thu, 7 Nov 2019 13:10:29 -0800 Subject: [PATCH 15/36] Fix bug for pinned option in TypeScript RPC client --- rpc/clients/typescript/src/ws_client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc/clients/typescript/src/ws_client.ts b/rpc/clients/typescript/src/ws_client.ts index e4cc17a9a..c8993a0e4 100644 --- a/rpc/clients/typescript/src/ws_client.ts +++ b/rpc/clients/typescript/src/ws_client.ts @@ -252,7 +252,7 @@ export class WSClient { assert.isArray('signedOrders', signedOrders); const rawValidationResults: RawValidationResults = await (this._wsProvider as any).send('mesh_addOrders', [ signedOrders, - pinned, + { pinned }, ]); const validationResults: ValidationResults = { accepted: WSClient._convertRawAcceptedOrderInfos(rawValidationResults.accepted), From 6363e16c78a4c1969edeae6934b3cd685f3359e8 Mon Sep 17 00:00:00 2001 From: Alex Browne Date: Thu, 7 Nov 2019 13:20:14 -0800 Subject: [PATCH 16/36] Update some libp2p deps --- Gopkg.lock | 38 +++++++++++++++++++++++--------------- Gopkg.toml | 7 +++---- 2 files changed, 26 insertions(+), 19 deletions(-) diff --git a/Gopkg.lock b/Gopkg.lock index 67ec6ffc1..e89c11299 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -265,7 +265,7 @@ version = "v1.0.2" [[projects]] - digest = "1:d0e00c8ccabdfe678667d6be78c9d08a6a4efc36d9fb596f098706728b00ba6b" + digest = "1:9964b22a5a8ffdb200ecc7c4abedb338f16408eb2ccc46e8e5a68a25e52037dd" name = "github.com/gogo/protobuf" packages = [ "gogoproto", @@ -274,8 +274,8 @@ "protoc-gen-gogo/descriptor", ] pruneopts = "UT" - revision = "ba06b47c162d49f2af050fb4c75bcbc86a159d5c" - version = "v1.2.1" + revision = "5628607bb4c51c3157aacc3a50f0ab707582b805" + version = "v1.3.1" [[projects]] digest = "1:500eb6e1e42991b51d2cc0c5bc9e47043f7eec8fe4a9b100b85abf49cfb910db" @@ -571,15 +571,15 @@ version = "v0.1.0" [[projects]] - digest = "1:7ad7340f9b43cabf2ad2461d99d3bab2a19e61f92f314c67eecc73b5c79a3f7d" + digest = "1:b46e5cfd6d2637c24ec445b7d915e99a29be97ebcf9b08ea0bf05380f0e45c98" name = "github.com/libp2p/go-libp2p-circuit" packages = [ ".", "pb", ] pruneopts = "UT" - revision = "03491354d59e3025f1807236d55fe0ec7b82cd15" - version = "v0.1.1" + revision = "61af9db0dd78e01e53b9fb044be44dcc7255667e" + version = "v0.1.4" [[projects]] digest = "1:791094f50065b4fb4cfd27ef423594e31d11c8205267355191a06becaefccb67" @@ -847,12 +847,12 @@ version = "v0.1.0" [[projects]] - digest = "1:9d32384c7a3a540d1211207cad7880b98a0450168b138648d92a9203c1865a18" + digest = "1:c9121a3bcb72cd6d2a84c1dc6a54a47c2a2c830ec8141f1024bf6f87ded9ed03" name = "github.com/libp2p/go-ws-transport" packages = ["."] pruneopts = "UT" - revision = "163cee1e07594cd148a9086cd3cce5f901e4dae9" - source = "github.com/0xProject/go-ws-transport" + revision = "8cca0dbc7f3533b122bd2cbeaa4a9b07c2913b9d" + version = "v0.1.2" [[projects]] digest = "1:64fdef1e970d17504d960d18412125e85ca620703e495105b3fbffee27acf568" @@ -932,20 +932,20 @@ version = "v0.0.3" [[projects]] - digest = "1:c95537699dfc9ecc62c2bb273fd2fdf5810ce23ed50f25529c17f755a052a7c3" + digest = "1:9c0e900fd1efc02fd7feeadb7d7db7744ee57f9e3eecb7e158b6ff1f09a63907" name = "github.com/multiformats/go-multiaddr" packages = ["."] pruneopts = "UT" - revision = "5b1de2f51ff2368d5ce94a659f15ef26be273cd0" - version = "v0.0.4" + revision = "64e34154803fd9bd07ef4c6480be117ec72e35fc" + version = "v0.1.2" [[projects]] - digest = "1:65af5b69e5762a2d6994976987442a0830c98d2a8ffbdd1c899443b4b0c0942e" + digest = "1:a2987033573b5613126cdc063851692f086c2fec096e003caa93ee79eb8be54e" name = "github.com/multiformats/go-multiaddr-dns" packages = ["."] pruneopts = "UT" - revision = "3974bf3f84c52825588fdcc0fd0e0aa7953ab5ff" - version = "v0.0.3" + revision = "aeb5743691b968cfa3365c9da59ef872a3133c87" + version = "v0.2.0" [[projects]] digest = "1:1275cf8587ba416c439453ee4b194b803270b836831c487b3da3cf9d82f58bb7" @@ -987,6 +987,14 @@ revision = "039807e4901c4b2041f40a0e4aa32d72939608aa" version = "v0.1.0" +[[projects]] + digest = "1:dd9dd64e4d3b2ba805ff282bac63a705b1f99d330b00885a303191460dc66a60" + name = "github.com/multiformats/go-varint" + packages = ["."] + pruneopts = "UT" + revision = "5fad25c55a589bef37064e53f268a5bf952ae779" + version = "v0.0.1" + [[projects]] branch = "master" digest = "1:7f728b11da089d6162d536b9adfe0d68abc9a6f277585d82f14601791ebaf9c2" diff --git a/Gopkg.toml b/Gopkg.toml index 50d571a25..6770b3caa 100644 --- a/Gopkg.toml +++ b/Gopkg.toml @@ -70,7 +70,7 @@ [[constraint]] name = "github.com/multiformats/go-multiaddr" - version = "0.0.4" + version = "0.1.2" [[constraint]] name = "github.com/libp2p/go-libp2p-pubsub" @@ -116,12 +116,11 @@ [[override]] name = "github.com/libp2p/go-ws-transport" - source = "github.com/0xProject/go-ws-transport" - revision = "163cee1e07594cd148a9086cd3cce5f901e4dae9" + version = "0.1.2" [[constraint]] name = "github.com/libp2p/go-libp2p-circuit" - version = "0.1.1" + version = "0.1.2" [[constraint]] name = "github.com/libp2p/go-libp2p-swarm" From d6cb3764dd4c9bde34883ffc22d79c3fe8d075e1 Mon Sep 17 00:00:00 2001 From: Alex Browne Date: Thu, 7 Nov 2019 13:20:42 -0800 Subject: [PATCH 17/36] Enforce bandwidth banning on relay hosts --- p2p/banner/banner.go | 16 ++++------- p2p/banner/banner_test.go | 58 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+), 11 deletions(-) create mode 100644 p2p/banner/banner_test.go diff --git a/p2p/banner/banner.go b/p2p/banner/banner.go index 71e1f252a..85c6b0145 100644 --- a/p2p/banner/banner.go +++ b/p2p/banner/banner.go @@ -5,7 +5,6 @@ import ( "errors" "fmt" "net" - "strings" "sync" "time" @@ -84,15 +83,10 @@ func (banner *Banner) ProtectIP(maddr ma.Multiaddr) error { func (banner *Banner) BanIP(maddr ma.Multiaddr) error { ipNet, err := ipNetFromMaddr(maddr) if err != nil { - // HACK(albrow) relay addresses don't include the full transport address - // (IP, port, etc) for older versions of libp2p-circuit. (See - // https://github.com/libp2p/go-libp2p/issues/723). As a temporary - // workaround, we no-op for relayed connections. We can remove this after - // updating our bootstrap nodes to the latest version. We detect relay - // addresses by looking for the /ipfs prefix. - if strings.HasPrefix(maddr.String(), "/ipfs") { - return nil - } + log.WithFields(log.Fields{ + "error": err.Error(), + "maddr": maddr.String(), + }).Error("could not get IP address from multiaddress") return err } banner.protectedIPsMut.RLock() @@ -203,7 +197,7 @@ func (banner *Banner) CheckBandwidthUsage() { "remoteMultiaddr": conn.RemoteMultiaddr().String(), "rateIn": stats.RateIn, "maxBytesPerSecond": banner.config.MaxBytesPerSecond, - }).Trace("would ban IP/multiaddress due to high bandwidth usage") + }).Error("banning IP/multiaddress due to high bandwidth usage") } // Banning the IP doesn't close the connection, so we do that // separately. ClosePeer closes all connections to the given peer. diff --git a/p2p/banner/banner_test.go b/p2p/banner/banner_test.go new file mode 100644 index 000000000..f6466c1d9 --- /dev/null +++ b/p2p/banner/banner_test.go @@ -0,0 +1,58 @@ +package banner + +import ( + "net" + "testing" + + ma "github.com/multiformats/go-multiaddr" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" +) + +func TestIPNetFromMaddr(t *testing.T) { + testCases := []struct { + maddr ma.Multiaddr + expected net.IPNet + }{ + { + maddr: newMaddr(t, "/ip4/159.65.4.82/tcp/60558"), + expected: net.IPNet{ + IP: net.IP{0x9f, 0x41, 0x4, 0x52}, + Mask: ipv4AllMask, + }, + }, + { + maddr: newMaddr(t, "/ip4/159.65.4.82/tcp/60558/ipfs/16Uiu2HAm9brLYhoM1wCTRtGRR7ZqXhk8kfEt6a2rSFSZpeV8eB7L/p2p-circuit"), + expected: net.IPNet{ + IP: net.IP{0x9f, 0x41, 0x4, 0x52}, + Mask: ipv4AllMask, + }, + }, + { + maddr: newMaddr(t, "/ip6/fe80:cd00:0000:0cde:1257:0000:211e:729c/tcp/60558"), + expected: net.IPNet{ + IP: net.IP{0xfe, 0x80, 0xcd, 0x0, 0x0, 0x0, 0xc, 0xde, 0x12, 0x57, 0x0, 0x0, 0x21, 0x1e, 0x72, 0x9c}, + Mask: ipv6AllMask, + }, + }, + { + maddr: newMaddr(t, "/ip6/fe80:cd00:0000:0cde:1257:0000:211e:729c/tcp/60558/ipfs/16Uiu2HAm9brLYhoM1wCTRtGRR7ZqXhk8kfEt6a2rSFSZpeV8eB7L/p2p-circuit"), + expected: net.IPNet{ + IP: net.IP{0xfe, 0x80, 0xcd, 0x0, 0x0, 0x0, 0xc, 0xde, 0x12, 0x57, 0x0, 0x0, 0x21, 0x1e, 0x72, 0x9c}, + Mask: ipv6AllMask, + }, + }, + } + + for i, tc := range testCases { + actual, err := ipNetFromMaddr(tc.maddr) + require.NoError(t, err, "test case %d (%s)", i, tc.maddr.String()) + assert.Equal(t, tc.expected, actual, "test case %d (%s)", i, tc.maddr.String()) + } +} + +func newMaddr(t *testing.T, s string) ma.Multiaddr { + maddr, err := ma.NewMultiaddr(s) + require.NoError(t, err) + return maddr +} From 5d654ac6e9a8287571bc050ecb72546fa2c5a223 Mon Sep 17 00:00:00 2001 From: Alex Browne Date: Thu, 7 Nov 2019 13:28:22 -0800 Subject: [PATCH 18/36] Update github.com/libp2p/go-ws-transport --- Gopkg.lock | 5 ++--- Gopkg.toml | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Gopkg.lock b/Gopkg.lock index e89c11299..8892bd0e9 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -847,12 +847,11 @@ version = "v0.1.0" [[projects]] - digest = "1:c9121a3bcb72cd6d2a84c1dc6a54a47c2a2c830ec8141f1024bf6f87ded9ed03" + digest = "1:6ea9a67637e5c396fcd4a1fbfd66d35cd30d1f8dbc68766151e1fd476059078b" name = "github.com/libp2p/go-ws-transport" packages = ["."] pruneopts = "UT" - revision = "8cca0dbc7f3533b122bd2cbeaa4a9b07c2913b9d" - version = "v0.1.2" + revision = "3098bba549e89efc42055199c2dca3d95ac70744" [[projects]] digest = "1:64fdef1e970d17504d960d18412125e85ca620703e495105b3fbffee27acf568" diff --git a/Gopkg.toml b/Gopkg.toml index 6770b3caa..d7bb1ae05 100644 --- a/Gopkg.toml +++ b/Gopkg.toml @@ -114,9 +114,9 @@ name = "github.com/libp2p/go-libp2p-discovery" version = "0.1.0" -[[override]] +[[constraint]] name = "github.com/libp2p/go-ws-transport" - version = "0.1.2" + revision = "3098bba549e89efc42055199c2dca3d95ac70744" [[constraint]] name = "github.com/libp2p/go-libp2p-circuit" From 091c5915bccec2f531ca51b0244c8aa580dc18a1 Mon Sep 17 00:00:00 2001 From: Alex Browne Date: Thu, 7 Nov 2019 13:33:49 -0800 Subject: [PATCH 19/36] Update CHANGELOG --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 51fbaa68b..8c36d80f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ 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. +## v6.0.1-beta + +### Bug fixes 🐞 + +- Fixed an oversight which granted immunity from bandwidth banning for any peer using a relayed connection ([#509](https://github.com/0xProject/0x-mesh/pull/509)). + + ## v6.0.0-beta ### Breaking changes 🛠 From dd5591ec26f330815d3c41fc73ce43ae0d93fc3d Mon Sep 17 00:00:00 2001 From: Alex Browne Date: Thu, 7 Nov 2019 13:35:14 -0800 Subject: [PATCH 20/36] Make bandwidth banning more lenient for false positives --- p2p/banner/banner.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/p2p/banner/banner.go b/p2p/banner/banner.go index 71e1f252a..6ead48e58 100644 --- a/p2p/banner/banner.go +++ b/p2p/banner/banner.go @@ -25,10 +25,10 @@ const ( violationsCacheSize = 1000 // violationsBeforeBan is the number of times a peer is allowed to violate the // bandwidth limits before being banned. - violationsBeforeBan = 4 + violationsBeforeBan = 10 // violationsTTL is the TTL for bandwidth violations. If a peer does not have // any violations during this timespan, their violation count will be reset. - violationsTTL = 6 * time.Hour + violationsTTL = 1 * time.Hour ) var ErrProtectedIP = errors.New("cannot ban protected IP address") From 8c8e2c32a15f891f450f6c71172692d002327100 Mon Sep 17 00:00:00 2001 From: Alex Browne Date: Thu, 7 Nov 2019 13:52:08 -0800 Subject: [PATCH 21/36] Add missing changelog entry --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c36d80f6..61368a49e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ This changelog is a work in progress and may contain notes for versions which ha ### Bug fixes 🐞 - Fixed an oversight which granted immunity from bandwidth banning for any peer using a relayed connection ([#509](https://github.com/0xProject/0x-mesh/pull/509)). +- Fixed a typo in the `@0x/mesh-browser` package that resulted in some config options not being passed through correctly ([#502](https://github.com/0xProject/0x-mesh/pull/502)). ## v6.0.0-beta From 76b689dbf22e78771ac6fc6b15df65eadefe89c7 Mon Sep 17 00:00:00 2001 From: Alex Browne Date: Thu, 7 Nov 2019 14:46:55 -0800 Subject: [PATCH 22/36] Enforce max message size in ratevalidator --- constants/constants.go | 4 +++ core/core.go | 4 +-- core/message_handler.go | 3 +- core/validation.go | 6 ++-- p2p/node.go | 12 ++++--- p2p/ratevalidator/validator.go | 9 +++++ p2p/ratevalidator/validator_test.go | 44 +++++++++++++++++++----- zeroex/ordervalidator/order_validator.go | 7 ++-- 8 files changed, 64 insertions(+), 25 deletions(-) diff --git a/constants/constants.go b/constants/constants.go index 551b394c6..2fef521f5 100644 --- a/constants/constants.go +++ b/constants/constants.go @@ -70,3 +70,7 @@ var UnlimitedExpirationTime *big.Int func init() { UnlimitedExpirationTime, _ = big.NewInt(0).SetString("115792089237316195423570985008687907853269984665640564039457584007913129639935", 10) } + +// MaxOrderSizeInBytes is the maximum number of bytes allowed for encoded orders. It +// is more than 10x the size of a typical ERC20 order to account for multiAsset orders. +const MaxOrderSizeInBytes = 8192 diff --git a/core/core.go b/core/core.go index f3e7ce226..06e7d7acb 100644 --- a/core/core.go +++ b/core/core.go @@ -181,8 +181,8 @@ func New(config Config) (*App, error) { } log.AddHook(loghooks.NewPeerIDHook(peerID)) - if config.EthereumRPCMaxContentLength < ordervalidator.MaxOrderSizeInBytes { - return nil, fmt.Errorf("Cannot set `EthereumRPCMaxContentLength` to be less then MaxOrderSizeInBytes: %d", ordervalidator.MaxOrderSizeInBytes) + if config.EthereumRPCMaxContentLength < constants.MaxOrderSizeInBytes { + return nil, fmt.Errorf("Cannot set `EthereumRPCMaxContentLength` to be less then MaxOrderSizeInBytes: %d", constants.MaxOrderSizeInBytes) } config = unquoteConfig(config) diff --git a/core/message_handler.go b/core/message_handler.go index c354b00e4..98efb312b 100644 --- a/core/message_handler.go +++ b/core/message_handler.go @@ -1,6 +1,7 @@ package core import ( + "github.com/0xProject/0x-mesh/constants" "github.com/0xProject/0x-mesh/meshdb" "github.com/0xProject/0x-mesh/p2p" "github.com/0xProject/0x-mesh/zeroex" @@ -105,7 +106,7 @@ func (app *App) HandleMessages(messages []*p2p.Message) error { log.WithFields(map[string]interface{}{ "error": err, "from": msg.From, - "maxOrderSizeInBytes": ordervalidator.MaxOrderSizeInBytes, + "maxOrderSizeInBytes": constants.MaxOrderSizeInBytes, "actualSizeInBytes": len(msg.Data), }).Trace("received message that exceeds maximum size") app.handlePeerScoreEvent(msg.From, psInvalidMessage) diff --git a/core/validation.go b/core/validation.go index 9ea2f49ad..246b4acc1 100644 --- a/core/validation.go +++ b/core/validation.go @@ -17,7 +17,7 @@ import ( "github.com/xeipuuv/gojsonschema" ) -var errMaxSize = fmt.Errorf("message exceeds maximum size of %d bytes", ordervalidator.MaxOrderSizeInBytes) +var errMaxSize = fmt.Errorf("message exceeds maximum size of %d bytes", constants.MaxOrderSizeInBytes) // JSON-schema schemas var ( @@ -214,7 +214,7 @@ func (app *App) validateOrders(orders []*zeroex.SignedOrder) (*ordervalidator.Va } func validateMessageSize(message *p2p.Message) error { - if len(message.Data) > ordervalidator.MaxOrderSizeInBytes { + if len(message.Data) > constants.MaxOrderSizeInBytes { return errMaxSize } return nil @@ -225,7 +225,7 @@ func validateOrderSize(order *zeroex.SignedOrder) error { if err != nil { return err } - if len(encoded) > ordervalidator.MaxOrderSizeInBytes { + if len(encoded) > constants.MaxOrderSizeInBytes { return errMaxSize } return nil diff --git a/p2p/node.go b/p2p/node.go index 9af1a534c..f6798a8bb 100644 --- a/p2p/node.go +++ b/p2p/node.go @@ -12,6 +12,7 @@ import ( "path/filepath" "time" + "github.com/0xProject/0x-mesh/constants" "github.com/0xProject/0x-mesh/p2p/banner" "github.com/0xProject/0x-mesh/p2p/ratevalidator" lru "github.com/hashicorp/golang-lru" @@ -240,11 +241,12 @@ func New(ctx context.Context, config Config) (*Node, error) { return nil, err } rateValidator, err := ratevalidator.New(ctx, ratevalidator.Config{ - MyPeerID: basicHost.ID(), - GlobalLimit: config.GlobalPubSubMessageLimit, - GlobalBurst: config.GlobalPubSubMessageBurst, - PerPeerLimit: config.PerPeerPubSubMessageLimit, - PerPeerBurst: config.PerPeerPubSubMessageBurst, + MyPeerID: basicHost.ID(), + GlobalLimit: config.GlobalPubSubMessageLimit, + GlobalBurst: config.GlobalPubSubMessageBurst, + PerPeerLimit: config.PerPeerPubSubMessageLimit, + PerPeerBurst: config.PerPeerPubSubMessageBurst, + MaxMessageSize: constants.MaxOrderSizeInBytes, }) if err != nil { return nil, err diff --git a/p2p/ratevalidator/validator.go b/p2p/ratevalidator/validator.go index ad070316c..13dd4aa18 100644 --- a/p2p/ratevalidator/validator.go +++ b/p2p/ratevalidator/validator.go @@ -53,6 +53,9 @@ type Config struct { // PerPeerBurst is the maximum number of messages that can be received at once // from each peer. PerPeerBurst int + // MaxMessageSize is the maximum size (in bytes) for a message. Any messages + // that exceed this size will be considered invalid. + MaxMessageSize int } // New creates and returns a new rate limiting validator. @@ -61,6 +64,8 @@ type Config struct { func New(ctx context.Context, config Config) (*Validator, error) { if config.MyPeerID.String() == "" { return nil, errors.New("config.MyPeerID is required") + } else if config.MaxMessageSize == 0 { + return nil, errors.New("config.MaxMessageSize is required") } validator := &Validator{ ctx: ctx, @@ -97,6 +102,10 @@ func (v *Validator) Validate(ctx context.Context, peerID peer.ID, msg *pubsub.Me return true } + if msg.Size() > v.config.MaxMessageSize { + return false + } + // Note: We check the per-peer rate limiter first so that peers who are // exceeding the limit do not contribute toward the global rate limit. peerLimiter, err := v.getOrCreateLimiterForPeer(peerID) diff --git a/p2p/ratevalidator/validator_test.go b/p2p/ratevalidator/validator_test.go index b0f86e46f..1db6e98e3 100644 --- a/p2p/ratevalidator/validator_test.go +++ b/p2p/ratevalidator/validator_test.go @@ -7,6 +7,7 @@ import ( "github.com/libp2p/go-libp2p-core/peer" pubsub "github.com/libp2p/go-libp2p-pubsub" + pb "github.com/libp2p/go-libp2p-pubsub/pb" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "golang.org/x/time/rate" @@ -34,10 +35,11 @@ func TestValidatorPerPeer(t *testing.T) { defer cancel() validator, err := New(ctx, Config{ - MyPeerID: peerIDs[0], - GlobalLimit: rate.Inf, - PerPeerLimit: 1, - PerPeerBurst: 5, + MyPeerID: peerIDs[0], + GlobalLimit: rate.Inf, + PerPeerLimit: 1, + PerPeerBurst: 5, + MaxMessageSize: 1024, }) require.NoError(t, err) @@ -74,11 +76,12 @@ func TestValidatorWithOwnPeerID(t *testing.T) { defer cancel() validator, err := New(ctx, Config{ - MyPeerID: peerIDs[0], - GlobalLimit: 1, - GlobalBurst: 1, - PerPeerLimit: 1, - PerPeerBurst: 1, + MyPeerID: peerIDs[0], + GlobalLimit: 1, + GlobalBurst: 1, + PerPeerLimit: 1, + PerPeerBurst: 1, + MaxMessageSize: 1024, }) require.NoError(t, err) @@ -89,3 +92,26 @@ func TestValidatorWithOwnPeerID(t *testing.T) { assert.True(t, valid, "message should be valid") } } + +func TestValidatorMaxMessageSize(t *testing.T) { + t.Parallel() + + ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second) + defer cancel() + + maxSize := 48 + validator, err := New(ctx, Config{ + MyPeerID: peerIDs[0], + GlobalLimit: rate.Inf, + PerPeerLimit: rate.Inf, + MaxMessageSize: maxSize, + }) + require.NoError(t, err) + + valid := validator.Validate(ctx, peerIDs[1], &pubsub.Message{ + Message: &pb.Message{ + Data: make([]byte, maxSize+1), + }, + }) + assert.False(t, valid, "message should be valid") +} diff --git a/zeroex/ordervalidator/order_validator.go b/zeroex/ordervalidator/order_validator.go index 7d0589995..468b1d442 100644 --- a/zeroex/ordervalidator/order_validator.go +++ b/zeroex/ordervalidator/order_validator.go @@ -13,6 +13,7 @@ import ( "sync" "time" + "github.com/0xProject/0x-mesh/constants" "github.com/0xProject/0x-mesh/ethereum" "github.com/0xProject/0x-mesh/ethereum/wrappers" "github.com/0xProject/0x-mesh/zeroex" @@ -92,10 +93,6 @@ type RejectedOrderStatus struct { Message string `json:"message"` } -// MaxOrderSizeInBytes is the maximum number of bytes allowed for encoded orders. It -// is more than 10x the size of a typical ERC20 order to account for multiAsset orders. -const MaxOrderSizeInBytes = 8192 - // RejectedOrderStatus values var ( ROEthRPCRequestFailed = RejectedOrderStatus{ @@ -160,7 +157,7 @@ var ( } ROMaxOrderSizeExceeded = RejectedOrderStatus{ Code: "MaxOrderSizeExceeded", - Message: fmt.Sprintf("order exceeds the maximum encoded size of %d bytes", MaxOrderSizeInBytes), + Message: fmt.Sprintf("order exceeds the maximum encoded size of %d bytes", constants.MaxOrderSizeInBytes), } ROOrderAlreadyStoredAndUnfillable = RejectedOrderStatus{ Code: "OrderAlreadyStoredAndUnfillable", From 93e571d7734e0e967b2fd860ac1ac0d335f51aa4 Mon Sep 17 00:00:00 2001 From: Alex Browne Date: Thu, 7 Nov 2019 18:36:50 -0800 Subject: [PATCH 23/36] Fix a link in the CHANGELOG --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 61368a49e..129d0d03b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -42,7 +42,7 @@ This changelog is a work in progress and may contain notes for versions which ha - The `getStats` RPC endpoint now includes a new field which accounts for the number of orders that have been marked as "removed" but not yet permanently deleted ([#461](https://github.com/0xProject/0x-mesh/pull/461)). - Improved historical order sharing using round-robin algorithm instead of random selection ([#454](https://github.com/0xProject/0x-mesh/pull/454)). This will reduce the warm-up time for receiving existing orders when first joining the network. - Added ERC1155 assetData support ([#453](https://github.com/0xProject/0x-mesh/pull/453)). This includes order watching and order events for orders involving ERC1155 tokens. -- Added Ability to specify custom contract addresses via the `CUSTOM_ADDRESSES` environment variable or the `customAddresses` field in the TypeScript bindings ([#451](https://github.com/0xProject/0x-mesh/pull/451)). +- Added Ability to specify custom contract addresses via the `CUSTOM_ADDRESSES` environment variable or the `customAddresses` field in the TypeScript bindings ([#445](https://github.com/0xProject/0x-mesh/pull/445)). ### Bug fixes 🐞 From 74cad2a8dfc08dfcb050653233418b35c3c62c90 Mon Sep 17 00:00:00 2001 From: fabioberger Date: Fri, 8 Nov 2019 14:23:41 +0000 Subject: [PATCH 24/36] Add regression test that will fail if we don't properly convert dates to UTC in rate limiter --- ethereum/ratelimit/rate_limiter_test.go | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/ethereum/ratelimit/rate_limiter_test.go b/ethereum/ratelimit/rate_limiter_test.go index 9d60d0e22..1c2abd15f 100644 --- a/ethereum/ratelimit/rate_limiter_test.go +++ b/ethereum/ratelimit/rate_limiter_test.go @@ -229,6 +229,28 @@ func TestScenario3(t *testing.T) { wg.Wait() } +// Scenario 4: Regression to test make sure that if local time is one day behind UTC time, the +// rate limiter still functions as expected. +func TestScenario4(t *testing.T) { + meshDB, err := meshdb.New("/tmp/meshdb_testing/" + uuid.New().String()) + require.NoError(t, err) + defer meshDB.Close() + + initMetadata(t, meshDB) + + aClock := clock.NewMock() + // Set timezone of Mock clock to `Pacific/Majuro` so that it's on the day before UTC + now := aClock.Now() + loc := time.FixedZone("UTC+12", 12*60*60) + aTime := time.Date(now.Year(), now.Month(), now.Day(), 0, 0, 0, 0, loc) + aClock.Set(aTime) + + // If we are not properly converting times to UTC, instantiation will fail with err + // `Wait(n=450000) exceeds limiter's burst 300000` + _, err = New(maxRequestsPer24HrsWithoutBuffer, maxRequestsPerSecond, meshDB, aClock) + require.NoError(t, err) +} + func initMetadata(t *testing.T, meshDB *meshdb.MeshDB) { metadata := &meshdb.Metadata{ EthereumChainID: 1337, From f23357a114d0a0060c2188e2c0eac0f1e9512a8c Mon Sep 17 00:00:00 2001 From: fabioberger Date: Fri, 8 Nov 2019 14:45:28 +0000 Subject: [PATCH 25/36] Add missing CHANGELOG entry for rate limiter bug --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 129d0d03b..f8444fc8d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ This changelog is a work in progress and may contain notes for versions which ha - Fixed an oversight which granted immunity from bandwidth banning for any peer using a relayed connection ([#509](https://github.com/0xProject/0x-mesh/pull/509)). - Fixed a typo in the `@0x/mesh-browser` package that resulted in some config options not being passed through correctly ([#502](https://github.com/0xProject/0x-mesh/pull/502)). +- Fixed a bug in ETH JSON-RPC rate limiter where not all dates were being properly converted to UTC, causing Mesh to malfunction if the local time was a day earlier or later than UTC. ([#505](https://github.com/0xProject/0x-mesh/pull/505)) ## v6.0.0-beta From fd5bc892377683ebace8401b7c6fc8e9cbabcbff Mon Sep 17 00:00:00 2001 From: fabioberger Date: Fri, 8 Nov 2019 16:14:09 +0000 Subject: [PATCH 26/36] Remove unnecessary conditional logic --- core/core.go | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/core/core.go b/core/core.go index c9cbd7038..618a7e861 100644 --- a/core/core.go +++ b/core/core.go @@ -190,15 +190,10 @@ func New(config Config) (*App, error) { // Ensure ETHEREUM_RPC_MAX_REQUESTS_PER_24_HR_UTC is reasonably set given BLOCK_POLLING_INTERVAL var per24HrPollingRequests int - if config.BlockPollingInterval > 1*time.Second { - perMinute := 60 / float64(config.BlockPollingInterval.Seconds()) - per24HrPollingRequests = int(perMinute * 60 * 24) - } else { - // HACK(fabio): Since we haven't upgraded to Golang 1.13 yet, we don't have access to - // duration.milliseconds(), so we do `duration / 1000000` for now - perSecond := 1000 / float64(config.BlockPollingInterval/1000000) - per24HrPollingRequests = int(perSecond * 60 * 60 * 24) - } + // HACK(fabio): Since we haven't upgraded to Golang 1.13 yet, we don't have access to + // duration.milliseconds(), so we do `duration / 1000000` for now + perSecond := 1000 / float64(config.BlockPollingInterval/1000000) + per24HrPollingRequests = int(perSecond * 60 * 60 * 24) minNumOfEthRPCRequestsIn24HrPeriod := per24HrPollingRequests + defaultNonPollingEthRPCRequestBuffer if minNumOfEthRPCRequestsIn24HrPeriod > config.EthereumRPCMaxRequestsPer24HrUTC { return nil, fmt.Errorf( From 89b014200c9b2487e1b0cdcea1a0b2706761fd9c Mon Sep 17 00:00:00 2001 From: fabioberger Date: Fri, 8 Nov 2019 16:14:14 +0000 Subject: [PATCH 27/36] Fix formatting --- core/core.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/core/core.go b/core/core.go index 618a7e861..c8503ee62 100644 --- a/core/core.go +++ b/core/core.go @@ -43,12 +43,12 @@ import ( ) const ( - blockWatcherRetentionLimit = 20 - ethereumRPCRequestTimeout = 30 * time.Second - peerConnectTimeout = 60 * time.Second - checkNewAddrInterval = 20 * time.Second - expirationPollingInterval = 50 * time.Millisecond - rateLimiterCheckpointInterval = 1 * time.Minute + blockWatcherRetentionLimit = 20 + ethereumRPCRequestTimeout = 30 * time.Second + peerConnectTimeout = 60 * time.Second + checkNewAddrInterval = 20 * time.Second + expirationPollingInterval = 50 * time.Millisecond + rateLimiterCheckpointInterval = 1 * time.Minute // Computed with default blockPollingInterval (5s), and EthereumRPCMaxRequestsPer24HrUTC (100k) defaultNonPollingEthRPCRequestBuffer = 82720 // logStatsInterval is how often to log stats for this node. From 025e498cbafdccd019e4bd627dcd36e1513f75a2 Mon Sep 17 00:00:00 2001 From: fabioberger Date: Fri, 8 Nov 2019 16:15:59 +0000 Subject: [PATCH 28/36] Merge declaration and instantiation --- core/core.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/core.go b/core/core.go index c8503ee62..ad9ab4e5d 100644 --- a/core/core.go +++ b/core/core.go @@ -189,11 +189,10 @@ func New(config Config) (*App, error) { config = unquoteConfig(config) // Ensure ETHEREUM_RPC_MAX_REQUESTS_PER_24_HR_UTC is reasonably set given BLOCK_POLLING_INTERVAL - var per24HrPollingRequests int // HACK(fabio): Since we haven't upgraded to Golang 1.13 yet, we don't have access to // duration.milliseconds(), so we do `duration / 1000000` for now perSecond := 1000 / float64(config.BlockPollingInterval/1000000) - per24HrPollingRequests = int(perSecond * 60 * 60 * 24) + per24HrPollingRequests := int(perSecond * 60 * 60 * 24) minNumOfEthRPCRequestsIn24HrPeriod := per24HrPollingRequests + defaultNonPollingEthRPCRequestBuffer if minNumOfEthRPCRequestsIn24HrPeriod > config.EthereumRPCMaxRequestsPer24HrUTC { return nil, fmt.Errorf( From 8a12e480d888e760d7a137e34105ea9218901ee9 Mon Sep 17 00:00:00 2001 From: fabioberger Date: Fri, 8 Nov 2019 18:10:22 +0000 Subject: [PATCH 29/36] Simplify per24HrPollingRequests calculation --- core/core.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/core/core.go b/core/core.go index ad9ab4e5d..3cfee31dc 100644 --- a/core/core.go +++ b/core/core.go @@ -189,10 +189,7 @@ func New(config Config) (*App, error) { config = unquoteConfig(config) // Ensure ETHEREUM_RPC_MAX_REQUESTS_PER_24_HR_UTC is reasonably set given BLOCK_POLLING_INTERVAL - // HACK(fabio): Since we haven't upgraded to Golang 1.13 yet, we don't have access to - // duration.milliseconds(), so we do `duration / 1000000` for now - perSecond := 1000 / float64(config.BlockPollingInterval/1000000) - per24HrPollingRequests := int(perSecond * 60 * 60 * 24) + per24HrPollingRequests := int((24 * time.Hour) / config.BlockPollingInterval) minNumOfEthRPCRequestsIn24HrPeriod := per24HrPollingRequests + defaultNonPollingEthRPCRequestBuffer if minNumOfEthRPCRequestsIn24HrPeriod > config.EthereumRPCMaxRequestsPer24HrUTC { return nil, fmt.Errorf( From 50266092b56e3389c64cd06a4b748549496070d1 Mon Sep 17 00:00:00 2001 From: Alex Browne Date: Fri, 8 Nov 2019 14:36:34 -0800 Subject: [PATCH 30/36] Update deployment guide with options more suitable for production --- docs/deployment.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/deployment.md b/docs/deployment.md index c7c7ba908..1eb042d0c 100644 --- a/docs/deployment.md +++ b/docs/deployment.md @@ -22,15 +22,14 @@ Make sure you have Docker installed. Then run: ```bash docker run \ --it \ ---rm \ +--restart unless-stopped \ -p 60557:60557 \ -p 60558:60558 \ -p 60559:60559 \ -e ETHEREUM_CHAIN_ID="1" \ -e ETHEREUM_RPC_URL="{your_ethereum_rpc_url}" \ -e VERBOSITY=5 \ --v {local_path_on_host_machine}/0x_mesh:/usr/mesh/0x_mesh +-v {local_path_on_host_machine}/0x_mesh:/usr/mesh/0x_mesh \ 0xorg/mesh:latest ``` From 2ee1b03a96e835dbee3b16cf259f4aaa0ef94a0d Mon Sep 17 00:00:00 2001 From: fabioberger Date: Fri, 8 Nov 2019 22:51:44 +0000 Subject: [PATCH 31/36] Remove specific number from comment and instead simply say "upwards" --- docs/deployment.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/deployment.md b/docs/deployment.md index 2794fb7e8..750be3291 100644 --- a/docs/deployment.md +++ b/docs/deployment.md @@ -43,7 +43,7 @@ machine where all Mesh-related data will be stored. - Ports 60557, 60558, and 60559 are the default ports used for the JSON RPC endpoint, communicating with peers over TCP, and communicating with peers over WebSockets, respectively. - In order to disable P2P order discovery and sharing, set `USE_BOOTSTRAP_LIST` to `false`. - Running a VPN may interfere with Mesh. If you are having difficulty connecting to peers, disable your VPN. -- If you are running against a POA testnet (e.g., Kovan), you might want to shorten the `BLOCK_POLLING_INTERVAL` since blocks are mined more frequently then on mainnet. If you do this, your node will use more Ethereum RPC calls, so you will also need to adjust the `ETHEREUM_RPC_MAX_REQUESTS_PER_24_HR_UTC` to around `380000` (*warning:* this will not fit within Infura's +- If you are running against a POA testnet (e.g., Kovan), you might want to shorten the `BLOCK_POLLING_INTERVAL` since blocks are mined more frequently then on mainnet. If you do this, your node will use more Ethereum RPC calls, so you will also need to adjust the `ETHEREUM_RPC_MAX_REQUESTS_PER_24_HR_UTC` upwards (*warning:* setting this higher than 100k won't fit into Infura's free tier). - If you want to run the mesh in "detached" mode, add the `-d` switch to the docker run command so that your console doesn't get blocked. From 57b55e4d1e5f70a7d71ae267916fa08d023dd24a Mon Sep 17 00:00:00 2001 From: Alex Browne Date: Fri, 8 Nov 2019 15:54:42 -0800 Subject: [PATCH 32/36] Update CHANGELOG to include fix for TypeScript RPC client --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f8444fc8d..e618d1e29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ This changelog is a work in progress and may contain notes for versions which ha - Fixed an oversight which granted immunity from bandwidth banning for any peer using a relayed connection ([#509](https://github.com/0xProject/0x-mesh/pull/509)). - Fixed a typo in the `@0x/mesh-browser` package that resulted in some config options not being passed through correctly ([#502](https://github.com/0xProject/0x-mesh/pull/502)). - Fixed a bug in ETH JSON-RPC rate limiter where not all dates were being properly converted to UTC, causing Mesh to malfunction if the local time was a day earlier or later than UTC. ([#505](https://github.com/0xProject/0x-mesh/pull/505)) +- Fixed a bug in the TypeScript RPC client that prevented orders from being added ([#514](https://github.com/0xProject/0x-mesh/pull/514)). ## v6.0.0-beta From 4d3376f8e772785597f88281e782cd7191bd36f5 Mon Sep 17 00:00:00 2001 From: fabioberger Date: Tue, 12 Nov 2019 10:35:55 +0000 Subject: [PATCH 33/36] Add stricter npmignore to browser package --- browser/.npmignore | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/browser/.npmignore b/browser/.npmignore index 6ddd12921..f87121f45 100644 --- a/browser/.npmignore +++ b/browser/.npmignore @@ -1,3 +1,6 @@ -go/ -wasm/ -scripts/ +# Blacklist all files +.* +* +# Whitelist lib +!lib/**/* +# Package specific ignore From de4b32ddc8a15494ac8e944a34afad3f092d28d3 Mon Sep 17 00:00:00 2001 From: fabioberger Date: Tue, 12 Nov 2019 10:36:07 +0000 Subject: [PATCH 34/36] Add npmignore to Mesh rpc client package --- rpc/clients/typescript/.npmignore | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 rpc/clients/typescript/.npmignore diff --git a/rpc/clients/typescript/.npmignore b/rpc/clients/typescript/.npmignore new file mode 100644 index 000000000..a0ad39549 --- /dev/null +++ b/rpc/clients/typescript/.npmignore @@ -0,0 +1,8 @@ +# Blacklist all files +.* +* +# Whitelist lib +!lib/**/* +# Blacklist tests and publish scripts +/lib/test/* +# Package specific ignore From af026678b85bd3e1c77ad2c8cfb9d8656c131466 Mon Sep 17 00:00:00 2001 From: Alex Browne Date: Thu, 7 Nov 2019 16:01:30 -0800 Subject: [PATCH 35/36] Use a bug fix in go-flow-metrics. See https://github.com/libp2p/go-libp2p-core/issues/65. --- Gopkg.lock | 5 ++--- Gopkg.toml | 8 +++++++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Gopkg.lock b/Gopkg.lock index 8892bd0e9..edebb8fcd 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -527,12 +527,11 @@ version = "v0.1.0" [[projects]] - digest = "1:83d3d59c84ff3da342ab63011d79750ccb987bda399eb64db3abd3e2fd32c18f" + digest = "1:1ffb29b986b15f06b10cab31b35ed95833425231da824467c4798763b56ffdfd" name = "github.com/libp2p/go-flow-metrics" packages = ["."] pruneopts = "UT" - revision = "1f5b3acc846b2c8ce4c4e713296af74f5c24df55" - version = "v0.0.1" + revision = "45424fab0a7cfaae9c5bdda0e590ee844c12b904" [[projects]] digest = "1:03c4382bfd9f7af55959d5cb0199aead9a6200cffbb0f6e64217c64d552d45c6" diff --git a/Gopkg.toml b/Gopkg.toml index d7bb1ae05..a0b20e921 100644 --- a/Gopkg.toml +++ b/Gopkg.toml @@ -87,7 +87,7 @@ [[override]] name = "github.com/gballet/go-libpcsclite" revision = "2fd9b619dd3c5d74acbd975f997a6441984d74a7" - [metadata] + [override.metadata] note = "go-ethereum depends on this package and they made a breaking API change" [[constraint]] @@ -141,3 +141,9 @@ [[constraint]] branch = "master" name = "github.com/benbjohnson/clock" + +[[override]] + name = "github.com/libp2p/go-flow-metrics" + revision = "45424fab0a7cfaae9c5bdda0e590ee844c12b904" + [override.metadata] + note = "Fixes an issue with libp2p BandwidthCounter. See https://github.com/libp2p/go-libp2p-core/issues/65" From f0ea8648d9f5997ef499853755b374bab51074e7 Mon Sep 17 00:00:00 2001 From: Alex Browne Date: Tue, 12 Nov 2019 13:46:21 -0800 Subject: [PATCH 36/36] Update version to 6.0.1-beta --- README.md | 2 +- browser/package.json | 2 +- core/core.go | 2 +- docs/browser/reference.md | 272 +++++----- docs/deployment.md | 2 +- docs/deployment_with_telemetry.md | 4 +- docs/json_rpc_clients/typescript/reference.md | 488 +++++++++--------- docs/rpc_api.md | 2 +- rpc/clients/typescript/package.json | 2 +- 9 files changed, 388 insertions(+), 388 deletions(-) diff --git a/README.md b/README.md index 1e2114afb..badb64219 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Version](https://img.shields.io/badge/version-6.0.0--beta-orange.svg)](https://github.com/0xProject/0x-mesh/releases) +[![Version](https://img.shields.io/badge/version-6.0.1--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 bb61b1d5d..d4c56a159 100644 --- a/browser/package.json +++ b/browser/package.json @@ -1,6 +1,6 @@ { "name": "@0x/mesh-browser", - "version": "6.0.0-beta", + "version": "6.0.1-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 1a0012ffd..305cabd40 100644 --- a/core/core.go +++ b/core/core.go @@ -53,7 +53,7 @@ const ( defaultNonPollingEthRPCRequestBuffer = 82720 // logStatsInterval is how often to log stats for this node. logStatsInterval = 5 * time.Minute - version = "6.0.0-beta" + version = "6.0.1-beta" ) // Note(albrow): The Config type is currently copied to browser/ts/index.ts. We diff --git a/docs/browser/reference.md b/docs/browser/reference.md index c1fbd1da1..42e99b44c 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:536](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L536)* +*Defined in [index.ts:538](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L538)* 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:610](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L610)* +*Defined in [index.ts:612](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L612)* 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:556](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L556)* +*Defined in [index.ts:558](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L558)* 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:571](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L571)* +*Defined in [index.ts:573](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L573)* 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:582](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L582)* +*Defined in [index.ts:584](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L584)* 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:402](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L402)* +*Defined in [index.ts:404](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L404)* ___ @@ -145,7 +145,7 @@ ___ • **Cancelled**: = "CANCELLED" -*Defined in [index.ts:405](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L405)* +*Defined in [index.ts:407](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L407)* ___ @@ -153,7 +153,7 @@ ___ • **Expired**: = "EXPIRED" -*Defined in [index.ts:406](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L406)* +*Defined in [index.ts:408](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L408)* ___ @@ -161,7 +161,7 @@ ___ • **FillabilityIncreased**: = "FILLABILITY_INCREASED" -*Defined in [index.ts:408](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L408)* +*Defined in [index.ts:410](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L410)* ___ @@ -169,7 +169,7 @@ ___ • **Filled**: = "FILLED" -*Defined in [index.ts:403](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L403)* +*Defined in [index.ts:405](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L405)* ___ @@ -177,7 +177,7 @@ ___ • **FullyFilled**: = "FULLY_FILLED" -*Defined in [index.ts:404](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L404)* +*Defined in [index.ts:406](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L406)* ___ @@ -185,7 +185,7 @@ ___ • **Invalid**: = "INVALID" -*Defined in [index.ts:401](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L401)* +*Defined in [index.ts:403](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L403)* ___ @@ -193,7 +193,7 @@ ___ • **StoppedWatching**: = "STOPPED_WATCHING" -*Defined in [index.ts:409](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L409)* +*Defined in [index.ts:411](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L411)* ___ @@ -201,7 +201,7 @@ ___ • **Unfunded**: = "UNFUNDED" -*Defined in [index.ts:407](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L407)* +*Defined in [index.ts:409](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L409)*
@@ -216,7 +216,7 @@ A set of categories for rejected orders. • **CoordinatorError**: = "COORDINATOR_ERROR" -*Defined in [index.ts:490](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L490)* +*Defined in [index.ts:492](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L492)* ___ @@ -224,7 +224,7 @@ ___ • **MeshError**: = "MESH_ERROR" -*Defined in [index.ts:488](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L488)* +*Defined in [index.ts:490](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L490)* ___ @@ -232,7 +232,7 @@ ___ • **MeshValidation**: = "MESH_VALIDATION" -*Defined in [index.ts:489](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L489)* +*Defined in [index.ts:491](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L491)* ___ @@ -240,7 +240,7 @@ ___ • **ZeroExValidation**: = "ZEROEX_VALIDATION" -*Defined in [index.ts:487](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L487)* +*Defined in [index.ts:489](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L489)*
@@ -253,7 +253,7 @@ ___ • **Debug**: = 5 -*Defined in [index.ts:116](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L116)* +*Defined in [index.ts:118](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L118)* ___ @@ -261,7 +261,7 @@ ___ • **Error**: = 2 -*Defined in [index.ts:113](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L113)* +*Defined in [index.ts:115](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L115)* ___ @@ -269,7 +269,7 @@ ___ • **Fatal**: = 1 -*Defined in [index.ts:112](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L112)* +*Defined in [index.ts:114](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L114)* ___ @@ -277,7 +277,7 @@ ___ • **Info**: = 4 -*Defined in [index.ts:115](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L115)* +*Defined in [index.ts:117](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L117)* ___ @@ -285,7 +285,7 @@ ___ • **Panic**: = 0 -*Defined in [index.ts:111](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L111)* +*Defined in [index.ts:113](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L113)* ___ @@ -293,7 +293,7 @@ ___ • **Trace**: = 6 -*Defined in [index.ts:117](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L117)* +*Defined in [index.ts:119](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L119)* ___ @@ -301,7 +301,7 @@ ___ • **Warn**: = 3 -*Defined in [index.ts:114](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L114)* +*Defined in [index.ts:116](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L116)*
@@ -320,7 +320,7 @@ Info for any orders that were accepted. • **fillableTakerAssetAmount**: *BigNumber* -*Defined in [index.ts:468](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L468)* +*Defined in [index.ts:470](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L470)* ___ @@ -328,7 +328,7 @@ ___ • **isNew**: *boolean* -*Defined in [index.ts:469](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L469)* +*Defined in [index.ts:471](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L471)* ___ @@ -336,7 +336,7 @@ ___ • **orderHash**: *string* -*Defined in [index.ts:466](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L466)* +*Defined in [index.ts:468](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L468)* ___ @@ -344,7 +344,7 @@ ___ • **signedOrder**: *SignedOrder* -*Defined in [index.ts:467](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L467)* +*Defined in [index.ts:469](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L469)*
@@ -359,27 +359,11 @@ A set of configuration options for Mesh. ### Properties -## `Optional` EthereumRPCMaxRequestsPer24HrUTC - -• **EthereumRPCMaxRequestsPer24HrUTC**? : *undefined | number* - -*Defined in [index.ts:69](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L69)* - -___ - -## `Optional` EthereumRPCMaxRequestsPerSecond - -• **EthereumRPCMaxRequestsPerSecond**? : *undefined | number* - -*Defined in [index.ts:74](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L74)* - -___ - ## `Optional` blockPollingIntervalSeconds • **blockPollingIntervalSeconds**? : *undefined | number* -*Defined in [index.ts:56](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L56)* +*Defined in [index.ts:56](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L56)* ___ @@ -387,7 +371,7 @@ ___ • **bootstrapList**? : *string[]* -*Defined in [index.ts:49](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L49)* +*Defined in [index.ts:49](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L49)* ___ @@ -395,7 +379,7 @@ ___ • **customContractAddresses**? : *[ContractAddresses](#class-contractaddresses)* -*Defined in [index.ts:90](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L90)* +*Defined in [index.ts:92](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L92)* ___ @@ -403,7 +387,7 @@ ___ • **ethereumChainID**: *number* -*Defined in [index.ts:41](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L41)* +*Defined in [index.ts:41](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L41)* ___ @@ -411,7 +395,23 @@ ___ • **ethereumRPCMaxContentLength**? : *undefined | number* -*Defined in [index.ts:65](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L65)* +*Defined in [index.ts:65](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L65)* + +___ + +## `Optional` ethereumRPCMaxRequestsPer24HrUTC + +• **ethereumRPCMaxRequestsPer24HrUTC**? : *undefined | number* + +*Defined in [index.ts:70](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L70)* + +___ + +## `Optional` ethereumRPCMaxRequestsPerSecond + +• **ethereumRPCMaxRequestsPerSecond**? : *undefined | number* + +*Defined in [index.ts:76](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L76)* ___ @@ -419,7 +419,7 @@ ___ • **ethereumRPCURL**: *string* -*Defined in [index.ts:38](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L38)* +*Defined in [index.ts:38](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L38)* ___ @@ -427,7 +427,7 @@ ___ • **maxOrdersInStorage**? : *undefined | number* -*Defined in [index.ts:95](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L95)* +*Defined in [index.ts:97](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L97)* ___ @@ -435,7 +435,7 @@ ___ • **useBootstrapList**? : *undefined | false | true* -*Defined in [index.ts:44](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L44)* +*Defined in [index.ts:44](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L44)* ___ @@ -443,7 +443,7 @@ ___ • **verbosity**? : *[Verbosity](#enumeration-verbosity)* -*Defined in [index.ts:35](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L35)* +*Defined in [index.ts:35](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L35)*
@@ -460,7 +460,7 @@ ___ • **coordinator**? : *undefined | string* -*Defined in [index.ts:104](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L104)* +*Defined in [index.ts:106](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L106)* ___ @@ -468,7 +468,7 @@ ___ • **coordinatorRegistry**? : *undefined | string* -*Defined in [index.ts:105](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L105)* +*Defined in [index.ts:107](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L107)* ___ @@ -476,7 +476,7 @@ ___ • **devUtils**: *string* -*Defined in [index.ts:100](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L100)* +*Defined in [index.ts:102](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L102)* ___ @@ -484,7 +484,7 @@ ___ • **erc1155Proxy**: *string* -*Defined in [index.ts:103](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L103)* +*Defined in [index.ts:105](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L105)* ___ @@ -492,7 +492,7 @@ ___ • **erc20Proxy**: *string* -*Defined in [index.ts:101](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L101)* +*Defined in [index.ts:103](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L103)* ___ @@ -500,7 +500,7 @@ ___ • **erc721Proxy**: *string* -*Defined in [index.ts:102](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L102)* +*Defined in [index.ts:104](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L104)* ___ @@ -508,7 +508,7 @@ ___ • **exchange**: *string* -*Defined in [index.ts:99](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L99)* +*Defined in [index.ts:101](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L101)* ___ @@ -516,7 +516,7 @@ ___ • **weth9**? : *undefined | string* -*Defined in [index.ts:106](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L106)* +*Defined in [index.ts:108](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L108)* ___ @@ -524,7 +524,7 @@ ___ • **zrxToken**? : *undefined | string* -*Defined in [index.ts:107](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L107)* +*Defined in [index.ts:109](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L109)*
@@ -541,7 +541,7 @@ ___ • **address**: *string* -*Defined in [index.ts:383](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L383)* +*Defined in [index.ts:385](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L385)* ___ @@ -549,7 +549,7 @@ ___ • **blockHash**: *string* -*Defined in [index.ts:378](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L378)* +*Defined in [index.ts:380](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L380)* ___ @@ -557,7 +557,7 @@ ___ • **isRemoved**: *string* -*Defined in [index.ts:382](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L382)* +*Defined in [index.ts:384](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L384)* ___ @@ -565,7 +565,7 @@ ___ • **kind**: *ContractEventKind* -*Defined in [index.ts:384](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L384)* +*Defined in [index.ts:386](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L386)* ___ @@ -573,7 +573,7 @@ ___ • **logIndex**: *number* -*Defined in [index.ts:381](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L381)* +*Defined in [index.ts:383](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L383)* ___ @@ -581,7 +581,7 @@ ___ • **parameters**: *ContractEventParameters* -*Defined in [index.ts:385](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L385)* +*Defined in [index.ts:387](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L387)* ___ @@ -589,7 +589,7 @@ ___ • **txHash**: *string* -*Defined in [index.ts:379](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L379)* +*Defined in [index.ts:381](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L381)* ___ @@ -597,7 +597,7 @@ ___ • **txIndex**: *number* -*Defined in [index.ts:380](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L380)* +*Defined in [index.ts:382](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L382)*
@@ -614,7 +614,7 @@ ___ • **approved**: *boolean* -*Defined in [index.ts:259](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L259)* +*Defined in [index.ts:261](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L261)* ___ @@ -622,7 +622,7 @@ ___ • **operator**: *string* -*Defined in [index.ts:258](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L258)* +*Defined in [index.ts:260](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L260)* ___ @@ -630,7 +630,7 @@ ___ • **owner**: *string* -*Defined in [index.ts:257](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L257)* +*Defined in [index.ts:259](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L259)*
@@ -647,7 +647,7 @@ ___ • **from**: *string* -*Defined in [index.ts:242](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L242)* +*Defined in [index.ts:244](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L244)* ___ @@ -655,7 +655,7 @@ ___ • **ids**: *BigNumber[]* -*Defined in [index.ts:244](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L244)* +*Defined in [index.ts:246](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L246)* ___ @@ -663,7 +663,7 @@ ___ • **operator**: *string* -*Defined in [index.ts:241](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L241)* +*Defined in [index.ts:243](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L243)* ___ @@ -671,7 +671,7 @@ ___ • **to**: *string* -*Defined in [index.ts:243](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L243)* +*Defined in [index.ts:245](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L245)* ___ @@ -679,7 +679,7 @@ ___ • **values**: *BigNumber[]* -*Defined in [index.ts:245](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L245)* +*Defined in [index.ts:247](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L247)*
@@ -696,7 +696,7 @@ ___ • **from**: *string* -*Defined in [index.ts:226](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L226)* +*Defined in [index.ts:228](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L228)* ___ @@ -704,7 +704,7 @@ ___ • **id**: *BigNumber* -*Defined in [index.ts:228](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L228)* +*Defined in [index.ts:230](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L230)* ___ @@ -712,7 +712,7 @@ ___ • **operator**: *string* -*Defined in [index.ts:225](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L225)* +*Defined in [index.ts:227](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L227)* ___ @@ -720,7 +720,7 @@ ___ • **to**: *string* -*Defined in [index.ts:227](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L227)* +*Defined in [index.ts:229](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L229)* ___ @@ -728,7 +728,7 @@ ___ • **value**: *BigNumber* -*Defined in [index.ts:229](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L229)* +*Defined in [index.ts:231](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L231)*
@@ -745,7 +745,7 @@ ___ • **owner**: *string* -*Defined in [index.ts:183](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L183)* +*Defined in [index.ts:185](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L185)* ___ @@ -753,7 +753,7 @@ ___ • **spender**: *string* -*Defined in [index.ts:184](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L184)* +*Defined in [index.ts:186](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L186)* ___ @@ -761,7 +761,7 @@ ___ • **value**: *BigNumber* -*Defined in [index.ts:185](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L185)* +*Defined in [index.ts:187](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L187)*
@@ -778,7 +778,7 @@ ___ • **from**: *string* -*Defined in [index.ts:171](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L171)* +*Defined in [index.ts:173](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L173)* ___ @@ -786,7 +786,7 @@ ___ • **to**: *string* -*Defined in [index.ts:172](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L172)* +*Defined in [index.ts:174](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L174)* ___ @@ -794,7 +794,7 @@ ___ • **value**: *BigNumber* -*Defined in [index.ts:173](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L173)* +*Defined in [index.ts:175](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L175)*
@@ -811,7 +811,7 @@ ___ • **approved**: *string* -*Defined in [index.ts:208](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L208)* +*Defined in [index.ts:210](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L210)* ___ @@ -819,7 +819,7 @@ ___ • **owner**: *string* -*Defined in [index.ts:207](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L207)* +*Defined in [index.ts:209](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L209)* ___ @@ -827,7 +827,7 @@ ___ • **tokenId**: *BigNumber* -*Defined in [index.ts:209](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L209)* +*Defined in [index.ts:211](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L211)*
@@ -844,7 +844,7 @@ ___ • **approved**: *boolean* -*Defined in [index.ts:221](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L221)* +*Defined in [index.ts:223](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L223)* ___ @@ -852,7 +852,7 @@ ___ • **operator**: *string* -*Defined in [index.ts:220](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L220)* +*Defined in [index.ts:222](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L222)* ___ @@ -860,7 +860,7 @@ ___ • **owner**: *string* -*Defined in [index.ts:219](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L219)* +*Defined in [index.ts:221](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L221)*
@@ -877,7 +877,7 @@ ___ • **from**: *string* -*Defined in [index.ts:195](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L195)* +*Defined in [index.ts:197](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L197)* ___ @@ -885,7 +885,7 @@ ___ • **to**: *string* -*Defined in [index.ts:196](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L196)* +*Defined in [index.ts:198](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L198)* ___ @@ -893,7 +893,7 @@ ___ • **tokenId**: *BigNumber* -*Defined in [index.ts:197](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L197)* +*Defined in [index.ts:199](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L199)*
@@ -910,7 +910,7 @@ ___ • **feeRecipientAddress**: *string* -*Defined in [index.ts:293](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L293)* +*Defined in [index.ts:295](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L295)* ___ @@ -918,7 +918,7 @@ ___ • **makerAddress**: *string* -*Defined in [index.ts:291](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L291)* +*Defined in [index.ts:293](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L293)* ___ @@ -926,7 +926,7 @@ ___ • **makerAssetData**: *string* -*Defined in [index.ts:295](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L295)* +*Defined in [index.ts:297](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L297)* ___ @@ -934,7 +934,7 @@ ___ • **orderHash**: *string* -*Defined in [index.ts:294](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L294)* +*Defined in [index.ts:296](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L296)* ___ @@ -942,7 +942,7 @@ ___ • **senderAddress**: *string* -*Defined in [index.ts:292](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L292)* +*Defined in [index.ts:294](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L294)* ___ @@ -950,7 +950,7 @@ ___ • **takerAssetData**: *string* -*Defined in [index.ts:296](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L296)* +*Defined in [index.ts:298](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L298)*
@@ -967,7 +967,7 @@ ___ • **makerAddress**: *string* -*Defined in [index.ts:300](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L300)* +*Defined in [index.ts:302](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L302)* ___ @@ -975,7 +975,7 @@ ___ • **orderEpoch**: *BigNumber* -*Defined in [index.ts:302](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L302)* +*Defined in [index.ts:304](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L304)* ___ @@ -983,7 +983,7 @@ ___ • **senderAddress**: *string* -*Defined in [index.ts:301](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L301)* +*Defined in [index.ts:303](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L303)*
@@ -1000,7 +1000,7 @@ ___ • **feeRecipientAddress**: *string* -*Defined in [index.ts:266](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L266)* +*Defined in [index.ts:268](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L268)* ___ @@ -1008,7 +1008,7 @@ ___ • **makerAddress**: *string* -*Defined in [index.ts:263](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L263)* +*Defined in [index.ts:265](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L265)* ___ @@ -1016,7 +1016,7 @@ ___ • **makerAssetData**: *string* -*Defined in [index.ts:272](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L272)* +*Defined in [index.ts:274](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L274)* ___ @@ -1024,7 +1024,7 @@ ___ • **makerAssetFilledAmount**: *BigNumber* -*Defined in [index.ts:267](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L267)* +*Defined in [index.ts:269](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L269)* ___ @@ -1032,7 +1032,7 @@ ___ • **makerFeePaid**: *BigNumber* -*Defined in [index.ts:269](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L269)* +*Defined in [index.ts:271](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L271)* ___ @@ -1040,7 +1040,7 @@ ___ • **orderHash**: *string* -*Defined in [index.ts:271](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L271)* +*Defined in [index.ts:273](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L273)* ___ @@ -1048,7 +1048,7 @@ ___ • **senderAddress**: *string* -*Defined in [index.ts:265](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L265)* +*Defined in [index.ts:267](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L267)* ___ @@ -1056,7 +1056,7 @@ ___ • **takerAddress**: *string* -*Defined in [index.ts:264](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L264)* +*Defined in [index.ts:266](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L266)* ___ @@ -1064,7 +1064,7 @@ ___ • **takerAssetData**: *string* -*Defined in [index.ts:273](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L273)* +*Defined in [index.ts:275](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L275)* ___ @@ -1072,7 +1072,7 @@ ___ • **takerAssetFilledAmount**: *BigNumber* -*Defined in [index.ts:268](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L268)* +*Defined in [index.ts:270](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L270)* ___ @@ -1080,7 +1080,7 @@ ___ • **takerFeePaid**: *BigNumber* -*Defined in [index.ts:270](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L270)* +*Defined in [index.ts:272](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L272)*
@@ -1100,7 +1100,7 @@ or filled. • **contractEvents**: *[ContractEvent](#class-contractevent)[]* -*Defined in [index.ts:429](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L429)* +*Defined in [index.ts:431](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L431)* ___ @@ -1108,7 +1108,7 @@ ___ • **endState**: *[OrderEventEndState](#enumeration-ordereventendstate)* -*Defined in [index.ts:427](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L427)* +*Defined in [index.ts:429](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L429)* ___ @@ -1116,7 +1116,7 @@ ___ • **fillableTakerAssetAmount**: *BigNumber* -*Defined in [index.ts:428](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L428)* +*Defined in [index.ts:430](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L430)* ___ @@ -1124,7 +1124,7 @@ ___ • **orderHash**: *string* -*Defined in [index.ts:425](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L425)* +*Defined in [index.ts:427](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L427)* ___ @@ -1132,7 +1132,7 @@ ___ • **signedOrder**: *SignedOrder* -*Defined in [index.ts:426](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L426)* +*Defined in [index.ts:428](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L428)*
@@ -1152,7 +1152,7 @@ rejected. • **kind**: *[RejectedOrderKind](#enumeration-rejectedorderkind)* -*Defined in [index.ts:479](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L479)* +*Defined in [index.ts:481](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L481)* ___ @@ -1160,7 +1160,7 @@ ___ • **orderHash**: *string* -*Defined in [index.ts:477](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L477)* +*Defined in [index.ts:479](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L479)* ___ @@ -1168,7 +1168,7 @@ ___ • **signedOrder**: *SignedOrder* -*Defined in [index.ts:478](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L478)* +*Defined in [index.ts:480](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L480)* ___ @@ -1176,7 +1176,7 @@ ___ • **status**: *[RejectedOrderStatus](#class-rejectedorderstatus)* -*Defined in [index.ts:480](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L480)* +*Defined in [index.ts:482](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L482)*
@@ -1195,7 +1195,7 @@ Provides more information about why an order was rejected. • **code**: *string* -*Defined in [index.ts:497](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L497)* +*Defined in [index.ts:499](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L499)* ___ @@ -1203,7 +1203,7 @@ ___ • **message**: *string* -*Defined in [index.ts:498](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L498)* +*Defined in [index.ts:500](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L500)*
@@ -1222,7 +1222,7 @@ Indicates which orders where accepted, which were rejected, and why. • **accepted**: *[AcceptedOrderInfo](#class-acceptedorderinfo)[]* -*Defined in [index.ts:458](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L458)* +*Defined in [index.ts:460](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L460)* ___ @@ -1230,7 +1230,7 @@ ___ • **rejected**: *[RejectedOrderInfo](#class-rejectedorderinfo)[]* -*Defined in [index.ts:459](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L459)* +*Defined in [index.ts:461](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L461)*
@@ -1247,7 +1247,7 @@ ___ • **owner**: *string* -*Defined in [index.ts:322](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L322)* +*Defined in [index.ts:324](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L324)* ___ @@ -1255,7 +1255,7 @@ ___ • **value**: *BigNumber* -*Defined in [index.ts:323](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L323)* +*Defined in [index.ts:325](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L325)*
@@ -1272,7 +1272,7 @@ ___ • **owner**: *string* -*Defined in [index.ts:312](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L312)* +*Defined in [index.ts:314](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L314)* ___ @@ -1280,7 +1280,7 @@ ___ • **value**: *BigNumber* -*Defined in [index.ts:313](https://github.com/0xProject/0x-mesh/blob/7d5a102/browser/ts/index.ts#L313)* +*Defined in [index.ts:315](https://github.com/0xProject/0x-mesh/blob/0240f5d/browser/ts/index.ts#L315)*
diff --git a/docs/deployment.md b/docs/deployment.md index c82ad4e27..cfbdc7956 100644 --- a/docs/deployment.md +++ b/docs/deployment.md @@ -1,4 +1,4 @@ -[![Version](https://img.shields.io/badge/version-6.0.0--beta-orange.svg)](https://github.com/0xProject/0x-mesh/releases) +[![Version](https://img.shields.io/badge/version-6.0.1--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 dcc60cf13..8bf592a77 100644 --- a/docs/deployment_with_telemetry.md +++ b/docs/deployment_with_telemetry.md @@ -1,4 +1,4 @@ -[![Version](https://img.shields.io/badge/version-6.0.0--beta-orange.svg)](https://github.com/0xProject/0x-mesh/releases) +[![Version](https://img.shields.io/badge/version-6.0.1--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:6.0.0-beta + image: 0xorg/mesh:6.0.1-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 2a7abfe04..37915059e 100644 --- a/docs/json_rpc_clients/typescript/reference.md +++ b/docs/json_rpc_clients/typescript/reference.md @@ -30,7 +30,7 @@ websocket endpoint. \+ **new WSClient**(`url`: string, `wsOpts?`: [WSOpts](#interface-wsopts)): *[WSClient](#class-wsclient)* -*Defined in [ws_client.ts:222](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/ws_client.ts#L222)* +*Defined in [ws_client.ts:222](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/ws_client.ts#L222)* Instantiates a new WSClient instance @@ -51,7 +51,7 @@ An instance of WSClient ▸ **addOrdersAsync**(`signedOrders`: `SignedOrder`[], `pinned`: boolean): *`Promise`* -*Defined in [ws_client.ts:251](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/ws_client.ts#L251)* +*Defined in [ws_client.ts:251](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/ws_client.ts#L251)* Adds an array of 0x signed orders to the Mesh node. @@ -72,7 +72,7 @@ ___ ▸ **destroy**(): *void* -*Defined in [ws_client.ts:366](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/ws_client.ts#L366)* +*Defined in [ws_client.ts:366](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/ws_client.ts#L366)* destroy unsubscribes all active subscriptions, closes the websocket connection and stops the internal heartbeat connection liveness check. @@ -85,7 +85,7 @@ ___ ▸ **getOrdersAsync**(`perPage`: number): *`Promise`* -*Defined in [ws_client.ts:281](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/ws_client.ts#L281)* +*Defined in [ws_client.ts:281](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/ws_client.ts#L281)* Get all 0x signed orders currently stored in the Mesh node @@ -105,7 +105,7 @@ ___ ▸ **getStatsAsync**(): *`Promise`* -*Defined in [ws_client.ts:272](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/ws_client.ts#L272)* +*Defined in [ws_client.ts:272](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/ws_client.ts#L272)* **Returns:** *`Promise`* @@ -115,7 +115,7 @@ ___ ▸ **onClose**(`cb`: function): *void* -*Defined in [ws_client.ts:348](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/ws_client.ts#L348)* +*Defined in [ws_client.ts:348](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/ws_client.ts#L348)* 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 +136,7 @@ ___ ▸ **onReconnected**(`cb`: function): *void* -*Defined in [ws_client.ts:357](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/ws_client.ts#L357)* +*Defined in [ws_client.ts:357](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/ws_client.ts#L357)* Get notified when a connection to the underlying WS connection is re-established @@ -156,7 +156,7 @@ ___ ▸ **subscribeToOrdersAsync**(`cb`: function): *`Promise`* -*Defined in [ws_client.ts:309](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/ws_client.ts#L309)* +*Defined in [ws_client.ts:309](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/ws_client.ts#L309)* 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 +185,7 @@ ___ ▸ **unsubscribeAsync**(`subscriptionId`: string): *`Promise`* -*Defined in [ws_client.ts:338](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/ws_client.ts#L338)* +*Defined in [ws_client.ts:338](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/ws_client.ts#L338)* Unsubscribe from a subscription @@ -225,7 +225,7 @@ Name | Type | Description | • **ERC1155ApprovalForAllEvent**: = "ERC1155ApprovalForAllEvent" -*Defined in [types.ts:220](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L220)* +*Defined in [types.ts:220](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L220)* ___ @@ -233,7 +233,7 @@ ___ • **ERC1155TransferBatchEvent**: = "ERC1155TransferBatchEvent" -*Defined in [types.ts:222](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L222)* +*Defined in [types.ts:222](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L222)* ___ @@ -241,7 +241,7 @@ ___ • **ERC1155TransferSingleEvent**: = "ERC1155TransferSingleEvent" -*Defined in [types.ts:221](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L221)* +*Defined in [types.ts:221](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L221)* ___ @@ -249,7 +249,7 @@ ___ • **ERC20ApprovalEvent**: = "ERC20ApprovalEvent" -*Defined in [types.ts:216](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L216)* +*Defined in [types.ts:216](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L216)* ___ @@ -257,7 +257,7 @@ ___ • **ERC20TransferEvent**: = "ERC20TransferEvent" -*Defined in [types.ts:215](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L215)* +*Defined in [types.ts:215](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L215)* ___ @@ -265,7 +265,7 @@ ___ • **ERC721ApprovalEvent**: = "ERC721ApprovalEvent" -*Defined in [types.ts:218](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L218)* +*Defined in [types.ts:218](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L218)* ___ @@ -273,7 +273,7 @@ ___ • **ERC721ApprovalForAllEvent**: = "ERC721ApprovalForAllEvent" -*Defined in [types.ts:219](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L219)* +*Defined in [types.ts:219](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L219)* ___ @@ -281,7 +281,7 @@ ___ • **ERC721TransferEvent**: = "ERC721TransferEvent" -*Defined in [types.ts:217](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L217)* +*Defined in [types.ts:217](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L217)* ___ @@ -289,7 +289,7 @@ ___ • **ExchangeCancelEvent**: = "ExchangeCancelEvent" -*Defined in [types.ts:224](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L224)* +*Defined in [types.ts:224](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L224)* ___ @@ -297,7 +297,7 @@ ___ • **ExchangeCancelUpToEvent**: = "ExchangeCancelUpToEvent" -*Defined in [types.ts:225](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L225)* +*Defined in [types.ts:225](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L225)* ___ @@ -305,7 +305,7 @@ ___ • **ExchangeFillEvent**: = "ExchangeFillEvent" -*Defined in [types.ts:223](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L223)* +*Defined in [types.ts:223](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L223)* ___ @@ -313,7 +313,7 @@ ___ • **WethDepositEvent**: = "WethDepositEvent" -*Defined in [types.ts:226](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L226)* +*Defined in [types.ts:226](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L226)* ___ @@ -321,7 +321,7 @@ ___ • **WethWithdrawalEvent**: = "WethWithdrawalEvent" -*Defined in [types.ts:227](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L227)* +*Defined in [types.ts:227](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L227)*
@@ -346,7 +346,7 @@ ___ • **Added**: = "ADDED" -*Defined in [types.ts:284](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L284)* +*Defined in [types.ts:284](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L284)* ___ @@ -354,7 +354,7 @@ ___ • **Cancelled**: = "CANCELLED" -*Defined in [types.ts:287](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L287)* +*Defined in [types.ts:287](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L287)* ___ @@ -362,7 +362,7 @@ ___ • **Expired**: = "EXPIRED" -*Defined in [types.ts:288](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L288)* +*Defined in [types.ts:288](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L288)* ___ @@ -370,7 +370,7 @@ ___ • **FillabilityIncreased**: = "FILLABILITY_INCREASED" -*Defined in [types.ts:290](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L290)* +*Defined in [types.ts:290](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L290)* ___ @@ -378,7 +378,7 @@ ___ • **Filled**: = "FILLED" -*Defined in [types.ts:285](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L285)* +*Defined in [types.ts:285](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L285)* ___ @@ -386,7 +386,7 @@ ___ • **FullyFilled**: = "FULLY_FILLED" -*Defined in [types.ts:286](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L286)* +*Defined in [types.ts:286](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L286)* ___ @@ -394,7 +394,7 @@ ___ • **Invalid**: = "INVALID" -*Defined in [types.ts:283](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L283)* +*Defined in [types.ts:283](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L283)* ___ @@ -402,7 +402,7 @@ ___ • **Unfunded**: = "UNFUNDED" -*Defined in [types.ts:289](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L289)* +*Defined in [types.ts:289](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L289)*
@@ -433,7 +433,7 @@ ___ • **InternalError**: = "InternalError" -*Defined in [types.ts:352](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L352)* +*Defined in [types.ts:352](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L352)* ___ @@ -441,7 +441,7 @@ ___ • **MaxOrderSizeExceeded**: = "MaxOrderSizeExceeded" -*Defined in [types.ts:353](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L353)* +*Defined in [types.ts:353](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L353)* ___ @@ -449,7 +449,7 @@ ___ • **NetworkRequestFailed**: = "NetworkRequestFailed" -*Defined in [types.ts:356](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L356)* +*Defined in [types.ts:356](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L356)* ___ @@ -457,7 +457,7 @@ ___ • **OrderAlreadyStored**: = "OrderAlreadyStored" -*Defined in [types.ts:354](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L354)* +*Defined in [types.ts:354](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L354)* ___ @@ -465,7 +465,7 @@ ___ • **OrderCancelled**: = "OrderCancelled" -*Defined in [types.ts:361](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L361)* +*Defined in [types.ts:361](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L361)* ___ @@ -473,7 +473,7 @@ ___ • **OrderExpired**: = "OrderExpired" -*Defined in [types.ts:359](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L359)* +*Defined in [types.ts:359](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L359)* ___ @@ -481,7 +481,7 @@ ___ • **OrderForIncorrectChain**: = "OrderForIncorrectChain" -*Defined in [types.ts:355](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L355)* +*Defined in [types.ts:355](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L355)* ___ @@ -489,7 +489,7 @@ ___ • **OrderFullyFilled**: = "OrderFullyFilled" -*Defined in [types.ts:360](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L360)* +*Defined in [types.ts:360](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L360)* ___ @@ -497,7 +497,7 @@ ___ • **OrderHasInvalidMakerAssetAmount**: = "OrderHasInvalidMakerAssetAmount" -*Defined in [types.ts:357](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L357)* +*Defined in [types.ts:357](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L357)* ___ @@ -505,7 +505,7 @@ ___ • **OrderHasInvalidMakerAssetData**: = "OrderHasInvalidMakerAssetData" -*Defined in [types.ts:363](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L363)* +*Defined in [types.ts:363](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L363)* ___ @@ -513,7 +513,7 @@ ___ • **OrderHasInvalidSignature**: = "OrderHasInvalidSignature" -*Defined in [types.ts:365](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L365)* +*Defined in [types.ts:365](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L365)* ___ @@ -521,7 +521,7 @@ ___ • **OrderHasInvalidTakerAssetAmount**: = "OrderHasInvalidTakerAssetAmount" -*Defined in [types.ts:358](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L358)* +*Defined in [types.ts:358](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L358)* ___ @@ -529,7 +529,7 @@ ___ • **OrderHasInvalidTakerAssetData**: = "OrderHasInvalidTakerAssetData" -*Defined in [types.ts:364](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L364)* +*Defined in [types.ts:364](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L364)* ___ @@ -537,7 +537,7 @@ ___ • **OrderUnfunded**: = "OrderUnfunded" -*Defined in [types.ts:362](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L362)* +*Defined in [types.ts:362](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L362)*
@@ -557,7 +557,7 @@ ___ • **MeshError**: = "MESH_ERROR" -*Defined in [types.ts:347](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L347)* +*Defined in [types.ts:347](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L347)* ___ @@ -565,7 +565,7 @@ ___ • **MeshValidation**: = "MESH_VALIDATION" -*Defined in [types.ts:348](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L348)* +*Defined in [types.ts:348](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L348)* ___ @@ -573,7 +573,7 @@ ___ • **ZeroexValidation**: = "ZEROEX_VALIDATION" -*Defined in [types.ts:346](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L346)* +*Defined in [types.ts:346](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L346)*
@@ -598,7 +598,7 @@ ___ • **fillableTakerAssetAmount**: *`BigNumber`* -*Defined in [types.ts:329](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L329)* +*Defined in [types.ts:329](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L329)* ___ @@ -606,7 +606,7 @@ ___ • **isNew**: *boolean* -*Defined in [types.ts:330](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L330)* +*Defined in [types.ts:330](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L330)* ___ @@ -614,7 +614,7 @@ ___ • **orderHash**: *string* -*Defined in [types.ts:327](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L327)* +*Defined in [types.ts:327](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L327)* ___ @@ -622,7 +622,7 @@ ___ • **signedOrder**: *`SignedOrder`* -*Defined in [types.ts:328](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L328)* +*Defined in [types.ts:328](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L328)*
@@ -654,7 +654,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/7d5a102/rpc/clients/typescript/src/types.ts#L14)* +*Defined in [types.ts:14](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L14)* ___ @@ -662,7 +662,7 @@ ___ • **closeTimeout**? : *undefined | number* -*Defined in [types.ts:15](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L15)* +*Defined in [types.ts:15](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L15)* ___ @@ -670,7 +670,7 @@ ___ • **fragmentOutgoingMessages**? : *undefined | false | true* -*Defined in [types.ts:12](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L12)* +*Defined in [types.ts:12](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L12)* ___ @@ -678,7 +678,7 @@ ___ • **fragmentationThreshold**? : *undefined | number* -*Defined in [types.ts:13](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L13)* +*Defined in [types.ts:13](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L13)* ___ @@ -686,7 +686,7 @@ ___ • **maxReceivedFrameSize**? : *undefined | number* -*Defined in [types.ts:10](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L10)* +*Defined in [types.ts:10](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L10)* ___ @@ -694,7 +694,7 @@ ___ • **maxReceivedMessageSize**? : *undefined | number* -*Defined in [types.ts:11](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L11)* +*Defined in [types.ts:11](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L11)* ___ @@ -702,7 +702,7 @@ ___ • **tlsOptions**? : *any* -*Defined in [types.ts:16](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L16)* +*Defined in [types.ts:16](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L16)* ___ @@ -710,7 +710,7 @@ ___ • **webSocketVersion**? : *undefined | number* -*Defined in [types.ts:9](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L9)* +*Defined in [types.ts:9](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L9)*
@@ -739,7 +739,7 @@ ___ • **address**: *string* -*Defined in [types.ts:277](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L277)* +*Defined in [types.ts:277](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L277)* ___ @@ -747,7 +747,7 @@ ___ • **blockHash**: *string* -*Defined in [types.ts:272](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L272)* +*Defined in [types.ts:272](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L272)* ___ @@ -755,7 +755,7 @@ ___ • **isRemoved**: *string* -*Defined in [types.ts:276](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L276)* +*Defined in [types.ts:276](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L276)* ___ @@ -763,7 +763,7 @@ ___ • **kind**: *[ContractEventKind](#enumeration-contracteventkind)* -*Defined in [types.ts:278](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L278)* +*Defined in [types.ts:278](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L278)* ___ @@ -771,7 +771,7 @@ ___ • **logIndex**: *number* -*Defined in [types.ts:275](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L275)* +*Defined in [types.ts:275](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L275)* ___ @@ -779,7 +779,7 @@ ___ • **parameters**: *[ContractEventParameters](#contracteventparameters)* -*Defined in [types.ts:279](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L279)* +*Defined in [types.ts:279](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L279)* ___ @@ -787,7 +787,7 @@ ___ • **txHash**: *string* -*Defined in [types.ts:273](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L273)* +*Defined in [types.ts:273](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L273)* ___ @@ -795,7 +795,7 @@ ___ • **txIndex**: *number* -*Defined in [types.ts:274](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L274)* +*Defined in [types.ts:274](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L274)*
@@ -819,7 +819,7 @@ ___ • **approved**: *boolean* -*Defined in [types.ts:142](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L142)* +*Defined in [types.ts:142](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L142)* ___ @@ -827,7 +827,7 @@ ___ • **operator**: *string* -*Defined in [types.ts:141](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L141)* +*Defined in [types.ts:141](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L141)* ___ @@ -835,7 +835,7 @@ ___ • **owner**: *string* -*Defined in [types.ts:140](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L140)* +*Defined in [types.ts:140](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L140)*
@@ -861,7 +861,7 @@ ___ • **from**: *string* -*Defined in [types.ts:125](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L125)* +*Defined in [types.ts:125](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L125)* ___ @@ -869,7 +869,7 @@ ___ • **ids**: *`BigNumber`[]* -*Defined in [types.ts:127](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L127)* +*Defined in [types.ts:127](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L127)* ___ @@ -877,7 +877,7 @@ ___ • **operator**: *string* -*Defined in [types.ts:124](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L124)* +*Defined in [types.ts:124](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L124)* ___ @@ -885,7 +885,7 @@ ___ • **to**: *string* -*Defined in [types.ts:126](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L126)* +*Defined in [types.ts:126](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L126)* ___ @@ -893,7 +893,7 @@ ___ • **values**: *`BigNumber`[]* -*Defined in [types.ts:128](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L128)* +*Defined in [types.ts:128](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L128)*
@@ -919,7 +919,7 @@ ___ • **from**: *string* -*Defined in [types.ts:109](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L109)* +*Defined in [types.ts:109](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L109)* ___ @@ -927,7 +927,7 @@ ___ • **id**: *`BigNumber`* -*Defined in [types.ts:111](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L111)* +*Defined in [types.ts:111](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L111)* ___ @@ -935,7 +935,7 @@ ___ • **operator**: *string* -*Defined in [types.ts:108](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L108)* +*Defined in [types.ts:108](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L108)* ___ @@ -943,7 +943,7 @@ ___ • **to**: *string* -*Defined in [types.ts:110](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L110)* +*Defined in [types.ts:110](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L110)* ___ @@ -951,7 +951,7 @@ ___ • **value**: *`BigNumber`* -*Defined in [types.ts:112](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L112)* +*Defined in [types.ts:112](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L112)*
@@ -975,7 +975,7 @@ ___ • **owner**: *string* -*Defined in [types.ts:66](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L66)* +*Defined in [types.ts:66](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L66)* ___ @@ -983,7 +983,7 @@ ___ • **spender**: *string* -*Defined in [types.ts:67](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L67)* +*Defined in [types.ts:67](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L67)* ___ @@ -991,7 +991,7 @@ ___ • **value**: *`BigNumber`* -*Defined in [types.ts:68](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L68)* +*Defined in [types.ts:68](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L68)*
@@ -1015,7 +1015,7 @@ ___ • **from**: *string* -*Defined in [types.ts:54](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L54)* +*Defined in [types.ts:54](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L54)* ___ @@ -1023,7 +1023,7 @@ ___ • **to**: *string* -*Defined in [types.ts:55](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L55)* +*Defined in [types.ts:55](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L55)* ___ @@ -1031,7 +1031,7 @@ ___ • **value**: *`BigNumber`* -*Defined in [types.ts:56](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L56)* +*Defined in [types.ts:56](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L56)*
@@ -1055,7 +1055,7 @@ ___ • **approved**: *string* -*Defined in [types.ts:91](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L91)* +*Defined in [types.ts:91](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L91)* ___ @@ -1063,7 +1063,7 @@ ___ • **owner**: *string* -*Defined in [types.ts:90](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L90)* +*Defined in [types.ts:90](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L90)* ___ @@ -1071,7 +1071,7 @@ ___ • **tokenId**: *`BigNumber`* -*Defined in [types.ts:92](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L92)* +*Defined in [types.ts:92](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L92)*
@@ -1095,7 +1095,7 @@ ___ • **approved**: *boolean* -*Defined in [types.ts:104](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L104)* +*Defined in [types.ts:104](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L104)* ___ @@ -1103,7 +1103,7 @@ ___ • **operator**: *string* -*Defined in [types.ts:103](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L103)* +*Defined in [types.ts:103](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L103)* ___ @@ -1111,7 +1111,7 @@ ___ • **owner**: *string* -*Defined in [types.ts:102](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L102)* +*Defined in [types.ts:102](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L102)*
@@ -1135,7 +1135,7 @@ ___ • **from**: *string* -*Defined in [types.ts:78](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L78)* +*Defined in [types.ts:78](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L78)* ___ @@ -1143,7 +1143,7 @@ ___ • **to**: *string* -*Defined in [types.ts:79](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L79)* +*Defined in [types.ts:79](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L79)* ___ @@ -1151,7 +1151,7 @@ ___ • **tokenId**: *`BigNumber`* -*Defined in [types.ts:80](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L80)* +*Defined in [types.ts:80](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L80)*
@@ -1178,7 +1178,7 @@ ___ • **feeRecipientAddress**: *string* -*Defined in [types.ts:176](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L176)* +*Defined in [types.ts:176](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L176)* ___ @@ -1186,7 +1186,7 @@ ___ • **makerAddress**: *string* -*Defined in [types.ts:174](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L174)* +*Defined in [types.ts:174](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L174)* ___ @@ -1194,7 +1194,7 @@ ___ • **makerAssetData**: *string* -*Defined in [types.ts:178](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L178)* +*Defined in [types.ts:178](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L178)* ___ @@ -1202,7 +1202,7 @@ ___ • **orderHash**: *string* -*Defined in [types.ts:177](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L177)* +*Defined in [types.ts:177](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L177)* ___ @@ -1210,7 +1210,7 @@ ___ • **senderAddress**: *string* -*Defined in [types.ts:175](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L175)* +*Defined in [types.ts:175](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L175)* ___ @@ -1218,7 +1218,7 @@ ___ • **takerAssetData**: *string* -*Defined in [types.ts:179](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L179)* +*Defined in [types.ts:179](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L179)*
@@ -1242,7 +1242,7 @@ ___ • **makerAddress**: *string* -*Defined in [types.ts:183](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L183)* +*Defined in [types.ts:183](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L183)* ___ @@ -1250,7 +1250,7 @@ ___ • **orderEpoch**: *`BigNumber`* -*Defined in [types.ts:185](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L185)* +*Defined in [types.ts:185](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L185)* ___ @@ -1258,7 +1258,7 @@ ___ • **senderAddress**: *string* -*Defined in [types.ts:184](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L184)* +*Defined in [types.ts:184](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L184)*
@@ -1290,7 +1290,7 @@ ___ • **feeRecipientAddress**: *string* -*Defined in [types.ts:149](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L149)* +*Defined in [types.ts:149](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L149)* ___ @@ -1298,7 +1298,7 @@ ___ • **makerAddress**: *string* -*Defined in [types.ts:146](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L146)* +*Defined in [types.ts:146](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L146)* ___ @@ -1306,7 +1306,7 @@ ___ • **makerAssetData**: *string* -*Defined in [types.ts:155](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L155)* +*Defined in [types.ts:155](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L155)* ___ @@ -1314,7 +1314,7 @@ ___ • **makerAssetFilledAmount**: *`BigNumber`* -*Defined in [types.ts:150](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L150)* +*Defined in [types.ts:150](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L150)* ___ @@ -1322,7 +1322,7 @@ ___ • **makerFeePaid**: *`BigNumber`* -*Defined in [types.ts:152](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L152)* +*Defined in [types.ts:152](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L152)* ___ @@ -1330,7 +1330,7 @@ ___ • **orderHash**: *string* -*Defined in [types.ts:154](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L154)* +*Defined in [types.ts:154](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L154)* ___ @@ -1338,7 +1338,7 @@ ___ • **senderAddress**: *string* -*Defined in [types.ts:148](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L148)* +*Defined in [types.ts:148](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L148)* ___ @@ -1346,7 +1346,7 @@ ___ • **takerAddress**: *string* -*Defined in [types.ts:147](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L147)* +*Defined in [types.ts:147](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L147)* ___ @@ -1354,7 +1354,7 @@ ___ • **takerAssetData**: *string* -*Defined in [types.ts:156](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L156)* +*Defined in [types.ts:156](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L156)* ___ @@ -1362,7 +1362,7 @@ ___ • **takerAssetFilledAmount**: *`BigNumber`* -*Defined in [types.ts:151](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L151)* +*Defined in [types.ts:151](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L151)* ___ @@ -1370,7 +1370,7 @@ ___ • **takerFeePaid**: *`BigNumber`* -*Defined in [types.ts:153](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L153)* +*Defined in [types.ts:153](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L153)*
@@ -1393,7 +1393,7 @@ ___ • **ordersInfos**: *[RawAcceptedOrderInfo](#interface-rawacceptedorderinfo)[]* -*Defined in [types.ts:399](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L399)* +*Defined in [types.ts:399](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L399)* ___ @@ -1401,7 +1401,7 @@ ___ • **snapshotID**: *string* -*Defined in [types.ts:398](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L398)* +*Defined in [types.ts:398](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L398)*
@@ -1436,7 +1436,7 @@ ___ • **ethRPCRateLimitExpiredRequests**: *number* -*Defined in [types.ts:426](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L426)* +*Defined in [types.ts:426](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L426)* ___ @@ -1444,7 +1444,7 @@ ___ • **ethRPCRequestsSentInCurrentUTCDay**: *number* -*Defined in [types.ts:425](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L425)* +*Defined in [types.ts:425](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L425)* ___ @@ -1452,7 +1452,7 @@ ___ • **ethereumChainID**: *number* -*Defined in [types.ts:417](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L417)* +*Defined in [types.ts:417](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L417)* ___ @@ -1460,7 +1460,7 @@ ___ • **latestBlock**: *[LatestBlock](#interface-latestblock)* -*Defined in [types.ts:418](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L418)* +*Defined in [types.ts:418](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L418)* ___ @@ -1468,7 +1468,7 @@ ___ • **maxExpirationTime**: *string* -*Defined in [types.ts:423](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L423)* +*Defined in [types.ts:423](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L423)* ___ @@ -1476,7 +1476,7 @@ ___ • **numOrders**: *number* -*Defined in [types.ts:420](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L420)* +*Defined in [types.ts:420](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L420)* ___ @@ -1484,7 +1484,7 @@ ___ • **numOrdersIncludingRemoved**: *number* -*Defined in [types.ts:421](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L421)* +*Defined in [types.ts:421](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L421)* ___ @@ -1492,7 +1492,7 @@ ___ • **numPeers**: *number* -*Defined in [types.ts:419](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L419)* +*Defined in [types.ts:419](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L419)* ___ @@ -1500,7 +1500,7 @@ ___ • **numPinnedOrders**: *number* -*Defined in [types.ts:422](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L422)* +*Defined in [types.ts:422](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L422)* ___ @@ -1508,7 +1508,7 @@ ___ • **peerID**: *string* -*Defined in [types.ts:416](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L416)* +*Defined in [types.ts:416](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L416)* ___ @@ -1516,7 +1516,7 @@ ___ • **pubSubTopic**: *string* -*Defined in [types.ts:414](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L414)* +*Defined in [types.ts:414](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L414)* ___ @@ -1524,7 +1524,7 @@ ___ • **rendezvous**: *string* -*Defined in [types.ts:415](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L415)* +*Defined in [types.ts:415](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L415)* ___ @@ -1532,7 +1532,7 @@ ___ • **startOfCurrentUTCDay**: *string* -*Defined in [types.ts:424](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L424)* +*Defined in [types.ts:424](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L424)* ___ @@ -1540,7 +1540,7 @@ ___ • **version**: *string* -*Defined in [types.ts:413](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L413)* +*Defined in [types.ts:413](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L413)*
@@ -1563,7 +1563,7 @@ ___ • **result**: *string* -*Defined in [types.ts:300](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L300)* +*Defined in [types.ts:300](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L300)* ___ @@ -1571,7 +1571,7 @@ ___ • **subscription**: *string* -*Defined in [types.ts:299](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L299)* +*Defined in [types.ts:299](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L299)*
@@ -1594,7 +1594,7 @@ ___ • **hash**: *string* -*Defined in [types.ts:409](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L409)* +*Defined in [types.ts:409](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L409)* ___ @@ -1602,7 +1602,7 @@ ___ • **number**: *number* -*Defined in [types.ts:408](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L408)* +*Defined in [types.ts:408](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L408)*
@@ -1628,7 +1628,7 @@ ___ • **contractEvents**: *[ContractEvent](#interface-contractevent)[]* -*Defined in [types.ts:316](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L316)* +*Defined in [types.ts:316](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L316)* ___ @@ -1636,7 +1636,7 @@ ___ • **endState**: *[OrderEventEndState](#enumeration-ordereventendstate)* -*Defined in [types.ts:314](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L314)* +*Defined in [types.ts:314](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L314)* ___ @@ -1644,7 +1644,7 @@ ___ • **fillableTakerAssetAmount**: *`BigNumber`* -*Defined in [types.ts:315](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L315)* +*Defined in [types.ts:315](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L315)* ___ @@ -1652,7 +1652,7 @@ ___ • **orderHash**: *string* -*Defined in [types.ts:312](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L312)* +*Defined in [types.ts:312](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L312)* ___ @@ -1660,7 +1660,7 @@ ___ • **signedOrder**: *`SignedOrder`* -*Defined in [types.ts:313](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L313)* +*Defined in [types.ts:313](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L313)*
@@ -1683,7 +1683,7 @@ ___ • **result**: *[RawOrderEvent](#interface-raworderevent)[]* -*Defined in [types.ts:295](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L295)* +*Defined in [types.ts:295](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L295)* ___ @@ -1691,7 +1691,7 @@ ___ • **subscription**: *string* -*Defined in [types.ts:294](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L294)* +*Defined in [types.ts:294](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L294)*
@@ -1715,7 +1715,7 @@ ___ • **fillableTakerAssetAmount**: *`BigNumber`* -*Defined in [types.ts:342](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L342)* +*Defined in [types.ts:342](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L342)* ___ @@ -1723,7 +1723,7 @@ ___ • **orderHash**: *string* -*Defined in [types.ts:340](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L340)* +*Defined in [types.ts:340](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L340)* ___ @@ -1731,7 +1731,7 @@ ___ • **signedOrder**: *`SignedOrder`* -*Defined in [types.ts:341](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L341)* +*Defined in [types.ts:341](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L341)*
@@ -1756,7 +1756,7 @@ ___ • **fillableTakerAssetAmount**: *string* -*Defined in [types.ts:322](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L322)* +*Defined in [types.ts:322](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L322)* ___ @@ -1764,7 +1764,7 @@ ___ • **isNew**: *boolean* -*Defined in [types.ts:323](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L323)* +*Defined in [types.ts:323](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L323)* ___ @@ -1772,7 +1772,7 @@ ___ • **orderHash**: *string* -*Defined in [types.ts:320](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L320)* +*Defined in [types.ts:320](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L320)* ___ @@ -1780,7 +1780,7 @@ ___ • **signedOrder**: *[StringifiedSignedOrder](#interface-stringifiedsignedorder)* -*Defined in [types.ts:321](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L321)* +*Defined in [types.ts:321](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L321)*
@@ -1806,7 +1806,7 @@ ___ • **contractEvents**: *[StringifiedContractEvent](#interface-stringifiedcontractevent)[]* -*Defined in [types.ts:308](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L308)* +*Defined in [types.ts:308](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L308)* ___ @@ -1814,7 +1814,7 @@ ___ • **endState**: *[OrderEventEndState](#enumeration-ordereventendstate)* -*Defined in [types.ts:306](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L306)* +*Defined in [types.ts:306](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L306)* ___ @@ -1822,7 +1822,7 @@ ___ • **fillableTakerAssetAmount**: *string* -*Defined in [types.ts:307](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L307)* +*Defined in [types.ts:307](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L307)* ___ @@ -1830,7 +1830,7 @@ ___ • **orderHash**: *string* -*Defined in [types.ts:304](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L304)* +*Defined in [types.ts:304](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L304)* ___ @@ -1838,7 +1838,7 @@ ___ • **signedOrder**: *[StringifiedSignedOrder](#interface-stringifiedsignedorder)* -*Defined in [types.ts:305](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L305)* +*Defined in [types.ts:305](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L305)*
@@ -1862,7 +1862,7 @@ ___ • **fillableTakerAssetAmount**: *string* -*Defined in [types.ts:336](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L336)* +*Defined in [types.ts:336](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L336)* ___ @@ -1870,7 +1870,7 @@ ___ • **orderHash**: *string* -*Defined in [types.ts:334](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L334)* +*Defined in [types.ts:334](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L334)* ___ @@ -1878,7 +1878,7 @@ ___ • **signedOrder**: *[StringifiedSignedOrder](#interface-stringifiedsignedorder)* -*Defined in [types.ts:335](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L335)* +*Defined in [types.ts:335](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L335)*
@@ -1903,7 +1903,7 @@ ___ • **kind**: *[RejectedKind](#enumeration-rejectedkind)* -*Defined in [types.ts:376](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L376)* +*Defined in [types.ts:376](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L376)* ___ @@ -1911,7 +1911,7 @@ ___ • **orderHash**: *string* -*Defined in [types.ts:374](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L374)* +*Defined in [types.ts:374](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L374)* ___ @@ -1919,7 +1919,7 @@ ___ • **signedOrder**: *[StringifiedSignedOrder](#interface-stringifiedsignedorder)* -*Defined in [types.ts:375](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L375)* +*Defined in [types.ts:375](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L375)* ___ @@ -1927,7 +1927,7 @@ ___ • **status**: *[RejectedStatus](#interface-rejectedstatus)* -*Defined in [types.ts:377](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L377)* +*Defined in [types.ts:377](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L377)*
@@ -1950,7 +1950,7 @@ ___ • **accepted**: *[RawAcceptedOrderInfo](#interface-rawacceptedorderinfo)[]* -*Defined in [types.ts:388](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L388)* +*Defined in [types.ts:388](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L388)* ___ @@ -1958,7 +1958,7 @@ ___ • **rejected**: *[RawRejectedOrderInfo](#interface-rawrejectedorderinfo)[]* -*Defined in [types.ts:389](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L389)* +*Defined in [types.ts:389](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L389)*
@@ -1983,7 +1983,7 @@ ___ • **kind**: *[RejectedKind](#enumeration-rejectedkind)* -*Defined in [types.ts:383](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L383)* +*Defined in [types.ts:383](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L383)* ___ @@ -1991,7 +1991,7 @@ ___ • **orderHash**: *string* -*Defined in [types.ts:381](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L381)* +*Defined in [types.ts:381](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L381)* ___ @@ -1999,7 +1999,7 @@ ___ • **signedOrder**: *`SignedOrder`* -*Defined in [types.ts:382](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L382)* +*Defined in [types.ts:382](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L382)* ___ @@ -2007,7 +2007,7 @@ ___ • **status**: *[RejectedStatus](#interface-rejectedstatus)* -*Defined in [types.ts:384](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L384)* +*Defined in [types.ts:384](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L384)*
@@ -2030,7 +2030,7 @@ ___ • **code**: *[RejectedCode](#enumeration-rejectedcode)* -*Defined in [types.ts:369](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L369)* +*Defined in [types.ts:369](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L369)* ___ @@ -2038,7 +2038,7 @@ ___ • **message**: *string* -*Defined in [types.ts:370](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L370)* +*Defined in [types.ts:370](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L370)*
@@ -2067,7 +2067,7 @@ ___ • **address**: *string* -*Defined in [types.ts:251](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L251)* +*Defined in [types.ts:251](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L251)* ___ @@ -2075,7 +2075,7 @@ ___ • **blockHash**: *string* -*Defined in [types.ts:246](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L246)* +*Defined in [types.ts:246](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L246)* ___ @@ -2083,7 +2083,7 @@ ___ • **isRemoved**: *string* -*Defined in [types.ts:250](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L250)* +*Defined in [types.ts:250](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L250)* ___ @@ -2091,7 +2091,7 @@ ___ • **kind**: *string* -*Defined in [types.ts:252](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L252)* +*Defined in [types.ts:252](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L252)* ___ @@ -2099,7 +2099,7 @@ ___ • **logIndex**: *number* -*Defined in [types.ts:249](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L249)* +*Defined in [types.ts:249](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L249)* ___ @@ -2107,7 +2107,7 @@ ___ • **parameters**: *[StringifiedContractEventParameters](#stringifiedcontracteventparameters)* -*Defined in [types.ts:253](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L253)* +*Defined in [types.ts:253](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L253)* ___ @@ -2115,7 +2115,7 @@ ___ • **txHash**: *string* -*Defined in [types.ts:247](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L247)* +*Defined in [types.ts:247](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L247)* ___ @@ -2123,7 +2123,7 @@ ___ • **txIndex**: *number* -*Defined in [types.ts:248](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L248)* +*Defined in [types.ts:248](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L248)*
@@ -2149,7 +2149,7 @@ ___ • **from**: *string* -*Defined in [types.ts:133](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L133)* +*Defined in [types.ts:133](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L133)* ___ @@ -2157,7 +2157,7 @@ ___ • **ids**: *string[]* -*Defined in [types.ts:135](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L135)* +*Defined in [types.ts:135](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L135)* ___ @@ -2165,7 +2165,7 @@ ___ • **operator**: *string* -*Defined in [types.ts:132](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L132)* +*Defined in [types.ts:132](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L132)* ___ @@ -2173,7 +2173,7 @@ ___ • **to**: *string* -*Defined in [types.ts:134](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L134)* +*Defined in [types.ts:134](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L134)* ___ @@ -2181,7 +2181,7 @@ ___ • **values**: *string[]* -*Defined in [types.ts:136](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L136)* +*Defined in [types.ts:136](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L136)*
@@ -2207,7 +2207,7 @@ ___ • **from**: *string* -*Defined in [types.ts:117](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L117)* +*Defined in [types.ts:117](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L117)* ___ @@ -2215,7 +2215,7 @@ ___ • **id**: *string* -*Defined in [types.ts:119](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L119)* +*Defined in [types.ts:119](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L119)* ___ @@ -2223,7 +2223,7 @@ ___ • **operator**: *string* -*Defined in [types.ts:116](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L116)* +*Defined in [types.ts:116](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L116)* ___ @@ -2231,7 +2231,7 @@ ___ • **to**: *string* -*Defined in [types.ts:118](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L118)* +*Defined in [types.ts:118](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L118)* ___ @@ -2239,7 +2239,7 @@ ___ • **value**: *string* -*Defined in [types.ts:120](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L120)* +*Defined in [types.ts:120](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L120)*
@@ -2263,7 +2263,7 @@ ___ • **owner**: *string* -*Defined in [types.ts:72](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L72)* +*Defined in [types.ts:72](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L72)* ___ @@ -2271,7 +2271,7 @@ ___ • **spender**: *string* -*Defined in [types.ts:73](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L73)* +*Defined in [types.ts:73](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L73)* ___ @@ -2279,7 +2279,7 @@ ___ • **value**: *string* -*Defined in [types.ts:74](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L74)* +*Defined in [types.ts:74](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L74)*
@@ -2303,7 +2303,7 @@ ___ • **from**: *string* -*Defined in [types.ts:60](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L60)* +*Defined in [types.ts:60](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L60)* ___ @@ -2311,7 +2311,7 @@ ___ • **to**: *string* -*Defined in [types.ts:61](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L61)* +*Defined in [types.ts:61](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L61)* ___ @@ -2319,7 +2319,7 @@ ___ • **value**: *string* -*Defined in [types.ts:62](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L62)* +*Defined in [types.ts:62](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L62)*
@@ -2343,7 +2343,7 @@ ___ • **approved**: *string* -*Defined in [types.ts:97](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L97)* +*Defined in [types.ts:97](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L97)* ___ @@ -2351,7 +2351,7 @@ ___ • **owner**: *string* -*Defined in [types.ts:96](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L96)* +*Defined in [types.ts:96](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L96)* ___ @@ -2359,7 +2359,7 @@ ___ • **tokenId**: *string* -*Defined in [types.ts:98](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L98)* +*Defined in [types.ts:98](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L98)*
@@ -2383,7 +2383,7 @@ ___ • **from**: *string* -*Defined in [types.ts:84](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L84)* +*Defined in [types.ts:84](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L84)* ___ @@ -2391,7 +2391,7 @@ ___ • **to**: *string* -*Defined in [types.ts:85](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L85)* +*Defined in [types.ts:85](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L85)* ___ @@ -2399,7 +2399,7 @@ ___ • **tokenId**: *string* -*Defined in [types.ts:86](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L86)* +*Defined in [types.ts:86](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L86)*
@@ -2423,7 +2423,7 @@ ___ • **makerAddress**: *string* -*Defined in [types.ts:189](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L189)* +*Defined in [types.ts:189](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L189)* ___ @@ -2431,7 +2431,7 @@ ___ • **orderEpoch**: *string* -*Defined in [types.ts:191](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L191)* +*Defined in [types.ts:191](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L191)* ___ @@ -2439,7 +2439,7 @@ ___ • **senderAddress**: *string* -*Defined in [types.ts:190](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L190)* +*Defined in [types.ts:190](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L190)*
@@ -2471,7 +2471,7 @@ ___ • **feeRecipientAddress**: *string* -*Defined in [types.ts:163](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L163)* +*Defined in [types.ts:163](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L163)* ___ @@ -2479,7 +2479,7 @@ ___ • **makerAddress**: *string* -*Defined in [types.ts:160](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L160)* +*Defined in [types.ts:160](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L160)* ___ @@ -2487,7 +2487,7 @@ ___ • **makerAssetData**: *string* -*Defined in [types.ts:169](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L169)* +*Defined in [types.ts:169](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L169)* ___ @@ -2495,7 +2495,7 @@ ___ • **makerAssetFilledAmount**: *string* -*Defined in [types.ts:164](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L164)* +*Defined in [types.ts:164](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L164)* ___ @@ -2503,7 +2503,7 @@ ___ • **makerFeePaid**: *string* -*Defined in [types.ts:166](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L166)* +*Defined in [types.ts:166](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L166)* ___ @@ -2511,7 +2511,7 @@ ___ • **orderHash**: *string* -*Defined in [types.ts:168](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L168)* +*Defined in [types.ts:168](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L168)* ___ @@ -2519,7 +2519,7 @@ ___ • **senderAddress**: *string* -*Defined in [types.ts:162](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L162)* +*Defined in [types.ts:162](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L162)* ___ @@ -2527,7 +2527,7 @@ ___ • **takerAddress**: *string* -*Defined in [types.ts:161](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L161)* +*Defined in [types.ts:161](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L161)* ___ @@ -2535,7 +2535,7 @@ ___ • **takerAssetData**: *string* -*Defined in [types.ts:170](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L170)* +*Defined in [types.ts:170](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L170)* ___ @@ -2543,7 +2543,7 @@ ___ • **takerAssetFilledAmount**: *string* -*Defined in [types.ts:165](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L165)* +*Defined in [types.ts:165](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L165)* ___ @@ -2551,7 +2551,7 @@ ___ • **takerFeePaid**: *string* -*Defined in [types.ts:167](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L167)* +*Defined in [types.ts:167](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L167)*
@@ -2586,7 +2586,7 @@ ___ • **exchangeAddress**: *string* -*Defined in [types.ts:47](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L47)* +*Defined in [types.ts:47](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L47)* ___ @@ -2594,7 +2594,7 @@ ___ • **expirationTimeSeconds**: *string* -*Defined in [types.ts:49](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L49)* +*Defined in [types.ts:49](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L49)* ___ @@ -2602,7 +2602,7 @@ ___ • **feeRecipientAddress**: *string* -*Defined in [types.ts:48](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L48)* +*Defined in [types.ts:48](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L48)* ___ @@ -2610,7 +2610,7 @@ ___ • **makerAddress**: *string* -*Defined in [types.ts:38](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L38)* +*Defined in [types.ts:38](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L38)* ___ @@ -2618,7 +2618,7 @@ ___ • **makerAssetAmount**: *string* -*Defined in [types.ts:42](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L42)* +*Defined in [types.ts:42](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L42)* ___ @@ -2626,7 +2626,7 @@ ___ • **makerAssetData**: *string* -*Defined in [types.ts:44](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L44)* +*Defined in [types.ts:44](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L44)* ___ @@ -2634,7 +2634,7 @@ ___ • **makerFee**: *string* -*Defined in [types.ts:40](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L40)* +*Defined in [types.ts:40](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L40)* ___ @@ -2642,7 +2642,7 @@ ___ • **salt**: *string* -*Defined in [types.ts:46](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L46)* +*Defined in [types.ts:46](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L46)* ___ @@ -2650,7 +2650,7 @@ ___ • **senderAddress**: *string* -*Defined in [types.ts:37](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L37)* +*Defined in [types.ts:37](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L37)* ___ @@ -2658,7 +2658,7 @@ ___ • **signature**: *string* -*Defined in [types.ts:50](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L50)* +*Defined in [types.ts:50](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L50)* ___ @@ -2666,7 +2666,7 @@ ___ • **takerAddress**: *string* -*Defined in [types.ts:39](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L39)* +*Defined in [types.ts:39](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L39)* ___ @@ -2674,7 +2674,7 @@ ___ • **takerAssetAmount**: *string* -*Defined in [types.ts:43](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L43)* +*Defined in [types.ts:43](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L43)* ___ @@ -2682,7 +2682,7 @@ ___ • **takerAssetData**: *string* -*Defined in [types.ts:45](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L45)* +*Defined in [types.ts:45](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L45)* ___ @@ -2690,7 +2690,7 @@ ___ • **takerFee**: *string* -*Defined in [types.ts:41](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L41)* +*Defined in [types.ts:41](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L41)*
@@ -2713,7 +2713,7 @@ ___ • **owner**: *string* -*Defined in [types.ts:210](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L210)* +*Defined in [types.ts:210](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L210)* ___ @@ -2721,7 +2721,7 @@ ___ • **value**: *string* -*Defined in [types.ts:211](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L211)* +*Defined in [types.ts:211](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L211)*
@@ -2744,7 +2744,7 @@ ___ • **owner**: *string* -*Defined in [types.ts:200](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L200)* +*Defined in [types.ts:200](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L200)* ___ @@ -2752,7 +2752,7 @@ ___ • **value**: *string* -*Defined in [types.ts:201](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L201)* +*Defined in [types.ts:201](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L201)*
@@ -2775,7 +2775,7 @@ ___ • **accepted**: *[AcceptedOrderInfo](#interface-acceptedorderinfo)[]* -*Defined in [types.ts:393](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L393)* +*Defined in [types.ts:393](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L393)* ___ @@ -2783,7 +2783,7 @@ ___ • **rejected**: *[RejectedOrderInfo](#interface-rejectedorderinfo)[]* -*Defined in [types.ts:394](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L394)* +*Defined in [types.ts:394](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L394)*
@@ -2806,7 +2806,7 @@ ___ • **owner**: *string* -*Defined in [types.ts:205](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L205)* +*Defined in [types.ts:205](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L205)* ___ @@ -2814,7 +2814,7 @@ ___ • **value**: *`BigNumber`* -*Defined in [types.ts:206](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L206)* +*Defined in [types.ts:206](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L206)*
@@ -2837,7 +2837,7 @@ ___ • **owner**: *string* -*Defined in [types.ts:195](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L195)* +*Defined in [types.ts:195](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L195)* ___ @@ -2845,7 +2845,7 @@ ___ • **value**: *`BigNumber`* -*Defined in [types.ts:196](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L196)* +*Defined in [types.ts:196](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L196)*
@@ -2868,7 +2868,7 @@ ___ • **type**: *string* -*Defined in [types.ts:403](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L403)* +*Defined in [types.ts:403](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L403)* ___ @@ -2876,7 +2876,7 @@ ___ • **utf8Data**: *string* -*Defined in [types.ts:404](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L404)* +*Defined in [types.ts:404](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L404)*
@@ -2910,7 +2910,7 @@ reconnectAfter: 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/7d5a102/rpc/clients/typescript/src/types.ts#L32)* +*Defined in [types.ts:32](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L32)* ___ @@ -2918,7 +2918,7 @@ ___ • **headers**? : *undefined | `__type`* -*Defined in [types.ts:30](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L30)* +*Defined in [types.ts:30](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L30)* ___ @@ -2926,7 +2926,7 @@ ___ • **protocol**? : *undefined | string* -*Defined in [types.ts:31](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L31)* +*Defined in [types.ts:31](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L31)* ___ @@ -2934,7 +2934,7 @@ ___ • **reconnectAfter**? : *undefined | number* -*Defined in [types.ts:33](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L33)* +*Defined in [types.ts:33](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L33)* ___ @@ -2942,7 +2942,7 @@ ___ • **timeout**? : *undefined | number* -*Defined in [types.ts:29](https://github.com/0xProject/0x-mesh/blob/7d5a102/rpc/clients/typescript/src/types.ts#L29)* +*Defined in [types.ts:29](https://github.com/0xProject/0x-mesh/blob/0240f5d/rpc/clients/typescript/src/types.ts#L29)*
diff --git a/docs/rpc_api.md b/docs/rpc_api.md index 3573aa8bd..206253325 100644 --- a/docs/rpc_api.md +++ b/docs/rpc_api.md @@ -1,4 +1,4 @@ -[![Version](https://img.shields.io/badge/version-6.0.0--beta-orange.svg)](https://github.com/0xProject/0x-mesh/releases) +[![Version](https://img.shields.io/badge/version-6.0.1--beta-orange.svg)](https://github.com/0xProject/0x-mesh/releases) # 0x Mesh JSON-RPC API Documentation diff --git a/rpc/clients/typescript/package.json b/rpc/clients/typescript/package.json index d26f2d048..456139f0c 100644 --- a/rpc/clients/typescript/package.json +++ b/rpc/clients/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@0x/mesh-rpc-client", - "version": "6.0.0-beta", + "version": "6.0.1-beta", "engines": { "node": ">=6.12" },